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 groups. A group name can be used relative to the default VPC. Otherwise, group ID.
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 groups. A group name can be used relative to the default VPC. Otherwise, group ID.
Conditions of the resource.
securitygroup1
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
labels:
testing.upbound.io/example-name: securitygroup1
name: securitygroup1
spec:
forProvider:
description: Allow TLS inbound traffic
name: test
region: us-west-1
tags:
Name: test
vpcIdSelector:
matchLabels:
testing.upbound.io/example-name: vpc1
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
example
apiVersion: ec2.aws.upbound.io/v1beta1
kind: SecurityGroup
metadata:
annotations:
meta.upbound.io/example-id: ec2/v1beta1/securitygroup
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
description: Allow TLS inbound traffic
name: allow_tls
region: us-west-1
tags:
Name: allow_tls
vpcIdRef:
name: sample-vpc
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.