public static final class CfnConfigurationRecorderProps.Builder
extends java.lang.Object
CfnConfigurationRecorderProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConfigurationRecorderProps |
build()
Builds the configured instance.
|
CfnConfigurationRecorderProps.Builder |
name(java.lang.String name)
Sets the value of
CfnConfigurationRecorderProps.getName() |
CfnConfigurationRecorderProps.Builder |
recordingGroup(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup)
Sets the value of
CfnConfigurationRecorderProps.getRecordingGroup() |
CfnConfigurationRecorderProps.Builder |
recordingGroup(IResolvable recordingGroup)
Sets the value of
CfnConfigurationRecorderProps.getRecordingGroup() |
CfnConfigurationRecorderProps.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnConfigurationRecorderProps.getRoleArn() |
public CfnConfigurationRecorderProps.Builder roleArn(java.lang.String roleArn)
CfnConfigurationRecorderProps.getRoleArn()
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.
For more information, see Permissions for the IAM Role Assigned to AWS Config in the AWS Config Developer Guide.this
public CfnConfigurationRecorderProps.Builder name(java.lang.String name)
CfnConfigurationRecorderProps.getName()
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.
this
public CfnConfigurationRecorderProps.Builder recordingGroup(IResolvable recordingGroup)
CfnConfigurationRecorderProps.getRecordingGroup()
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 .this
public CfnConfigurationRecorderProps.Builder recordingGroup(CfnConfigurationRecorder.RecordingGroupProperty recordingGroup)
CfnConfigurationRecorderProps.getRecordingGroup()
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 .this
public CfnConfigurationRecorderProps build()
CfnConfigurationRecorderProps
java.lang.NullPointerException
- if any required attribute was not provided