@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordingStrategy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the recording strategy of the configuration recorder.
Constructor and Description |
---|
RecordingStrategy() |
Modifier and Type | Method and Description |
---|---|
RecordingStrategy |
clone() |
boolean |
equals(Object obj) |
String |
getUseOnly()
The recording strategy for the configuration recorder.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUseOnly(String useOnly)
The recording strategy for the configuration recorder.
|
String |
toString()
Returns a string representation of this object.
|
RecordingStrategy |
withUseOnly(RecordingStrategyType useOnly)
The recording strategy for the configuration recorder.
|
RecordingStrategy |
withUseOnly(String useOnly)
The recording strategy for the configuration recorder.
|
public void setUseOnly(String useOnly)
The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup to
true
. When Config adds support for a new resource type, Config automatically starts recording
resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for only
the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, except the resource types that you specify to exclude from being recorded in the
resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of RecordingGroup to
true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording in the
resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types will
still be automatically recorded in this option unless those resource types are specifically listed as exclusions
in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config adds
support for a new resource type in the Region where you set up the configuration recorder, including global
resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded automatically in
all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
useOnly
- The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup
to true
. When Config adds support for a new resource type, Config automatically starts
recording resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for only the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, except the resource types that you specify to exclude from being
recorded in the resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of
RecordingGroup
to true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording
in the resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types
will still be automatically recorded in this option unless those resource types are specifically listed as
exclusions in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config
adds support for a new resource type in the Region where you set up the configuration recorder, including
global resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded
automatically in all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
RecordingStrategyType
public String getUseOnly()
The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup to
true
. When Config adds support for a new resource type, Config automatically starts recording
resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for only
the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, except the resource types that you specify to exclude from being recorded in the
resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of RecordingGroup to
true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording in the
resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types will
still be automatically recorded in this option unless those resource types are specifically listed as exclusions
in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config adds
support for a new resource type in the Region where you set up the configuration recorder, including global
resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded automatically in
all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup
to true
. When Config adds support for a new resource type, Config automatically starts
recording resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for only the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, except the resource types that you specify to exclude from being
recorded in the resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of
RecordingGroup
to true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording
in the resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types
will still be automatically recorded in this option unless those resource types are specifically listed
as exclusions in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config
adds support for a new resource type in the Region where you set up the configuration recorder, including
global resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded
automatically in all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
RecordingStrategyType
public RecordingStrategy withUseOnly(String useOnly)
The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup to
true
. When Config adds support for a new resource type, Config automatically starts recording
resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for only
the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, except the resource types that you specify to exclude from being recorded in the
resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of RecordingGroup to
true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording in the
resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types will
still be automatically recorded in this option unless those resource types are specifically listed as exclusions
in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config adds
support for a new resource type in the Region where you set up the configuration recorder, including global
resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded automatically in
all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
useOnly
- The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup
to true
. When Config adds support for a new resource type, Config automatically starts
recording resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for only the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, except the resource types that you specify to exclude from being
recorded in the resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of
RecordingGroup
to true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording
in the resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types
will still be automatically recorded in this option unless those resource types are specifically listed as
exclusions in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config
adds support for a new resource type in the Region where you set up the configuration recorder, including
global resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded
automatically in all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
RecordingStrategyType
public RecordingStrategy withUseOnly(RecordingStrategyType useOnly)
The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup to
true
. When Config adds support for a new resource type, Config automatically starts recording
resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for only
the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes for all
supported resource types, except the resource types that you specify to exclude from being recorded in the
resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of RecordingGroup to
true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording in the
resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types will
still be automatically recorded in this option unless those resource types are specifically listed as exclusions
in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config adds
support for a new resource type in the Region where you set up the configuration recorder, including global
resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded automatically in
all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
useOnly
- The recording strategy for the configuration recorder.
If you set this option to ALL_SUPPORTED_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, excluding the global IAM resource types. You also must set the
allSupported
field of RecordingGroup
to true
. When Config adds support for a new resource type, Config automatically starts
recording resources of that type. For a list of supported resource types, see Supported Resource Types in the Config developer guide.
If you set this option to INCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for only the resource types that you specify in the resourceTypes
field of RecordingGroup.
If you set this option to EXCLUSION_BY_RESOURCE_TYPES
, Config records configuration changes
for all supported resource types, except the resource types that you specify to exclude from being
recorded in the resourceTypes
field of ExclusionByResourceTypes.
Required and optional fields
The recordingStrategy
field is optional when you set the allSupported
field of
RecordingGroup
to true
.
The recordingStrategy
field is optional when you list resource types in the
resourceTypes
field of RecordingGroup.
The recordingStrategy
field is required if you list resource types to exclude from recording
in the resourceTypes
field of ExclusionByResourceTypes.
Overriding fields
If you choose EXCLUSION_BY_RESOURCE_TYPES
for the recording strategy, the
exclusionByResourceTypes
field will override other properties in the request.
For example, even if you set includeGlobalResourceTypes
to false, global IAM resource types
will still be automatically recorded in this option unless those resource types are specifically listed as
exclusions in the resourceTypes
field of exclusionByResourceTypes
.
Global resource types and the exclusion recording strategy
By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES
recording strategy, when Config
adds support for a new resource type in the Region where you set up the configuration recorder, including
global resource types, Config starts recording resources of that type automatically.
Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
will be recorded
automatically in all supported Config Regions were the configuration recorder is enabled.
IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
Asia Pacific (Hyderabad)
Asia Pacific (Melbourne)
Canada West (Calgary)
Europe (Spain)
Europe (Zurich)
Israel (Tel Aviv)
Middle East (UAE)
RecordingStrategyType
public String toString()
toString
in class Object
Object.toString()
public RecordingStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.