1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. vpclattice
  5. ServiceNetworkVpcAssociation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.vpclattice.ServiceNetworkVpcAssociation

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Associates a VPC with a service network.

Create ServiceNetworkVpcAssociation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ServiceNetworkVpcAssociation(name: string, args?: ServiceNetworkVpcAssociationArgs, opts?: CustomResourceOptions);
@overload
def ServiceNetworkVpcAssociation(resource_name: str,
                                 args: Optional[ServiceNetworkVpcAssociationArgs] = None,
                                 opts: Optional[ResourceOptions] = None)

@overload
def ServiceNetworkVpcAssociation(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 security_group_ids: Optional[Sequence[str]] = None,
                                 service_network_identifier: Optional[str] = None,
                                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                                 vpc_identifier: Optional[str] = None)
func NewServiceNetworkVpcAssociation(ctx *Context, name string, args *ServiceNetworkVpcAssociationArgs, opts ...ResourceOption) (*ServiceNetworkVpcAssociation, error)
public ServiceNetworkVpcAssociation(string name, ServiceNetworkVpcAssociationArgs? args = null, CustomResourceOptions? opts = null)
public ServiceNetworkVpcAssociation(String name, ServiceNetworkVpcAssociationArgs args)
public ServiceNetworkVpcAssociation(String name, ServiceNetworkVpcAssociationArgs args, CustomResourceOptions options)
type: aws-native:vpclattice:ServiceNetworkVpcAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ServiceNetworkVpcAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ServiceNetworkVpcAssociationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ServiceNetworkVpcAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ServiceNetworkVpcAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServiceNetworkVpcAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ServiceNetworkVpcAssociation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ServiceNetworkVpcAssociation resource accepts the following input properties:

SecurityGroupIds List<string>
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
ServiceNetworkIdentifier string
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
Tags List<Pulumi.AwsNative.Inputs.Tag>
The tags for the association.
VpcIdentifier string
The ID of the VPC.
SecurityGroupIds []string
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
ServiceNetworkIdentifier string
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
Tags TagArgs
The tags for the association.
VpcIdentifier string
The ID of the VPC.
securityGroupIds List<String>
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
serviceNetworkIdentifier String
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
tags List<Tag>
The tags for the association.
vpcIdentifier String
The ID of the VPC.
securityGroupIds string[]
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
serviceNetworkIdentifier string
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
tags Tag[]
The tags for the association.
vpcIdentifier string
The ID of the VPC.
security_group_ids Sequence[str]
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
service_network_identifier str
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
tags Sequence[TagArgs]
The tags for the association.
vpc_identifier str
The ID of the VPC.
securityGroupIds List<String>
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
serviceNetworkIdentifier String
The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
tags List<Property Map>
The tags for the association.
vpcIdentifier String
The ID of the VPC.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceNetworkVpcAssociation resource produces the following output properties:

