We recommend new projects start with resources from the AWS provider.
aws-native.ec2.SecurityGroupVpcAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource type definition for the AWS::EC2::SecurityGroupVpcAssociation resource
Create SecurityGroupVpcAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityGroupVpcAssociation(name: string, args: SecurityGroupVpcAssociationArgs, opts?: CustomResourceOptions);
@overload
def SecurityGroupVpcAssociation(resource_name: str,
args: SecurityGroupVpcAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityGroupVpcAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
vpc_id: Optional[str] = None)
func NewSecurityGroupVpcAssociation(ctx *Context, name string, args SecurityGroupVpcAssociationArgs, opts ...ResourceOption) (*SecurityGroupVpcAssociation, error)
public SecurityGroupVpcAssociation(string name, SecurityGroupVpcAssociationArgs args, CustomResourceOptions? opts = null)
public SecurityGroupVpcAssociation(String name, SecurityGroupVpcAssociationArgs args)
public SecurityGroupVpcAssociation(String name, SecurityGroupVpcAssociationArgs args, CustomResourceOptions options)
type: aws-native:ec2:SecurityGroupVpcAssociation
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 SecurityGroupVpcAssociationArgs
- 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 SecurityGroupVpcAssociationArgs
- 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 SecurityGroupVpcAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityGroupVpcAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityGroupVpcAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SecurityGroupVpcAssociation 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 SecurityGroupVpcAssociation resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityGroupVpcAssociation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Pulumi.
Aws Native. Ec2. Security Group Vpc Association State - The state of the security group vpc association.
- State
Reason string - The reason for the state of the security group vpc association.
- Vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Security
Group Vpc Association State Enum - The state of the security group vpc association.
- State
Reason string - The reason for the state of the security group vpc association.
- Vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- id String
- The provider-assigned unique ID for this managed resource.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state
Reason String - The reason for the state of the security group vpc association.
- vpc
Owner StringId - The owner of the VPC in the security group vpc association.
- id string
- The provider-assigned unique ID for this managed resource.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state
Reason string - The reason for the state of the security group vpc association.
- vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- id str
- The provider-assigned unique ID for this managed resource.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state_
reason str - The reason for the state of the security group vpc association.
- vpc_
owner_ strid - The owner of the VPC in the security group vpc association.
- id String
- The provider-assigned unique ID for this managed resource.
- state "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"
- The state of the security group vpc association.
- state
Reason String - The reason for the state of the security group vpc association.
- vpc
Owner StringId - The owner of the VPC in the security group vpc association.
Supporting Types
SecurityGroupVpcAssociationState, SecurityGroupVpcAssociationStateArgs
- Associating
- associating
- Associated
- associated
- Association
Failed - association-failed
- Disassociating
- disassociating
- Disassociated
- disassociated
- Disassociation
Failed - disassociation-failed
- Security
Group Vpc Association State Associating - associating
- Security
Group Vpc Association State Associated - associated
- Security
Group Vpc Association State Association Failed - association-failed
- Security
Group Vpc Association State Disassociating - disassociating
- Security
Group Vpc Association State Disassociated - disassociated
- Security
Group Vpc Association State Disassociation Failed - disassociation-failed
- Associating
- associating
- Associated
- associated
- Association
Failed - association-failed
- Disassociating
- disassociating
- Disassociated
- disassociated
- Disassociation
Failed - disassociation-failed
- Associating
- associating
- Associated
- associated
- Association
Failed - association-failed
- Disassociating
- disassociating
- Disassociated
- disassociated
- Disassociation
Failed - disassociation-failed
- ASSOCIATING
- associating
- ASSOCIATED
- associated
- ASSOCIATION_FAILED
- association-failed
- DISASSOCIATING
- disassociating
- DISASSOCIATED
- disassociated
- DISASSOCIATION_FAILED
- disassociation-failed
- "associating"
- associating
- "associated"
- associated
- "association-failed"
- association-failed
- "disassociating"
- disassociating
- "disassociated"
- disassociated
- "disassociation-failed"
- disassociation-failed
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.