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: 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 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 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 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
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 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