Class CfnEnabledControl
A CloudFormation AWS::ControlTower::EnabledControl
.
Inherited Members
Namespace: Amazon.CDK.AWS.ControlTower
Assembly: Amazon.CDK.AWS.ControlTower.dll
Syntax (csharp)
public class CfnEnabledControl : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnEnabledControl
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The resource represents an enabled control. It specifies an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify.
CloudformationResource: AWS::ControlTower::EnabledControl
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.ControlTower;
var cfnEnabledControl = new CfnEnabledControl(this, "MyCfnEnabledControl", new CfnEnabledControlProps {
ControlIdentifier = "controlIdentifier",
TargetIdentifier = "targetIdentifier"
});
Synopsis
Constructors
CfnEnabledControl(Construct, String, ICfnEnabledControlProps) | Create a new |
CfnEnabledControl(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnEnabledControl(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ControlIdentifier | The ARN of the control. |
TargetIdentifier | The ARN of the organizational unit. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnEnabledControl(Construct, String, ICfnEnabledControlProps)
Create a new AWS::ControlTower::EnabledControl
.
public CfnEnabledControl(Construct scope, string id, ICfnEnabledControlProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnEnabledControlProps
- resource properties.
CfnEnabledControl(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnEnabledControl(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnEnabledControl(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnEnabledControl(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ControlIdentifier
The ARN of the control.
public virtual string ControlIdentifier { get; set; }
Property Value
System.String
Remarks
Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
TargetIdentifier
The ARN of the organizational unit.
public virtual string TargetIdentifier { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>