Class Project


  • public class Project
    extends com.pulumi.resources.CustomResource
    Resource for managing an AWS DataZone Project. ## Example Usage
     
     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.ArrayList;
     import java.util.Arrays;
     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()
                 .domainId(testAwsDatazoneDomain.id())
                 .glossaryTerms("2N8w6XJCwZf")
                 .name("name")
                 .description("desc")
                 .skipDeletionCheck(true)
                 .build());
     
         }
     }
     
     
    ### Basic Usage
     
     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.ArrayList;
     import java.util.Arrays;
     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());
     
         }
     }
     
     
    ## Import ### Identity Schema #### Required * `domainIdentifier` - (String) Identifier of the DataZone domain. * `id` - (String) ID of the project. #### Optional * `accountId` (String) AWS Account where this resource is managed. * `region` (String) Region where this resource is managed. Using `pulumi import`, import DataZone Project using a colon-delimited string combining `domainId` and `id`. For example: ```sh $ pulumi import aws:datazone/project:Project example domain-1234:project-1234 ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Summary

      Constructors 
      Constructor Description
      Project​(java.lang.String name)  
      Project​(java.lang.String name, ProjectArgs args)  
      Project​(java.lang.String name, ProjectArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> createdAt()  
      com.pulumi.core.Output<java.lang.String> createdBy()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()  
      com.pulumi.core.Output<java.lang.String> domainIdentifier()  
      com.pulumi.core.Output<java.util.List<ProjectFailureReason>> failureReasons()  
      static Project get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ProjectState state, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> glossaryTerms()  
      com.pulumi.core.Output<java.lang.String> lastUpdatedAt()  
      com.pulumi.core.Output<java.lang.String> name()  
      com.pulumi.core.Output<java.lang.String> projectStatus()  
      com.pulumi.core.Output<java.lang.String> region()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> skipDeletionCheck()  
      com.pulumi.core.Output<java.util.Optional<ProjectTimeouts>> timeouts()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Project

        public Project​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • Project

        public Project​(java.lang.String name,
                       ProjectArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • Project

        public Project​(java.lang.String name,
                       ProjectArgs args,
                       @Nullable
                       com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • createdAt

        public com.pulumi.core.Output<java.lang.String> createdAt()
        Returns:
        Timestamp of when the project was made.
      • createdBy

        public com.pulumi.core.Output<java.lang.String> createdBy()
        Returns:
        Creator of the project.
      • description

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
        Returns:
        Description of project.
      • domainIdentifier

        public com.pulumi.core.Output<java.lang.String> domainIdentifier()
        Returns:
        Identifier of domain which the project is part of. Must follow the regex of `^dzd[-_][a-zA-Z0-9_-]{1,36}$`.
      • failureReasons

        public com.pulumi.core.Output<java.util.List<ProjectFailureReason>> failureReasons()
        Returns:
        List of error messages if operation cannot be completed.
      • glossaryTerms

        public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> glossaryTerms()
        Returns:
        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}$`.
      • lastUpdatedAt

        public com.pulumi.core.Output<java.lang.String> lastUpdatedAt()
        Returns:
        Timestamp of when the project was last updated.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        Name of the project. Must follow the regex of `^[\w -]+$`. and have a length of at most 64. The following arguments are optional:
      • projectStatus

        public com.pulumi.core.Output<java.lang.String> projectStatus()
        Returns:
        Enum that conveys state of project. Can be `ACTIVE`, `DELETING`, or `DELETE_FAILED`.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        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.
      • skipDeletionCheck

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> skipDeletionCheck()
        Returns:
        Optional flag to delete all child entities within the project.
      • timeouts

        public com.pulumi.core.Output<java.util.Optional<ProjectTimeouts>> timeouts()
      • get

        public static Project get​(java.lang.String name,
                                  com.pulumi.core.Output<java.lang.String> id,
                                  @Nullable
                                  ProjectState state,
                                  @Nullable
                                  com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.