aws.datazone.Project
Explore with Pulumi AI
Resource for managing an AWS DataZone Project.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
test:
type: aws:datazone:Project
properties:
domainId: ${testAwsDatazoneDomain.id}
glossaryTerms:
- 2N8w6XJCwZf
name: name
description: desc
skipDeletionCheck: true
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.datazone.Project("test", {
domainIdentifier: testAwsDatazoneDomain.id,
name: "name",
});
import pulumi
import pulumi_aws as aws
test = aws.datazone.Project("test",
domain_identifier=test_aws_datazone_domain["id"],
name="name")
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.NewProject(ctx, "test", &datazone.ProjectArgs{
DomainIdentifier: pulumi.Any(testAwsDatazoneDomain.Id),
Name: pulumi.String("name"),
})
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 test = new Aws.DataZone.Project("test", new()
{
DomainIdentifier = testAwsDatazoneDomain.Id,
Name = "name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.Project;
import com.pulumi.aws.datazone.ProjectArgs;
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 test = new Project("test", ProjectArgs.builder()
.domainIdentifier(testAwsDatazoneDomain.id())
.name("name")
.build());
}
}
resources:
test:
type: aws:datazone:Project
properties:
domainIdentifier: ${testAwsDatazoneDomain.id}
name: name
Create Project Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
@overload
def Project(resource_name: str,
args: ProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Project(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_identifier: Optional[str] = None,
description: Optional[str] = None,
glossary_terms: Optional[Sequence[str]] = None,
name: Optional[str] = None,
skip_deletion_check: Optional[bool] = None,
timeouts: Optional[ProjectTimeoutsArgs] = None)
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: aws:datazone:Project
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 ProjectArgs
- 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 ProjectArgs
- 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 ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectArgs
- 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 exampleprojectResourceResourceFromDatazoneproject = new Aws.DataZone.Project("exampleprojectResourceResourceFromDatazoneproject", new()
{
DomainIdentifier = "string",
Description = "string",
GlossaryTerms = new[]
{
"string",
},
Name = "string",
SkipDeletionCheck = false,
Timeouts = new Aws.DataZone.Inputs.ProjectTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := datazone.NewProject(ctx, "exampleprojectResourceResourceFromDatazoneproject", &datazone.ProjectArgs{
DomainIdentifier: pulumi.String("string"),
Description: pulumi.String("string"),
GlossaryTerms: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
SkipDeletionCheck: pulumi.Bool(false),
Timeouts: &datazone.ProjectTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var exampleprojectResourceResourceFromDatazoneproject = new Project("exampleprojectResourceResourceFromDatazoneproject", ProjectArgs.builder()
.domainIdentifier("string")
.description("string")
.glossaryTerms("string")
.name("string")
.skipDeletionCheck(false)
.timeouts(ProjectTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
exampleproject_resource_resource_from_datazoneproject = aws.datazone.Project("exampleprojectResourceResourceFromDatazoneproject",
domain_identifier="string",
description="string",
glossary_terms=["string"],
name="string",
skip_deletion_check=False,
timeouts={
"create": "string",
"delete": "string",
})
const exampleprojectResourceResourceFromDatazoneproject = new aws.datazone.Project("exampleprojectResourceResourceFromDatazoneproject", {
domainIdentifier: "string",
description: "string",
glossaryTerms: ["string"],
name: "string",
skipDeletionCheck: false,
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:datazone:Project
properties:
description: string
domainIdentifier: string
glossaryTerms:
- string
name: string
skipDeletionCheck: false
timeouts:
create: string
delete: string
Project Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Project resource accepts the following input properties:
- Domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - Description string
- Description of project.
- Glossary
Terms List<string> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - Name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- Skip
Deletion boolCheck - Optional flag to delete all child entities within the project.
- Timeouts
Project
Timeouts
- Domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - Description string
- Description of project.
- Glossary
Terms []string - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - Name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- Skip
Deletion boolCheck - Optional flag to delete all child entities within the project.
- Timeouts
Project
Timeouts Args
- domain
Identifier String - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - description String
- Description of project.
- glossary
Terms List<String> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - name String
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- skip
Deletion BooleanCheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts
- domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - description string
- Description of project.
- glossary
Terms string[] - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- skip
Deletion booleanCheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts
- domain_
identifier str - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - description str
- Description of project.
- glossary_
terms Sequence[str] - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - name str
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- skip_
deletion_ boolcheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts Args
- domain
Identifier String - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - description String
- Description of project.
- glossary
Terms List<String> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - name String
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- skip
Deletion BooleanCheck - Optional flag to delete all child entities within the project.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
- Created
At string - Timestamp of when the project was made.
- Created
By string - Creator of the project.
- Failure
Reasons List<ProjectFailure Reason> - List of error messages if operation cannot be completed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - Timestamp of when the project was last updated.
- Project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
- Created
At string - Timestamp of when the project was made.
- Created
By string - Creator of the project.
- Failure
Reasons []ProjectFailure Reason - List of error messages if operation cannot be completed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - Timestamp of when the project was last updated.
- Project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
- created
At String - Timestamp of when the project was made.
- created
By String - Creator of the project.
- failure
Reasons List<ProjectFailure Reason> - List of error messages if operation cannot be completed.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - Timestamp of when the project was last updated.
- project
Status String - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
- created
At string - Timestamp of when the project was made.
- created
By string - Creator of the project.
- failure
Reasons ProjectFailure Reason[] - List of error messages if operation cannot be completed.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringAt - Timestamp of when the project was last updated.
- project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
- created_
at str - Timestamp of when the project was made.
- created_
by str - Creator of the project.
- failure_
reasons Sequence[ProjectFailure Reason] - List of error messages if operation cannot be completed.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strat - Timestamp of when the project was last updated.
- project_
status str - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
- created
At String - Timestamp of when the project was made.
- created
By String - Creator of the project.
- failure
Reasons List<Property Map> - List of error messages if operation cannot be completed.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - Timestamp of when the project was last updated.
- project
Status String - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
.
Look up Existing Project Resource
Get an existing Project 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?: ProjectState, opts?: CustomResourceOptions): Project
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
domain_identifier: Optional[str] = None,
failure_reasons: Optional[Sequence[ProjectFailureReasonArgs]] = None,
glossary_terms: Optional[Sequence[str]] = None,
last_updated_at: Optional[str] = None,
name: Optional[str] = None,
project_status: Optional[str] = None,
skip_deletion_check: Optional[bool] = None,
timeouts: Optional[ProjectTimeoutsArgs] = None) -> Project
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
public static Project get(String name, Output<String> id, ProjectState 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.
- Created
At string - Timestamp of when the project was made.
- Created
By string - Creator of the project.
- Description string
- Description of project.
- Domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - Failure
Reasons List<ProjectFailure Reason> - List of error messages if operation cannot be completed.
- Glossary
Terms List<string> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - Last
Updated stringAt - Timestamp of when the project was last updated.
- Name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- Project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - Skip
Deletion boolCheck - Optional flag to delete all child entities within the project.
- Timeouts
Project
Timeouts
- Created
At string - Timestamp of when the project was made.
- Created
By string - Creator of the project.
- Description string
- Description of project.
- Domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - Failure
Reasons []ProjectFailure Reason Args - List of error messages if operation cannot be completed.
- Glossary
Terms []string - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - Last
Updated stringAt - Timestamp of when the project was last updated.
- Name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- Project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - Skip
Deletion boolCheck - Optional flag to delete all child entities within the project.
- Timeouts
Project
Timeouts Args
- created
At String - Timestamp of when the project was made.
- created
By String - Creator of the project.
- description String
- Description of project.
- domain
Identifier String - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - failure
Reasons List<ProjectFailure Reason> - List of error messages if operation cannot be completed.
- glossary
Terms List<String> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - last
Updated StringAt - Timestamp of when the project was last updated.
- name String
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- project
Status String - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - skip
Deletion BooleanCheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts
- created
At string - Timestamp of when the project was made.
- created
By string - Creator of the project.
- description string
- Description of project.
- domain
Identifier string - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - failure
Reasons ProjectFailure Reason[] - List of error messages if operation cannot be completed.
- glossary
Terms string[] - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - last
Updated stringAt - Timestamp of when the project was last updated.
- name string
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- project
Status string - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - skip
Deletion booleanCheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts
- created_
at str - Timestamp of when the project was made.
- created_
by str - Creator of the project.
- description str
- Description of project.
- domain_
identifier str - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - failure_
reasons Sequence[ProjectFailure Reason Args] - List of error messages if operation cannot be completed.
- glossary_
terms Sequence[str] - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - last_
updated_ strat - Timestamp of when the project was last updated.
- name str
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- project_
status str - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - skip_
deletion_ boolcheck - Optional flag to delete all child entities within the project.
- timeouts
Project
Timeouts Args
- created
At String - Timestamp of when the project was made.
- created
By String - Creator of the project.
- description String
- Description of project.
- domain
Identifier String - Identifier of domain which the project is part of. Must follow the regex of
^dzd[-_][a-zA-Z0-9_-]{1,36}$
. - failure
Reasons List<Property Map> - List of error messages if operation cannot be completed.
- glossary
Terms List<String> - List of glossary terms that can be used in the project. The list cannot be empty or include over 20 values. Each value must follow the regex of
[a-zA-Z0-9_-]{1,36}$
. - last
Updated StringAt - Timestamp of when the project was last updated.
- name String
Name of the project. Must follow the regex of
^[\w -]+$
. and have a length of at most 64.The following arguments are optional:
- project
Status String - Enum that conveys state of project. Can be
ACTIVE
,DELETING
, orDELETE_FAILED
. - skip
Deletion BooleanCheck - Optional flag to delete all child entities within the project.
- timeouts Property Map
Supporting Types
ProjectFailureReason, ProjectFailureReasonArgs
ProjectTimeouts, ProjectTimeoutsArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Import
Using pulumi import
, import DataZone Project using a colon-delimited string combining domain_id
and id
. For example:
$ pulumi import aws:datazone/project:Project example domain-1234:project-1234
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.