Struct aws_sdk_cloudformation::input::SetStackPolicyInput [−][src]
#[non_exhaustive]pub struct SetStackPolicyInput {
pub stack_name: Option<String>,
pub stack_policy_body: Option<String>,
pub stack_policy_url: Option<String>,
}
Expand description
The input for the SetStackPolicy action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stack_name: Option<String>
The name or unique stack ID that you want to associate a policy with.
stack_policy_body: Option<String>
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.
stack_policy_url: Option<String>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetStackPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetStackPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetStackPolicy
>
Creates a new builder-style object to manufacture SetStackPolicyInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetStackPolicyInput
impl Send for SetStackPolicyInput
impl Sync for SetStackPolicyInput
impl Unpin for SetStackPolicyInput
impl UnwindSafe for SetStackPolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more