Documentation
¶
Index ¶
- type ControlTowerControl
- type ControlTowerControlArgs
- type ControlTowerControlArray
- type ControlTowerControlArrayInput
- type ControlTowerControlArrayOutput
- func (ControlTowerControlArrayOutput) ElementType() reflect.Type
- func (o ControlTowerControlArrayOutput) Index(i pulumi.IntInput) ControlTowerControlOutput
- func (o ControlTowerControlArrayOutput) ToControlTowerControlArrayOutput() ControlTowerControlArrayOutput
- func (o ControlTowerControlArrayOutput) ToControlTowerControlArrayOutputWithContext(ctx context.Context) ControlTowerControlArrayOutput
- type ControlTowerControlInput
- type ControlTowerControlMap
- type ControlTowerControlMapInput
- type ControlTowerControlMapOutput
- func (ControlTowerControlMapOutput) ElementType() reflect.Type
- func (o ControlTowerControlMapOutput) MapIndex(k pulumi.StringInput) ControlTowerControlOutput
- func (o ControlTowerControlMapOutput) ToControlTowerControlMapOutput() ControlTowerControlMapOutput
- func (o ControlTowerControlMapOutput) ToControlTowerControlMapOutputWithContext(ctx context.Context) ControlTowerControlMapOutput
- type ControlTowerControlOutput
- func (o ControlTowerControlOutput) Arn() pulumi.StringOutput
- func (o ControlTowerControlOutput) ControlIdentifier() pulumi.StringOutput
- func (ControlTowerControlOutput) ElementType() reflect.Type
- func (o ControlTowerControlOutput) Parameters() ControlTowerControlParameterArrayOutput
- func (o ControlTowerControlOutput) Region() pulumi.StringOutput
- func (o ControlTowerControlOutput) TargetIdentifier() pulumi.StringOutput
- func (o ControlTowerControlOutput) ToControlTowerControlOutput() ControlTowerControlOutput
- func (o ControlTowerControlOutput) ToControlTowerControlOutputWithContext(ctx context.Context) ControlTowerControlOutput
- type ControlTowerControlParameter
- type ControlTowerControlParameterArgs
- func (ControlTowerControlParameterArgs) ElementType() reflect.Type
- func (i ControlTowerControlParameterArgs) ToControlTowerControlParameterOutput() ControlTowerControlParameterOutput
- func (i ControlTowerControlParameterArgs) ToControlTowerControlParameterOutputWithContext(ctx context.Context) ControlTowerControlParameterOutput
- type ControlTowerControlParameterArray
- func (ControlTowerControlParameterArray) ElementType() reflect.Type
- func (i ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutput() ControlTowerControlParameterArrayOutput
- func (i ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutputWithContext(ctx context.Context) ControlTowerControlParameterArrayOutput
- type ControlTowerControlParameterArrayInput
- type ControlTowerControlParameterArrayOutput
- func (ControlTowerControlParameterArrayOutput) ElementType() reflect.Type
- func (o ControlTowerControlParameterArrayOutput) Index(i pulumi.IntInput) ControlTowerControlParameterOutput
- func (o ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutput() ControlTowerControlParameterArrayOutput
- func (o ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutputWithContext(ctx context.Context) ControlTowerControlParameterArrayOutput
- type ControlTowerControlParameterInput
- type ControlTowerControlParameterOutput
- func (ControlTowerControlParameterOutput) ElementType() reflect.Type
- func (o ControlTowerControlParameterOutput) Key() pulumi.StringOutput
- func (o ControlTowerControlParameterOutput) ToControlTowerControlParameterOutput() ControlTowerControlParameterOutput
- func (o ControlTowerControlParameterOutput) ToControlTowerControlParameterOutputWithContext(ctx context.Context) ControlTowerControlParameterOutput
- func (o ControlTowerControlParameterOutput) Value() pulumi.StringOutput
- type ControlTowerControlState
- type GetControlsArgs
- type GetControlsOutputArgs
- type GetControlsResult
- type GetControlsResultOutput
- func (GetControlsResultOutput) ElementType() reflect.Type
- func (o GetControlsResultOutput) EnabledControls() pulumi.StringArrayOutput
- func (o GetControlsResultOutput) Id() pulumi.StringOutput
- func (o GetControlsResultOutput) Region() pulumi.StringOutput
- func (o GetControlsResultOutput) TargetIdentifier() pulumi.StringOutput
- func (o GetControlsResultOutput) ToGetControlsResultOutput() GetControlsResultOutput
- func (o GetControlsResultOutput) ToGetControlsResultOutputWithContext(ctx context.Context) GetControlsResultOutput
- type LandingZone
- type LandingZoneArgs
- type LandingZoneArray
- type LandingZoneArrayInput
- type LandingZoneArrayOutput
- func (LandingZoneArrayOutput) ElementType() reflect.Type
- func (o LandingZoneArrayOutput) Index(i pulumi.IntInput) LandingZoneOutput
- func (o LandingZoneArrayOutput) ToLandingZoneArrayOutput() LandingZoneArrayOutput
- func (o LandingZoneArrayOutput) ToLandingZoneArrayOutputWithContext(ctx context.Context) LandingZoneArrayOutput
- type LandingZoneDriftStatus
- type LandingZoneDriftStatusArgs
- type LandingZoneDriftStatusArray
- func (LandingZoneDriftStatusArray) ElementType() reflect.Type
- func (i LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutput() LandingZoneDriftStatusArrayOutput
- func (i LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutputWithContext(ctx context.Context) LandingZoneDriftStatusArrayOutput
- type LandingZoneDriftStatusArrayInput
- type LandingZoneDriftStatusArrayOutput
- func (LandingZoneDriftStatusArrayOutput) ElementType() reflect.Type
- func (o LandingZoneDriftStatusArrayOutput) Index(i pulumi.IntInput) LandingZoneDriftStatusOutput
- func (o LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutput() LandingZoneDriftStatusArrayOutput
- func (o LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutputWithContext(ctx context.Context) LandingZoneDriftStatusArrayOutput
- type LandingZoneDriftStatusInput
- type LandingZoneDriftStatusOutput
- func (LandingZoneDriftStatusOutput) ElementType() reflect.Type
- func (o LandingZoneDriftStatusOutput) Status() pulumi.StringPtrOutput
- func (o LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutput() LandingZoneDriftStatusOutput
- func (o LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutputWithContext(ctx context.Context) LandingZoneDriftStatusOutput
- type LandingZoneInput
- type LandingZoneMap
- type LandingZoneMapInput
- type LandingZoneMapOutput
- func (LandingZoneMapOutput) ElementType() reflect.Type
- func (o LandingZoneMapOutput) MapIndex(k pulumi.StringInput) LandingZoneOutput
- func (o LandingZoneMapOutput) ToLandingZoneMapOutput() LandingZoneMapOutput
- func (o LandingZoneMapOutput) ToLandingZoneMapOutputWithContext(ctx context.Context) LandingZoneMapOutput
- type LandingZoneOutput
- func (o LandingZoneOutput) Arn() pulumi.StringOutput
- func (o LandingZoneOutput) DriftStatuses() LandingZoneDriftStatusArrayOutput
- func (LandingZoneOutput) ElementType() reflect.Type
- func (o LandingZoneOutput) LatestAvailableVersion() pulumi.StringOutput
- func (o LandingZoneOutput) ManifestJson() pulumi.StringOutput
- func (o LandingZoneOutput) Region() pulumi.StringOutput
- func (o LandingZoneOutput) Tags() pulumi.StringMapOutput
- func (o LandingZoneOutput) TagsAll() pulumi.StringMapOutput
- func (o LandingZoneOutput) ToLandingZoneOutput() LandingZoneOutput
- func (o LandingZoneOutput) ToLandingZoneOutputWithContext(ctx context.Context) LandingZoneOutput
- func (o LandingZoneOutput) Version() pulumi.StringOutput
- type LandingZoneState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlTowerControl ¶
type ControlTowerControl struct {
pulumi.CustomResourceState
// The ARN of the EnabledControl resource.
Arn pulumi.StringOutput `pulumi:"arn"`
// The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
ControlIdentifier pulumi.StringOutput `pulumi:"controlIdentifier"`
// Parameter values which are specified to configure the control when you enable it. See Parameters for more details.
Parameters ControlTowerControlParameterArrayOutput `pulumi:"parameters"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// The ARN of the organizational unit.
//
// The following arguments are optional:
TargetIdentifier pulumi.StringOutput `pulumi:"targetIdentifier"`
}
Allows the application of pre-defined controls to organizational units. For more information on usage, please see the [AWS Control Tower User Guide](https://docs.aws.amazon.com/controltower/latest/userguide/enable-guardrails.html).
## Import
Using `pulumi import`, import Control Tower Controls using their `organizational_unit_arn/control_identifier`. For example:
```sh $ pulumi import aws:controltower/controlTowerControl:ControlTowerControl example arn:aws:organizations::123456789101:ou/o-qqaejywet/ou-qg5o-ufbhdtv3,arn:aws:controltower:us-east-1::control/WTDSMKDKDNLE ```
func GetControlTowerControl ¶
func GetControlTowerControl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ControlTowerControlState, opts ...pulumi.ResourceOption) (*ControlTowerControl, error)
GetControlTowerControl gets an existing ControlTowerControl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewControlTowerControl ¶
func NewControlTowerControl(ctx *pulumi.Context, name string, args *ControlTowerControlArgs, opts ...pulumi.ResourceOption) (*ControlTowerControl, error)
NewControlTowerControl registers a new resource with the given unique name, arguments, and options.
func (*ControlTowerControl) ElementType ¶
func (*ControlTowerControl) ElementType() reflect.Type
func (*ControlTowerControl) ToControlTowerControlOutput ¶
func (i *ControlTowerControl) ToControlTowerControlOutput() ControlTowerControlOutput
func (*ControlTowerControl) ToControlTowerControlOutputWithContext ¶
func (i *ControlTowerControl) ToControlTowerControlOutputWithContext(ctx context.Context) ControlTowerControlOutput
type ControlTowerControlArgs ¶
type ControlTowerControlArgs struct {
// The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
ControlIdentifier pulumi.StringInput
// Parameter values which are specified to configure the control when you enable it. See Parameters for more details.
Parameters ControlTowerControlParameterArrayInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The ARN of the organizational unit.
//
// The following arguments are optional:
TargetIdentifier pulumi.StringInput
}
The set of arguments for constructing a ControlTowerControl resource.
func (ControlTowerControlArgs) ElementType ¶
func (ControlTowerControlArgs) ElementType() reflect.Type
type ControlTowerControlArray ¶
type ControlTowerControlArray []ControlTowerControlInput
func (ControlTowerControlArray) ElementType ¶
func (ControlTowerControlArray) ElementType() reflect.Type
func (ControlTowerControlArray) ToControlTowerControlArrayOutput ¶
func (i ControlTowerControlArray) ToControlTowerControlArrayOutput() ControlTowerControlArrayOutput
func (ControlTowerControlArray) ToControlTowerControlArrayOutputWithContext ¶
func (i ControlTowerControlArray) ToControlTowerControlArrayOutputWithContext(ctx context.Context) ControlTowerControlArrayOutput
type ControlTowerControlArrayInput ¶
type ControlTowerControlArrayInput interface {
pulumi.Input
ToControlTowerControlArrayOutput() ControlTowerControlArrayOutput
ToControlTowerControlArrayOutputWithContext(context.Context) ControlTowerControlArrayOutput
}
ControlTowerControlArrayInput is an input type that accepts ControlTowerControlArray and ControlTowerControlArrayOutput values. You can construct a concrete instance of `ControlTowerControlArrayInput` via:
ControlTowerControlArray{ ControlTowerControlArgs{...} }
type ControlTowerControlArrayOutput ¶
type ControlTowerControlArrayOutput struct{ *pulumi.OutputState }
func (ControlTowerControlArrayOutput) ElementType ¶
func (ControlTowerControlArrayOutput) ElementType() reflect.Type
func (ControlTowerControlArrayOutput) Index ¶
func (o ControlTowerControlArrayOutput) Index(i pulumi.IntInput) ControlTowerControlOutput
func (ControlTowerControlArrayOutput) ToControlTowerControlArrayOutput ¶
func (o ControlTowerControlArrayOutput) ToControlTowerControlArrayOutput() ControlTowerControlArrayOutput
func (ControlTowerControlArrayOutput) ToControlTowerControlArrayOutputWithContext ¶
func (o ControlTowerControlArrayOutput) ToControlTowerControlArrayOutputWithContext(ctx context.Context) ControlTowerControlArrayOutput
type ControlTowerControlInput ¶
type ControlTowerControlInput interface {
pulumi.Input
ToControlTowerControlOutput() ControlTowerControlOutput
ToControlTowerControlOutputWithContext(ctx context.Context) ControlTowerControlOutput
}
type ControlTowerControlMap ¶
type ControlTowerControlMap map[string]ControlTowerControlInput
func (ControlTowerControlMap) ElementType ¶
func (ControlTowerControlMap) ElementType() reflect.Type
func (ControlTowerControlMap) ToControlTowerControlMapOutput ¶
func (i ControlTowerControlMap) ToControlTowerControlMapOutput() ControlTowerControlMapOutput
func (ControlTowerControlMap) ToControlTowerControlMapOutputWithContext ¶
func (i ControlTowerControlMap) ToControlTowerControlMapOutputWithContext(ctx context.Context) ControlTowerControlMapOutput
type ControlTowerControlMapInput ¶
type ControlTowerControlMapInput interface {
pulumi.Input
ToControlTowerControlMapOutput() ControlTowerControlMapOutput
ToControlTowerControlMapOutputWithContext(context.Context) ControlTowerControlMapOutput
}
ControlTowerControlMapInput is an input type that accepts ControlTowerControlMap and ControlTowerControlMapOutput values. You can construct a concrete instance of `ControlTowerControlMapInput` via:
ControlTowerControlMap{ "key": ControlTowerControlArgs{...} }
type ControlTowerControlMapOutput ¶
type ControlTowerControlMapOutput struct{ *pulumi.OutputState }
func (ControlTowerControlMapOutput) ElementType ¶
func (ControlTowerControlMapOutput) ElementType() reflect.Type
func (ControlTowerControlMapOutput) MapIndex ¶
func (o ControlTowerControlMapOutput) MapIndex(k pulumi.StringInput) ControlTowerControlOutput
func (ControlTowerControlMapOutput) ToControlTowerControlMapOutput ¶
func (o ControlTowerControlMapOutput) ToControlTowerControlMapOutput() ControlTowerControlMapOutput
func (ControlTowerControlMapOutput) ToControlTowerControlMapOutputWithContext ¶
func (o ControlTowerControlMapOutput) ToControlTowerControlMapOutputWithContext(ctx context.Context) ControlTowerControlMapOutput
type ControlTowerControlOutput ¶
type ControlTowerControlOutput struct{ *pulumi.OutputState }
func (ControlTowerControlOutput) Arn ¶
func (o ControlTowerControlOutput) Arn() pulumi.StringOutput
The ARN of the EnabledControl resource.
func (ControlTowerControlOutput) ControlIdentifier ¶
func (o ControlTowerControlOutput) ControlIdentifier() pulumi.StringOutput
The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
func (ControlTowerControlOutput) ElementType ¶
func (ControlTowerControlOutput) ElementType() reflect.Type
func (ControlTowerControlOutput) Parameters ¶
func (o ControlTowerControlOutput) Parameters() ControlTowerControlParameterArrayOutput
Parameter values which are specified to configure the control when you enable it. See Parameters for more details.
func (ControlTowerControlOutput) Region ¶
func (o ControlTowerControlOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (ControlTowerControlOutput) TargetIdentifier ¶
func (o ControlTowerControlOutput) TargetIdentifier() pulumi.StringOutput
The ARN of the organizational unit.
The following arguments are optional:
func (ControlTowerControlOutput) ToControlTowerControlOutput ¶
func (o ControlTowerControlOutput) ToControlTowerControlOutput() ControlTowerControlOutput
func (ControlTowerControlOutput) ToControlTowerControlOutputWithContext ¶
func (o ControlTowerControlOutput) ToControlTowerControlOutputWithContext(ctx context.Context) ControlTowerControlOutput
type ControlTowerControlParameterArgs ¶
type ControlTowerControlParameterArgs struct {
// The name of the parameter.
Key pulumi.StringInput `pulumi:"key"`
// The value of the parameter.
Value pulumi.StringInput `pulumi:"value"`
}
func (ControlTowerControlParameterArgs) ElementType ¶
func (ControlTowerControlParameterArgs) ElementType() reflect.Type
func (ControlTowerControlParameterArgs) ToControlTowerControlParameterOutput ¶
func (i ControlTowerControlParameterArgs) ToControlTowerControlParameterOutput() ControlTowerControlParameterOutput
func (ControlTowerControlParameterArgs) ToControlTowerControlParameterOutputWithContext ¶
func (i ControlTowerControlParameterArgs) ToControlTowerControlParameterOutputWithContext(ctx context.Context) ControlTowerControlParameterOutput
type ControlTowerControlParameterArray ¶
type ControlTowerControlParameterArray []ControlTowerControlParameterInput
func (ControlTowerControlParameterArray) ElementType ¶
func (ControlTowerControlParameterArray) ElementType() reflect.Type
func (ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutput ¶
func (i ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutput() ControlTowerControlParameterArrayOutput
func (ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutputWithContext ¶
func (i ControlTowerControlParameterArray) ToControlTowerControlParameterArrayOutputWithContext(ctx context.Context) ControlTowerControlParameterArrayOutput
type ControlTowerControlParameterArrayInput ¶
type ControlTowerControlParameterArrayInput interface {
pulumi.Input
ToControlTowerControlParameterArrayOutput() ControlTowerControlParameterArrayOutput
ToControlTowerControlParameterArrayOutputWithContext(context.Context) ControlTowerControlParameterArrayOutput
}
ControlTowerControlParameterArrayInput is an input type that accepts ControlTowerControlParameterArray and ControlTowerControlParameterArrayOutput values. You can construct a concrete instance of `ControlTowerControlParameterArrayInput` via:
ControlTowerControlParameterArray{ ControlTowerControlParameterArgs{...} }
type ControlTowerControlParameterArrayOutput ¶
type ControlTowerControlParameterArrayOutput struct{ *pulumi.OutputState }
func (ControlTowerControlParameterArrayOutput) ElementType ¶
func (ControlTowerControlParameterArrayOutput) ElementType() reflect.Type
func (ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutput ¶
func (o ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutput() ControlTowerControlParameterArrayOutput
func (ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutputWithContext ¶
func (o ControlTowerControlParameterArrayOutput) ToControlTowerControlParameterArrayOutputWithContext(ctx context.Context) ControlTowerControlParameterArrayOutput
type ControlTowerControlParameterInput ¶
type ControlTowerControlParameterInput interface {
pulumi.Input
ToControlTowerControlParameterOutput() ControlTowerControlParameterOutput
ToControlTowerControlParameterOutputWithContext(context.Context) ControlTowerControlParameterOutput
}
ControlTowerControlParameterInput is an input type that accepts ControlTowerControlParameterArgs and ControlTowerControlParameterOutput values. You can construct a concrete instance of `ControlTowerControlParameterInput` via:
ControlTowerControlParameterArgs{...}
type ControlTowerControlParameterOutput ¶
type ControlTowerControlParameterOutput struct{ *pulumi.OutputState }
func (ControlTowerControlParameterOutput) ElementType ¶
func (ControlTowerControlParameterOutput) ElementType() reflect.Type
func (ControlTowerControlParameterOutput) Key ¶
func (o ControlTowerControlParameterOutput) Key() pulumi.StringOutput
The name of the parameter.
func (ControlTowerControlParameterOutput) ToControlTowerControlParameterOutput ¶
func (o ControlTowerControlParameterOutput) ToControlTowerControlParameterOutput() ControlTowerControlParameterOutput
func (ControlTowerControlParameterOutput) ToControlTowerControlParameterOutputWithContext ¶
func (o ControlTowerControlParameterOutput) ToControlTowerControlParameterOutputWithContext(ctx context.Context) ControlTowerControlParameterOutput
func (ControlTowerControlParameterOutput) Value ¶
func (o ControlTowerControlParameterOutput) Value() pulumi.StringOutput
The value of the parameter.
type ControlTowerControlState ¶
type ControlTowerControlState struct {
// The ARN of the EnabledControl resource.
Arn pulumi.StringPtrInput
// The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
ControlIdentifier pulumi.StringPtrInput
// Parameter values which are specified to configure the control when you enable it. See Parameters for more details.
Parameters ControlTowerControlParameterArrayInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The ARN of the organizational unit.
//
// The following arguments are optional:
TargetIdentifier pulumi.StringPtrInput
}
func (ControlTowerControlState) ElementType ¶
func (ControlTowerControlState) ElementType() reflect.Type
type GetControlsArgs ¶
type GetControlsArgs struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// The ARN of the organizational unit.
TargetIdentifier string `pulumi:"targetIdentifier"`
}
A collection of arguments for invoking getControls.
type GetControlsOutputArgs ¶
type GetControlsOutputArgs struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// The ARN of the organizational unit.
TargetIdentifier pulumi.StringInput `pulumi:"targetIdentifier"`
}
A collection of arguments for invoking getControls.
func (GetControlsOutputArgs) ElementType ¶
func (GetControlsOutputArgs) ElementType() reflect.Type
type GetControlsResult ¶
type GetControlsResult struct {
// List of all the ARNs for the controls applied to the `targetIdentifier`.
EnabledControls []string `pulumi:"enabledControls"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Region string `pulumi:"region"`
TargetIdentifier string `pulumi:"targetIdentifier"`
}
A collection of values returned by getControls.
func GetControls ¶
func GetControls(ctx *pulumi.Context, args *GetControlsArgs, opts ...pulumi.InvokeOption) (*GetControlsResult, error)
List of Control Tower controls applied to an OU.
type GetControlsResultOutput ¶
type GetControlsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getControls.
func GetControlsOutput ¶
func GetControlsOutput(ctx *pulumi.Context, args GetControlsOutputArgs, opts ...pulumi.InvokeOption) GetControlsResultOutput
func (GetControlsResultOutput) ElementType ¶
func (GetControlsResultOutput) ElementType() reflect.Type
func (GetControlsResultOutput) EnabledControls ¶
func (o GetControlsResultOutput) EnabledControls() pulumi.StringArrayOutput
List of all the ARNs for the controls applied to the `targetIdentifier`.
func (GetControlsResultOutput) Id ¶
func (o GetControlsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetControlsResultOutput) Region ¶
func (o GetControlsResultOutput) Region() pulumi.StringOutput
func (GetControlsResultOutput) TargetIdentifier ¶
func (o GetControlsResultOutput) TargetIdentifier() pulumi.StringOutput
func (GetControlsResultOutput) ToGetControlsResultOutput ¶
func (o GetControlsResultOutput) ToGetControlsResultOutput() GetControlsResultOutput
func (GetControlsResultOutput) ToGetControlsResultOutputWithContext ¶
func (o GetControlsResultOutput) ToGetControlsResultOutputWithContext(ctx context.Context) GetControlsResultOutput
type LandingZone ¶
type LandingZone struct {
pulumi.CustomResourceState
// The ARN of the landing zone.
Arn pulumi.StringOutput `pulumi:"arn"`
// The drift status summary of the landing zone.
DriftStatuses LandingZoneDriftStatusArrayOutput `pulumi:"driftStatuses"`
// The latest available version of the landing zone.
LatestAvailableVersion pulumi.StringOutput `pulumi:"latestAvailableVersion"`
// The manifest JSON file is a text file that describes your AWS resources. For examples, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch).
ManifestJson pulumi.StringOutput `pulumi:"manifestJson"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// Tags to apply to the landing zone. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the landing zone, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The landing zone version.
Version pulumi.StringOutput `pulumi:"version"`
}
Creates a new landing zone using Control Tower. For more information on usage, please see the [AWS Control Tower Landing Zone User Guide](https://docs.aws.amazon.com/controltower/latest/userguide/how-control-tower-works.html).
## Import
Using `pulumi import`, import a Control Tower Landing Zone using the `id`. For example:
```sh $ pulumi import aws:controltower/landingZone:LandingZone example 1A2B3C4D5E6F7G8H ```
func GetLandingZone ¶
func GetLandingZone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LandingZoneState, opts ...pulumi.ResourceOption) (*LandingZone, error)
GetLandingZone gets an existing LandingZone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLandingZone ¶
func NewLandingZone(ctx *pulumi.Context, name string, args *LandingZoneArgs, opts ...pulumi.ResourceOption) (*LandingZone, error)
NewLandingZone registers a new resource with the given unique name, arguments, and options.
func (*LandingZone) ElementType ¶
func (*LandingZone) ElementType() reflect.Type
func (*LandingZone) ToLandingZoneOutput ¶
func (i *LandingZone) ToLandingZoneOutput() LandingZoneOutput
func (*LandingZone) ToLandingZoneOutputWithContext ¶
func (i *LandingZone) ToLandingZoneOutputWithContext(ctx context.Context) LandingZoneOutput
type LandingZoneArgs ¶
type LandingZoneArgs struct {
// The manifest JSON file is a text file that describes your AWS resources. For examples, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch).
ManifestJson pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Tags to apply to the landing zone. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The landing zone version.
Version pulumi.StringInput
}
The set of arguments for constructing a LandingZone resource.
func (LandingZoneArgs) ElementType ¶
func (LandingZoneArgs) ElementType() reflect.Type
type LandingZoneArray ¶
type LandingZoneArray []LandingZoneInput
func (LandingZoneArray) ElementType ¶
func (LandingZoneArray) ElementType() reflect.Type
func (LandingZoneArray) ToLandingZoneArrayOutput ¶
func (i LandingZoneArray) ToLandingZoneArrayOutput() LandingZoneArrayOutput
func (LandingZoneArray) ToLandingZoneArrayOutputWithContext ¶
func (i LandingZoneArray) ToLandingZoneArrayOutputWithContext(ctx context.Context) LandingZoneArrayOutput
type LandingZoneArrayInput ¶
type LandingZoneArrayInput interface {
pulumi.Input
ToLandingZoneArrayOutput() LandingZoneArrayOutput
ToLandingZoneArrayOutputWithContext(context.Context) LandingZoneArrayOutput
}
LandingZoneArrayInput is an input type that accepts LandingZoneArray and LandingZoneArrayOutput values. You can construct a concrete instance of `LandingZoneArrayInput` via:
LandingZoneArray{ LandingZoneArgs{...} }
type LandingZoneArrayOutput ¶
type LandingZoneArrayOutput struct{ *pulumi.OutputState }
func (LandingZoneArrayOutput) ElementType ¶
func (LandingZoneArrayOutput) ElementType() reflect.Type
func (LandingZoneArrayOutput) Index ¶
func (o LandingZoneArrayOutput) Index(i pulumi.IntInput) LandingZoneOutput
func (LandingZoneArrayOutput) ToLandingZoneArrayOutput ¶
func (o LandingZoneArrayOutput) ToLandingZoneArrayOutput() LandingZoneArrayOutput
func (LandingZoneArrayOutput) ToLandingZoneArrayOutputWithContext ¶
func (o LandingZoneArrayOutput) ToLandingZoneArrayOutputWithContext(ctx context.Context) LandingZoneArrayOutput
type LandingZoneDriftStatus ¶
type LandingZoneDriftStatus struct {
// The drift status of the landing zone.
Status *string `pulumi:"status"`
}
type LandingZoneDriftStatusArgs ¶
type LandingZoneDriftStatusArgs struct {
// The drift status of the landing zone.
Status pulumi.StringPtrInput `pulumi:"status"`
}
func (LandingZoneDriftStatusArgs) ElementType ¶
func (LandingZoneDriftStatusArgs) ElementType() reflect.Type
func (LandingZoneDriftStatusArgs) ToLandingZoneDriftStatusOutput ¶
func (i LandingZoneDriftStatusArgs) ToLandingZoneDriftStatusOutput() LandingZoneDriftStatusOutput
func (LandingZoneDriftStatusArgs) ToLandingZoneDriftStatusOutputWithContext ¶
func (i LandingZoneDriftStatusArgs) ToLandingZoneDriftStatusOutputWithContext(ctx context.Context) LandingZoneDriftStatusOutput
type LandingZoneDriftStatusArray ¶
type LandingZoneDriftStatusArray []LandingZoneDriftStatusInput
func (LandingZoneDriftStatusArray) ElementType ¶
func (LandingZoneDriftStatusArray) ElementType() reflect.Type
func (LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutput ¶
func (i LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutput() LandingZoneDriftStatusArrayOutput
func (LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutputWithContext ¶
func (i LandingZoneDriftStatusArray) ToLandingZoneDriftStatusArrayOutputWithContext(ctx context.Context) LandingZoneDriftStatusArrayOutput
type LandingZoneDriftStatusArrayInput ¶
type LandingZoneDriftStatusArrayInput interface {
pulumi.Input
ToLandingZoneDriftStatusArrayOutput() LandingZoneDriftStatusArrayOutput
ToLandingZoneDriftStatusArrayOutputWithContext(context.Context) LandingZoneDriftStatusArrayOutput
}
LandingZoneDriftStatusArrayInput is an input type that accepts LandingZoneDriftStatusArray and LandingZoneDriftStatusArrayOutput values. You can construct a concrete instance of `LandingZoneDriftStatusArrayInput` via:
LandingZoneDriftStatusArray{ LandingZoneDriftStatusArgs{...} }
type LandingZoneDriftStatusArrayOutput ¶
type LandingZoneDriftStatusArrayOutput struct{ *pulumi.OutputState }
func (LandingZoneDriftStatusArrayOutput) ElementType ¶
func (LandingZoneDriftStatusArrayOutput) ElementType() reflect.Type
func (LandingZoneDriftStatusArrayOutput) Index ¶
func (o LandingZoneDriftStatusArrayOutput) Index(i pulumi.IntInput) LandingZoneDriftStatusOutput
func (LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutput ¶
func (o LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutput() LandingZoneDriftStatusArrayOutput
func (LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutputWithContext ¶
func (o LandingZoneDriftStatusArrayOutput) ToLandingZoneDriftStatusArrayOutputWithContext(ctx context.Context) LandingZoneDriftStatusArrayOutput
type LandingZoneDriftStatusInput ¶
type LandingZoneDriftStatusInput interface {
pulumi.Input
ToLandingZoneDriftStatusOutput() LandingZoneDriftStatusOutput
ToLandingZoneDriftStatusOutputWithContext(context.Context) LandingZoneDriftStatusOutput
}
LandingZoneDriftStatusInput is an input type that accepts LandingZoneDriftStatusArgs and LandingZoneDriftStatusOutput values. You can construct a concrete instance of `LandingZoneDriftStatusInput` via:
LandingZoneDriftStatusArgs{...}
type LandingZoneDriftStatusOutput ¶
type LandingZoneDriftStatusOutput struct{ *pulumi.OutputState }
func (LandingZoneDriftStatusOutput) ElementType ¶
func (LandingZoneDriftStatusOutput) ElementType() reflect.Type
func (LandingZoneDriftStatusOutput) Status ¶
func (o LandingZoneDriftStatusOutput) Status() pulumi.StringPtrOutput
The drift status of the landing zone.
func (LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutput ¶
func (o LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutput() LandingZoneDriftStatusOutput
func (LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutputWithContext ¶
func (o LandingZoneDriftStatusOutput) ToLandingZoneDriftStatusOutputWithContext(ctx context.Context) LandingZoneDriftStatusOutput
type LandingZoneInput ¶
type LandingZoneInput interface {
pulumi.Input
ToLandingZoneOutput() LandingZoneOutput
ToLandingZoneOutputWithContext(ctx context.Context) LandingZoneOutput
}
type LandingZoneMap ¶
type LandingZoneMap map[string]LandingZoneInput
func (LandingZoneMap) ElementType ¶
func (LandingZoneMap) ElementType() reflect.Type
func (LandingZoneMap) ToLandingZoneMapOutput ¶
func (i LandingZoneMap) ToLandingZoneMapOutput() LandingZoneMapOutput
func (LandingZoneMap) ToLandingZoneMapOutputWithContext ¶
func (i LandingZoneMap) ToLandingZoneMapOutputWithContext(ctx context.Context) LandingZoneMapOutput
type LandingZoneMapInput ¶
type LandingZoneMapInput interface {
pulumi.Input
ToLandingZoneMapOutput() LandingZoneMapOutput
ToLandingZoneMapOutputWithContext(context.Context) LandingZoneMapOutput
}
LandingZoneMapInput is an input type that accepts LandingZoneMap and LandingZoneMapOutput values. You can construct a concrete instance of `LandingZoneMapInput` via:
LandingZoneMap{ "key": LandingZoneArgs{...} }
type LandingZoneMapOutput ¶
type LandingZoneMapOutput struct{ *pulumi.OutputState }
func (LandingZoneMapOutput) ElementType ¶
func (LandingZoneMapOutput) ElementType() reflect.Type
func (LandingZoneMapOutput) MapIndex ¶
func (o LandingZoneMapOutput) MapIndex(k pulumi.StringInput) LandingZoneOutput
func (LandingZoneMapOutput) ToLandingZoneMapOutput ¶
func (o LandingZoneMapOutput) ToLandingZoneMapOutput() LandingZoneMapOutput
func (LandingZoneMapOutput) ToLandingZoneMapOutputWithContext ¶
func (o LandingZoneMapOutput) ToLandingZoneMapOutputWithContext(ctx context.Context) LandingZoneMapOutput
type LandingZoneOutput ¶
type LandingZoneOutput struct{ *pulumi.OutputState }
func (LandingZoneOutput) Arn ¶
func (o LandingZoneOutput) Arn() pulumi.StringOutput
The ARN of the landing zone.
func (LandingZoneOutput) DriftStatuses ¶
func (o LandingZoneOutput) DriftStatuses() LandingZoneDriftStatusArrayOutput
The drift status summary of the landing zone.
func (LandingZoneOutput) ElementType ¶
func (LandingZoneOutput) ElementType() reflect.Type
func (LandingZoneOutput) LatestAvailableVersion ¶
func (o LandingZoneOutput) LatestAvailableVersion() pulumi.StringOutput
The latest available version of the landing zone.
func (LandingZoneOutput) ManifestJson ¶
func (o LandingZoneOutput) ManifestJson() pulumi.StringOutput
The manifest JSON file is a text file that describes your AWS resources. For examples, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch).
func (LandingZoneOutput) Region ¶
func (o LandingZoneOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (LandingZoneOutput) Tags ¶
func (o LandingZoneOutput) Tags() pulumi.StringMapOutput
Tags to apply to the landing zone. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (LandingZoneOutput) TagsAll ¶
func (o LandingZoneOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the landing zone, including those inherited from the provider `defaultTags` configuration block.
func (LandingZoneOutput) ToLandingZoneOutput ¶
func (o LandingZoneOutput) ToLandingZoneOutput() LandingZoneOutput
func (LandingZoneOutput) ToLandingZoneOutputWithContext ¶
func (o LandingZoneOutput) ToLandingZoneOutputWithContext(ctx context.Context) LandingZoneOutput
func (LandingZoneOutput) Version ¶
func (o LandingZoneOutput) Version() pulumi.StringOutput
The landing zone version.
type LandingZoneState ¶
type LandingZoneState struct {
// The ARN of the landing zone.
Arn pulumi.StringPtrInput
// The drift status summary of the landing zone.
DriftStatuses LandingZoneDriftStatusArrayInput
// The latest available version of the landing zone.
LatestAvailableVersion pulumi.StringPtrInput
// The manifest JSON file is a text file that describes your AWS resources. For examples, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch).
ManifestJson pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Tags to apply to the landing zone. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the landing zone, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// The landing zone version.
Version pulumi.StringPtrInput
}
func (LandingZoneState) ElementType ¶
func (LandingZoneState) ElementType() reflect.Type