Class InternetGatewayState


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

      Nested Classes 
      Modifier and Type Class Description
      static class  InternetGatewayState.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 Deprecated Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      static InternetGatewayState.Builder builder()  
      static InternetGatewayState.Builder builder​(InternetGatewayState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()  
      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()
      Deprecated.
      Please use `tags` instead.
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()  
      • 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 Internet Gateway.
      • ownerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
        Returns:
        The ID of the AWS account that owns the internet gateway.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.ec2.InternetGateway; import com.pulumi.aws.ec2.InternetGatewayArgs; import com.pulumi.aws.ec2.Instance; 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 gw = new InternetGateway("gw", InternetGatewayArgs.builder() .vpcId(main.id()) .build()); var foo = new Instance("foo"); } } ``` <!--End PulumiCodeChooser -->
      • tagsAll

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()
        Returns:
        The VPC ID to create in. See the aws.ec2.InternetGatewayAttachment resource for an alternate way to attach an Internet Gateway to a VPC.