Class EnvironmentEC2Args


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

      Nested Classes 
      Modifier and Type Class Description
      static class  EnvironmentEC2Args.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.Integer>> automaticStopTimeMinutes()  
      static EnvironmentEC2Args.Builder builder()  
      static EnvironmentEC2Args.Builder builder​(EnvironmentEC2Args defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      com.pulumi.core.Output<java.lang.String> imageId()  
      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>> region()  
      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()  
      • 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

      • 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 com.pulumi.core.Output<java.lang.String> imageId()
        Returns:
        Identifier for the AMI that's used to create the EC2 instance. Valid values are * `amazonlinux-2-x86_64` * `amazonlinux-2023-x86_64` * `ubuntu-18.04-x86_64` * `ubuntu-22.04-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64` * `resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64`
      • instanceType

        public 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.
      • region

        public java.util.Optional<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.
      • 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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.