@Stability(value=Stable) public static final class CfnConfigRule.SourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnConfigRule.SourceProperty>
CfnConfigRule.SourceProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder owner(String owner)
CfnConfigRule.SourceProperty.getOwner()owner - Indicates whether AWS or the customer owns and manages the AWS Config rule. This parameter is required.
AWS Config Managed Rules are predefined rules owned by AWS . For more information, see AWS Config Managed Rules in the AWS Config developer guide.
AWS Config Custom Rules are rules that you can develop either with Guard ( CUSTOM_POLICY ) or AWS Lambda ( CUSTOM_LAMBDA ). For more information, see AWS Config Custom Rules in the AWS Config developer guide.
this@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder customPolicyDetails(CfnConfigRule.CustomPolicyDetailsProperty customPolicyDetails)
CfnConfigRule.SourceProperty.getCustomPolicyDetails()customPolicyDetails - `CfnConfigRule.SourceProperty.CustomPolicyDetails`.this@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder customPolicyDetails(IResolvable customPolicyDetails)
CfnConfigRule.SourceProperty.getCustomPolicyDetails()customPolicyDetails - `CfnConfigRule.SourceProperty.CustomPolicyDetails`.this@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder sourceDetails(IResolvable sourceDetails)
CfnConfigRule.SourceProperty.getSourceDetails()sourceDetails - Provides the source and the message types that cause AWS Config to evaluate your AWS resources against a rule.
It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic.
If the owner is set to CUSTOM_POLICY , the only acceptable values for the AWS Config rule trigger message type are ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification .
this@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder sourceDetails(List<? extends Object> sourceDetails)
CfnConfigRule.SourceProperty.getSourceDetails()sourceDetails - Provides the source and the message types that cause AWS Config to evaluate your AWS resources against a rule.
It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic.
If the owner is set to CUSTOM_POLICY , the only acceptable values for the AWS Config rule trigger message type are ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification .
this@Stability(value=Stable) public CfnConfigRule.SourceProperty.Builder sourceIdentifier(String sourceIdentifier)
CfnConfigRule.SourceProperty.getSourceIdentifier()sourceIdentifier - For AWS Config Managed rules, a predefined identifier from a list.
For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see List of AWS Config Managed Rules .
For AWS Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name .
For AWS Config Custom Policy rules, this field will be ignored.
this@Stability(value=Stable) public CfnConfigRule.SourceProperty build()
build in interface software.amazon.jsii.Builder<CfnConfigRule.SourceProperty>CfnConfigRule.SourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.