public static final class CfnConfigurationRecorder.RecordingGroupProperty.Builder
extends java.lang.Object
CfnConfigurationRecorder.RecordingGroupProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConfigurationRecorder.RecordingGroupProperty.Builder |
allSupported(java.lang.Boolean allSupported)
Sets the value of
CfnConfigurationRecorder.RecordingGroupProperty.getAllSupported() |
CfnConfigurationRecorder.RecordingGroupProperty.Builder |
allSupported(IResolvable allSupported)
Sets the value of
CfnConfigurationRecorder.RecordingGroupProperty.getAllSupported() |
CfnConfigurationRecorder.RecordingGroupProperty |
build()
Builds the configured instance.
|
CfnConfigurationRecorder.RecordingGroupProperty.Builder |
includeGlobalResourceTypes(java.lang.Boolean includeGlobalResourceTypes)
|
CfnConfigurationRecorder.RecordingGroupProperty.Builder |
includeGlobalResourceTypes(IResolvable includeGlobalResourceTypes)
|
CfnConfigurationRecorder.RecordingGroupProperty.Builder |
resourceTypes(java.util.List<java.lang.String> resourceTypes)
Sets the value of
CfnConfigurationRecorder.RecordingGroupProperty.getResourceTypes() |
public CfnConfigurationRecorder.RecordingGroupProperty.Builder allSupported(java.lang.Boolean allSupported)
CfnConfigurationRecorder.RecordingGroupProperty.getAllSupported()
allSupported
- Specifies whether AWS Config records configuration changes for every supported type of regional resource.
If you set this option to true
, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
If you set this option to true
, you cannot enumerate a list of resourceTypes
.
this
public CfnConfigurationRecorder.RecordingGroupProperty.Builder allSupported(IResolvable allSupported)
CfnConfigurationRecorder.RecordingGroupProperty.getAllSupported()
allSupported
- Specifies whether AWS Config records configuration changes for every supported type of regional resource.
If you set this option to true
, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
If you set this option to true
, you cannot enumerate a list of resourceTypes
.
this
public CfnConfigurationRecorder.RecordingGroupProperty.Builder includeGlobalResourceTypes(java.lang.Boolean includeGlobalResourceTypes)
includeGlobalResourceTypes
- Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
Before you can set this option to true
, you must set the AllSupported
option to true
.
If you set this option to true
, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically.
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
this
public CfnConfigurationRecorder.RecordingGroupProperty.Builder includeGlobalResourceTypes(IResolvable includeGlobalResourceTypes)
includeGlobalResourceTypes
- Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
Before you can set this option to true
, you must set the AllSupported
option to true
.
If you set this option to true
, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically.
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
this
public CfnConfigurationRecorder.RecordingGroupProperty.Builder resourceTypes(java.util.List<java.lang.String> resourceTypes)
CfnConfigurationRecorder.RecordingGroupProperty.getResourceTypes()
resourceTypes
- A comma-separated list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, `AWS::EC2::Instance` or `AWS::CloudTrail::Trail` ).
To record all configuration changes, you must set the AllSupported
option to false
.
If you set the AllSupported
option to false and populate the ResourceTypes
option with values, when AWS Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group.
For a list of valid resourceTypes
values, see the resourceType Value column in Supported AWS Resource Types .
this
public CfnConfigurationRecorder.RecordingGroupProperty build()
CfnConfigurationRecorder.RecordingGroupProperty
java.lang.NullPointerException
- if any required attribute was not provided