Struct aws_sdk_ssm::types::ParameterInlinePolicy
source · #[non_exhaustive]pub struct ParameterInlinePolicy {
pub policy_text: Option<String>,
pub policy_type: Option<String>,
pub policy_status: Option<String>,
}
Expand description
One or more policies assigned to a parameter.
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.policy_text: Option<String>
The JSON text of the policy.
policy_type: Option<String>
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
policy_status: Option<String>
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
Implementations§
source§impl ParameterInlinePolicy
impl ParameterInlinePolicy
sourcepub fn policy_text(&self) -> Option<&str>
pub fn policy_text(&self) -> Option<&str>
The JSON text of the policy.
sourcepub fn policy_type(&self) -> Option<&str>
pub fn policy_type(&self) -> Option<&str>
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
sourcepub fn policy_status(&self) -> Option<&str>
pub fn policy_status(&self) -> Option<&str>
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
source§impl ParameterInlinePolicy
impl ParameterInlinePolicy
sourcepub fn builder() -> ParameterInlinePolicyBuilder
pub fn builder() -> ParameterInlinePolicyBuilder
Creates a new builder-style object to manufacture ParameterInlinePolicy
.
Trait Implementations§
source§impl Clone for ParameterInlinePolicy
impl Clone for ParameterInlinePolicy
source§fn clone(&self) -> ParameterInlinePolicy
fn clone(&self) -> ParameterInlinePolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterInlinePolicy
impl Debug for ParameterInlinePolicy
source§impl PartialEq for ParameterInlinePolicy
impl PartialEq for ParameterInlinePolicy
source§fn eq(&self, other: &ParameterInlinePolicy) -> bool
fn eq(&self, other: &ParameterInlinePolicy) -> bool
self
and other
values to be equal, and is used
by ==
.