aws logo
AWS Classic v5.29.1, Feb 4 23

aws.controltower.ControlTowerControl

Allows the application of pre-defined controls to organizational units. For more information on usage, please see the AWS Control Tower User Guide.

Create ControlTowerControl Resource

new ControlTowerControl(name: string, args: ControlTowerControlArgs, opts?: CustomResourceOptions);
@overload
def ControlTowerControl(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        control_identifier: Optional[str] = None,
                        target_identifier: Optional[str] = None)
@overload
def ControlTowerControl(resource_name: str,
                        args: ControlTowerControlArgs,
                        opts: Optional[ResourceOptions] = None)
func NewControlTowerControl(ctx *Context, name string, args ControlTowerControlArgs, opts ...ResourceOption) (*ControlTowerControl, error)
public ControlTowerControl(string name, ControlTowerControlArgs args, CustomResourceOptions? opts = null)
public ControlTowerControl(String name, ControlTowerControlArgs args)
public ControlTowerControl(String name, ControlTowerControlArgs args, CustomResourceOptions options)
type: aws:controltower:ControlTowerControl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ControlTowerControlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ControlTowerControlArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ControlTowerControlArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ControlTowerControlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ControlTowerControlArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ControlTowerControl Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ControlTowerControl resource accepts the following input properties:

ControlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

TargetIdentifier string

The ARN of the organizational unit.

ControlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

TargetIdentifier string

The ARN of the organizational unit.

controlIdentifier String

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier String

The ARN of the organizational unit.

controlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier string

The ARN of the organizational unit.

control_identifier str

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

target_identifier str

The ARN of the organizational unit.

controlIdentifier String

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier String

The ARN of the organizational unit.

Outputs

All input properties are implicitly available as output properties. Additionally, the ControlTowerControl resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing ControlTowerControl Resource

Get an existing ControlTowerControl resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ControlTowerControlState, opts?: CustomResourceOptions): ControlTowerControl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        control_identifier: Optional[str] = None,
        target_identifier: Optional[str] = None) -> ControlTowerControl
func GetControlTowerControl(ctx *Context, name string, id IDInput, state *ControlTowerControlState, opts ...ResourceOption) (*ControlTowerControl, error)
public static ControlTowerControl Get(string name, Input<string> id, ControlTowerControlState? state, CustomResourceOptions? opts = null)
public static ControlTowerControl get(String name, Output<String> id, ControlTowerControlState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ControlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

TargetIdentifier string

The ARN of the organizational unit.

ControlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

TargetIdentifier string

The ARN of the organizational unit.

controlIdentifier String

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier String

The ARN of the organizational unit.

controlIdentifier string

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier string

The ARN of the organizational unit.

control_identifier str

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

target_identifier str

The ARN of the organizational unit.

controlIdentifier String

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

targetIdentifier String

The ARN of the organizational unit.

Import

Control Tower Controls can be imported using their organizational_unit_arn/control_identifier, e.g.,

 $ pulumi import aws:controltower/controlTowerControl:ControlTowerControl example arn:aws:organizations::123456789101:ou/o-qqaejywet/ou-qg5o-ufbhdtv3,arn:aws:controltower:us-east-1::control/WTDSMKDKDNLE

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.