#[non_exhaustive]pub struct SetStackPolicyInput { /* private fields */ }Expand description
The input for the SetStackPolicy action.
Implementations§
source§impl SetStackPolicyInput
impl SetStackPolicyInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name or unique stack ID that you want to associate a policy with.
sourcepub fn stack_policy_body(&self) -> Option<&str>
pub fn stack_policy_body(&self) -> Option<&str>
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.
sourcepub fn stack_policy_url(&self) -> Option<&str>
pub fn stack_policy_url(&self) -> Option<&str>
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. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.
source§impl SetStackPolicyInput
impl SetStackPolicyInput
sourcepub fn builder() -> SetStackPolicyInputBuilder
pub fn builder() -> SetStackPolicyInputBuilder
Creates a new builder-style object to manufacture SetStackPolicyInput.
source§impl SetStackPolicyInput
impl SetStackPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetStackPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<SetStackPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SetStackPolicy>
Trait Implementations§
source§impl Clone for SetStackPolicyInput
impl Clone for SetStackPolicyInput
source§fn clone(&self) -> SetStackPolicyInput
fn clone(&self) -> SetStackPolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SetStackPolicyInput
impl Debug for SetStackPolicyInput
source§impl PartialEq<SetStackPolicyInput> for SetStackPolicyInput
impl PartialEq<SetStackPolicyInput> for SetStackPolicyInput
source§fn eq(&self, other: &SetStackPolicyInput) -> bool
fn eq(&self, other: &SetStackPolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.