SecurityGroup is the Schema for the SecurityGroups API. Provides a security group resource.
Type
CRD
Group
ec2.aws.upbound.io
Version
v1beta1
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
SecurityGroupSpec defines the desired state of SecurityGroup
No description provided.
Reference to a VPC in ec2 to populate vpcId.
Policies for referencing.
Selector for a VPC in ec2 to populate vpcId.
Policies for selection.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
SecurityGroupStatus defines the observed state of SecurityGroup.
No description provided.
Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
List of CIDR blocks.
List of IPv6 CIDR blocks.
List of Prefix List IDs.
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
List of CIDR blocks.
List of IPv6 CIDR blocks.
List of Prefix List IDs.
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
Conditions of the resource.
example
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
upjet.upbound.io/test-group: apigatewayv2-vpclink
name: example
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-west-1
tags:
Name: allow_tls
vpcIdSelector:
matchLabels:
upjet.upbound.io/test-group: apigatewayv2-vpclink
securitygroup-example
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
annotations:
meta.upbound.io/example-id: apprunner/v1beta1/vpcconnector
name: securitygroup-example
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-east-1
tags:
Name: allow_tls
vpcIdRef:
name: sample-vpc
sg
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
testing.upbound.io/example-name: sg
name: sg
spec:
forProvider:
region: us-west-1
tags:
type: upbound-test-security-group
sg1
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
testing.upbound.io/example-name: sg1
name: sg1
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-west-1
tags:
Name: allow_tls
vpcIdSelector:
matchLabels:
testing.upbound.io/example-name: sample-vpc
sg
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
testing.upbound.io/example-name: sg
name: sg
spec:
forProvider:
region: us-west-1
vpcIdSelector:
matchLabels:
testing.upbound.io/example-name: vpc
example
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
name: example
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-west-1
tags:
Name: allow_tls
vpcIdRef:
name: sample-vpc
elbv2-securitygroup
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
testing.upbound.io/example-name: elbv2
name: elbv2-securitygroup
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-west-1
tags:
Name: allow_tls
vpcIdSelector:
matchLabels:
testing.upbound.io/example-name: elbv2
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.