aws.datazone.Environment
Explore with Pulumi AI
Resource for managing an AWS DataZone Environment.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datazone.Environment("example", {
name: "example",
accountIdentifier: test.accountId,
accountRegion: testAwsRegion.name,
blueprintIdentifier: testAwsDatazoneEnvironmentBlueprintConfiguration.environmentBlueprintId,
profileIdentifier: testAwsDatazoneEnvironmentProfile.id,
projectIdentifier: testAwsDatazoneProject.id,
domainIdentifier: testAwsDatazoneDomain.id,
userParameters: [
{
name: "consumerGlueDbName",
value: "consumer",
},
{
name: "producerGlueDbName",
value: "producer",
},
{
name: "workgroupName",
value: "workgroup",
},
],
});
import pulumi
import pulumi_aws as aws
example = aws.datazone.Environment("example",
name="example",
account_identifier=test["accountId"],
account_region=test_aws_region["name"],
blueprint_identifier=test_aws_datazone_environment_blueprint_configuration["environmentBlueprintId"],
profile_identifier=test_aws_datazone_environment_profile["id"],
project_identifier=test_aws_datazone_project["id"],
domain_identifier=test_aws_datazone_domain["id"],
user_parameters=[
{
"name": "consumerGlueDbName",
"value": "consumer",
},
{
"name": "producerGlueDbName",
"value": "producer",
},
{
"name": "workgroupName",
"value": "workgroup",
},
])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewEnvironment(ctx, "example", &datazone.EnvironmentArgs{
Name: pulumi.String("example"),
AccountIdentifier: pulumi.Any(test.AccountId),
AccountRegion: pulumi.Any(testAwsRegion.Name),
BlueprintIdentifier: pulumi.Any(testAwsDatazoneEnvironmentBlueprintConfiguration.EnvironmentBlueprintId),
ProfileIdentifier: pulumi.Any(testAwsDatazoneEnvironmentProfile.Id),
ProjectIdentifier: pulumi.Any(testAwsDatazoneProject.Id),
DomainIdentifier: pulumi.Any(testAwsDatazoneDomain.Id),
UserParameters: datazone.EnvironmentUserParameterArray{
&datazone.EnvironmentUserParameterArgs{
Name: pulumi.String("consumerGlueDbName"),
Value: pulumi.String("consumer"),
},
&datazone.EnvironmentUserParameterArgs{
Name: pulumi.String("producerGlueDbName"),
Value: pulumi.String("producer"),
},
&datazone.EnvironmentUserParameterArgs{
Name: pulumi.String("workgroupName"),
Value: pulumi.String("workgroup"),
},
},
})
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.DataZone.Environment("example", new()
{
Name = "example",
AccountIdentifier = test.AccountId,
AccountRegion = testAwsRegion.Name,
BlueprintIdentifier = testAwsDatazoneEnvironmentBlueprintConfiguration.EnvironmentBlueprintId,
ProfileIdentifier = testAwsDatazoneEnvironmentProfile.Id,
ProjectIdentifier = testAwsDatazoneProject.Id,
DomainIdentifier = testAwsDatazoneDomain.Id,
UserParameters = new[]
{
new Aws.DataZone.Inputs.EnvironmentUserParameterArgs
{
Name = "consumerGlueDbName",
Value = "consumer",
},
new Aws.DataZone.Inputs.EnvironmentUserParameterArgs
{
Name = "producerGlueDbName",
Value = "producer",
},
new Aws.DataZone.Inputs.EnvironmentUserParameterArgs
{
Name = "workgroupName",
Value = "workgroup",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.Environment;
import com.pulumi.aws.datazone.EnvironmentArgs;
import com.pulumi.aws.datazone.inputs.EnvironmentUserParameterArgs;
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 Environment("example", EnvironmentArgs.builder()
.name("example")
.accountIdentifier(test.accountId())
.accountRegion(testAwsRegion.name())
.blueprintIdentifier(testAwsDatazoneEnvironmentBlueprintConfiguration.environmentBlueprintId())
.profileIdentifier(testAwsDatazoneEnvironmentProfile.id())
.projectIdentifier(testAwsDatazoneProject.id())
.domainIdentifier(testAwsDatazoneDomain.id())
.userParameters(
EnvironmentUserParameterArgs.builder()
.name("consumerGlueDbName")
.value("consumer")
.build(),
EnvironmentUserParameterArgs.builder()
.name("producerGlueDbName")
.value("producer")
.build(),
EnvironmentUserParameterArgs.builder()
.name("workgroupName")
.value("workgroup")
.build())
.build());
}
}
resources:
example:
type: aws:datazone:Environment
properties:
name: example
accountIdentifier: ${test.accountId}
accountRegion: ${testAwsRegion.name}
blueprintIdentifier: ${testAwsDatazoneEnvironmentBlueprintConfiguration.environmentBlueprintId}
profileIdentifier: ${testAwsDatazoneEnvironmentProfile.id}
projectIdentifier: ${testAwsDatazoneProject.id}
domainIdentifier: ${testAwsDatazoneDomain.id}
userParameters:
- name: consumerGlueDbName
value: consumer
- name: producerGlueDbName
value: producer
- name: workgroupName
value: workgroup
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_identifier: Optional[str] = None,
profile_identifier: Optional[str] = None,
project_identifier: Optional[str] = None,
account_identifier: Optional[str] = None,
account_region: Optional[str] = None,
blueprint_identifier: Optional[str] = None,
description: Optional[str] = None,
glossary_terms: Optional[Sequence[str]] = None,
name: Optional[str] = None,
timeouts: Optional[EnvironmentTimeoutsArgs] = None,
user_parameters: Optional[Sequence[EnvironmentUserParameterArgs]] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws:datazone:Environment
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 EnvironmentArgs
- 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 EnvironmentArgs
- 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 EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- 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 awsEnvironmentResource = new Aws.DataZone.Environment("awsEnvironmentResource", new()
{
DomainIdentifier = "string",
ProfileIdentifier = "string",
ProjectIdentifier = "string",
AccountIdentifier = "string",
AccountRegion = "string",
BlueprintIdentifier = "string",
Description = "string",
GlossaryTerms = new[]
{
"string",
},
Name = "string",
Timeouts = new Aws.DataZone.Inputs.EnvironmentTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UserParameters = new[]
{
new Aws.DataZone.Inputs.EnvironmentUserParameterArgs
{
Name = "string",
Value = "string",
},
},
});
example, err := datazone.NewEnvironment(ctx, "awsEnvironmentResource", &datazone.EnvironmentArgs{
DomainIdentifier: pulumi.String("string"),
ProfileIdentifier: pulumi.String("string"),
ProjectIdentifier: pulumi.String("string"),
AccountIdentifier: pulumi.String("string"),
AccountRegion: pulumi.String("string"),
BlueprintIdentifier: pulumi.String("string"),
Description: pulumi.String("string"),
GlossaryTerms: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Timeouts: &datazone.EnvironmentTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserParameters: datazone.EnvironmentUserParameterArray{
&datazone.EnvironmentUserParameterArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var awsEnvironmentResource = new Environment("awsEnvironmentResource", EnvironmentArgs.builder()
.domainIdentifier("string")
.profileIdentifier("string")
.projectIdentifier("string")
.accountIdentifier("string")
.accountRegion("string")
.blueprintIdentifier("string")
.description("string")
.glossaryTerms("string")
.name("string")
.timeouts(EnvironmentTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.userParameters(EnvironmentUserParameterArgs.builder()
.name("string")
.value("string")
.build())
.build());
aws_environment_resource = aws.datazone.Environment("awsEnvironmentResource",
domain_identifier="string",
profile_identifier="string",
project_identifier="string",
account_identifier="string",
account_region="string",
blueprint_identifier="string",
description="string",
glossary_terms=["string"],
name="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user_parameters=[{
"name": "string",
"value": "string",
}])
const awsEnvironmentResource = new aws.datazone.Environment("awsEnvironmentResource", {
domainIdentifier: "string",
profileIdentifier: "string",
projectIdentifier: "string",
accountIdentifier: "string",
accountRegion: "string",
blueprintIdentifier: "string",
description: "string",
glossaryTerms: ["string"],
name: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
userParameters: [{
name: "string",
value: "string",
}],
});
type: aws:datazone:Environment
properties:
accountIdentifier: string
accountRegion: string
blueprintIdentifier: string
description: string
domainIdentifier: string
glossaryTerms:
- string
name: string
profileIdentifier: string
projectIdentifier: string
timeouts:
create: string
delete: string
update: string
userParameters:
- name: string
value: string
Environment 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 Environment resource accepts the following input properties:
- Domain
Identifier string - The ID of the domain where the environment exists.
- Profile
Identifier string - The ID of the profile with which the environment is created.
- Project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- Account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- Account
Region string - The Amazon Web Services region where the environment exists.
- Blueprint
Identifier string - The blueprint with which the environment is created.
- Description string
- Glossary
Terms List<string> - The business glossary terms that can be used in this environment.
- Name string
- The name of the environment.
- Timeouts
Environment
Timeouts - User
Parameters List<EnvironmentUser Parameter> - The user parameters that are used in the environment. See User Parameters for more information.
- Domain
Identifier string - The ID of the domain where the environment exists.
- Profile
Identifier string - The ID of the profile with which the environment is created.
- Project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- Account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- Account
Region string - The Amazon Web Services region where the environment exists.
- Blueprint
Identifier string - The blueprint with which the environment is created.
- Description string
- Glossary
Terms []string - The business glossary terms that can be used in this environment.
- Name string
- The name of the environment.
- Timeouts
Environment
Timeouts Args - User
Parameters []EnvironmentUser Parameter Args - The user parameters that are used in the environment. See User Parameters for more information.
- domain
Identifier String - The ID of the domain where the environment exists.
- profile
Identifier String - The ID of the profile with which the environment is created.
- project
Identifier String The ID of the project where the environment exists.
The following arguments are optional:
- account
Identifier String - The ID of the Amazon Web Services account where the environment exists
- account
Region String - The Amazon Web Services region where the environment exists.
- blueprint
Identifier String - The blueprint with which the environment is created.
- description String
- glossary
Terms List<String> - The business glossary terms that can be used in this environment.
- name String
- The name of the environment.
- timeouts
Environment
Timeouts - user
Parameters List<EnvironmentUser Parameter> - The user parameters that are used in the environment. See User Parameters for more information.
- domain
Identifier string - The ID of the domain where the environment exists.
- profile
Identifier string - The ID of the profile with which the environment is created.
- project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- account
Region string - The Amazon Web Services region where the environment exists.
- blueprint
Identifier string - The blueprint with which the environment is created.
- description string
- glossary
Terms string[] - The business glossary terms that can be used in this environment.
- name string
- The name of the environment.
- timeouts
Environment
Timeouts - user
Parameters EnvironmentUser Parameter[] - The user parameters that are used in the environment. See User Parameters for more information.
- domain_
identifier str - The ID of the domain where the environment exists.
- profile_
identifier str - The ID of the profile with which the environment is created.
- project_
identifier str The ID of the project where the environment exists.
The following arguments are optional:
- account_
identifier str - The ID of the Amazon Web Services account where the environment exists
- account_
region str - The Amazon Web Services region where the environment exists.
- blueprint_
identifier str - The blueprint with which the environment is created.
- description str
- glossary_
terms Sequence[str] - The business glossary terms that can be used in this environment.
- name str
- The name of the environment.
- timeouts
Environment
Timeouts Args - user_
parameters Sequence[EnvironmentUser Parameter Args] - The user parameters that are used in the environment. See User Parameters for more information.
- domain
Identifier String - The ID of the domain where the environment exists.
- profile
Identifier String - The ID of the profile with which the environment is created.
- project
Identifier String The ID of the project where the environment exists.
The following arguments are optional:
- account
Identifier String - The ID of the Amazon Web Services account where the environment exists
- account
Region String - The Amazon Web Services region where the environment exists.
- blueprint
Identifier String - The blueprint with which the environment is created.
- description String
- glossary
Terms List<String> - The business glossary terms that can be used in this environment.
- name String
- The name of the environment.
- timeouts Property Map
- user
Parameters List<Property Map> - The user parameters that are used in the environment. See User Parameters for more information.
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- Created
At string - The time the environment was created.
- Created
By string - The user who created the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Deployments List<EnvironmentLast Deployment> - The details of the last deployment of the environment.
- Provider
Environment string - The provider of the environment.
- Provisioned
Resources List<EnvironmentProvisioned Resource>
- Created
At string - The time the environment was created.
- Created
By string - The user who created the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Deployments []EnvironmentLast Deployment - The details of the last deployment of the environment.
- Provider
Environment string - The provider of the environment.
- Provisioned
Resources []EnvironmentProvisioned Resource
- created
At String - The time the environment was created.
- created
By String - The user who created the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Deployments List<EnvironmentLast Deployment> - The details of the last deployment of the environment.
- provider
Environment String - The provider of the environment.
- provisioned
Resources List<EnvironmentProvisioned Resource>
- created
At string - The time the environment was created.
- created
By string - The user who created the environment.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Deployments EnvironmentLast Deployment[] - The details of the last deployment of the environment.
- provider
Environment string - The provider of the environment.
- provisioned
Resources EnvironmentProvisioned Resource[]
- created_
at str - The time the environment was created.
- created_
by str - The user who created the environment.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
deployments Sequence[EnvironmentLast Deployment] - The details of the last deployment of the environment.
- provider_
environment str - The provider of the environment.
- provisioned_
resources Sequence[EnvironmentProvisioned Resource]
- created
At String - The time the environment was created.
- created
By String - The user who created the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Deployments List<Property Map> - The details of the last deployment of the environment.
- provider
Environment String - The provider of the environment.
- provisioned
Resources List<Property Map>
Look up Existing Environment Resource
Get an existing Environment 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?: EnvironmentState, opts?: CustomResourceOptions): Environment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_identifier: Optional[str] = None,
account_region: Optional[str] = None,
blueprint_identifier: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
domain_identifier: Optional[str] = None,
glossary_terms: Optional[Sequence[str]] = None,
last_deployments: Optional[Sequence[EnvironmentLastDeploymentArgs]] = None,
name: Optional[str] = None,
profile_identifier: Optional[str] = None,
project_identifier: Optional[str] = None,
provider_environment: Optional[str] = None,
provisioned_resources: Optional[Sequence[EnvironmentProvisionedResourceArgs]] = None,
timeouts: Optional[EnvironmentTimeoutsArgs] = None,
user_parameters: Optional[Sequence[EnvironmentUserParameterArgs]] = None) -> Environment
func GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)
public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)
public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- Account
Region string - The Amazon Web Services region where the environment exists.
- Blueprint
Identifier string - The blueprint with which the environment is created.
- Created
At string - The time the environment was created.
- Created
By string - The user who created the environment.
- Description string
- Domain
Identifier string - The ID of the domain where the environment exists.
- Glossary
Terms List<string> - The business glossary terms that can be used in this environment.
- Last
Deployments List<EnvironmentLast Deployment> - The details of the last deployment of the environment.
- Name string
- The name of the environment.
- Profile
Identifier string - The ID of the profile with which the environment is created.
- Project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- Provider
Environment string - The provider of the environment.
- Provisioned
Resources List<EnvironmentProvisioned Resource> - Timeouts
Environment
Timeouts - User
Parameters List<EnvironmentUser Parameter> - The user parameters that are used in the environment. See User Parameters for more information.
- Account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- Account
Region string - The Amazon Web Services region where the environment exists.
- Blueprint
Identifier string - The blueprint with which the environment is created.
- Created
At string - The time the environment was created.
- Created
By string - The user who created the environment.
- Description string
- Domain
Identifier string - The ID of the domain where the environment exists.
- Glossary
Terms []string - The business glossary terms that can be used in this environment.
- Last
Deployments []EnvironmentLast Deployment Args - The details of the last deployment of the environment.
- Name string
- The name of the environment.
- Profile
Identifier string - The ID of the profile with which the environment is created.
- Project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- Provider
Environment string - The provider of the environment.
- Provisioned
Resources []EnvironmentProvisioned Resource Args - Timeouts
Environment
Timeouts Args - User
Parameters []EnvironmentUser Parameter Args - The user parameters that are used in the environment. See User Parameters for more information.
- account
Identifier String - The ID of the Amazon Web Services account where the environment exists
- account
Region String - The Amazon Web Services region where the environment exists.
- blueprint
Identifier String - The blueprint with which the environment is created.
- created
At String - The time the environment was created.
- created
By String - The user who created the environment.
- description String
- domain
Identifier String - The ID of the domain where the environment exists.
- glossary
Terms List<String> - The business glossary terms that can be used in this environment.
- last
Deployments List<EnvironmentLast Deployment> - The details of the last deployment of the environment.
- name String
- The name of the environment.
- profile
Identifier String - The ID of the profile with which the environment is created.
- project
Identifier String The ID of the project where the environment exists.
The following arguments are optional:
- provider
Environment String - The provider of the environment.
- provisioned
Resources List<EnvironmentProvisioned Resource> - timeouts
Environment
Timeouts - user
Parameters List<EnvironmentUser Parameter> - The user parameters that are used in the environment. See User Parameters for more information.
- account
Identifier string - The ID of the Amazon Web Services account where the environment exists
- account
Region string - The Amazon Web Services region where the environment exists.
- blueprint
Identifier string - The blueprint with which the environment is created.
- created
At string - The time the environment was created.
- created
By string - The user who created the environment.
- description string
- domain
Identifier string - The ID of the domain where the environment exists.
- glossary
Terms string[] - The business glossary terms that can be used in this environment.
- last
Deployments EnvironmentLast Deployment[] - The details of the last deployment of the environment.
- name string
- The name of the environment.
- profile
Identifier string - The ID of the profile with which the environment is created.
- project
Identifier string The ID of the project where the environment exists.
The following arguments are optional:
- provider
Environment string - The provider of the environment.
- provisioned
Resources EnvironmentProvisioned Resource[] - timeouts
Environment
Timeouts - user
Parameters EnvironmentUser Parameter[] - The user parameters that are used in the environment. See User Parameters for more information.
- account_
identifier str - The ID of the Amazon Web Services account where the environment exists
- account_
region str - The Amazon Web Services region where the environment exists.
- blueprint_
identifier str - The blueprint with which the environment is created.
- created_
at str - The time the environment was created.
- created_
by str - The user who created the environment.
- description str
- domain_
identifier str - The ID of the domain where the environment exists.
- glossary_
terms Sequence[str] - The business glossary terms that can be used in this environment.
- last_
deployments Sequence[EnvironmentLast Deployment Args] - The details of the last deployment of the environment.
- name str
- The name of the environment.
- profile_
identifier str - The ID of the profile with which the environment is created.
- project_
identifier str The ID of the project where the environment exists.
The following arguments are optional:
- provider_
environment str - The provider of the environment.
- provisioned_
resources Sequence[EnvironmentProvisioned Resource Args] - timeouts
Environment
Timeouts Args - user_
parameters Sequence[EnvironmentUser Parameter Args] - The user parameters that are used in the environment. See User Parameters for more information.
- account
Identifier String - The ID of the Amazon Web Services account where the environment exists
- account
Region String - The Amazon Web Services region where the environment exists.
- blueprint
Identifier String - The blueprint with which the environment is created.
- created
At String - The time the environment was created.
- created
By String - The user who created the environment.
- description String
- domain
Identifier String - The ID of the domain where the environment exists.
- glossary
Terms List<String> - The business glossary terms that can be used in this environment.
- last
Deployments List<Property Map> - The details of the last deployment of the environment.
- name String
- The name of the environment.
- profile
Identifier String - The ID of the profile with which the environment is created.
- project
Identifier String The ID of the project where the environment exists.
The following arguments are optional:
- provider
Environment String - The provider of the environment.
- provisioned
Resources List<Property Map> - timeouts Property Map
- user
Parameters List<Property Map> - The user parameters that are used in the environment. See User Parameters for more information.
Supporting Types
EnvironmentLastDeployment, EnvironmentLastDeploymentArgs
- Deployment
Id string - Deployment
Status string - Deployment
Type string - Failure
Reasons List<EnvironmentLast Deployment Failure Reason> - Is
Deployment boolComplete - Messages List<string>
- Deployment
Id string - Deployment
Status string - Deployment
Type string - Failure
Reasons []EnvironmentLast Deployment Failure Reason - Is
Deployment boolComplete - Messages []string
- deployment
Id String - deployment
Status String - deployment
Type String - failure
Reasons List<EnvironmentLast Deployment Failure Reason> - is
Deployment BooleanComplete - messages List<String>
- deployment
Id string - deployment
Status string - deployment
Type string - failure
Reasons EnvironmentLast Deployment Failure Reason[] - is
Deployment booleanComplete - messages string[]
- deployment
Id String - deployment
Status String - deployment
Type String - failure
Reasons List<Property Map> - is
Deployment BooleanComplete - messages List<String>
EnvironmentLastDeploymentFailureReason, EnvironmentLastDeploymentFailureReasonArgs
EnvironmentProvisionedResource, EnvironmentProvisionedResourceArgs
EnvironmentTimeouts, EnvironmentTimeoutsArgs
- 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).
EnvironmentUserParameter, EnvironmentUserParameterArgs
Import
Using pulumi import
, import DataZone Environment using the domain_idntifier,id
. For example:
$ pulumi import aws:datazone/environment:Environment example dzd_d2i7tzk3tnjjf4,5vpywijpwryec0
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
aws
Terraform Provider.