StructuredPojo
, ToCopyableBuilder<Source.Builder,Source>
@Generated("software.amazon.awssdk:codegen") public class Source extends Object implements StructuredPojo, ToCopyableBuilder<Source.Builder,Source>
Provides the AWS Config rule owner (AWS or customer), the rule identifier, and the events that trigger the evaluation of your AWS resources.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Source.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Source.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
owner() |
Indicates whether AWS or the customer owns and manages the AWS Config rule.
|
static Class<? extends Source.Builder> |
serializableBuilderClass() |
|
List<SourceDetail> |
sourceDetails() |
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
|
String |
sourceIdentifier() |
For AWS Config managed rules, a predefined identifier from a list.
|
Source.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String owner()
Indicates whether AWS or the customer owns and manages the AWS Config rule.
Owner
public String 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 Using AWS
Managed Config 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-1:123456789012:function:custom_rule_name
.
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using AWS Managed Config 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-1:123456789012:function:custom_rule_name
.
public List<SourceDetail> sourceDetails()
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
public Source.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Source.Builder,Source>
public static Source.Builder builder()
public static Class<? extends Source.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.