1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. controltower
  5. getEnabledControl

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.controltower.getEnabledControl

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Enables a control on a specified target.

    Using getEnabledControl

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEnabledControl(args: GetEnabledControlArgs, opts?: InvokeOptions): Promise<GetEnabledControlResult>
    function getEnabledControlOutput(args: GetEnabledControlOutputArgs, opts?: InvokeOptions): Output<GetEnabledControlResult>
    def get_enabled_control(control_identifier: Optional[str] = None,
                            target_identifier: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetEnabledControlResult
    def get_enabled_control_output(control_identifier: Optional[pulumi.Input[str]] = None,
                            target_identifier: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetEnabledControlResult]
    func LookupEnabledControl(ctx *Context, args *LookupEnabledControlArgs, opts ...InvokeOption) (*LookupEnabledControlResult, error)
    func LookupEnabledControlOutput(ctx *Context, args *LookupEnabledControlOutputArgs, opts ...InvokeOption) LookupEnabledControlResultOutput

    > Note: This function is named LookupEnabledControl in the Go SDK.

    public static class GetEnabledControl 
    {
        public static Task<GetEnabledControlResult> InvokeAsync(GetEnabledControlArgs args, InvokeOptions? opts = null)
        public static Output<GetEnabledControlResult> Invoke(GetEnabledControlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnabledControlResult> getEnabledControl(GetEnabledControlArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:controltower:getEnabledControl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ControlIdentifier string
    Arn of the control.
    TargetIdentifier string
    Arn for Organizational unit to which the control needs to be applied
    ControlIdentifier string
    Arn of the control.
    TargetIdentifier string
    Arn for Organizational unit to which the control needs to be applied
    controlIdentifier String
    Arn of the control.
    targetIdentifier String
    Arn for Organizational unit to which the control needs to be applied
    controlIdentifier string
    Arn of the control.
    targetIdentifier string
    Arn for Organizational unit to which the control needs to be applied
    control_identifier str
    Arn of the control.
    target_identifier str
    Arn for Organizational unit to which the control needs to be applied
    controlIdentifier String
    Arn of the control.
    targetIdentifier String
    Arn for Organizational unit to which the control needs to be applied

    getEnabledControl Result

    The following output properties are available:

    Parameters List<Pulumi.AwsNative.ControlTower.Outputs.EnabledControlParameter>
    Parameters to configure the enabled control behavior.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A set of tags to assign to the enabled control.
    Parameters []EnabledControlParameter
    Parameters to configure the enabled control behavior.
    Tags Tag
    A set of tags to assign to the enabled control.
    parameters List<EnabledControlParameter>
    Parameters to configure the enabled control behavior.
    tags List<Tag>
    A set of tags to assign to the enabled control.
    parameters EnabledControlParameter[]
    Parameters to configure the enabled control behavior.
    tags Tag[]
    A set of tags to assign to the enabled control.
    parameters Sequence[EnabledControlParameter]
    Parameters to configure the enabled control behavior.
    tags Sequence[root_Tag]
    A set of tags to assign to the enabled control.
    parameters List<Property Map>
    Parameters to configure the enabled control behavior.
    tags List<Property Map>
    A set of tags to assign to the enabled control.

    Supporting Types

    EnabledControlParameter

    Key string
    The key of a key/value pair. It is of type string .
    Value List<object> | string | double | object | bool
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
    Key string
    The key of a key/value pair. It is of type string .
    Value []interface{} | string | float64 | interface{} | bool
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
    key String
    The key of a key/value pair. It is of type string .
    value List<Object> | String | Double | Object | Boolean
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
    key string
    The key of a key/value pair. It is of type string .
    value (string | number | any | boolean)[] | string | number | any | boolean
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
    key str
    The key of a key/value pair. It is of type string .
    value Sequence[Union[str, float, Any, bool]] | str | float | Any | bool
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
    key String
    The key of a key/value pair. It is of type string .
    value List<String | Number | Any | Boolean> | String | Number | Any | Boolean
    The value of a key/value pair. It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi