Package com.pulumi.aws.controltower
Class ControlTowerControl
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.controltower.ControlTowerControl
-
public class ControlTowerControl extends com.pulumi.resources.CustomResourceAllows the application of pre-defined controls to organizational units. For more information on usage, please see the [AWS Control Tower User Guide](https://docs.aws.amazon.com/controltower/latest/userguide/enable-guardrails.html). ## Example Usage ## Import Using `pulumi import`, import Control Tower Controls using their `organizational_unit_arn/control_identifier`. For example: ```sh $ 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 ```
-
-
Constructor Summary
Constructors Constructor Description ControlTowerControl(java.lang.String name)ControlTowerControl(java.lang.String name, ControlTowerControlArgs args)ControlTowerControl(java.lang.String name, ControlTowerControlArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>controlIdentifier()static ControlTowerControlget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ControlTowerControlState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<java.util.List<ControlTowerControlParameter>>>parameters()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>targetIdentifier()
-
-
-
Constructor Detail
-
ControlTowerControl
public ControlTowerControl(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
ControlTowerControl
public ControlTowerControl(java.lang.String name, ControlTowerControlArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
ControlTowerControl
public ControlTowerControl(java.lang.String name, ControlTowerControlArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The ARN of the EnabledControl resource.
-
controlIdentifier
public com.pulumi.core.Output<java.lang.String> controlIdentifier()
- Returns:
- The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
-
parameters
public com.pulumi.core.Output<java.util.Optional<java.util.List<ControlTowerControlParameter>>> parameters()
- Returns:
- Parameter values which are specified to configure the control when you enable it. See Parameters for more details.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
targetIdentifier
public com.pulumi.core.Output<java.lang.String> targetIdentifier()
- Returns:
- The ARN of the organizational unit. The following arguments are optional:
-
get
public static ControlTowerControl get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ControlTowerControlState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-