Class VpcPeeringConnectionArgs


  • public final class VpcPeeringConnectionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • accepter

        public java.util.Optional<com.pulumi.core.Output<VpcPeeringConnectionAccepterArgs>> accepter()
        Returns:
        Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that accepts the peering connection (a maximum of one). See `accepter` Block below.
      • autoAccept

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoAccept()
        Returns:
        Whether to accept the peering (both VPCs need to be in the same AWS account and region).
      • peerOwnerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> peerOwnerId()
        Returns:
        AWS account ID of the target peer VPC. Defaults to the account ID the AWS provider is currently connected to, so must be managed if connecting cross-account.
      • peerRegion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> peerRegion()
        Returns:
        Region of the accepter VPC of the VPC Peering Connection. `autoAccept` must be `false`, and use the `aws.ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
      • peerVpcId

        public com.pulumi.core.Output<java.lang.String> peerVpcId()
        Returns:
        ID of the target VPC with which you are creating the VPC Peering Connection.
      • 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.
      • requester

        public java.util.Optional<com.pulumi.core.Output<VpcPeeringConnectionRequesterArgs>> requester()
        Returns:
        Configuration block for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to set for the VPC that requests the peering connection (a maximum of one). See `requester` Block below.
      • tags

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

        public com.pulumi.core.Output<java.lang.String> vpcId()
        Returns:
        ID of the requester VPC.