Class EnvironmentEC2State


  • public final class EnvironmentEC2State
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EnvironmentEC2State.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> automaticStopTimeMinutes()  
      static EnvironmentEC2State.Builder builder()  
      static EnvironmentEC2State.Builder builder​(EnvironmentEC2State defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerArn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

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

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the environment.
      • automaticStopTimeMinutes

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> automaticStopTimeMinutes()
        Returns:
        The number of minutes until the running instance is shut down after the environment has last been used.
      • connectionType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionType()
        Returns:
        The connection type used for connecting to an Amazon EC2 environment. Valid values are `CONNECT_SSH` and `CONNECT_SSM`. For more information please refer [AWS documentation for Cloud9](https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html).
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        The description of the environment.
      • imageId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageId()
        Returns:
        The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. Valid values are * `amazonlinux-1-x86_64` * `amazonlinux-2-x86_64` * `ubuntu-18.04-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64`
      • instanceType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceType()
        Returns:
        The type of instance to connect to the environment, e.g., `t2.micro`.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the environment.
      • ownerArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerArn()
        Returns:
        The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment's creator.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
      • type

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
        Returns:
        The type of the environment (e.g., `ssh` or `ec2`)