public static final class CfnConfigurationRecorder.Builder
extends java.lang.Object
CfnConfigurationRecorder
.Modifier and Type | Method and Description |
---|---|
CfnConfigurationRecorder |
build() |
static CfnConfigurationRecorder.Builder |
create(Construct scope,
java.lang.String id) |
CfnConfigurationRecorder.Builder |
name(java.lang.String name)
A name for the configuration recorder.
|
CfnConfigurationRecorder.Builder |
recordingGroup(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup)
Indicates whether to record configurations for all supported resources or for a list of resource types.
|
CfnConfigurationRecorder.Builder |
recordingGroup(IResolvable recordingGroup)
Indicates whether to record configurations for all supported resources or for a list of resource types.
|
CfnConfigurationRecorder.Builder |
roleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the IAM (IAM) role that is used to make read or write requests to the delivery channel that you specify and to get configuration details for supported AWS resources.
|
public static CfnConfigurationRecorder.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnConfigurationRecorder.RecordingGroupProperty.Builder
.public CfnConfigurationRecorder.Builder roleArn(java.lang.String roleArn)
For more information, see Permissions for the IAM Role Assigned to AWS Config in the AWS Config Developer Guide.
roleArn
- The Amazon Resource Name (ARN) of the IAM (IAM) role that is used to make read or write requests to the delivery channel that you specify and to get configuration details for supported AWS resources. This parameter is required.this
public CfnConfigurationRecorder.Builder name(java.lang.String name)
If you don't specify a name, AWS CloudFormation CloudFormation generates a unique physical ID and uses that ID for the configuration recorder name. For more information, see Name Type .
After you create a configuration recorder, you cannot rename it. If you don't want a name that AWS CloudFormation generates, specify a value for this property.
Updates are not supported.
name
- A name for the configuration recorder. This parameter is required.this
public CfnConfigurationRecorder.Builder recordingGroup(IResolvable recordingGroup)
The resource types that you list must be supported by AWS Config .
recordingGroup
- Indicates whether to record configurations for all supported resources or for a list of resource types. This parameter is required.this
public CfnConfigurationRecorder.Builder recordingGroup(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup)
The resource types that you list must be supported by AWS Config .
recordingGroup
- Indicates whether to record configurations for all supported resources or for a list of resource types. This parameter is required.this
public CfnConfigurationRecorder build()