AWS Classic v5.41.0, May 15 23
AWS Classic v5.41.0, May 15 23
aws.controltower.getControls
Explore with Pulumi AI
List of Control Tower controls applied to an OU.
Using getControls
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 getControls(args: GetControlsArgs, opts?: InvokeOptions): Promise<GetControlsResult>
function getControlsOutput(args: GetControlsOutputArgs, opts?: InvokeOptions): Output<GetControlsResult>
def get_controls(target_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetControlsResult
def get_controls_output(target_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetControlsResult]
func GetControls(ctx *Context, args *GetControlsArgs, opts ...InvokeOption) (*GetControlsResult, error)
func GetControlsOutput(ctx *Context, args *GetControlsOutputArgs, opts ...InvokeOption) GetControlsResultOutput
> Note: This function is named GetControls
in the Go SDK.
public static class GetControls
{
public static Task<GetControlsResult> InvokeAsync(GetControlsArgs args, InvokeOptions? opts = null)
public static Output<GetControlsResult> Invoke(GetControlsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetControlsResult> getControls(GetControlsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:controltower/getControls:getControls
arguments:
# arguments dictionary
The following arguments are supported:
- Target
Identifier string The ARN of the organizational unit.
- Target
Identifier string The ARN of the organizational unit.
- target
Identifier String The ARN of the organizational unit.
- target
Identifier string The ARN of the organizational unit.
- target_
identifier str The ARN of the organizational unit.
- target
Identifier String The ARN of the organizational unit.
getControls Result
The following output properties are available:
- Enabled
Controls List<string> List of all the ARNs for the controls applied to the
target_identifier
.- Id string
The provider-assigned unique ID for this managed resource.
- Target
Identifier string
- Enabled
Controls []string List of all the ARNs for the controls applied to the
target_identifier
.- Id string
The provider-assigned unique ID for this managed resource.
- Target
Identifier string
- enabled
Controls List<String> List of all the ARNs for the controls applied to the
target_identifier
.- id String
The provider-assigned unique ID for this managed resource.
- target
Identifier String
- enabled
Controls string[] List of all the ARNs for the controls applied to the
target_identifier
.- id string
The provider-assigned unique ID for this managed resource.
- target
Identifier string
- enabled_
controls Sequence[str] List of all the ARNs for the controls applied to the
target_identifier
.- id str
The provider-assigned unique ID for this managed resource.
- target_
identifier str
- enabled
Controls List<String> List of all the ARNs for the controls applied to the
target_identifier
.- id String
The provider-assigned unique ID for this managed resource.
- target
Identifier String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.