Interface SetStackPolicyRequest.Builder

    • Method Detail

      • stackName

        SetStackPolicyRequest.Builder stackName​(String stackName)

        The name or unique stack ID that you want to associate a policy with.

        Parameters:
        stackName - The name or unique stack ID that you want to associate a policy with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stackPolicyBody

        SetStackPolicyRequest.Builder stackPolicyBody​(String stackPolicyBody)

        Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

        Parameters:
        stackPolicyBody - Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stackPolicyURL

        SetStackPolicyRequest.Builder stackPolicyURL​(String stackPolicyURL)

        Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

        Parameters:
        stackPolicyURL - Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.