aws.controltower.Baseline
Resource for managing an AWS Control Tower Baseline.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.controltower.Baseline("example", {
baselineIdentifier: "arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2",
baselineVersion: "4.0",
targetIdentifier: test.arn,
parameters: {
key: "IdentityCenterEnabledBaselineArn",
value: "arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC",
},
});
import pulumi
import pulumi_aws as aws
example = aws.controltower.Baseline("example",
baseline_identifier="arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2",
baseline_version="4.0",
target_identifier=test["arn"],
parameters={
"key": "IdentityCenterEnabledBaselineArn",
"value": "arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/controltower"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := controltower.NewBaseline(ctx, "example", &controltower.BaselineArgs{
BaselineIdentifier: pulumi.String("arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2"),
BaselineVersion: pulumi.String("4.0"),
TargetIdentifier: pulumi.Any(test.Arn),
Parameters: &controltower.BaselineParametersArgs{
Key: pulumi.String("IdentityCenterEnabledBaselineArn"),
Value: pulumi.String("arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.ControlTower.Baseline("example", new()
{
BaselineIdentifier = "arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2",
BaselineVersion = "4.0",
TargetIdentifier = test.Arn,
Parameters = new Aws.ControlTower.Inputs.BaselineParametersArgs
{
Key = "IdentityCenterEnabledBaselineArn",
Value = "arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.controltower.Baseline;
import com.pulumi.aws.controltower.BaselineArgs;
import com.pulumi.aws.controltower.inputs.BaselineParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Baseline("example", BaselineArgs.builder()
.baselineIdentifier("arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2")
.baselineVersion("4.0")
.targetIdentifier(test.arn())
.parameters(BaselineParametersArgs.builder()
.key("IdentityCenterEnabledBaselineArn")
.value("arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC")
.build())
.build());
}
}
resources:
example:
type: aws:controltower:Baseline
properties:
baselineIdentifier: arn:aws:controltower:us-east-1::baseline/17BSJV3IGJ2QSGA2
baselineVersion: '4.0'
targetIdentifier: ${test.arn}
parameters:
key: IdentityCenterEnabledBaselineArn
value: arn:aws:controltower:us-east-1:664418989480:enabledbaseline/XALULM96QHI525UOC
Create Baseline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Baseline(name: string, args: BaselineArgs, opts?: CustomResourceOptions);@overload
def Baseline(resource_name: str,
args: BaselineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Baseline(resource_name: str,
opts: Optional[ResourceOptions] = None,
baseline_identifier: Optional[str] = None,
baseline_version: Optional[str] = None,
target_identifier: Optional[str] = None,
parameters: Optional[BaselineParametersArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[BaselineTimeoutsArgs] = None)func NewBaseline(ctx *Context, name string, args BaselineArgs, opts ...ResourceOption) (*Baseline, error)public Baseline(string name, BaselineArgs args, CustomResourceOptions? opts = null)
public Baseline(String name, BaselineArgs args)
public Baseline(String name, BaselineArgs args, CustomResourceOptions options)
type: aws:controltower:Baseline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BaselineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BaselineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BaselineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BaselineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BaselineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var baselineResource = new Aws.ControlTower.Baseline("baselineResource", new()
{
BaselineIdentifier = "string",
BaselineVersion = "string",
TargetIdentifier = "string",
Parameters = new Aws.ControlTower.Inputs.BaselineParametersArgs
{
Key = "string",
Value = "string",
},
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.ControlTower.Inputs.BaselineTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := controltower.NewBaseline(ctx, "baselineResource", &controltower.BaselineArgs{
BaselineIdentifier: pulumi.String("string"),
BaselineVersion: pulumi.String("string"),
TargetIdentifier: pulumi.String("string"),
Parameters: &controltower.BaselineParametersArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &controltower.BaselineTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var baselineResource = new Baseline("baselineResource", BaselineArgs.builder()
.baselineIdentifier("string")
.baselineVersion("string")
.targetIdentifier("string")
.parameters(BaselineParametersArgs.builder()
.key("string")
.value("string")
.build())
.region("string")
.tags(Map.of("string", "string"))
.timeouts(BaselineTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
baseline_resource = aws.controltower.Baseline("baselineResource",
baseline_identifier="string",
baseline_version="string",
target_identifier="string",
parameters={
"key": "string",
"value": "string",
},
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const baselineResource = new aws.controltower.Baseline("baselineResource", {
baselineIdentifier: "string",
baselineVersion: "string",
targetIdentifier: "string",
parameters: {
key: "string",
value: "string",
},
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:controltower:Baseline
properties:
baselineIdentifier: string
baselineVersion: string
parameters:
key: string
value: string
region: string
tags:
string: string
targetIdentifier: string
timeouts:
create: string
delete: string
update: string
Baseline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Baseline resource accepts the following input properties:
- Baseline
Identifier string - The ARN of the baseline to be enabled.
- Baseline
Version string - The version of the baseline to be enabled.
- Target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- Parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Baseline
Timeouts
- Baseline
Identifier string - The ARN of the baseline to be enabled.
- Baseline
Version string - The version of the baseline to be enabled.
- Target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- Parameters
Baseline
Parameters Args - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Baseline
Timeouts Args
- baseline
Identifier String - The ARN of the baseline to be enabled.
- baseline
Version String - The version of the baseline to be enabled.
- target
Identifier String The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Baseline
Timeouts
- baseline
Identifier string - The ARN of the baseline to be enabled.
- baseline
Version string - The version of the baseline to be enabled.
- target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Baseline
Timeouts
- baseline_
identifier str - The ARN of the baseline to be enabled.
- baseline_
version str - The version of the baseline to be enabled.
- target_
identifier str The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- parameters
Baseline
Parameters Args - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Baseline
Timeouts Args
- baseline
Identifier String - The ARN of the baseline to be enabled.
- baseline
Version String - The version of the baseline to be enabled.
- target
Identifier String The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- parameters Property Map
- A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Baseline resource produces the following output properties:
- Arn string
- ARN of the Baseline.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation
Identifier string - Dictionary<string, string>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
- Arn string
- ARN of the Baseline.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation
Identifier string - map[string]string
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the Baseline.
- id String
- The provider-assigned unique ID for this managed resource.
- operation
Identifier String - Map<String,String>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
- arn string
- ARN of the Baseline.
- id string
- The provider-assigned unique ID for this managed resource.
- operation
Identifier string - {[key: string]: string}
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
- arn str
- ARN of the Baseline.
- id str
- The provider-assigned unique ID for this managed resource.
- operation_
identifier str - Mapping[str, str]
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the Baseline.
- id String
- The provider-assigned unique ID for this managed resource.
- operation
Identifier String - Map<String>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing Baseline Resource
Get an existing Baseline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BaselineState, opts?: CustomResourceOptions): Baseline@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
baseline_identifier: Optional[str] = None,
baseline_version: Optional[str] = None,
operation_identifier: Optional[str] = None,
parameters: Optional[BaselineParametersArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
target_identifier: Optional[str] = None,
timeouts: Optional[BaselineTimeoutsArgs] = None) -> Baselinefunc GetBaseline(ctx *Context, name string, id IDInput, state *BaselineState, opts ...ResourceOption) (*Baseline, error)public static Baseline Get(string name, Input<string> id, BaselineState? state, CustomResourceOptions? opts = null)public static Baseline get(String name, Output<String> id, BaselineState state, CustomResourceOptions options)resources: _: type: aws:controltower:Baseline get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Baseline.
- Baseline
Identifier string - The ARN of the baseline to be enabled.
- Baseline
Version string - The version of the baseline to be enabled.
- Operation
Identifier string - Parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - Target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- Timeouts
Baseline
Timeouts
- Arn string
- ARN of the Baseline.
- Baseline
Identifier string - The ARN of the baseline to be enabled.
- Baseline
Version string - The version of the baseline to be enabled.
- Operation
Identifier string - Parameters
Baseline
Parameters Args - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - Target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- Timeouts
Baseline
Timeouts Args
- arn String
- ARN of the Baseline.
- baseline
Identifier String - The ARN of the baseline to be enabled.
- baseline
Version String - The version of the baseline to be enabled.
- operation
Identifier String - parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - target
Identifier String The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- timeouts
Baseline
Timeouts
- arn string
- ARN of the Baseline.
- baseline
Identifier string - The ARN of the baseline to be enabled.
- baseline
Version string - The version of the baseline to be enabled.
- operation
Identifier string - parameters
Baseline
Parameters - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - target
Identifier string The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- timeouts
Baseline
Timeouts
- arn str
- ARN of the Baseline.
- baseline_
identifier str - The ARN of the baseline to be enabled.
- baseline_
version str - The version of the baseline to be enabled.
- operation_
identifier str - parameters
Baseline
Parameters Args - A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - target_
identifier str The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- timeouts
Baseline
Timeouts Args
- arn String
- ARN of the Baseline.
- baseline
Identifier String - The ARN of the baseline to be enabled.
- baseline
Version String - The version of the baseline to be enabled.
- operation
Identifier String - parameters Property Map
- A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type. See Parameter below for details.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Tags to apply to the landing zone. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the landing zone, including those inherited from the provider
default_tagsconfiguration block. - target
Identifier String The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
The following arguments are optional:
- timeouts Property Map
Supporting Types
BaselineParameters, BaselineParametersArgs
BaselineTimeouts, BaselineTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import Control Tower Baseline using the arn. For example:
$ pulumi import aws:controltower/baseline:Baseline example arn:aws:controltower:us-east-1:012345678912:enabledbaseline/XALULM96QHI525UOC
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
