Struct aws_sdk_config::model::Source
source · [−]#[non_exhaustive]pub struct Source {
pub owner: Option<Owner>,
pub source_identifier: Option<String>,
pub source_details: Option<Vec<SourceDetail>>,
}Expand description
Provides the Config rule owner (Amazon Web Services or customer), the rule identifier, and the events that trigger the evaluation of your Amazon Web Services resources.
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.owner: Option<Owner>Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
source_identifier: Option<String>For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.
For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
source_details: Option<Vec<SourceDetail>>Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.
Implementations
Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.
For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl UnwindSafe for Source
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more