We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 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)
public static Output<GetEnabledControlResult> getEnabledControl(GetEnabledControlArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:controltower:getEnabledControl
arguments:
# arguments dictionaryThe following arguments are supported:
- Control
Identifier string - Arn of the control.
- Target
Identifier string - Arn for Organizational unit to which the control needs to be applied
- Control
Identifier string - Arn of the control.
- Target
Identifier string - Arn for Organizational unit to which the control needs to be applied
- control
Identifier String - Arn of the control.
- target
Identifier String - Arn for Organizational unit to which the control needs to be applied
- control
Identifier string - Arn of the control.
- target
Identifier 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
- control
Identifier String - Arn of the control.
- target
Identifier String - Arn for Organizational unit to which the control needs to be applied
getEnabledControl Result
The following output properties are available:
- Parameters
List<Pulumi.
Aws Native. Control Tower. Outputs. Enabled Control Parameter> - Parameters to configure the enabled control behavior.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A set of tags to assign to the enabled control.
- Parameters
[]Enabled
Control Parameter - Parameters to configure the enabled control behavior.
- Tag
- A set of tags to assign to the enabled control.
- parameters
List<Enabled
Control Parameter> - Parameters to configure the enabled control behavior.
- List<Tag>
- A set of tags to assign to the enabled control.
- parameters
Enabled
Control Parameter[] - Parameters to configure the enabled control behavior.
- Tag[]
- A set of tags to assign to the enabled control.
- parameters
Sequence[Enabled
Control Parameter] - Parameters to configure the enabled control behavior.
- Sequence[root_Tag]
- A set of tags to assign to the enabled control.
- parameters List<Property Map>
- Parameters to configure the enabled control behavior.
- 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, orboolean. [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, orboolean. [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, orboolean. [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, orboolean. [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, orboolean. [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, orboolean. [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
