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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.controltower.getEnabledControl

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 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
    Value List<object> | string | double | object | bool
    Key string
    Value []interface{} | string | float64 | interface{} | bool
    key String
    value List<Object> | String | Double | Object | Boolean
    key string
    value (string | number | any | boolean)[] | string | number | any | boolean
    key str
    value Sequence[Union[str, float, Any, bool]] | str | float | Any | bool
    key String
    value List<String | Number | Any | Boolean> | String | Number | Any | Boolean

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi