@Stability(value=Stable)
public static interface CfnConfigRule.SourceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
SourceProperty sourceProperty = SourceProperty.builder()
.owner("owner")
.sourceIdentifier("sourceIdentifier")
// the properties below are optional
.sourceDetails(List.of(SourceDetailProperty.builder()
.eventSource("eventSource")
.messageType("messageType")
// the properties below are optional
.maximumExecutionFrequency("maximumExecutionFrequency")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConfigRule.SourceProperty.Builder
A builder for
CfnConfigRule.SourceProperty |
static class |
CfnConfigRule.SourceProperty.Jsii$Proxy
An implementation for
CfnConfigRule.SourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConfigRule.SourceProperty.Builder |
builder() |
String |
getOwner()
Indicates whether AWS or the customer owns and manages the AWS Config rule.
|
default Object |
getSourceDetails()
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
|
String |
getSourceIdentifier()
For AWS Config managed rules, a predefined identifier from a list.
|
@Stability(value=Stable) @NotNull String getOwner()
@Stability(value=Stable) @NotNull String getSourceIdentifier()
For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Config managed rules .
For custom 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 .
@Stability(value=Stable) @Nullable default Object getSourceDetails()
@Stability(value=Stable) static CfnConfigRule.SourceProperty.Builder builder()
Copyright © 2022. All rights reserved.