pub struct SetStackPolicyInput {
pub stack_name: String,
pub stack_policy_body: Option<String>,
pub stack_policy_url: Option<String>,
}Expand description
The input for the SetStackPolicy action.
Fields§
§stack_name: StringThe 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 AWS 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.
Trait Implementations§
Source§impl Clone for SetStackPolicyInput
impl Clone for SetStackPolicyInput
Source§fn clone(&self) -> SetStackPolicyInput
fn clone(&self) -> SetStackPolicyInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Default for SetStackPolicyInput
impl Default for SetStackPolicyInput
Source§fn default() -> SetStackPolicyInput
fn default() -> SetStackPolicyInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetStackPolicyInput
impl PartialEq for SetStackPolicyInput
Source§fn eq(&self, other: &SetStackPolicyInput) -> bool
fn eq(&self, other: &SetStackPolicyInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetStackPolicyInput
Auto Trait Implementations§
impl Freeze for SetStackPolicyInput
impl RefUnwindSafe for SetStackPolicyInput
impl Send for SetStackPolicyInput
impl Sync for SetStackPolicyInput
impl Unpin for SetStackPolicyInput
impl UnsafeUnpin for SetStackPolicyInput
impl UnwindSafe for SetStackPolicyInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more