Struct aws_sdk_cloudformation::input::SetStackPolicyInput
source · [−]#[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 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.
Implementations
sourceimpl SetStackPolicyInput
impl SetStackPolicyInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetStackPolicyInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for SetStackPolicyInput
impl Clone for SetStackPolicyInput
sourcefn clone(&self) -> SetStackPolicyInput
fn clone(&self) -> SetStackPolicyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetStackPolicyInput
impl Debug for SetStackPolicyInput
sourceimpl PartialEq<SetStackPolicyInput> for SetStackPolicyInput
impl PartialEq<SetStackPolicyInput> for SetStackPolicyInput
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SetStackPolicyInput) -> bool
fn ne(&self, other: &SetStackPolicyInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SetStackPolicyInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more