Arn string
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
AwsId string
The ID of the specified association between the service network and the VPC.
CreatedAt string
The date and time that the association was created, specified in ISO-8601 format.
Id string
The provider-assigned unique ID for this managed resource.
ServiceNetworkArn string
The Amazon Resource Name (ARN) of the service network.
ServiceNetworkId string
The ID of the service network.
ServiceNetworkName string
The name of the service network.
Status Pulumi.AwsNative.VpcLattice.ServiceNetworkVpcAssociationStatus
The status of the association.
VpcId string
The ID of the VPC.
Arn string
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
AwsId string
The ID of the specified association between the service network and the VPC.
CreatedAt string
The date and time that the association was created, specified in ISO-8601 format.
Id string
The provider-assigned unique ID for this managed resource.
ServiceNetworkArn string
The Amazon Resource Name (ARN) of the service network.
ServiceNetworkId string
The ID of the service network.
ServiceNetworkName string
The name of the service network.
Status ServiceNetworkVpcAssociationStatus
The status of the association.
VpcId string
The ID of the VPC.
arn String
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
awsId String
The ID of the specified association between the service network and the VPC.
createdAt String
The date and time that the association was created, specified in ISO-8601 format.
id String
The provider-assigned unique ID for this managed resource.
serviceNetworkArn String
The Amazon Resource Name (ARN) of the service network.
serviceNetworkId String
The ID of the service network.
serviceNetworkName String
The name of the service network.
status ServiceNetworkVpcAssociationStatus
The status of the association.
vpcId String
The ID of the VPC.
arn string
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
awsId string
The ID of the specified association between the service network and the VPC.
createdAt string
The date and time that the association was created, specified in ISO-8601 format.
id string
The provider-assigned unique ID for this managed resource.
serviceNetworkArn string
The Amazon Resource Name (ARN) of the service network.
serviceNetworkId string
The ID of the service network.
serviceNetworkName string
The name of the service network.
status ServiceNetworkVpcAssociationStatus
The status of the association.
vpcId string
The ID of the VPC.
arn str
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
aws_id str
The ID of the specified association between the service network and the VPC.
created_at str
The date and time that the association was created, specified in ISO-8601 format.
id str
The provider-assigned unique ID for this managed resource.
service_network_arn str
The Amazon Resource Name (ARN) of the service network.
service_network_id str
The ID of the service network.
service_network_name str
The name of the service network.
status ServiceNetworkVpcAssociationStatus
The status of the association.
vpc_id str
The ID of the VPC.
arn String
The Amazon Resource Name (ARN) of the association between the service network and the VPC.
awsId String
The ID of the specified association between the service network and the VPC.
createdAt String
The date and time that the association was created, specified in ISO-8601 format.
id String
The provider-assigned unique ID for this managed resource.
serviceNetworkArn String
The Amazon Resource Name (ARN) of the service network.
serviceNetworkId String
The ID of the service network.
serviceNetworkName String
The name of the service network.
status "CREATE_IN_PROGRESS" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
The status of the association.
vpcId String
The ID of the VPC.

Supporting Types

ServiceNetworkVpcAssociationStatus
, ServiceNetworkVpcAssociationStatusArgs

CreateInProgress
CREATE_IN_PROGRESS
Active
ACTIVE
UpdateInProgress
UPDATE_IN_PROGRESS
DeleteInProgress
DELETE_IN_PROGRESS
CreateFailed
CREATE_FAILED
DeleteFailed
DELETE_FAILED
ServiceNetworkVpcAssociationStatusCreateInProgress
CREATE_IN_PROGRESS
ServiceNetworkVpcAssociationStatusActive
ACTIVE
ServiceNetworkVpcAssociationStatusUpdateInProgress
UPDATE_IN_PROGRESS
ServiceNetworkVpcAssociationStatusDeleteInProgress
DELETE_IN_PROGRESS
ServiceNetworkVpcAssociationStatusCreateFailed
CREATE_FAILED
ServiceNetworkVpcAssociationStatusDeleteFailed
DELETE_FAILED
CreateInProgress
CREATE_IN_PROGRESS
Active
ACTIVE
UpdateInProgress
UPDATE_IN_PROGRESS
DeleteInProgress
DELETE_IN_PROGRESS
CreateFailed
CREATE_FAILED
DeleteFailed
DELETE_FAILED
CreateInProgress
CREATE_IN_PROGRESS
Active
ACTIVE
UpdateInProgress
UPDATE_IN_PROGRESS
DeleteInProgress
DELETE_IN_PROGRESS
CreateFailed
CREATE_FAILED
DeleteFailed
DELETE_FAILED
CREATE_IN_PROGRESS
CREATE_IN_PROGRESS
ACTIVE
ACTIVE
UPDATE_IN_PROGRESS
UPDATE_IN_PROGRESS
DELETE_IN_PROGRESS
DELETE_IN_PROGRESS
CREATE_FAILED
CREATE_FAILED
DELETE_FAILED
DELETE_FAILED
"CREATE_IN_PROGRESS"
CREATE_IN_PROGRESS
"ACTIVE"
ACTIVE
"UPDATE_IN_PROGRESS"
UPDATE_IN_PROGRESS
"DELETE_IN_PROGRESS"
DELETE_IN_PROGRESS
"CREATE_FAILED"
CREATE_FAILED
"DELETE_FAILED"
DELETE_FAILED

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi