UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

41 lines (40 loc) 1.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Enables a control on a specified target. */ export declare function getEnabledControl(args: GetEnabledControlArgs, opts?: pulumi.InvokeOptions): Promise<GetEnabledControlResult>; export interface GetEnabledControlArgs { /** * Arn of the control. */ controlIdentifier: string; /** * Arn for Organizational unit to which the control needs to be applied */ targetIdentifier: string; } export interface GetEnabledControlResult { /** * Parameters to configure the enabled control behavior. */ readonly parameters?: outputs.controltower.EnabledControlParameter[]; /** * A set of tags to assign to the enabled control. */ readonly tags?: outputs.Tag[]; } /** * Enables a control on a specified target. */ export declare function getEnabledControlOutput(args: GetEnabledControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnabledControlResult>; export interface GetEnabledControlOutputArgs { /** * Arn of the control. */ controlIdentifier: pulumi.Input<string>; /** * Arn for Organizational unit to which the control needs to be applied */ targetIdentifier: pulumi.Input<string>; }