CfnConfigurationRecorderProps

class aws_cdk.aws_config.CfnConfigurationRecorderProps(*, name=None, recording_group=None, role_arn)

Bases: object

Properties for defining a AWS::Config::ConfigurationRecorder.

Parameters
  • name (Optional[str]) – AWS::Config::ConfigurationRecorder.Name.

  • recording_group (Union[IResolvable, RecordingGroupProperty, None]) – AWS::Config::ConfigurationRecorder.RecordingGroup.

  • role_arn (str) – AWS::Config::ConfigurationRecorder.RoleARN.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_config as config

cfn_configuration_recorder_props = config.CfnConfigurationRecorderProps(
    role_arn="roleArn",

    # the properties below are optional
    name="name",
    recording_group=config.CfnConfigurationRecorder.RecordingGroupProperty(
        all_supported=False,
        include_global_resource_types=False,
        resource_types=["resourceTypes"]
    )
)

Attributes

name

AWS::Config::ConfigurationRecorder.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-name

Return type

Optional[str]

recording_group

AWS::Config::ConfigurationRecorder.RecordingGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-recordinggroup

Return type

Union[IResolvable, RecordingGroupProperty, None]

role_arn

AWS::Config::ConfigurationRecorder.RoleARN.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-rolearn

Return type

str