CopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
, SdkBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
public static interface SetStackPolicyRequest.Builder extends CopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
SetStackPolicyRequest.Builder |
stackName(String stackName) |
The name or unique stack ID that you want to associate a policy with.
|
SetStackPolicyRequest.Builder |
stackPolicyBody(String stackPolicyBody) |
Structure containing the stack policy body.
|
SetStackPolicyRequest.Builder |
stackPolicyURL(String stackPolicyURL) |
Location of a file containing the stack policy.
|
copy
apply, build
SetStackPolicyRequest.Builder stackName(String stackName)
The name or unique stack ID that you want to associate a policy with.
stackName
- The name or unique stack ID that you want to associate a policy with.SetStackPolicyRequest.Builder stackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body. For more information, go to Prevent
Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either the
StackPolicyBody
or the StackPolicyURL
parameter, but not both.
stackPolicyBody
- Structure containing the stack policy body. For more information, go to
Prevent Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either
the StackPolicyBody
or the StackPolicyURL
parameter, but not both.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 S3 bucket in the same region as the stack. You can specify either the StackPolicyBody
or
the StackPolicyURL
parameter, but not both.
stackPolicyURL
- Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB)
located in an S3 bucket in the same region as the stack. You can specify either the
StackPolicyBody
or the StackPolicyURL
parameter, but not both.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.