FlowLog is the Schema for the FlowLogs API
Type
CRD
Group
ec2.aws.crossplane.io
Version
v1alpha1
apiVersion: ec2.aws.crossplane.io/v1alpha1
kind: FlowLog
FlowLogSpec defines the desired state of FlowLog
FlowLogParameters defines the desired state of FlowLog
CloudWatchLogDestinationRef is a reference to a CloudWatch Log Group used to set the CloudWatchLogDestination.
Policies for referencing.
CloudWatchLogDestinationSelector selects a reference to a CloudWatch Log Group used to set the CloudWatchLogDestination.
Policies for selection.
DeliverLogsPermissionARNRef is a reference to DeliverLogsPermissionARN used to set the DeliverLogsPermissionARN.
Policies for referencing.
DeliverLogsPermissionARNelector selects a reference to DeliverLogsPermissionARN used to set the DeliverLogsPermissionARN.
Policies for selection.
The destination options.
The ID of the subnet, network interface, or VPC for which you want to create a flow log. Constraints: Maximum of 1000 resources
S3BucketLogDestinationRef is a reference to a S3 Bucket to set the S3BucketLogDestination.
Policies for referencing.
S3BucketLogDestinationSelector selects a reference to a S3 Bucket used to set the S3BucketLogDestination.
Policies for selection.
SubnetIDRefs is a referenc to a SubnetID used to set the SubnetID.
Policies for referencing.
SubnetIDSelector selects reference to a SubnetID used to set the SubnetID.
Policies for selection.
TransitGatewayAttachmentIDRef is a reference to an API used to set the TransitGatewayAttachmentID.
Policies for referencing.
TransitGatewayAttachmentIDSelector selects references to API used to set the TransitGatewayAttachmentID.
Policies for selection.
TransitGatewayIDRef is a reference to an API used to set the TransitGatewayID.
Policies for referencing.
TransitGatewayIDSelector selects references to API used to set the TransitGatewayID.
Policies for selection.
VPCIDRef is a reference to an API used to set the VPCID.
Policies for referencing.
VPCIDSelector selects references to API used to set the 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.
FlowLogStatus defines the observed state of FlowLog.
FlowLogObservation defines the observed state of FlowLog
Conditions of the resource.
flowlog-example-cloud-watch
apiVersion: ec2.aws.crossplane.io/v1alpha1
kind: FlowLog
metadata:
name: flowlog-example-cloud-watch
spec:
forProvider:
cloudWatchLogDestinationRef:
name: sample-loggroup
deliverLogsPermissionArnRef:
name: flowlogs-role
region: us-east-1
tags:
- key: Name
value: example
trafficType: ALL
vpcId: vpc-0123456789
providerConfigRef:
name: example
flowlog-example-s3
apiVersion: ec2.aws.crossplane.io/v1alpha1
kind: FlowLog
metadata:
name: flowlog-example-s3
spec:
forProvider:
destinationOptions:
fileFormat: parquet
perHourPartition: true
logDestinationType: s3
region: us-east-1
s3BucketLogDestination: arn:aws:s3:::ctest-bucket
s3BucketSubfolder: test/test2
tags:
- key: Name
value: example
trafficType: ALL
vpcId: vpc-0123456789
providerConfigRef:
name: example