Class CfnConfigurationRecorderProps
Properties for defining a CfnConfigurationRecorder
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CfnConfigurationRecorderProps : Object, ICfnConfigurationRecorderProps
Syntax (vb)
Public Class CfnConfigurationRecorderProps
Inherits Object
Implements ICfnConfigurationRecorderProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;
var cfnConfigurationRecorderProps = new CfnConfigurationRecorderProps {
RoleArn = "roleArn",
// the properties below are optional
Name = "name",
RecordingGroup = new RecordingGroupProperty {
AllSupported = false,
IncludeGlobalResourceTypes = false,
ResourceTypes = new [] { "resourceTypes" }
}
};
Synopsis
Constructors
CfnConfigurationRecorderProps() |
Properties
Name | A name for the configuration recorder. |
RecordingGroup | Indicates whether to record configurations for all supported resources or for a list of resource types. |
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. |
Constructors
CfnConfigurationRecorderProps()
public CfnConfigurationRecorderProps()
Properties
Name
A name for the configuration recorder.
public string Name { get; set; }
Property Value
System.String
Remarks
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.
RecordingGroup
Indicates whether to record configurations for all supported resources or for a list of resource types.
public object RecordingGroup { get; set; }
Property Value
System.Object
Remarks
The resource types that you list must be supported by AWS Config .
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 string RoleArn { get; set; }
Property Value
System.String
Remarks
For more information, see Permissions for the IAM Role Assigned to AWS Config in the AWS Config Developer Guide.