Struct aws_sdk_securityhub::types::StandardsSubscription
source · #[non_exhaustive]pub struct StandardsSubscription {
pub standards_subscription_arn: Option<String>,
pub standards_arn: Option<String>,
pub standards_input: Option<HashMap<String, String>>,
pub standards_status: Option<StandardsStatus>,
pub standards_status_reason: Option<StandardsStatusReason>,
}
Expand description
A resource that represents your subscription to a supported standard.
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.standards_subscription_arn: Option<String>
The ARN of a resource that represents your subscription to a supported standard.
standards_arn: Option<String>
The ARN of a standard.
standards_input: Option<HashMap<String, String>>
A key-value pair of input for the standard.
standards_status: Option<StandardsStatus>
The status of the standard subscription.
The status values are as follows:
-
PENDING
- Standard is in the process of being enabled. -
READY
- Standard is enabled. -
INCOMPLETE
- Standard could not be enabled completely. Some controls may not be available. -
DELETING
- Standard is in the process of being disabled. -
FAILED
- Standard could not be disabled.
standards_status_reason: Option<StandardsStatusReason>
The reason for the current status.
Implementations§
source§impl StandardsSubscription
impl StandardsSubscription
sourcepub fn standards_subscription_arn(&self) -> Option<&str>
pub fn standards_subscription_arn(&self) -> Option<&str>
The ARN of a resource that represents your subscription to a supported standard.
sourcepub fn standards_arn(&self) -> Option<&str>
pub fn standards_arn(&self) -> Option<&str>
The ARN of a standard.
sourcepub fn standards_input(&self) -> Option<&HashMap<String, String>>
pub fn standards_input(&self) -> Option<&HashMap<String, String>>
A key-value pair of input for the standard.
sourcepub fn standards_status(&self) -> Option<&StandardsStatus>
pub fn standards_status(&self) -> Option<&StandardsStatus>
The status of the standard subscription.
The status values are as follows:
-
PENDING
- Standard is in the process of being enabled. -
READY
- Standard is enabled. -
INCOMPLETE
- Standard could not be enabled completely. Some controls may not be available. -
DELETING
- Standard is in the process of being disabled. -
FAILED
- Standard could not be disabled.
sourcepub fn standards_status_reason(&self) -> Option<&StandardsStatusReason>
pub fn standards_status_reason(&self) -> Option<&StandardsStatusReason>
The reason for the current status.
source§impl StandardsSubscription
impl StandardsSubscription
sourcepub fn builder() -> StandardsSubscriptionBuilder
pub fn builder() -> StandardsSubscriptionBuilder
Creates a new builder-style object to manufacture StandardsSubscription
.
Trait Implementations§
source§impl Clone for StandardsSubscription
impl Clone for StandardsSubscription
source§fn clone(&self) -> StandardsSubscription
fn clone(&self) -> StandardsSubscription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandardsSubscription
impl Debug for StandardsSubscription
source§impl PartialEq for StandardsSubscription
impl PartialEq for StandardsSubscription
source§fn eq(&self, other: &StandardsSubscription) -> bool
fn eq(&self, other: &StandardsSubscription) -> bool
self
and other
values to be equal, and is used
by ==
.