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:
- SecurityGroup 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 .
- ServiceNetwork stringIdentifier 
- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tags for the association.
- VpcIdentifier string
- The ID of the VPC.
- SecurityGroup []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 .
- ServiceNetwork stringIdentifier 
- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- 
TagArgs 
- The tags for the association.
- VpcIdentifier string
- The ID of the VPC.
- securityGroup 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 .
- serviceNetwork StringIdentifier 
- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- List<Tag>
- The tags for the association.
- vpcIdentifier String
- The ID of the VPC.
- securityGroup 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 .
- serviceNetwork stringIdentifier 
- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- Tag[]
- The tags for the association.
- vpcIdentifier 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 ARN of the service network. You must use an ARN if the resources are in different accounts.
- 
Sequence[TagArgs] 
- The tags for the association.
- vpc_identifier str
- The ID of the VPC.
- securityGroup 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 .
- serviceNetwork StringIdentifier 
- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- 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.
- ServiceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- ServiceNetwork stringId 
- The ID of the service network.
- ServiceNetwork stringName 
- The name of the service network.
- Status
Pulumi.Aws Native. Vpc Lattice. Service Network Vpc Association Status 
- 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.
- ServiceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- ServiceNetwork stringId 
- The ID of the service network.
- ServiceNetwork stringName 
- The name of the service network.
- Status
ServiceNetwork Vpc Association Status 
- 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.
- serviceNetwork StringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork StringId 
- The ID of the service network.
- serviceNetwork StringName 
- The name of the service network.
- status
ServiceNetwork Vpc Association Status 
- 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.
- serviceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork stringId 
- The ID of the service network.
- serviceNetwork stringName 
- The name of the service network.
- status
ServiceNetwork Vpc Association Status 
- 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_ 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
ServiceNetwork 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.
- 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.
- serviceNetwork StringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork StringId 
- The ID of the service network.
- serviceNetwork 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.
- vpcId String
- The ID of the VPC.
Supporting Types
ServiceNetworkVpcAssociationStatus, ServiceNetworkVpcAssociationStatusArgs          
- CreateIn Progress 
- CREATE_IN_PROGRESS
- Active
- ACTIVE
- UpdateIn Progress 
- UPDATE_IN_PROGRESS
- DeleteIn Progress 
- DELETE_IN_PROGRESS
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- ServiceNetwork Vpc Association Status Create In Progress 
- CREATE_IN_PROGRESS
- ServiceNetwork Vpc Association Status Active 
- ACTIVE
- ServiceNetwork Vpc Association Status Update In Progress 
- UPDATE_IN_PROGRESS
- ServiceNetwork Vpc Association Status Delete In Progress 
- DELETE_IN_PROGRESS
- ServiceNetwork Vpc Association Status Create Failed 
- CREATE_FAILED
- ServiceNetwork Vpc Association Status Delete Failed 
- DELETE_FAILED
- CreateIn Progress 
- CREATE_IN_PROGRESS
- Active
- ACTIVE
- UpdateIn Progress 
- UPDATE_IN_PROGRESS
- DeleteIn Progress 
- DELETE_IN_PROGRESS
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- CreateIn Progress 
- CREATE_IN_PROGRESS
- Active
- ACTIVE
- UpdateIn Progress 
- UPDATE_IN_PROGRESS
- DeleteIn Progress 
- 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  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.