Class CfnConfigurationRecorder.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigurationRecorder.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationRecorder>
- Enclosing class:
CfnConfigurationRecorder
@Stability(Stable)
public static final class CfnConfigurationRecorder.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationRecorder>
A fluent builder for
CfnConfigurationRecorder
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
A name for the configuration recorder.recordingGroup
(IResolvable recordingGroup) Indicates whether to record configurations for all supported resources or for a list of resource types.recordingGroup
(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup) Indicates whether to record configurations for all supported resources or for a list of resource types.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.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationRecorder.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnConfigurationRecorder.Builder
.
-
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.For more information, see Permissions for the IAM Role Assigned to AWS Config in the AWS Config Developer Guide.
- Parameters:
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.- Returns:
this
-
name
A name for the configuration recorder.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.
- Parameters:
name
- A name for the configuration recorder. This parameter is required.- Returns:
this
-
recordingGroup
@Stability(Stable) public CfnConfigurationRecorder.Builder recordingGroup(IResolvable recordingGroup) Indicates whether to record configurations for all supported resources or for a list of resource types.The resource types that you list must be supported by AWS Config .
- Parameters:
recordingGroup
- Indicates whether to record configurations for all supported resources or for a list of resource types. This parameter is required.- Returns:
this
-
recordingGroup
@Stability(Stable) public CfnConfigurationRecorder.Builder recordingGroup(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup) Indicates whether to record configurations for all supported resources or for a list of resource types.The resource types that you list must be supported by AWS Config .
- Parameters:
recordingGroup
- Indicates whether to record configurations for all supported resources or for a list of resource types. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationRecorder>
- Returns:
- a newly built instance of
CfnConfigurationRecorder
.
-