We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.ServiceNetworkVpcAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 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 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 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 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 String
- The unique name of the resource.
- args 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:
- Security
Group List<string>Ids - 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 stringIdentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the association.
- Vpc
Identifier string - The ID of the VPC.
- Security
Group []stringIds - 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 stringIdentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- Tag
Args - The tags for the association.
- Vpc
Identifier string - The ID of the VPC.
- security
Group List<String>Ids - 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 StringIdentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- List<Tag>
- The tags for the association.
- vpc
Identifier String - The ID of the VPC.
- security
Group string[]Ids - 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 stringIdentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- Tag[]
- The tags for the association.
- vpc
Identifier string - The ID of the VPC.
- security_
group_ Sequence[str]ids - 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_ stridentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- Sequence[Tag
Args] - The tags for the association.
- vpc_
identifier str - The ID of the VPC.
- security
Group List<String>Ids - 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 StringIdentifier - The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
- List<Property Map>
- The tags for the association.
- vpc
Identifier 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.
- Aws
Id string - The ID of the specified association between the service network and the VPC.
- Created
At 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.
- Service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- Service
Network stringId - The ID of the service network.
- Service
Network stringName - The name of the service network.
- Status
Pulumi.
Aws Native. Vpc Lattice. Service Network Vpc Association Status - The status of the association.
- Vpc
Id string - The ID of the VPC.
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- Aws
Id string - The ID of the specified association between the service network and the VPC.
- Created
At 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.
- Service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- Service
Network stringId - The ID of the service network.
- Service
Network stringName - The name of the service network.
- Status
Service
Network Vpc Association Status - The status of the association.
- Vpc
Id string - The ID of the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- aws
Id String - The ID of the specified association between the service network and the VPC.
- created
At 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.
- service
Network StringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network StringId - The ID of the service network.
- service
Network StringName - The name of the service network.
- status
Service
Network Vpc Association Status - The status of the association.
- vpc
Id String - The ID of the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- aws
Id string - The ID of the specified association between the service network and the VPC.
- created
At 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.
- service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network stringId - The ID of the service network.
- service
Network stringName - The name of the service network.
- status
Service
Network Vpc Association Status - The status of the association.
- vpc
Id 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_ strarn - The Amazon Resource Name (ARN) of the service network.
- service_
network_ strid - The ID of the service network.
- service_
network_ strname - The name of the service network.
- status
Service
Network Vpc Association Status - 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.
- aws
Id String - The ID of the specified association between the service network and the VPC.
- created
At 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.
- service
Network StringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network StringId - The ID of the service network.
- service
Network StringName - 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.
- vpc
Id String - The ID of the VPC.
Supporting Types
ServiceNetworkVpcAssociationStatus, ServiceNetworkVpcAssociationStatusArgs
- 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
- Service
Network Vpc Association Status Create In Progress - CREATE_IN_PROGRESS
- Service
Network Vpc Association Status Active - ACTIVE
- Service
Network Vpc Association Status Update In Progress - UPDATE_IN_PROGRESS
- Service
Network Vpc Association Status Delete In Progress - DELETE_IN_PROGRESS
- Service
Network Vpc Association Status Create Failed - CREATE_FAILED
- Service
Network Vpc Association Status 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
- 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
- "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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.