From 78ad3b7f7e8c95292400468555b77e7ee829f690 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Wed, 27 Sep 2023 16:28:16 +0000 Subject: [PATCH 1/7] add aws_vpc_security_group_ingress/egress_rule resource Signed-off-by: Tung Huynh --- apis/ec2/v1beta1/zz_generated.deepcopy.go | 738 ++++++++++++++++++ apis/ec2/v1beta1/zz_generated.managed.go | 152 ++++ apis/ec2/v1beta1/zz_generated.managedlist.go | 18 + apis/ec2/v1beta1/zz_generated.resolvers.go | 116 +++ apis/ec2/v1beta1/zz_generated_terraformed.go | 168 ++++ .../zz_vpcsecuritygroupegressrule_types.go | 219 ++++++ .../zz_vpcsecuritygroupingressrule_types.go | 219 ++++++ config/ec2/config.go | 24 + config/externalname.go | 4 + config/generated.lst | 2 +- config/groups.go | 2 + .../ec2/vpcsecuritygroupegressrule.yaml | 18 + .../ec2/vpcsecuritygroupingressrule.yaml | 18 + examples/ec2/vpcsecuritygroupegressrule.yaml | 48 ++ examples/ec2/vpcsecuritygroupingressrule.yaml | 48 ++ .../zz_controller.go | 62 ++ .../zz_controller.go | 62 ++ internal/controller/zz_ec2_setup.go | 4 + internal/controller/zz_monolith_setup.go | 4 + ...pbound.io_vpcsecuritygroupegressrules.yaml | 676 ++++++++++++++++ ...bound.io_vpcsecuritygroupingressrules.yaml | 676 ++++++++++++++++ 21 files changed, 3277 insertions(+), 1 deletion(-) create mode 100755 apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go create mode 100755 apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go create mode 100644 examples-generated/ec2/vpcsecuritygroupegressrule.yaml create mode 100644 examples-generated/ec2/vpcsecuritygroupingressrule.yaml create mode 100644 examples/ec2/vpcsecuritygroupegressrule.yaml create mode 100644 examples/ec2/vpcsecuritygroupingressrule.yaml create mode 100755 internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go create mode 100755 internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go create mode 100644 package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml create mode 100644 package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index 397770ef6e..dde449a1d6 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -47555,6 +47555,744 @@ func (in *VPCPeeringConnectionStatus) DeepCopy() *VPCPeeringConnectionStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRule) DeepCopyInto(out *VPCSecurityGroupEgressRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRule. +func (in *VPCSecurityGroupEgressRule) DeepCopy() *VPCSecurityGroupEgressRule { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCSecurityGroupEgressRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleInitParameters) DeepCopyInto(out *VPCSecurityGroupEgressRuleInitParameters) { + *out = *in + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleInitParameters. +func (in *VPCSecurityGroupEgressRuleInitParameters) DeepCopy() *VPCSecurityGroupEgressRuleInitParameters { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleList) DeepCopyInto(out *VPCSecurityGroupEgressRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VPCSecurityGroupEgressRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleList. +func (in *VPCSecurityGroupEgressRuleList) DeepCopy() *VPCSecurityGroupEgressRuleList { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCSecurityGroupEgressRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleObservation) DeepCopyInto(out *VPCSecurityGroupEgressRuleObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupRuleID != nil { + in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleObservation. +func (in *VPCSecurityGroupEgressRuleObservation) DeepCopy() *VPCSecurityGroupEgressRuleObservation { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleParameters) DeepCopyInto(out *VPCSecurityGroupEgressRuleParameters) { + *out = *in + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + *out = new(string) + **out = **in + } + if in.ReferencedSecurityGroupIDRef != nil { + in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupIDSelector != nil { + in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleParameters. +func (in *VPCSecurityGroupEgressRuleParameters) DeepCopy() *VPCSecurityGroupEgressRuleParameters { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleSpec) DeepCopyInto(out *VPCSecurityGroupEgressRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleSpec. +func (in *VPCSecurityGroupEgressRuleSpec) DeepCopy() *VPCSecurityGroupEgressRuleSpec { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupEgressRuleStatus) DeepCopyInto(out *VPCSecurityGroupEgressRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleStatus. +func (in *VPCSecurityGroupEgressRuleStatus) DeepCopy() *VPCSecurityGroupEgressRuleStatus { + if in == nil { + return nil + } + out := new(VPCSecurityGroupEgressRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRule) DeepCopyInto(out *VPCSecurityGroupIngressRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRule. +func (in *VPCSecurityGroupIngressRule) DeepCopy() *VPCSecurityGroupIngressRule { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCSecurityGroupIngressRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleInitParameters) DeepCopyInto(out *VPCSecurityGroupIngressRuleInitParameters) { + *out = *in + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleInitParameters. +func (in *VPCSecurityGroupIngressRuleInitParameters) DeepCopy() *VPCSecurityGroupIngressRuleInitParameters { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleList) DeepCopyInto(out *VPCSecurityGroupIngressRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VPCSecurityGroupIngressRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleList. +func (in *VPCSecurityGroupIngressRuleList) DeepCopy() *VPCSecurityGroupIngressRuleList { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCSecurityGroupIngressRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleObservation) DeepCopyInto(out *VPCSecurityGroupIngressRuleObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupRuleID != nil { + in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleObservation. +func (in *VPCSecurityGroupIngressRuleObservation) DeepCopy() *VPCSecurityGroupIngressRuleObservation { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleParameters) DeepCopyInto(out *VPCSecurityGroupIngressRuleParameters) { + *out = *in + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + *out = new(string) + **out = **in + } + if in.ReferencedSecurityGroupIDRef != nil { + in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupIDSelector != nil { + in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleParameters. +func (in *VPCSecurityGroupIngressRuleParameters) DeepCopy() *VPCSecurityGroupIngressRuleParameters { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleSpec) DeepCopyInto(out *VPCSecurityGroupIngressRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleSpec. +func (in *VPCSecurityGroupIngressRuleSpec) DeepCopy() *VPCSecurityGroupIngressRuleSpec { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCSecurityGroupIngressRuleStatus) DeepCopyInto(out *VPCSecurityGroupIngressRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleStatus. +func (in *VPCSecurityGroupIngressRuleStatus) DeepCopy() *VPCSecurityGroupIngressRuleStatus { + if in == nil { + return nil + } + out := new(VPCSecurityGroupIngressRuleStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCSpec) DeepCopyInto(out *VPCSpec) { *out = *in diff --git a/apis/ec2/v1beta1/zz_generated.managed.go b/apis/ec2/v1beta1/zz_generated.managed.go index 2f847b3269..c7bd3cc1cd 100644 --- a/apis/ec2/v1beta1/zz_generated.managed.go +++ b/apis/ec2/v1beta1/zz_generated.managed.go @@ -5527,6 +5527,158 @@ func (mg *VPCPeeringConnectionOptions) SetWriteConnectionSecretToReference(r *xp mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VPCSecurityGroupEgressRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VPCSecurityGroupEgressRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VPCSecurityGroupEgressRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VPCSecurityGroupEgressRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VPCSecurityGroupIngressRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VPCSecurityGroupIngressRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VPCSecurityGroupIngressRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VPCSecurityGroupIngressRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this VPNConnection. func (mg *VPNConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/ec2/v1beta1/zz_generated.managedlist.go b/apis/ec2/v1beta1/zz_generated.managedlist.go index b0df4f1f67..a109f72584 100644 --- a/apis/ec2/v1beta1/zz_generated.managedlist.go +++ b/apis/ec2/v1beta1/zz_generated.managedlist.go @@ -835,6 +835,24 @@ func (l *VPCPeeringConnectionOptionsList) GetItems() []resource.Managed { return items } +// GetItems of this VPCSecurityGroupEgressRuleList. +func (l *VPCSecurityGroupEgressRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VPCSecurityGroupIngressRuleList. +func (l *VPCSecurityGroupIngressRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this VPNConnectionList. func (l *VPNConnectionList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/ec2/v1beta1/zz_generated.resolvers.go b/apis/ec2/v1beta1/zz_generated.resolvers.go index 307d07fab0..3eb269bc8d 100644 --- a/apis/ec2/v1beta1/zz_generated.resolvers.go +++ b/apis/ec2/v1beta1/zz_generated.resolvers.go @@ -3066,6 +3066,122 @@ func (mg *VPCPeeringConnectionOptions) ResolveReferences(ctx context.Context, c return nil } +// ResolveReferences of this VPCSecurityGroupEgressRule. +func (mg *VPCSecurityGroupEgressRule) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.PrefixListIDRef, + Selector: mg.Spec.ForProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") + } + mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") + } + mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.SecurityGroupIDRef, + Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") + } + mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + + return nil +} + +// ResolveReferences of this VPCSecurityGroupIngressRule. +func (mg *VPCSecurityGroupIngressRule) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.PrefixListIDRef, + Selector: mg.Spec.ForProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") + } + mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") + } + mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.SecurityGroupIDRef, + Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") + } + mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + + return nil +} + // ResolveReferences of this VPNConnection. func (mg *VPNConnection) ResolveReferences(ctx context.Context, c client.Reader) error { r := reference.NewAPIResolver(c, mg) diff --git a/apis/ec2/v1beta1/zz_generated_terraformed.go b/apis/ec2/v1beta1/zz_generated_terraformed.go index a6930b5339..4b24e4baf7 100755 --- a/apis/ec2/v1beta1/zz_generated_terraformed.go +++ b/apis/ec2/v1beta1/zz_generated_terraformed.go @@ -7856,6 +7856,174 @@ func (tr *VPCPeeringConnectionOptions) GetTerraformSchemaVersion() int { return 0 } +// GetTerraformResourceType returns Terraform resource type for this VPCSecurityGroupEgressRule +func (mg *VPCSecurityGroupEgressRule) GetTerraformResourceType() string { + return "aws_vpc_security_group_egress_rule" +} + +// GetConnectionDetailsMapping for this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this VPCSecurityGroupEgressRule +func (tr *VPCSecurityGroupEgressRule) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// LateInitialize this VPCSecurityGroupEgressRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VPCSecurityGroupEgressRule) LateInitialize(attrs []byte) (bool, error) { + params := &VPCSecurityGroupEgressRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VPCSecurityGroupEgressRule) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this VPCSecurityGroupIngressRule +func (mg *VPCSecurityGroupIngressRule) GetTerraformResourceType() string { + return "aws_vpc_security_group_ingress_rule" +} + +// GetConnectionDetailsMapping for this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this VPCSecurityGroupIngressRule +func (tr *VPCSecurityGroupIngressRule) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// LateInitialize this VPCSecurityGroupIngressRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VPCSecurityGroupIngressRule) LateInitialize(attrs []byte) (bool, error) { + params := &VPCSecurityGroupIngressRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VPCSecurityGroupIngressRule) GetTerraformSchemaVersion() int { + return 0 +} + // GetTerraformResourceType returns Terraform resource type for this VPNConnection func (mg *VPNConnection) GetTerraformResourceType() string { return "aws_vpn_connection" diff --git a/apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go b/apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go new file mode 100755 index 0000000000..96c0f729fe --- /dev/null +++ b/apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go @@ -0,0 +1,219 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VPCSecurityGroupEgressRuleInitParameters struct { + + // The destination IPv4 CIDR range. + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The destination IPv6 CIDR range. + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // Key-value map of resource tags. + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +type VPCSecurityGroupEgressRuleObservation struct { + + // The Amazon Resource Name (ARN) of the security group rule. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // The destination IPv4 CIDR range. + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The destination IPv6 CIDR range. + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // The ID of the destination prefix list. + PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` + + // The destination security group that is referenced in the rule. + ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` + + // The ID of the security group. + SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` + + // The ID of the security group rule. + SecurityGroupRuleID *string `json:"securityGroupRuleId,omitempty" tf:"security_group_rule_id,omitempty"` + + // Key-value map of resource tags. + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +type VPCSecurityGroupEgressRuleParameters struct { + + // The destination IPv4 CIDR range. + // +kubebuilder:validation:Optional + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The destination IPv6 CIDR range. + // +kubebuilder:validation:Optional + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + // +kubebuilder:validation:Optional + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + // +kubebuilder:validation:Optional + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // The ID of the destination prefix list. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +kubebuilder:validation:Optional + PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` + + // Reference to a ManagedPrefixList in ec2 to populate prefixListId. + // +kubebuilder:validation:Optional + PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` + + // Selector for a ManagedPrefixList in ec2 to populate prefixListId. + // +kubebuilder:validation:Optional + PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` + + // The destination security group that is referenced in the rule. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +kubebuilder:validation:Optional + ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` + + // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // +kubebuilder:validation:Optional + ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // +kubebuilder:validation:Optional + ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` + + // Region is the region you'd like your resource to be created in. + // +upjet:crd:field:TFTag=- + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"-"` + + // The ID of the security group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +kubebuilder:validation:Optional + SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` + + // Reference to a SecurityGroup in ec2 to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup in ec2 to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + // +kubebuilder:validation:Optional + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +// VPCSecurityGroupEgressRuleSpec defines the desired state of VPCSecurityGroupEgressRule +type VPCSecurityGroupEgressRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VPCSecurityGroupEgressRuleParameters `json:"forProvider"` + // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored + // unless the relevant Crossplane feature flag is enabled, and may be + // changed or removed without notice. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider VPCSecurityGroupEgressRuleInitParameters `json:"initProvider,omitempty"` +} + +// VPCSecurityGroupEgressRuleStatus defines the observed state of VPCSecurityGroupEgressRule. +type VPCSecurityGroupEgressRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VPCSecurityGroupEgressRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VPCSecurityGroupEgressRule is the Schema for the VPCSecurityGroupEgressRules API. Provides a VPC security group egress rule resource. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type VPCSecurityGroupEgressRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || has(self.initProvider.ipProtocol)",message="ipProtocol is a required parameter" + Spec VPCSecurityGroupEgressRuleSpec `json:"spec"` + Status VPCSecurityGroupEgressRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VPCSecurityGroupEgressRuleList contains a list of VPCSecurityGroupEgressRules +type VPCSecurityGroupEgressRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VPCSecurityGroupEgressRule `json:"items"` +} + +// Repository type metadata. +var ( + VPCSecurityGroupEgressRule_Kind = "VPCSecurityGroupEgressRule" + VPCSecurityGroupEgressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VPCSecurityGroupEgressRule_Kind}.String() + VPCSecurityGroupEgressRule_KindAPIVersion = VPCSecurityGroupEgressRule_Kind + "." + CRDGroupVersion.String() + VPCSecurityGroupEgressRule_GroupVersionKind = CRDGroupVersion.WithKind(VPCSecurityGroupEgressRule_Kind) +) + +func init() { + SchemeBuilder.Register(&VPCSecurityGroupEgressRule{}, &VPCSecurityGroupEgressRuleList{}) +} diff --git a/apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go b/apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go new file mode 100755 index 0000000000..3dff44c512 --- /dev/null +++ b/apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go @@ -0,0 +1,219 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VPCSecurityGroupIngressRuleInitParameters struct { + + // The source IPv4 CIDR range. + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The source IPv6 CIDR range. + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // Key-value map of resource tags. + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +type VPCSecurityGroupIngressRuleObservation struct { + + // The Amazon Resource Name (ARN) of the security group rule. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // The source IPv4 CIDR range. + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The source IPv6 CIDR range. + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // The ID of the source prefix list. + PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` + + // The source security group that is referenced in the rule. + ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` + + // The ID of the security group. + SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` + + // The ID of the security group rule. + SecurityGroupRuleID *string `json:"securityGroupRuleId,omitempty" tf:"security_group_rule_id,omitempty"` + + // Key-value map of resource tags. + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +type VPCSecurityGroupIngressRuleParameters struct { + + // The source IPv4 CIDR range. + // +kubebuilder:validation:Optional + CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` + + // The source IPv6 CIDR range. + // +kubebuilder:validation:Optional + CidrIPv6 *string `json:"cidrIpv6,omitempty" tf:"cidr_ipv6,omitempty"` + + // The security group rule description. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. + // +kubebuilder:validation:Optional + FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` + + // The IP protocol name or number. Use -1 to specify all protocols. + // +kubebuilder:validation:Optional + IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` + + // The ID of the source prefix list. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +kubebuilder:validation:Optional + PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` + + // Reference to a ManagedPrefixList in ec2 to populate prefixListId. + // +kubebuilder:validation:Optional + PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` + + // Selector for a ManagedPrefixList in ec2 to populate prefixListId. + // +kubebuilder:validation:Optional + PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` + + // The source security group that is referenced in the rule. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +kubebuilder:validation:Optional + ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` + + // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // +kubebuilder:validation:Optional + ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // +kubebuilder:validation:Optional + ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` + + // Region is the region you'd like your resource to be created in. + // +upjet:crd:field:TFTag=- + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"-"` + + // The ID of the security group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +kubebuilder:validation:Optional + SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` + + // Reference to a SecurityGroup in ec2 to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup in ec2 to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. + // +kubebuilder:validation:Optional + ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` +} + +// VPCSecurityGroupIngressRuleSpec defines the desired state of VPCSecurityGroupIngressRule +type VPCSecurityGroupIngressRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VPCSecurityGroupIngressRuleParameters `json:"forProvider"` + // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored + // unless the relevant Crossplane feature flag is enabled, and may be + // changed or removed without notice. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider VPCSecurityGroupIngressRuleInitParameters `json:"initProvider,omitempty"` +} + +// VPCSecurityGroupIngressRuleStatus defines the observed state of VPCSecurityGroupIngressRule. +type VPCSecurityGroupIngressRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VPCSecurityGroupIngressRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VPCSecurityGroupIngressRule is the Schema for the VPCSecurityGroupIngressRules API. Provides a VPC security group ingress rule resource. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type VPCSecurityGroupIngressRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || has(self.initProvider.ipProtocol)",message="ipProtocol is a required parameter" + Spec VPCSecurityGroupIngressRuleSpec `json:"spec"` + Status VPCSecurityGroupIngressRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VPCSecurityGroupIngressRuleList contains a list of VPCSecurityGroupIngressRules +type VPCSecurityGroupIngressRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VPCSecurityGroupIngressRule `json:"items"` +} + +// Repository type metadata. +var ( + VPCSecurityGroupIngressRule_Kind = "VPCSecurityGroupIngressRule" + VPCSecurityGroupIngressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VPCSecurityGroupIngressRule_Kind}.String() + VPCSecurityGroupIngressRule_KindAPIVersion = VPCSecurityGroupIngressRule_Kind + "." + CRDGroupVersion.String() + VPCSecurityGroupIngressRule_GroupVersionKind = CRDGroupVersion.WithKind(VPCSecurityGroupIngressRule_Kind) +) + +func init() { + SchemeBuilder.Register(&VPCSecurityGroupIngressRule{}, &VPCSecurityGroupIngressRuleList{}) +} diff --git a/config/ec2/config.go b/config/ec2/config.go index 658d3c02dc..25e11dc24d 100644 --- a/config/ec2/config.go +++ b/config/ec2/config.go @@ -217,6 +217,30 @@ func Configure(p *config.Provider) { } }) + p.AddResourceConfigurator("aws_vpc_security_group_ingress_rule", func(r *config.Resource) { + r.References["security_group_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + } + r.References["referenced_security_group_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + } + r.References["prefix_list_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList", + } + }) + + p.AddResourceConfigurator("aws_vpc_security_group_egress_rule", func(r *config.Resource) { + r.References["security_group_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + } + r.References["referenced_security_group_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + } + r.References["prefix_list_id"] = config.Reference{ + Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList", + } + }) + p.AddResourceConfigurator("aws_vpc_peering_connection", func(r *config.Resource) { // Mutually exclusive with aws_vpc_peering_connection_options config.MoveToStatus(r.TerraformResource, "accepter", "requester") diff --git a/config/externalname.go b/config/externalname.go index faec44d5df..eed6289e75 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -187,6 +187,10 @@ var ExternalNameConfigs = map[string]config.ExternalName{ // Imported using a very complex format: // https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule "aws_security_group_rule": config.IdentifierFromProvider, + // Imported by using the id: sgr-02108b27edd666983 + "aws_vpc_security_group_egress_rule": config.IdentifierFromProvider, + // Imported by using the id: sgr-02108b27edd666983 + "aws_vpc_security_group_ingress_rule": config.IdentifierFromProvider, // Imported by using the VPC CIDR Association ID: vpc-cidr-assoc-xxxxxxxx "aws_vpc_ipv4_cidr_block_association": config.IdentifierFromProvider, // Imported using the vpc peering id: pcx-111aaa111 diff --git a/config/generated.lst b/config/generated.lst index cd8d2b3edb..0fa156cdef 100644 --- a/config/generated.lst +++ b/config/generated.lst @@ -1 +1 @@ -["aws_accessanalyzer_analyzer","aws_accessanalyzer_archive_rule","aws_account_alternate_contact","aws_acm_certificate","aws_acm_certificate_validation","aws_acmpca_certificate","aws_acmpca_certificate_authority","aws_acmpca_certificate_authority_certificate","aws_acmpca_permission","aws_acmpca_policy","aws_ami","aws_ami_copy","aws_ami_launch_permission","aws_amplify_app","aws_amplify_backend_environment","aws_amplify_branch","aws_amplify_webhook","aws_api_gateway_account","aws_api_gateway_api_key","aws_api_gateway_authorizer","aws_api_gateway_base_path_mapping","aws_api_gateway_client_certificate","aws_api_gateway_deployment","aws_api_gateway_documentation_part","aws_api_gateway_documentation_version","aws_api_gateway_domain_name","aws_api_gateway_gateway_response","aws_api_gateway_integration","aws_api_gateway_integration_response","aws_api_gateway_method","aws_api_gateway_method_response","aws_api_gateway_method_settings","aws_api_gateway_model","aws_api_gateway_request_validator","aws_api_gateway_resource","aws_api_gateway_rest_api","aws_api_gateway_rest_api_policy","aws_api_gateway_stage","aws_api_gateway_usage_plan","aws_api_gateway_usage_plan_key","aws_api_gateway_vpc_link","aws_apigatewayv2_api","aws_apigatewayv2_api_mapping","aws_apigatewayv2_authorizer","aws_apigatewayv2_deployment","aws_apigatewayv2_domain_name","aws_apigatewayv2_integration","aws_apigatewayv2_integration_response","aws_apigatewayv2_model","aws_apigatewayv2_route","aws_apigatewayv2_route_response","aws_apigatewayv2_stage","aws_apigatewayv2_vpc_link","aws_app_cookie_stickiness_policy","aws_appautoscaling_policy","aws_appautoscaling_scheduled_action","aws_appautoscaling_target","aws_appconfig_application","aws_appconfig_configuration_profile","aws_appconfig_deployment","aws_appconfig_deployment_strategy","aws_appconfig_environment","aws_appconfig_extension","aws_appconfig_extension_association","aws_appconfig_hosted_configuration_version","aws_appflow_flow","aws_appintegrations_event_integration","aws_applicationinsights_application","aws_appmesh_gateway_route","aws_appmesh_mesh","aws_appmesh_route","aws_appmesh_virtual_gateway","aws_appmesh_virtual_node","aws_appmesh_virtual_router","aws_appmesh_virtual_service","aws_apprunner_auto_scaling_configuration_version","aws_apprunner_connection","aws_apprunner_observability_configuration","aws_apprunner_service","aws_apprunner_vpc_connector","aws_appstream_directory_config","aws_appstream_fleet","aws_appstream_fleet_stack_association","aws_appstream_image_builder","aws_appstream_stack","aws_appstream_user","aws_appstream_user_stack_association","aws_appsync_api_cache","aws_appsync_api_key","aws_appsync_datasource","aws_appsync_function","aws_appsync_graphql_api","aws_appsync_resolver","aws_athena_data_catalog","aws_athena_database","aws_athena_named_query","aws_athena_workgroup","aws_autoscaling_attachment","aws_autoscaling_group","aws_autoscaling_group_tag","aws_autoscaling_lifecycle_hook","aws_autoscaling_notification","aws_autoscaling_policy","aws_autoscaling_schedule","aws_autoscalingplans_scaling_plan","aws_backup_framework","aws_backup_global_settings","aws_backup_plan","aws_backup_region_settings","aws_backup_report_plan","aws_backup_selection","aws_backup_vault","aws_backup_vault_lock_configuration","aws_backup_vault_notifications","aws_backup_vault_policy","aws_batch_job_definition","aws_batch_scheduling_policy","aws_budgets_budget","aws_budgets_budget_action","aws_ce_anomaly_monitor","aws_chime_voice_connector","aws_chime_voice_connector_group","aws_chime_voice_connector_logging","aws_chime_voice_connector_origination","aws_chime_voice_connector_streaming","aws_chime_voice_connector_termination","aws_chime_voice_connector_termination_credentials","aws_cloud9_environment_ec2","aws_cloud9_environment_membership","aws_cloudcontrolapi_resource","aws_cloudformation_stack","aws_cloudformation_stack_set","aws_cloudfront_cache_policy","aws_cloudfront_distribution","aws_cloudfront_field_level_encryption_config","aws_cloudfront_field_level_encryption_profile","aws_cloudfront_function","aws_cloudfront_key_group","aws_cloudfront_monitoring_subscription","aws_cloudfront_origin_access_control","aws_cloudfront_origin_access_identity","aws_cloudfront_origin_request_policy","aws_cloudfront_public_key","aws_cloudfront_realtime_log_config","aws_cloudfront_response_headers_policy","aws_cloudsearch_domain","aws_cloudsearch_domain_service_access_policy","aws_cloudtrail","aws_cloudtrail_event_data_store","aws_cloudwatch_composite_alarm","aws_cloudwatch_dashboard","aws_cloudwatch_event_api_destination","aws_cloudwatch_event_archive","aws_cloudwatch_event_bus","aws_cloudwatch_event_bus_policy","aws_cloudwatch_event_connection","aws_cloudwatch_event_permission","aws_cloudwatch_event_rule","aws_cloudwatch_event_target","aws_cloudwatch_log_destination","aws_cloudwatch_log_destination_policy","aws_cloudwatch_log_group","aws_cloudwatch_log_metric_filter","aws_cloudwatch_log_resource_policy","aws_cloudwatch_log_stream","aws_cloudwatch_log_subscription_filter","aws_cloudwatch_metric_alarm","aws_cloudwatch_metric_stream","aws_cloudwatch_query_definition","aws_codecommit_approval_rule_template","aws_codecommit_approval_rule_template_association","aws_codecommit_repository","aws_codecommit_trigger","aws_codedeploy_app","aws_codedeploy_deployment_config","aws_codedeploy_deployment_group","aws_codepipeline","aws_codepipeline_custom_action_type","aws_codepipeline_webhook","aws_codestarconnections_connection","aws_codestarconnections_host","aws_codestarnotifications_notification_rule","aws_cognito_identity_pool","aws_cognito_identity_pool_provider_principal_tag","aws_cognito_identity_pool_roles_attachment","aws_cognito_identity_provider","aws_cognito_resource_server","aws_cognito_risk_configuration","aws_cognito_user","aws_cognito_user_group","aws_cognito_user_in_group","aws_cognito_user_pool","aws_cognito_user_pool_client","aws_cognito_user_pool_domain","aws_cognito_user_pool_ui_customization","aws_config_config_rule","aws_config_configuration_aggregator","aws_config_configuration_recorder","aws_config_configuration_recorder_status","aws_config_conformance_pack","aws_config_delivery_channel","aws_config_remediation_configuration","aws_connect_bot_association","aws_connect_contact_flow","aws_connect_contact_flow_module","aws_connect_hours_of_operation","aws_connect_instance","aws_connect_instance_storage_config","aws_connect_lambda_function_association","aws_connect_phone_number","aws_connect_queue","aws_connect_quick_connect","aws_connect_routing_profile","aws_connect_security_profile","aws_connect_user","aws_connect_user_hierarchy_structure","aws_connect_vocabulary","aws_cur_report_definition","aws_customer_gateway","aws_dataexchange_data_set","aws_dataexchange_revision","aws_datapipeline_pipeline","aws_datasync_location_s3","aws_datasync_task","aws_dax_cluster","aws_dax_parameter_group","aws_dax_subnet_group","aws_db_cluster_snapshot","aws_db_event_subscription","aws_db_instance","aws_db_instance_automated_backups_replication","aws_db_instance_role_association","aws_db_option_group","aws_db_parameter_group","aws_db_proxy","aws_db_proxy_default_target_group","aws_db_proxy_endpoint","aws_db_proxy_target","aws_db_snapshot","aws_db_snapshot_copy","aws_db_subnet_group","aws_default_network_acl","aws_default_route_table","aws_default_security_group","aws_default_subnet","aws_default_vpc","aws_default_vpc_dhcp_options","aws_detective_graph","aws_detective_invitation_accepter","aws_detective_member","aws_devicefarm_device_pool","aws_devicefarm_instance_profile","aws_devicefarm_network_profile","aws_devicefarm_project","aws_devicefarm_test_grid_project","aws_devicefarm_upload","aws_directory_service_conditional_forwarder","aws_directory_service_directory","aws_directory_service_shared_directory","aws_dlm_lifecycle_policy","aws_dms_certificate","aws_dms_endpoint","aws_dms_event_subscription","aws_dms_replication_instance","aws_dms_replication_subnet_group","aws_dms_replication_task","aws_dms_s3_endpoint","aws_docdb_cluster","aws_docdb_cluster_instance","aws_docdb_cluster_parameter_group","aws_docdb_cluster_snapshot","aws_docdb_event_subscription","aws_docdb_global_cluster","aws_docdb_subnet_group","aws_dx_bgp_peer","aws_dx_connection","aws_dx_connection_association","aws_dx_gateway","aws_dx_gateway_association","aws_dx_gateway_association_proposal","aws_dx_hosted_private_virtual_interface","aws_dx_hosted_private_virtual_interface_accepter","aws_dx_hosted_public_virtual_interface","aws_dx_hosted_public_virtual_interface_accepter","aws_dx_hosted_transit_virtual_interface","aws_dx_hosted_transit_virtual_interface_accepter","aws_dx_lag","aws_dx_private_virtual_interface","aws_dx_public_virtual_interface","aws_dx_transit_virtual_interface","aws_dynamodb_contributor_insights","aws_dynamodb_global_table","aws_dynamodb_kinesis_streaming_destination","aws_dynamodb_table","aws_dynamodb_table_item","aws_dynamodb_table_replica","aws_dynamodb_tag","aws_ebs_default_kms_key","aws_ebs_encryption_by_default","aws_ebs_snapshot","aws_ebs_snapshot_copy","aws_ebs_snapshot_import","aws_ebs_volume","aws_ec2_availability_zone_group","aws_ec2_capacity_reservation","aws_ec2_carrier_gateway","aws_ec2_host","aws_ec2_instance_state","aws_ec2_managed_prefix_list","aws_ec2_managed_prefix_list_entry","aws_ec2_network_insights_analysis","aws_ec2_network_insights_path","aws_ec2_serial_console_access","aws_ec2_subnet_cidr_reservation","aws_ec2_tag","aws_ec2_traffic_mirror_filter","aws_ec2_traffic_mirror_filter_rule","aws_ec2_transit_gateway","aws_ec2_transit_gateway_connect","aws_ec2_transit_gateway_connect_peer","aws_ec2_transit_gateway_multicast_domain","aws_ec2_transit_gateway_multicast_domain_association","aws_ec2_transit_gateway_multicast_group_member","aws_ec2_transit_gateway_multicast_group_source","aws_ec2_transit_gateway_peering_attachment","aws_ec2_transit_gateway_peering_attachment_accepter","aws_ec2_transit_gateway_policy_table","aws_ec2_transit_gateway_prefix_list_reference","aws_ec2_transit_gateway_route","aws_ec2_transit_gateway_route_table","aws_ec2_transit_gateway_route_table_association","aws_ec2_transit_gateway_route_table_propagation","aws_ec2_transit_gateway_vpc_attachment","aws_ec2_transit_gateway_vpc_attachment_accepter","aws_ecr_lifecycle_policy","aws_ecr_pull_through_cache_rule","aws_ecr_registry_policy","aws_ecr_registry_scanning_configuration","aws_ecr_replication_configuration","aws_ecr_repository","aws_ecr_repository_policy","aws_ecrpublic_repository","aws_ecrpublic_repository_policy","aws_ecs_account_setting_default","aws_ecs_capacity_provider","aws_ecs_cluster","aws_ecs_cluster_capacity_providers","aws_ecs_service","aws_ecs_task_definition","aws_efs_access_point","aws_efs_backup_policy","aws_efs_file_system","aws_efs_file_system_policy","aws_efs_mount_target","aws_efs_replication_configuration","aws_egress_only_internet_gateway","aws_eip","aws_eip_association","aws_eks_addon","aws_eks_cluster","aws_eks_fargate_profile","aws_eks_identity_provider_config","aws_eks_node_group","aws_elastic_beanstalk_application","aws_elastic_beanstalk_application_version","aws_elastic_beanstalk_configuration_template","aws_elasticache_cluster","aws_elasticache_parameter_group","aws_elasticache_replication_group","aws_elasticache_subnet_group","aws_elasticache_user","aws_elasticache_user_group","aws_elasticsearch_domain","aws_elasticsearch_domain_policy","aws_elasticsearch_domain_saml_options","aws_elastictranscoder_pipeline","aws_elastictranscoder_preset","aws_elb","aws_elb_attachment","aws_emr_security_configuration","aws_emrserverless_application","aws_evidently_feature","aws_evidently_project","aws_evidently_segment","aws_fis_experiment_template","aws_flow_log","aws_fsx_backup","aws_fsx_data_repository_association","aws_fsx_lustre_file_system","aws_fsx_ontap_file_system","aws_fsx_ontap_storage_virtual_machine","aws_fsx_windows_file_system","aws_gamelift_alias","aws_gamelift_build","aws_gamelift_fleet","aws_gamelift_game_session_queue","aws_gamelift_script","aws_glacier_vault","aws_glacier_vault_lock","aws_globalaccelerator_accelerator","aws_globalaccelerator_endpoint_group","aws_globalaccelerator_listener","aws_glue_catalog_database","aws_glue_catalog_table","aws_glue_classifier","aws_glue_connection","aws_glue_crawler","aws_glue_data_catalog_encryption_settings","aws_glue_job","aws_glue_registry","aws_glue_resource_policy","aws_glue_schema","aws_glue_security_configuration","aws_glue_trigger","aws_glue_user_defined_function","aws_glue_workflow","aws_grafana_license_association","aws_grafana_role_association","aws_grafana_workspace","aws_grafana_workspace_api_key","aws_grafana_workspace_saml_configuration","aws_guardduty_detector","aws_guardduty_filter","aws_guardduty_member","aws_iam_access_key","aws_iam_account_alias","aws_iam_account_password_policy","aws_iam_group","aws_iam_group_membership","aws_iam_group_policy_attachment","aws_iam_instance_profile","aws_iam_openid_connect_provider","aws_iam_policy","aws_iam_role","aws_iam_role_policy","aws_iam_role_policy_attachment","aws_iam_saml_provider","aws_iam_server_certificate","aws_iam_service_linked_role","aws_iam_service_specific_credential","aws_iam_signing_certificate","aws_iam_user","aws_iam_user_group_membership","aws_iam_user_login_profile","aws_iam_user_policy_attachment","aws_iam_user_ssh_key","aws_iam_virtual_mfa_device","aws_imagebuilder_component","aws_imagebuilder_container_recipe","aws_imagebuilder_distribution_configuration","aws_imagebuilder_image","aws_imagebuilder_image_pipeline","aws_imagebuilder_image_recipe","aws_imagebuilder_infrastructure_configuration","aws_inspector2_enabler","aws_inspector_assessment_target","aws_inspector_assessment_template","aws_inspector_resource_group","aws_instance","aws_internet_gateway","aws_iot_certificate","aws_iot_indexing_configuration","aws_iot_logging_options","aws_iot_policy","aws_iot_policy_attachment","aws_iot_provisioning_template","aws_iot_role_alias","aws_iot_thing","aws_iot_thing_group","aws_iot_thing_group_membership","aws_iot_thing_principal_attachment","aws_iot_thing_type","aws_iot_topic_rule","aws_ivs_channel","aws_ivs_recording_configuration","aws_kendra_data_source","aws_kendra_experience","aws_kendra_index","aws_kendra_query_suggestions_block_list","aws_kendra_thesaurus","aws_key_pair","aws_keyspaces_keyspace","aws_keyspaces_table","aws_kinesis_analytics_application","aws_kinesis_firehose_delivery_stream","aws_kinesis_stream","aws_kinesis_stream_consumer","aws_kinesis_video_stream","aws_kinesisanalyticsv2_application","aws_kinesisanalyticsv2_application_snapshot","aws_kms_alias","aws_kms_ciphertext","aws_kms_external_key","aws_kms_grant","aws_kms_key","aws_kms_replica_external_key","aws_kms_replica_key","aws_lakeformation_data_lake_settings","aws_lakeformation_permissions","aws_lakeformation_resource","aws_lambda_alias","aws_lambda_code_signing_config","aws_lambda_event_source_mapping","aws_lambda_function","aws_lambda_function_event_invoke_config","aws_lambda_function_url","aws_lambda_invocation","aws_lambda_layer_version","aws_lambda_layer_version_permission","aws_lambda_permission","aws_lambda_provisioned_concurrency_config","aws_launch_configuration","aws_launch_template","aws_lb","aws_lb_cookie_stickiness_policy","aws_lb_listener","aws_lb_listener_rule","aws_lb_ssl_negotiation_policy","aws_lb_target_group","aws_lb_target_group_attachment","aws_lex_bot","aws_lex_bot_alias","aws_lex_intent","aws_lex_slot_type","aws_licensemanager_association","aws_licensemanager_license_configuration","aws_lightsail_bucket","aws_lightsail_certificate","aws_lightsail_container_service","aws_lightsail_disk","aws_lightsail_disk_attachment","aws_lightsail_domain","aws_lightsail_domain_entry","aws_lightsail_instance","aws_lightsail_instance_public_ports","aws_lightsail_key_pair","aws_lightsail_lb","aws_lightsail_lb_attachment","aws_lightsail_lb_certificate","aws_lightsail_lb_stickiness_policy","aws_lightsail_static_ip","aws_lightsail_static_ip_attachment","aws_load_balancer_backend_server_policy","aws_load_balancer_listener_policy","aws_load_balancer_policy","aws_location_geofence_collection","aws_location_place_index","aws_location_route_calculator","aws_location_tracker","aws_location_tracker_association","aws_macie2_account","aws_macie2_classification_job","aws_macie2_custom_data_identifier","aws_macie2_findings_filter","aws_macie2_invitation_accepter","aws_macie2_member","aws_main_route_table_association","aws_media_convert_queue","aws_media_package_channel","aws_media_store_container","aws_media_store_container_policy","aws_medialive_channel","aws_medialive_input","aws_medialive_input_security_group","aws_medialive_multiplex","aws_memorydb_acl","aws_memorydb_cluster","aws_memorydb_parameter_group","aws_memorydb_snapshot","aws_memorydb_subnet_group","aws_mq_broker","aws_mq_configuration","aws_msk_cluster","aws_msk_configuration","aws_msk_scram_secret_association","aws_nat_gateway","aws_neptune_cluster","aws_neptune_cluster_endpoint","aws_neptune_cluster_instance","aws_neptune_cluster_parameter_group","aws_neptune_cluster_snapshot","aws_neptune_event_subscription","aws_neptune_global_cluster","aws_neptune_parameter_group","aws_neptune_subnet_group","aws_network_acl","aws_network_acl_rule","aws_network_interface","aws_network_interface_attachment","aws_network_interface_sg_attachment","aws_networkfirewall_firewall","aws_networkfirewall_firewall_policy","aws_networkfirewall_logging_configuration","aws_networkfirewall_rule_group","aws_networkmanager_attachment_accepter","aws_networkmanager_connect_attachment","aws_networkmanager_connection","aws_networkmanager_core_network","aws_networkmanager_customer_gateway_association","aws_networkmanager_device","aws_networkmanager_global_network","aws_networkmanager_link","aws_networkmanager_link_association","aws_networkmanager_site","aws_networkmanager_transit_gateway_connect_peer_association","aws_networkmanager_transit_gateway_registration","aws_networkmanager_vpc_attachment","aws_opensearch_domain","aws_opensearch_domain_policy","aws_opensearch_domain_saml_options","aws_opsworks_application","aws_opsworks_custom_layer","aws_opsworks_ecs_cluster_layer","aws_opsworks_ganglia_layer","aws_opsworks_haproxy_layer","aws_opsworks_instance","aws_opsworks_java_app_layer","aws_opsworks_memcached_layer","aws_opsworks_mysql_layer","aws_opsworks_nodejs_app_layer","aws_opsworks_permission","aws_opsworks_php_app_layer","aws_opsworks_rails_app_layer","aws_opsworks_rds_db_instance","aws_opsworks_stack","aws_opsworks_static_web_layer","aws_opsworks_user_profile","aws_organizations_account","aws_organizations_delegated_administrator","aws_organizations_organization","aws_organizations_organizational_unit","aws_organizations_policy","aws_organizations_policy_attachment","aws_pinpoint_app","aws_pinpoint_sms_channel","aws_placement_group","aws_prometheus_alert_manager_definition","aws_prometheus_rule_group_namespace","aws_prometheus_workspace","aws_proxy_protocol_policy","aws_qldb_ledger","aws_qldb_stream","aws_quicksight_group","aws_quicksight_user","aws_ram_principal_association","aws_ram_resource_association","aws_ram_resource_share","aws_ram_resource_share_accepter","aws_rds_cluster","aws_rds_cluster_activity_stream","aws_rds_cluster_endpoint","aws_rds_cluster_instance","aws_rds_cluster_parameter_group","aws_rds_cluster_role_association","aws_rds_global_cluster","aws_redshift_authentication_profile","aws_redshift_cluster","aws_redshift_event_subscription","aws_redshift_hsm_client_certificate","aws_redshift_hsm_configuration","aws_redshift_parameter_group","aws_redshift_scheduled_action","aws_redshift_snapshot_copy_grant","aws_redshift_snapshot_schedule","aws_redshift_snapshot_schedule_association","aws_redshift_subnet_group","aws_redshift_usage_limit","aws_redshiftserverless_endpoint_access","aws_redshiftserverless_namespace","aws_redshiftserverless_resource_policy","aws_redshiftserverless_snapshot","aws_redshiftserverless_usage_limit","aws_redshiftserverless_workgroup","aws_resourcegroups_group","aws_rolesanywhere_profile","aws_route","aws_route53_delegation_set","aws_route53_health_check","aws_route53_hosted_zone_dnssec","aws_route53_record","aws_route53_resolver_config","aws_route53_resolver_endpoint","aws_route53_resolver_rule","aws_route53_resolver_rule_association","aws_route53_traffic_policy","aws_route53_traffic_policy_instance","aws_route53_vpc_association_authorization","aws_route53_zone","aws_route53_zone_association","aws_route53recoverycontrolconfig_cluster","aws_route53recoverycontrolconfig_control_panel","aws_route53recoverycontrolconfig_routing_control","aws_route53recoverycontrolconfig_safety_rule","aws_route53recoveryreadiness_cell","aws_route53recoveryreadiness_readiness_check","aws_route53recoveryreadiness_recovery_group","aws_route53recoveryreadiness_resource_set","aws_route_table","aws_route_table_association","aws_rum_app_monitor","aws_rum_metrics_destination","aws_s3_access_point","aws_s3_account_public_access_block","aws_s3_bucket","aws_s3_bucket_accelerate_configuration","aws_s3_bucket_acl","aws_s3_bucket_analytics_configuration","aws_s3_bucket_cors_configuration","aws_s3_bucket_intelligent_tiering_configuration","aws_s3_bucket_inventory","aws_s3_bucket_lifecycle_configuration","aws_s3_bucket_logging","aws_s3_bucket_metric","aws_s3_bucket_notification","aws_s3_bucket_object","aws_s3_bucket_object_lock_configuration","aws_s3_bucket_ownership_controls","aws_s3_bucket_policy","aws_s3_bucket_public_access_block","aws_s3_bucket_replication_configuration","aws_s3_bucket_request_payment_configuration","aws_s3_bucket_server_side_encryption_configuration","aws_s3_bucket_versioning","aws_s3_bucket_website_configuration","aws_s3_object","aws_s3_object_copy","aws_s3control_access_point_policy","aws_s3control_multi_region_access_point","aws_s3control_multi_region_access_point_policy","aws_s3control_object_lambda_access_point","aws_s3control_object_lambda_access_point_policy","aws_s3control_storage_lens_configuration","aws_sagemaker_app","aws_sagemaker_app_image_config","aws_sagemaker_code_repository","aws_sagemaker_device","aws_sagemaker_device_fleet","aws_sagemaker_domain","aws_sagemaker_endpoint_configuration","aws_sagemaker_feature_group","aws_sagemaker_image","aws_sagemaker_image_version","aws_sagemaker_model","aws_sagemaker_model_package_group","aws_sagemaker_model_package_group_policy","aws_sagemaker_notebook_instance","aws_sagemaker_notebook_instance_lifecycle_configuration","aws_sagemaker_servicecatalog_portfolio_status","aws_sagemaker_space","aws_sagemaker_studio_lifecycle_config","aws_sagemaker_user_profile","aws_sagemaker_workforce","aws_sagemaker_workteam","aws_scheduler_schedule","aws_scheduler_schedule_group","aws_schemas_discoverer","aws_schemas_registry","aws_schemas_schema","aws_secretsmanager_secret","aws_secretsmanager_secret_policy","aws_secretsmanager_secret_rotation","aws_secretsmanager_secret_version","aws_security_group","aws_security_group_rule","aws_securityhub_account","aws_securityhub_action_target","aws_securityhub_finding_aggregator","aws_securityhub_insight","aws_securityhub_invite_accepter","aws_securityhub_member","aws_securityhub_product_subscription","aws_securityhub_standards_subscription","aws_serverlessapplicationrepository_cloudformation_stack","aws_service_discovery_http_namespace","aws_service_discovery_private_dns_namespace","aws_service_discovery_public_dns_namespace","aws_service_discovery_service","aws_servicecatalog_budget_resource_association","aws_servicecatalog_constraint","aws_servicecatalog_portfolio","aws_servicecatalog_portfolio_share","aws_servicecatalog_principal_portfolio_association","aws_servicecatalog_product","aws_servicecatalog_product_portfolio_association","aws_servicecatalog_provisioning_artifact","aws_servicecatalog_service_action","aws_servicecatalog_tag_option","aws_servicecatalog_tag_option_resource_association","aws_servicequotas_service_quota","aws_ses_active_receipt_rule_set","aws_ses_configuration_set","aws_ses_domain_dkim","aws_ses_domain_identity","aws_ses_domain_mail_from","aws_ses_email_identity","aws_ses_event_destination","aws_ses_identity_notification_topic","aws_ses_identity_policy","aws_ses_receipt_filter","aws_ses_receipt_rule","aws_ses_receipt_rule_set","aws_ses_template","aws_sesv2_configuration_set","aws_sesv2_configuration_set_event_destination","aws_sesv2_dedicated_ip_pool","aws_sesv2_email_identity","aws_sesv2_email_identity_feedback_attributes","aws_sesv2_email_identity_mail_from_attributes","aws_sfn_activity","aws_sfn_state_machine","aws_signer_signing_job","aws_signer_signing_profile","aws_signer_signing_profile_permission","aws_simpledb_domain","aws_snapshot_create_volume_permission","aws_sns_platform_application","aws_sns_sms_preferences","aws_sns_topic","aws_sns_topic_policy","aws_sns_topic_subscription","aws_spot_datafeed_subscription","aws_spot_fleet_request","aws_spot_instance_request","aws_sqs_queue","aws_sqs_queue_policy","aws_sqs_queue_redrive_allow_policy","aws_sqs_queue_redrive_policy","aws_ssm_activation","aws_ssm_association","aws_ssm_default_patch_baseline","aws_ssm_document","aws_ssm_maintenance_window","aws_ssm_maintenance_window_target","aws_ssm_maintenance_window_task","aws_ssm_parameter","aws_ssm_patch_baseline","aws_ssm_patch_group","aws_ssm_resource_data_sync","aws_ssm_service_setting","aws_ssoadmin_account_assignment","aws_ssoadmin_managed_policy_attachment","aws_ssoadmin_permission_set","aws_ssoadmin_permission_set_inline_policy","aws_subnet","aws_swf_domain","aws_timestreamwrite_database","aws_timestreamwrite_table","aws_transcribe_language_model","aws_transcribe_vocabulary","aws_transcribe_vocabulary_filter","aws_transfer_server","aws_transfer_ssh_key","aws_transfer_tag","aws_transfer_user","aws_transfer_workflow","aws_volume_attachment","aws_vpc","aws_vpc_dhcp_options","aws_vpc_dhcp_options_association","aws_vpc_endpoint","aws_vpc_endpoint_connection_notification","aws_vpc_endpoint_route_table_association","aws_vpc_endpoint_security_group_association","aws_vpc_endpoint_service","aws_vpc_endpoint_service_allowed_principal","aws_vpc_endpoint_subnet_association","aws_vpc_ipam","aws_vpc_ipam_pool","aws_vpc_ipam_pool_cidr","aws_vpc_ipam_pool_cidr_allocation","aws_vpc_ipam_scope","aws_vpc_ipv4_cidr_block_association","aws_vpc_network_performance_metric_subscription","aws_vpc_peering_connection","aws_vpc_peering_connection_accepter","aws_vpc_peering_connection_options","aws_vpn_connection","aws_vpn_connection_route","aws_vpn_gateway","aws_vpn_gateway_attachment","aws_vpn_gateway_route_propagation","aws_waf_byte_match_set","aws_waf_geo_match_set","aws_waf_ipset","aws_waf_rate_based_rule","aws_waf_regex_match_set","aws_waf_regex_pattern_set","aws_waf_rule","aws_waf_size_constraint_set","aws_waf_sql_injection_match_set","aws_waf_web_acl","aws_waf_xss_match_set","aws_wafregional_byte_match_set","aws_wafregional_geo_match_set","aws_wafregional_ipset","aws_wafregional_rate_based_rule","aws_wafregional_regex_match_set","aws_wafregional_regex_pattern_set","aws_wafregional_rule","aws_wafregional_size_constraint_set","aws_wafregional_sql_injection_match_set","aws_wafregional_web_acl","aws_wafregional_xss_match_set","aws_wafv2_ip_set","aws_wafv2_regex_pattern_set","aws_workspaces_directory","aws_workspaces_ip_group","aws_xray_encryption_config","aws_xray_group","aws_xray_sampling_rule"] \ No newline at end of file +["aws_accessanalyzer_analyzer","aws_accessanalyzer_archive_rule","aws_account_alternate_contact","aws_acm_certificate","aws_acm_certificate_validation","aws_acmpca_certificate","aws_acmpca_certificate_authority","aws_acmpca_certificate_authority_certificate","aws_acmpca_permission","aws_acmpca_policy","aws_ami","aws_ami_copy","aws_ami_launch_permission","aws_amplify_app","aws_amplify_backend_environment","aws_amplify_branch","aws_amplify_webhook","aws_api_gateway_account","aws_api_gateway_api_key","aws_api_gateway_authorizer","aws_api_gateway_base_path_mapping","aws_api_gateway_client_certificate","aws_api_gateway_deployment","aws_api_gateway_documentation_part","aws_api_gateway_documentation_version","aws_api_gateway_domain_name","aws_api_gateway_gateway_response","aws_api_gateway_integration","aws_api_gateway_integration_response","aws_api_gateway_method","aws_api_gateway_method_response","aws_api_gateway_method_settings","aws_api_gateway_model","aws_api_gateway_request_validator","aws_api_gateway_resource","aws_api_gateway_rest_api","aws_api_gateway_rest_api_policy","aws_api_gateway_stage","aws_api_gateway_usage_plan","aws_api_gateway_usage_plan_key","aws_api_gateway_vpc_link","aws_apigatewayv2_api","aws_apigatewayv2_api_mapping","aws_apigatewayv2_authorizer","aws_apigatewayv2_deployment","aws_apigatewayv2_domain_name","aws_apigatewayv2_integration","aws_apigatewayv2_integration_response","aws_apigatewayv2_model","aws_apigatewayv2_route","aws_apigatewayv2_route_response","aws_apigatewayv2_stage","aws_apigatewayv2_vpc_link","aws_app_cookie_stickiness_policy","aws_appautoscaling_policy","aws_appautoscaling_scheduled_action","aws_appautoscaling_target","aws_appconfig_application","aws_appconfig_configuration_profile","aws_appconfig_deployment","aws_appconfig_deployment_strategy","aws_appconfig_environment","aws_appconfig_extension","aws_appconfig_extension_association","aws_appconfig_hosted_configuration_version","aws_appflow_flow","aws_appintegrations_event_integration","aws_applicationinsights_application","aws_appmesh_gateway_route","aws_appmesh_mesh","aws_appmesh_route","aws_appmesh_virtual_gateway","aws_appmesh_virtual_node","aws_appmesh_virtual_router","aws_appmesh_virtual_service","aws_apprunner_auto_scaling_configuration_version","aws_apprunner_connection","aws_apprunner_observability_configuration","aws_apprunner_service","aws_apprunner_vpc_connector","aws_appstream_directory_config","aws_appstream_fleet","aws_appstream_fleet_stack_association","aws_appstream_image_builder","aws_appstream_stack","aws_appstream_user","aws_appstream_user_stack_association","aws_appsync_api_cache","aws_appsync_api_key","aws_appsync_datasource","aws_appsync_function","aws_appsync_graphql_api","aws_appsync_resolver","aws_athena_data_catalog","aws_athena_database","aws_athena_named_query","aws_athena_workgroup","aws_autoscaling_attachment","aws_autoscaling_group","aws_autoscaling_group_tag","aws_autoscaling_lifecycle_hook","aws_autoscaling_notification","aws_autoscaling_policy","aws_autoscaling_schedule","aws_autoscalingplans_scaling_plan","aws_backup_framework","aws_backup_global_settings","aws_backup_plan","aws_backup_region_settings","aws_backup_report_plan","aws_backup_selection","aws_backup_vault","aws_backup_vault_lock_configuration","aws_backup_vault_notifications","aws_backup_vault_policy","aws_batch_job_definition","aws_batch_scheduling_policy","aws_budgets_budget","aws_budgets_budget_action","aws_ce_anomaly_monitor","aws_chime_voice_connector","aws_chime_voice_connector_group","aws_chime_voice_connector_logging","aws_chime_voice_connector_origination","aws_chime_voice_connector_streaming","aws_chime_voice_connector_termination","aws_chime_voice_connector_termination_credentials","aws_cloud9_environment_ec2","aws_cloud9_environment_membership","aws_cloudcontrolapi_resource","aws_cloudformation_stack","aws_cloudformation_stack_set","aws_cloudfront_cache_policy","aws_cloudfront_distribution","aws_cloudfront_field_level_encryption_config","aws_cloudfront_field_level_encryption_profile","aws_cloudfront_function","aws_cloudfront_key_group","aws_cloudfront_monitoring_subscription","aws_cloudfront_origin_access_control","aws_cloudfront_origin_access_identity","aws_cloudfront_origin_request_policy","aws_cloudfront_public_key","aws_cloudfront_realtime_log_config","aws_cloudfront_response_headers_policy","aws_cloudsearch_domain","aws_cloudsearch_domain_service_access_policy","aws_cloudtrail","aws_cloudtrail_event_data_store","aws_cloudwatch_composite_alarm","aws_cloudwatch_dashboard","aws_cloudwatch_event_api_destination","aws_cloudwatch_event_archive","aws_cloudwatch_event_bus","aws_cloudwatch_event_bus_policy","aws_cloudwatch_event_connection","aws_cloudwatch_event_permission","aws_cloudwatch_event_rule","aws_cloudwatch_event_target","aws_cloudwatch_log_destination","aws_cloudwatch_log_destination_policy","aws_cloudwatch_log_group","aws_cloudwatch_log_metric_filter","aws_cloudwatch_log_resource_policy","aws_cloudwatch_log_stream","aws_cloudwatch_log_subscription_filter","aws_cloudwatch_metric_alarm","aws_cloudwatch_metric_stream","aws_cloudwatch_query_definition","aws_codecommit_approval_rule_template","aws_codecommit_approval_rule_template_association","aws_codecommit_repository","aws_codecommit_trigger","aws_codedeploy_app","aws_codedeploy_deployment_config","aws_codedeploy_deployment_group","aws_codepipeline","aws_codepipeline_custom_action_type","aws_codepipeline_webhook","aws_codestarconnections_connection","aws_codestarconnections_host","aws_codestarnotifications_notification_rule","aws_cognito_identity_pool","aws_cognito_identity_pool_provider_principal_tag","aws_cognito_identity_pool_roles_attachment","aws_cognito_identity_provider","aws_cognito_resource_server","aws_cognito_risk_configuration","aws_cognito_user","aws_cognito_user_group","aws_cognito_user_in_group","aws_cognito_user_pool","aws_cognito_user_pool_client","aws_cognito_user_pool_domain","aws_cognito_user_pool_ui_customization","aws_config_config_rule","aws_config_configuration_aggregator","aws_config_configuration_recorder","aws_config_configuration_recorder_status","aws_config_conformance_pack","aws_config_delivery_channel","aws_config_remediation_configuration","aws_connect_bot_association","aws_connect_contact_flow","aws_connect_contact_flow_module","aws_connect_hours_of_operation","aws_connect_instance","aws_connect_instance_storage_config","aws_connect_lambda_function_association","aws_connect_phone_number","aws_connect_queue","aws_connect_quick_connect","aws_connect_routing_profile","aws_connect_security_profile","aws_connect_user","aws_connect_user_hierarchy_structure","aws_connect_vocabulary","aws_cur_report_definition","aws_customer_gateway","aws_dataexchange_data_set","aws_dataexchange_revision","aws_datapipeline_pipeline","aws_datasync_location_s3","aws_datasync_task","aws_dax_cluster","aws_dax_parameter_group","aws_dax_subnet_group","aws_db_cluster_snapshot","aws_db_event_subscription","aws_db_instance","aws_db_instance_automated_backups_replication","aws_db_instance_role_association","aws_db_option_group","aws_db_parameter_group","aws_db_proxy","aws_db_proxy_default_target_group","aws_db_proxy_endpoint","aws_db_proxy_target","aws_db_snapshot","aws_db_snapshot_copy","aws_db_subnet_group","aws_default_network_acl","aws_default_route_table","aws_default_security_group","aws_default_subnet","aws_default_vpc","aws_default_vpc_dhcp_options","aws_detective_graph","aws_detective_invitation_accepter","aws_detective_member","aws_devicefarm_device_pool","aws_devicefarm_instance_profile","aws_devicefarm_network_profile","aws_devicefarm_project","aws_devicefarm_test_grid_project","aws_devicefarm_upload","aws_directory_service_conditional_forwarder","aws_directory_service_directory","aws_directory_service_shared_directory","aws_dlm_lifecycle_policy","aws_dms_certificate","aws_dms_endpoint","aws_dms_event_subscription","aws_dms_replication_instance","aws_dms_replication_subnet_group","aws_dms_replication_task","aws_dms_s3_endpoint","aws_docdb_cluster","aws_docdb_cluster_instance","aws_docdb_cluster_parameter_group","aws_docdb_cluster_snapshot","aws_docdb_event_subscription","aws_docdb_global_cluster","aws_docdb_subnet_group","aws_dx_bgp_peer","aws_dx_connection","aws_dx_connection_association","aws_dx_gateway","aws_dx_gateway_association","aws_dx_gateway_association_proposal","aws_dx_hosted_private_virtual_interface","aws_dx_hosted_private_virtual_interface_accepter","aws_dx_hosted_public_virtual_interface","aws_dx_hosted_public_virtual_interface_accepter","aws_dx_hosted_transit_virtual_interface","aws_dx_hosted_transit_virtual_interface_accepter","aws_dx_lag","aws_dx_private_virtual_interface","aws_dx_public_virtual_interface","aws_dx_transit_virtual_interface","aws_dynamodb_contributor_insights","aws_dynamodb_global_table","aws_dynamodb_kinesis_streaming_destination","aws_dynamodb_table","aws_dynamodb_table_item","aws_dynamodb_table_replica","aws_dynamodb_tag","aws_ebs_default_kms_key","aws_ebs_encryption_by_default","aws_ebs_snapshot","aws_ebs_snapshot_copy","aws_ebs_snapshot_import","aws_ebs_volume","aws_ec2_availability_zone_group","aws_ec2_capacity_reservation","aws_ec2_carrier_gateway","aws_ec2_host","aws_ec2_instance_state","aws_ec2_managed_prefix_list","aws_ec2_managed_prefix_list_entry","aws_ec2_network_insights_analysis","aws_ec2_network_insights_path","aws_ec2_serial_console_access","aws_ec2_subnet_cidr_reservation","aws_ec2_tag","aws_ec2_traffic_mirror_filter","aws_ec2_traffic_mirror_filter_rule","aws_ec2_transit_gateway","aws_ec2_transit_gateway_connect","aws_ec2_transit_gateway_connect_peer","aws_ec2_transit_gateway_multicast_domain","aws_ec2_transit_gateway_multicast_domain_association","aws_ec2_transit_gateway_multicast_group_member","aws_ec2_transit_gateway_multicast_group_source","aws_ec2_transit_gateway_peering_attachment","aws_ec2_transit_gateway_peering_attachment_accepter","aws_ec2_transit_gateway_policy_table","aws_ec2_transit_gateway_prefix_list_reference","aws_ec2_transit_gateway_route","aws_ec2_transit_gateway_route_table","aws_ec2_transit_gateway_route_table_association","aws_ec2_transit_gateway_route_table_propagation","aws_ec2_transit_gateway_vpc_attachment","aws_ec2_transit_gateway_vpc_attachment_accepter","aws_ecr_lifecycle_policy","aws_ecr_pull_through_cache_rule","aws_ecr_registry_policy","aws_ecr_registry_scanning_configuration","aws_ecr_replication_configuration","aws_ecr_repository","aws_ecr_repository_policy","aws_ecrpublic_repository","aws_ecrpublic_repository_policy","aws_ecs_account_setting_default","aws_ecs_capacity_provider","aws_ecs_cluster","aws_ecs_cluster_capacity_providers","aws_ecs_service","aws_ecs_task_definition","aws_efs_access_point","aws_efs_backup_policy","aws_efs_file_system","aws_efs_file_system_policy","aws_efs_mount_target","aws_efs_replication_configuration","aws_egress_only_internet_gateway","aws_eip","aws_eip_association","aws_eks_addon","aws_eks_cluster","aws_eks_fargate_profile","aws_eks_identity_provider_config","aws_eks_node_group","aws_elastic_beanstalk_application","aws_elastic_beanstalk_application_version","aws_elastic_beanstalk_configuration_template","aws_elasticache_cluster","aws_elasticache_parameter_group","aws_elasticache_replication_group","aws_elasticache_subnet_group","aws_elasticache_user","aws_elasticache_user_group","aws_elasticsearch_domain","aws_elasticsearch_domain_policy","aws_elasticsearch_domain_saml_options","aws_elastictranscoder_pipeline","aws_elastictranscoder_preset","aws_elb","aws_elb_attachment","aws_emr_security_configuration","aws_emrserverless_application","aws_evidently_feature","aws_evidently_project","aws_evidently_segment","aws_fis_experiment_template","aws_flow_log","aws_fsx_backup","aws_fsx_data_repository_association","aws_fsx_lustre_file_system","aws_fsx_ontap_file_system","aws_fsx_ontap_storage_virtual_machine","aws_fsx_windows_file_system","aws_gamelift_alias","aws_gamelift_build","aws_gamelift_fleet","aws_gamelift_game_session_queue","aws_gamelift_script","aws_glacier_vault","aws_glacier_vault_lock","aws_globalaccelerator_accelerator","aws_globalaccelerator_endpoint_group","aws_globalaccelerator_listener","aws_glue_catalog_database","aws_glue_catalog_table","aws_glue_classifier","aws_glue_connection","aws_glue_crawler","aws_glue_data_catalog_encryption_settings","aws_glue_job","aws_glue_registry","aws_glue_resource_policy","aws_glue_schema","aws_glue_security_configuration","aws_glue_trigger","aws_glue_user_defined_function","aws_glue_workflow","aws_grafana_license_association","aws_grafana_role_association","aws_grafana_workspace","aws_grafana_workspace_api_key","aws_grafana_workspace_saml_configuration","aws_guardduty_detector","aws_guardduty_filter","aws_guardduty_member","aws_iam_access_key","aws_iam_account_alias","aws_iam_account_password_policy","aws_iam_group","aws_iam_group_membership","aws_iam_group_policy_attachment","aws_iam_instance_profile","aws_iam_openid_connect_provider","aws_iam_policy","aws_iam_role","aws_iam_role_policy","aws_iam_role_policy_attachment","aws_iam_saml_provider","aws_iam_server_certificate","aws_iam_service_linked_role","aws_iam_service_specific_credential","aws_iam_signing_certificate","aws_iam_user","aws_iam_user_group_membership","aws_iam_user_login_profile","aws_iam_user_policy_attachment","aws_iam_user_ssh_key","aws_iam_virtual_mfa_device","aws_imagebuilder_component","aws_imagebuilder_container_recipe","aws_imagebuilder_distribution_configuration","aws_imagebuilder_image","aws_imagebuilder_image_pipeline","aws_imagebuilder_image_recipe","aws_imagebuilder_infrastructure_configuration","aws_inspector2_enabler","aws_inspector_assessment_target","aws_inspector_assessment_template","aws_inspector_resource_group","aws_instance","aws_internet_gateway","aws_iot_certificate","aws_iot_indexing_configuration","aws_iot_logging_options","aws_iot_policy","aws_iot_policy_attachment","aws_iot_provisioning_template","aws_iot_role_alias","aws_iot_thing","aws_iot_thing_group","aws_iot_thing_group_membership","aws_iot_thing_principal_attachment","aws_iot_thing_type","aws_iot_topic_rule","aws_ivs_channel","aws_ivs_recording_configuration","aws_kendra_data_source","aws_kendra_experience","aws_kendra_index","aws_kendra_query_suggestions_block_list","aws_kendra_thesaurus","aws_key_pair","aws_keyspaces_keyspace","aws_keyspaces_table","aws_kinesis_analytics_application","aws_kinesis_firehose_delivery_stream","aws_kinesis_stream","aws_kinesis_stream_consumer","aws_kinesis_video_stream","aws_kinesisanalyticsv2_application","aws_kinesisanalyticsv2_application_snapshot","aws_kms_alias","aws_kms_ciphertext","aws_kms_external_key","aws_kms_grant","aws_kms_key","aws_kms_replica_external_key","aws_kms_replica_key","aws_lakeformation_data_lake_settings","aws_lakeformation_permissions","aws_lakeformation_resource","aws_lambda_alias","aws_lambda_code_signing_config","aws_lambda_event_source_mapping","aws_lambda_function","aws_lambda_function_event_invoke_config","aws_lambda_function_url","aws_lambda_invocation","aws_lambda_layer_version","aws_lambda_layer_version_permission","aws_lambda_permission","aws_lambda_provisioned_concurrency_config","aws_launch_configuration","aws_launch_template","aws_lb","aws_lb_cookie_stickiness_policy","aws_lb_listener","aws_lb_listener_rule","aws_lb_ssl_negotiation_policy","aws_lb_target_group","aws_lb_target_group_attachment","aws_lex_bot","aws_lex_bot_alias","aws_lex_intent","aws_lex_slot_type","aws_licensemanager_association","aws_licensemanager_license_configuration","aws_lightsail_bucket","aws_lightsail_certificate","aws_lightsail_container_service","aws_lightsail_disk","aws_lightsail_disk_attachment","aws_lightsail_domain","aws_lightsail_domain_entry","aws_lightsail_instance","aws_lightsail_instance_public_ports","aws_lightsail_key_pair","aws_lightsail_lb","aws_lightsail_lb_attachment","aws_lightsail_lb_certificate","aws_lightsail_lb_stickiness_policy","aws_lightsail_static_ip","aws_lightsail_static_ip_attachment","aws_load_balancer_backend_server_policy","aws_load_balancer_listener_policy","aws_load_balancer_policy","aws_location_geofence_collection","aws_location_place_index","aws_location_route_calculator","aws_location_tracker","aws_location_tracker_association","aws_macie2_account","aws_macie2_classification_job","aws_macie2_custom_data_identifier","aws_macie2_findings_filter","aws_macie2_invitation_accepter","aws_macie2_member","aws_main_route_table_association","aws_media_convert_queue","aws_media_package_channel","aws_media_store_container","aws_media_store_container_policy","aws_medialive_channel","aws_medialive_input","aws_medialive_input_security_group","aws_medialive_multiplex","aws_memorydb_acl","aws_memorydb_cluster","aws_memorydb_parameter_group","aws_memorydb_snapshot","aws_memorydb_subnet_group","aws_mq_broker","aws_mq_configuration","aws_msk_cluster","aws_msk_configuration","aws_msk_scram_secret_association","aws_nat_gateway","aws_neptune_cluster","aws_neptune_cluster_endpoint","aws_neptune_cluster_instance","aws_neptune_cluster_parameter_group","aws_neptune_cluster_snapshot","aws_neptune_event_subscription","aws_neptune_global_cluster","aws_neptune_parameter_group","aws_neptune_subnet_group","aws_network_acl","aws_network_acl_rule","aws_network_interface","aws_network_interface_attachment","aws_network_interface_sg_attachment","aws_networkfirewall_firewall","aws_networkfirewall_firewall_policy","aws_networkfirewall_logging_configuration","aws_networkfirewall_rule_group","aws_networkmanager_attachment_accepter","aws_networkmanager_connect_attachment","aws_networkmanager_connection","aws_networkmanager_core_network","aws_networkmanager_customer_gateway_association","aws_networkmanager_device","aws_networkmanager_global_network","aws_networkmanager_link","aws_networkmanager_link_association","aws_networkmanager_site","aws_networkmanager_transit_gateway_connect_peer_association","aws_networkmanager_transit_gateway_registration","aws_networkmanager_vpc_attachment","aws_opensearch_domain","aws_opensearch_domain_policy","aws_opensearch_domain_saml_options","aws_opsworks_application","aws_opsworks_custom_layer","aws_opsworks_ecs_cluster_layer","aws_opsworks_ganglia_layer","aws_opsworks_haproxy_layer","aws_opsworks_instance","aws_opsworks_java_app_layer","aws_opsworks_memcached_layer","aws_opsworks_mysql_layer","aws_opsworks_nodejs_app_layer","aws_opsworks_permission","aws_opsworks_php_app_layer","aws_opsworks_rails_app_layer","aws_opsworks_rds_db_instance","aws_opsworks_stack","aws_opsworks_static_web_layer","aws_opsworks_user_profile","aws_organizations_account","aws_organizations_delegated_administrator","aws_organizations_organization","aws_organizations_organizational_unit","aws_organizations_policy","aws_organizations_policy_attachment","aws_pinpoint_app","aws_pinpoint_sms_channel","aws_placement_group","aws_prometheus_alert_manager_definition","aws_prometheus_rule_group_namespace","aws_prometheus_workspace","aws_proxy_protocol_policy","aws_qldb_ledger","aws_qldb_stream","aws_quicksight_group","aws_quicksight_user","aws_ram_principal_association","aws_ram_resource_association","aws_ram_resource_share","aws_ram_resource_share_accepter","aws_rds_cluster","aws_rds_cluster_activity_stream","aws_rds_cluster_endpoint","aws_rds_cluster_instance","aws_rds_cluster_parameter_group","aws_rds_cluster_role_association","aws_rds_global_cluster","aws_redshift_authentication_profile","aws_redshift_cluster","aws_redshift_event_subscription","aws_redshift_hsm_client_certificate","aws_redshift_hsm_configuration","aws_redshift_parameter_group","aws_redshift_scheduled_action","aws_redshift_snapshot_copy_grant","aws_redshift_snapshot_schedule","aws_redshift_snapshot_schedule_association","aws_redshift_subnet_group","aws_redshift_usage_limit","aws_redshiftserverless_endpoint_access","aws_redshiftserverless_namespace","aws_redshiftserverless_resource_policy","aws_redshiftserverless_snapshot","aws_redshiftserverless_usage_limit","aws_redshiftserverless_workgroup","aws_resourcegroups_group","aws_rolesanywhere_profile","aws_route","aws_route53_delegation_set","aws_route53_health_check","aws_route53_hosted_zone_dnssec","aws_route53_record","aws_route53_resolver_config","aws_route53_resolver_endpoint","aws_route53_resolver_rule","aws_route53_resolver_rule_association","aws_route53_traffic_policy","aws_route53_traffic_policy_instance","aws_route53_vpc_association_authorization","aws_route53_zone","aws_route53_zone_association","aws_route53recoverycontrolconfig_cluster","aws_route53recoverycontrolconfig_control_panel","aws_route53recoverycontrolconfig_routing_control","aws_route53recoverycontrolconfig_safety_rule","aws_route53recoveryreadiness_cell","aws_route53recoveryreadiness_readiness_check","aws_route53recoveryreadiness_recovery_group","aws_route53recoveryreadiness_resource_set","aws_route_table","aws_route_table_association","aws_rum_app_monitor","aws_rum_metrics_destination","aws_s3_access_point","aws_s3_account_public_access_block","aws_s3_bucket","aws_s3_bucket_accelerate_configuration","aws_s3_bucket_acl","aws_s3_bucket_analytics_configuration","aws_s3_bucket_cors_configuration","aws_s3_bucket_intelligent_tiering_configuration","aws_s3_bucket_inventory","aws_s3_bucket_lifecycle_configuration","aws_s3_bucket_logging","aws_s3_bucket_metric","aws_s3_bucket_notification","aws_s3_bucket_object","aws_s3_bucket_object_lock_configuration","aws_s3_bucket_ownership_controls","aws_s3_bucket_policy","aws_s3_bucket_public_access_block","aws_s3_bucket_replication_configuration","aws_s3_bucket_request_payment_configuration","aws_s3_bucket_server_side_encryption_configuration","aws_s3_bucket_versioning","aws_s3_bucket_website_configuration","aws_s3_object","aws_s3_object_copy","aws_s3control_access_point_policy","aws_s3control_multi_region_access_point","aws_s3control_multi_region_access_point_policy","aws_s3control_object_lambda_access_point","aws_s3control_object_lambda_access_point_policy","aws_s3control_storage_lens_configuration","aws_sagemaker_app","aws_sagemaker_app_image_config","aws_sagemaker_code_repository","aws_sagemaker_device","aws_sagemaker_device_fleet","aws_sagemaker_domain","aws_sagemaker_endpoint_configuration","aws_sagemaker_feature_group","aws_sagemaker_image","aws_sagemaker_image_version","aws_sagemaker_model","aws_sagemaker_model_package_group","aws_sagemaker_model_package_group_policy","aws_sagemaker_notebook_instance","aws_sagemaker_notebook_instance_lifecycle_configuration","aws_sagemaker_servicecatalog_portfolio_status","aws_sagemaker_space","aws_sagemaker_studio_lifecycle_config","aws_sagemaker_user_profile","aws_sagemaker_workforce","aws_sagemaker_workteam","aws_scheduler_schedule","aws_scheduler_schedule_group","aws_schemas_discoverer","aws_schemas_registry","aws_schemas_schema","aws_secretsmanager_secret","aws_secretsmanager_secret_policy","aws_secretsmanager_secret_rotation","aws_secretsmanager_secret_version","aws_security_group","aws_security_group_rule","aws_securityhub_account","aws_securityhub_action_target","aws_securityhub_finding_aggregator","aws_securityhub_insight","aws_securityhub_invite_accepter","aws_securityhub_member","aws_securityhub_product_subscription","aws_securityhub_standards_subscription","aws_serverlessapplicationrepository_cloudformation_stack","aws_service_discovery_http_namespace","aws_service_discovery_private_dns_namespace","aws_service_discovery_public_dns_namespace","aws_service_discovery_service","aws_servicecatalog_budget_resource_association","aws_servicecatalog_constraint","aws_servicecatalog_portfolio","aws_servicecatalog_portfolio_share","aws_servicecatalog_principal_portfolio_association","aws_servicecatalog_product","aws_servicecatalog_product_portfolio_association","aws_servicecatalog_provisioning_artifact","aws_servicecatalog_service_action","aws_servicecatalog_tag_option","aws_servicecatalog_tag_option_resource_association","aws_servicequotas_service_quota","aws_ses_active_receipt_rule_set","aws_ses_configuration_set","aws_ses_domain_dkim","aws_ses_domain_identity","aws_ses_domain_mail_from","aws_ses_email_identity","aws_ses_event_destination","aws_ses_identity_notification_topic","aws_ses_identity_policy","aws_ses_receipt_filter","aws_ses_receipt_rule","aws_ses_receipt_rule_set","aws_ses_template","aws_sesv2_configuration_set","aws_sesv2_configuration_set_event_destination","aws_sesv2_dedicated_ip_pool","aws_sesv2_email_identity","aws_sesv2_email_identity_feedback_attributes","aws_sesv2_email_identity_mail_from_attributes","aws_sfn_activity","aws_sfn_state_machine","aws_signer_signing_job","aws_signer_signing_profile","aws_signer_signing_profile_permission","aws_simpledb_domain","aws_snapshot_create_volume_permission","aws_sns_platform_application","aws_sns_sms_preferences","aws_sns_topic","aws_sns_topic_policy","aws_sns_topic_subscription","aws_spot_datafeed_subscription","aws_spot_fleet_request","aws_spot_instance_request","aws_sqs_queue","aws_sqs_queue_policy","aws_sqs_queue_redrive_allow_policy","aws_sqs_queue_redrive_policy","aws_ssm_activation","aws_ssm_association","aws_ssm_default_patch_baseline","aws_ssm_document","aws_ssm_maintenance_window","aws_ssm_maintenance_window_target","aws_ssm_maintenance_window_task","aws_ssm_parameter","aws_ssm_patch_baseline","aws_ssm_patch_group","aws_ssm_resource_data_sync","aws_ssm_service_setting","aws_ssoadmin_account_assignment","aws_ssoadmin_managed_policy_attachment","aws_ssoadmin_permission_set","aws_ssoadmin_permission_set_inline_policy","aws_subnet","aws_swf_domain","aws_timestreamwrite_database","aws_timestreamwrite_table","aws_transcribe_language_model","aws_transcribe_vocabulary","aws_transcribe_vocabulary_filter","aws_transfer_server","aws_transfer_ssh_key","aws_transfer_tag","aws_transfer_user","aws_transfer_workflow","aws_volume_attachment","aws_vpc","aws_vpc_dhcp_options","aws_vpc_dhcp_options_association","aws_vpc_endpoint","aws_vpc_endpoint_connection_notification","aws_vpc_endpoint_route_table_association","aws_vpc_endpoint_security_group_association","aws_vpc_endpoint_service","aws_vpc_endpoint_service_allowed_principal","aws_vpc_endpoint_subnet_association","aws_vpc_ipam","aws_vpc_ipam_pool","aws_vpc_ipam_pool_cidr","aws_vpc_ipam_pool_cidr_allocation","aws_vpc_ipam_scope","aws_vpc_ipv4_cidr_block_association","aws_vpc_network_performance_metric_subscription","aws_vpc_peering_connection","aws_vpc_peering_connection_accepter","aws_vpc_peering_connection_options","aws_vpn_connection","aws_vpn_connection_route","aws_vpn_gateway","aws_vpn_gateway_attachment","aws_vpn_gateway_route_propagation","aws_waf_byte_match_set","aws_waf_geo_match_set","aws_waf_ipset","aws_waf_rate_based_rule","aws_waf_regex_match_set","aws_waf_regex_pattern_set","aws_waf_rule","aws_waf_size_constraint_set","aws_waf_sql_injection_match_set","aws_waf_web_acl","aws_waf_xss_match_set","aws_wafregional_byte_match_set","aws_wafregional_geo_match_set","aws_wafregional_ipset","aws_wafregional_rate_based_rule","aws_wafregional_regex_match_set","aws_wafregional_regex_pattern_set","aws_wafregional_rule","aws_wafregional_size_constraint_set","aws_wafregional_sql_injection_match_set","aws_wafregional_web_acl","aws_wafregional_xss_match_set","aws_wafv2_ip_set","aws_wafv2_regex_pattern_set","aws_workspaces_directory","aws_workspaces_ip_group","aws_xray_encryption_config","aws_xray_group","aws_xray_sampling_rule"] diff --git a/config/groups.go b/config/groups.go index db2efb50cd..9908587f31 100644 --- a/config/groups.go +++ b/config/groups.go @@ -291,6 +291,8 @@ var GroupMap = map[string]GroupKindCalculator{ "aws_vpc_ipam_preview_next_cidr": ReplaceGroupWords("ec2", 0), "aws_vpc_ipam_scope": ReplaceGroupWords("ec2", 0), "aws_vpc_ipam": ReplaceGroupWords("ec2", 0), + "aws_vpc_security_group_egress_rule": ReplaceGroupWords("ec2", 0), + "aws_vpc_security_group_ingress_rule": ReplaceGroupWords("ec2", 0), "aws_vpc_ipv4_cidr_block_association": ReplaceGroupWords("ec2", 0), "aws_vpc_ipv6_cidr_block_association": ReplaceGroupWords("ec2", 0), "aws_vpc_peering_connection_accepter": ReplaceGroupWords("ec2", 0), diff --git a/examples-generated/ec2/vpcsecuritygroupegressrule.yaml b/examples-generated/ec2/vpcsecuritygroupegressrule.yaml new file mode 100644 index 0000000000..2ec405ed86 --- /dev/null +++ b/examples-generated/ec2/vpcsecuritygroupegressrule.yaml @@ -0,0 +1,18 @@ +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPCSecurityGroupEgressRule +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupegressrule + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + cidrIpv4: 10.0.0.0/8 + fromPort: 80 + ipProtocol: tcp + region: us-west-1 + securityGroupIdSelector: + matchLabels: + testing.upbound.io/example-name: example + toPort: 8080 diff --git a/examples-generated/ec2/vpcsecuritygroupingressrule.yaml b/examples-generated/ec2/vpcsecuritygroupingressrule.yaml new file mode 100644 index 0000000000..90fb8ed0eb --- /dev/null +++ b/examples-generated/ec2/vpcsecuritygroupingressrule.yaml @@ -0,0 +1,18 @@ +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPCSecurityGroupIngressRule +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupingressrule + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + cidrIpv4: 10.0.0.0/8 + fromPort: 80 + ipProtocol: tcp + region: us-west-1 + securityGroupIdSelector: + matchLabels: + testing.upbound.io/example-name: example + toPort: 8080 diff --git a/examples/ec2/vpcsecuritygroupegressrule.yaml b/examples/ec2/vpcsecuritygroupegressrule.yaml new file mode 100644 index 0000000000..54864014ed --- /dev/null +++ b/examples/ec2/vpcsecuritygroupegressrule.yaml @@ -0,0 +1,48 @@ +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPC +metadata: + annotations: + meta.upbound.io/example-id: vpc/v1beta1/securitygroupegressrule + name: sample-vpc + labels: + testing.upbound.io/example-name: example +spec: + forProvider: + region: us-west-1 + cidrBlock: 172.16.0.0/16 + tags: + Name: DemoVpc +--- +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: SecurityGroup +metadata: + annotations: + meta.upbound.io/example-id: vpc/v1beta1/securitygroupegressrule + name: example + labels: + testing.upbound.io/example-name: example +spec: + forProvider: + region: us-west-1 + vpcIdSelector: + matchLabels: + testing.upbound.io/example-name: example +--- +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPCSecurityGroupEgressRule +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupegressrule + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + cidrIpv4: 10.0.0.0/8 + fromPort: 80 + ipProtocol: tcp + region: us-west-1 + securityGroupIdSelector: + matchLabels: + testing.upbound.io/example-name: example + toPort: 8080 diff --git a/examples/ec2/vpcsecuritygroupingressrule.yaml b/examples/ec2/vpcsecuritygroupingressrule.yaml new file mode 100644 index 0000000000..5cb9a505ab --- /dev/null +++ b/examples/ec2/vpcsecuritygroupingressrule.yaml @@ -0,0 +1,48 @@ +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPC +metadata: + annotations: + meta.upbound.io/example-id: vpc/v1beta1/securitygroupingressrule + name: sample-vpc + labels: + testing.upbound.io/example-name: example +spec: + forProvider: + region: us-west-1 + cidrBlock: 172.16.0.0/16 + tags: + Name: DemoVpc +--- +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: SecurityGroup +metadata: + annotations: + meta.upbound.io/example-id: vpc/v1beta1/securitygroupingressrule + name: example + labels: + testing.upbound.io/example-name: example +spec: + forProvider: + region: us-west-1 + vpcIdSelector: + matchLabels: + testing.upbound.io/example-name: example +--- +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: VPCSecurityGroupIngressRule +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupingressrule + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + cidrIpv4: 10.0.0.0/8 + fromPort: 80 + ipProtocol: tcp + region: us-west-1 + securityGroupIdSelector: + matchLabels: + testing.upbound.io/example-name: example + toPort: 8080 diff --git a/internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go b/internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go new file mode 100755 index 0000000000..7545ceaf35 --- /dev/null +++ b/internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go @@ -0,0 +1,62 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package vpcsecuritygroupegressrule + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/controller/handler" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1" + features "github.com/upbound/provider-aws/internal/features" +) + +// Setup adds a controller that reconciles VPCSecurityGroupEgressRule managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_vpc_security_group_egress_rule"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) + } + eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["aws_vpc_security_group_egress_rule"], tjcontroller.WithLogger(o.Logger), tjcontroller.WithConnectorEventHandler(eventHandler), + tjcontroller.WithCallbackProvider(ac), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.VPCSecurityGroupEgressRule{}, eventHandler). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go b/internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go new file mode 100755 index 0000000000..b6c7eb0b28 --- /dev/null +++ b/internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go @@ -0,0 +1,62 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package vpcsecuritygroupingressrule + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/controller/handler" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1" + features "github.com/upbound/provider-aws/internal/features" +) + +// Setup adds a controller that reconciles VPCSecurityGroupIngressRule managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_vpc_security_group_ingress_rule"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) + } + eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["aws_vpc_security_group_ingress_rule"], tjcontroller.WithLogger(o.Logger), tjcontroller.WithConnectorEventHandler(eventHandler), + tjcontroller.WithCallbackProvider(ac), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.VPCSecurityGroupIngressRule{}, eventHandler). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/zz_ec2_setup.go b/internal/controller/zz_ec2_setup.go index f662193b41..f2bd190309 100755 --- a/internal/controller/zz_ec2_setup.go +++ b/internal/controller/zz_ec2_setup.go @@ -102,6 +102,8 @@ import ( vpcpeeringconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnection" vpcpeeringconnectionaccepter "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionaccepter" vpcpeeringconnectionoptions "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionoptions" + vpcsecuritygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupegressrule" + vpcsecuritygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupingressrule" vpnconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnection" vpnconnectionroute "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnectionroute" vpngateway "github.com/upbound/provider-aws/internal/controller/ec2/vpngateway" @@ -206,6 +208,8 @@ func Setup_ec2(mgr ctrl.Manager, o controller.Options) error { vpcpeeringconnection.Setup, vpcpeeringconnectionaccepter.Setup, vpcpeeringconnectionoptions.Setup, + vpcsecuritygroupegressrule.Setup, + vpcsecuritygroupingressrule.Setup, vpnconnection.Setup, vpnconnectionroute.Setup, vpngateway.Setup, diff --git a/internal/controller/zz_monolith_setup.go b/internal/controller/zz_monolith_setup.go index e02c81f67f..4586d16eee 100755 --- a/internal/controller/zz_monolith_setup.go +++ b/internal/controller/zz_monolith_setup.go @@ -378,6 +378,8 @@ import ( vpcpeeringconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnection" vpcpeeringconnectionaccepter "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionaccepter" vpcpeeringconnectionoptions "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionoptions" + vpcsecuritygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupegressrule" + vpcsecuritygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupingressrule" vpnconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnection" vpnconnectionroute "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnectionroute" vpngateway "github.com/upbound/provider-aws/internal/controller/ec2/vpngateway" @@ -1296,6 +1298,8 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { vpcpeeringconnection.Setup, vpcpeeringconnectionaccepter.Setup, vpcpeeringconnectionoptions.Setup, + vpcsecuritygroupegressrule.Setup, + vpcsecuritygroupingressrule.Setup, vpnconnection.Setup, vpnconnectionroute.Setup, vpngateway.Setup, diff --git a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml b/package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml new file mode 100644 index 0000000000..08004c8b3c --- /dev/null +++ b/package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml @@ -0,0 +1,676 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.1 + name: vpcsecuritygroupegressrules.ec2.aws.upbound.io +spec: + group: ec2.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: VPCSecurityGroupEgressRule + listKind: VPCSecurityGroupEgressRuleList + plural: vpcsecuritygroupegressrules + singular: vpcsecuritygroupegressrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: VPCSecurityGroupEgressRule is the Schema for the VPCSecurityGroupEgressRules + API. Provides a VPC security group egress rule resource. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VPCSecurityGroupEgressRuleSpec defines the desired state + of VPCSecurityGroupEgressRule + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicies field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cidrIpv4: + description: The destination IPv4 CIDR range. + type: string + cidrIpv6: + description: The destination IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + prefixListId: + description: The ID of the destination prefix list. + type: string + prefixListIdRef: + description: Reference to a ManagedPrefixList in ec2 to populate + prefixListId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + prefixListIdSelector: + description: Selector for a ManagedPrefixList in ec2 to populate + prefixListId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + referencedSecurityGroupId: + description: The destination security group that is referenced + in the rule. + type: string + referencedSecurityGroupIdRef: + description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + referencedSecurityGroupIdSelector: + description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + region: + description: Region is the region you'd like your resource to + be created in. + type: string + securityGroupId: + description: The ID of the security group. + type: string + securityGroupIdRef: + description: Reference to a SecurityGroup in ec2 to populate securityGroupId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + securityGroupIdSelector: + description: Selector for a SecurityGroup in ec2 to populate securityGroupId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + required: + - region + type: object + initProvider: + description: THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. InitProvider + holds the same fields as ForProvider, with the exception of Identifier + and other resource reference fields. The fields that are in InitProvider + are merged into ForProvider when the resource is created. The same + fields are also added to the terraform ignore_changes hook, to avoid + updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after + creation, for example because of an external controller is managing + them, like an autoscaler. + properties: + cidrIpv4: + description: The destination IPv4 CIDR range. + type: string + cidrIpv6: + description: The destination IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + type: object + managementPolicies: + default: + - '*' + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicies + specify the array of actions Crossplane is allowed to take on the + managed and external resources. This field is planned to replace + the DeletionPolicy field in a future release. Currently, both could + be set independently and non-default values would be honored if + the feature flag is enabled. If both are custom, the DeletionPolicy + field will be ignored. See the design doc for more information: + https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + items: + description: A ManagementAction represents an action that the Crossplane + controllers can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: 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. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: 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. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: ipProtocol is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.ipProtocol) + || has(self.initProvider.ipProtocol)' + status: + description: VPCSecurityGroupEgressRuleStatus defines the observed state + of VPCSecurityGroupEgressRule. + properties: + atProvider: + properties: + arn: + description: The Amazon Resource Name (ARN) of the security group + rule. + type: string + cidrIpv4: + description: The destination IPv4 CIDR range. + type: string + cidrIpv6: + description: The destination IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + id: + type: string + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + prefixListId: + description: The ID of the destination prefix list. + type: string + referencedSecurityGroupId: + description: The destination security group that is referenced + in the rule. + type: string + securityGroupId: + description: The ID of the security group. + type: string + securityGroupRuleId: + description: The ID of the security group rule. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + tagsAll: + additionalProperties: + type: string + description: A map of tags assigned to the resource, including + those inherited from the provider default_tags configuration + block. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml b/package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml new file mode 100644 index 0000000000..687218a932 --- /dev/null +++ b/package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml @@ -0,0 +1,676 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.1 + name: vpcsecuritygroupingressrules.ec2.aws.upbound.io +spec: + group: ec2.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: VPCSecurityGroupIngressRule + listKind: VPCSecurityGroupIngressRuleList + plural: vpcsecuritygroupingressrules + singular: vpcsecuritygroupingressrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: VPCSecurityGroupIngressRule is the Schema for the VPCSecurityGroupIngressRules + API. Provides a VPC security group ingress rule resource. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VPCSecurityGroupIngressRuleSpec defines the desired state + of VPCSecurityGroupIngressRule + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicies field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cidrIpv4: + description: The source IPv4 CIDR range. + type: string + cidrIpv6: + description: The source IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + prefixListId: + description: The ID of the source prefix list. + type: string + prefixListIdRef: + description: Reference to a ManagedPrefixList in ec2 to populate + prefixListId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + prefixListIdSelector: + description: Selector for a ManagedPrefixList in ec2 to populate + prefixListId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + referencedSecurityGroupId: + description: The source security group that is referenced in the + rule. + type: string + referencedSecurityGroupIdRef: + description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + referencedSecurityGroupIdSelector: + description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + region: + description: Region is the region you'd like your resource to + be created in. + type: string + securityGroupId: + description: The ID of the security group. + type: string + securityGroupIdRef: + description: Reference to a SecurityGroup in ec2 to populate securityGroupId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + securityGroupIdSelector: + description: Selector for a SecurityGroup in ec2 to populate securityGroupId. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + required: + - region + type: object + initProvider: + description: THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. InitProvider + holds the same fields as ForProvider, with the exception of Identifier + and other resource reference fields. The fields that are in InitProvider + are merged into ForProvider when the resource is created. The same + fields are also added to the terraform ignore_changes hook, to avoid + updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after + creation, for example because of an external controller is managing + them, like an autoscaler. + properties: + cidrIpv4: + description: The source IPv4 CIDR range. + type: string + cidrIpv6: + description: The source IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + type: object + managementPolicies: + default: + - '*' + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicies + specify the array of actions Crossplane is allowed to take on the + managed and external resources. This field is planned to replace + the DeletionPolicy field in a future release. Currently, both could + be set independently and non-default values would be honored if + the feature flag is enabled. If both are custom, the DeletionPolicy + field will be ignored. See the design doc for more information: + https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + items: + description: A ManagementAction represents an action that the Crossplane + controllers can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: 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. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: 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. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: ipProtocol is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.ipProtocol) + || has(self.initProvider.ipProtocol)' + status: + description: VPCSecurityGroupIngressRuleStatus defines the observed state + of VPCSecurityGroupIngressRule. + properties: + atProvider: + properties: + arn: + description: The Amazon Resource Name (ARN) of the security group + rule. + type: string + cidrIpv4: + description: The source IPv4 CIDR range. + type: string + cidrIpv6: + description: The source IPv6 CIDR range. + type: string + description: + description: The security group rule description. + type: string + fromPort: + description: The start of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 type. + type: number + id: + type: string + ipProtocol: + description: The IP protocol name or number. Use -1 to specify + all protocols. + type: string + prefixListId: + description: The ID of the source prefix list. + type: string + referencedSecurityGroupId: + description: The source security group that is referenced in the + rule. + type: string + securityGroupId: + description: The ID of the security group. + type: string + securityGroupRuleId: + description: The ID of the security group rule. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + tagsAll: + additionalProperties: + type: string + description: A map of tags assigned to the resource, including + those inherited from the provider default_tags configuration + block. + type: object + toPort: + description: The end of port range for the TCP and UDP protocols, + or an ICMP/ICMPv6 code. + type: number + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} From b4b719bf7bff7929f7f9bbe813dba37e20962ff2 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Wed, 27 Sep 2023 17:03:36 -0700 Subject: [PATCH 2/7] use custom external name to get pass tf validation Signed-off-by: Tung Huynh --- config/externalname.go | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/config/externalname.go b/config/externalname.go index eed6289e75..ee40038588 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -188,9 +188,9 @@ var ExternalNameConfigs = map[string]config.ExternalName{ // https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule "aws_security_group_rule": config.IdentifierFromProvider, // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_egress_rule": config.IdentifierFromProvider, + "aws_vpc_security_group_egress_rule": vpcSecurityGroupRule(), // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_ingress_rule": config.IdentifierFromProvider, + "aws_vpc_security_group_ingress_rule": vpcSecurityGroupRule(), // Imported by using the VPC CIDR Association ID: vpc-cidr-assoc-xxxxxxxx "aws_vpc_ipv4_cidr_block_association": config.IdentifierFromProvider, // Imported using the vpc peering id: pcx-111aaa111 @@ -2735,6 +2735,19 @@ func kmsAlias() config.ExternalName { return e } +func vpcSecurityGroupRule() config.ExternalName { + // Terraform does not allow security group rule id to be empty. + // Using a stub value to pass validation. + e := config.IdentifierFromProvider + e.GetIDFn = func(_ context.Context, externalName string, _ map[string]any, _ map[string]any) (string, error) { + if len(externalName) == 0 { + return "sgr-stub", nil + } + return externalName, nil + } + return e +} + func route() config.ExternalName { e := config.IdentifierFromProvider e.GetIDFn = func(_ context.Context, _ string, parameters map[string]interface{}, _ map[string]interface{}) (string, error) { From 4e732de5a625a4f3d6d1e2e6c8b1d0865bec72ed Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Tue, 10 Oct 2023 06:04:34 +0000 Subject: [PATCH 3/7] rename resources to be less verbose Signed-off-by: Tung Huynh --- config/ec2/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/ec2/config.go b/config/ec2/config.go index 25e11dc24d..3f2184bc17 100644 --- a/config/ec2/config.go +++ b/config/ec2/config.go @@ -218,6 +218,7 @@ func Configure(p *config.Provider) { }) p.AddResourceConfigurator("aws_vpc_security_group_ingress_rule", func(r *config.Resource) { + r.Kind = "SecurityGroupIngressRule" r.References["security_group_id"] = config.Reference{ Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", } @@ -230,6 +231,7 @@ func Configure(p *config.Provider) { }) p.AddResourceConfigurator("aws_vpc_security_group_egress_rule", func(r *config.Resource) { + r.Kind = "SecurityGroupEgressRule" r.References["security_group_id"] = config.Reference{ Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", } From 22f28a9a2470c384e338b5c1c94d47731a73241c Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Tue, 10 Oct 2023 06:04:49 +0000 Subject: [PATCH 4/7] simplify reference types Signed-off-by: Tung Huynh --- config/ec2/config.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/ec2/config.go b/config/ec2/config.go index 3f2184bc17..52da91132a 100644 --- a/config/ec2/config.go +++ b/config/ec2/config.go @@ -220,26 +220,26 @@ func Configure(p *config.Provider) { p.AddResourceConfigurator("aws_vpc_security_group_ingress_rule", func(r *config.Resource) { r.Kind = "SecurityGroupIngressRule" r.References["security_group_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + Type: "SecurityGroup", } r.References["referenced_security_group_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + Type: "SecurityGroup", } r.References["prefix_list_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList", + Type: "ManagedPrefixList", } }) p.AddResourceConfigurator("aws_vpc_security_group_egress_rule", func(r *config.Resource) { r.Kind = "SecurityGroupEgressRule" r.References["security_group_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + Type: "SecurityGroup", } r.References["referenced_security_group_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup", + Type: "SecurityGroup", } r.References["prefix_list_id"] = config.Reference{ - Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList", + Type: "ManagedPrefixList", } }) From 5d825b2d60ad2fde9f893eda23c2929f127ff085 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Tue, 10 Oct 2023 06:35:09 +0000 Subject: [PATCH 5/7] codegen Signed-off-by: Tung Huynh --- apis/ec2/v1beta1/zz_generated.deepcopy.go | 9658 +++++++++-------- apis/ec2/v1beta1/zz_generated.managed.go | 272 +- apis/ec2/v1beta1/zz_generated.managedlist.go | 36 +- apis/ec2/v1beta1/zz_generated.resolvers.go | 232 +- apis/ec2/v1beta1/zz_generated_terraformed.go | 80 +- ...go => zz_securitygroupegressrule_types.go} | 64 +- ...o => zz_securitygroupingressrule_types.go} | 64 +- config/generated.lst | 2 +- ...rule.yaml => securitygroupegressrule.yaml} | 4 +- ...ule.yaml => securitygroupingressrule.yaml} | 4 +- ...rule.yaml => securitygroupegressrule.yaml} | 8 +- ...ule.yaml => securitygroupingressrule.yaml} | 8 +- .../zz_controller.go | 17 +- .../zz_controller.go | 17 +- internal/controller/zz_ec2_setup.go | 8 +- internal/controller/zz_monolith_setup.go | 8 +- ....upbound.io_securitygroupegressrules.yaml} | 76 +- ...upbound.io_securitygroupingressrules.yaml} | 76 +- 18 files changed, 5270 insertions(+), 5364 deletions(-) rename apis/ec2/v1beta1/{zz_vpcsecuritygroupegressrule_types.go => zz_securitygroupegressrule_types.go} (74%) rename apis/ec2/v1beta1/{zz_vpcsecuritygroupingressrule_types.go => zz_securitygroupingressrule_types.go} (74%) rename examples-generated/ec2/{vpcsecuritygroupegressrule.yaml => securitygroupegressrule.yaml} (77%) rename examples-generated/ec2/{vpcsecuritygroupingressrule.yaml => securitygroupingressrule.yaml} (76%) rename examples/ec2/{vpcsecuritygroupegressrule.yaml => securitygroupegressrule.yaml} (79%) rename examples/ec2/{vpcsecuritygroupingressrule.yaml => securitygroupingressrule.yaml} (79%) rename internal/controller/ec2/{vpcsecuritygroupegressrule => securitygroupegressrule}/zz_controller.go (81%) rename internal/controller/ec2/{vpcsecuritygroupingressrule => securitygroupingressrule}/zz_controller.go (81%) rename package/crds/{ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml => ec2.aws.upbound.io_securitygroupegressrules.yaml} (90%) rename package/crds/{ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml => ec2.aws.upbound.io_securitygroupingressrules.yaml} (90%) diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index dde449a1d6..0c79a1683e 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -29684,150 +29684,58 @@ func (in *SecurityGroupEgressParameters) DeepCopy() *SecurityGroupEgressParamete } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupIngressInitParameters) DeepCopyInto(out *SecurityGroupIngressInitParameters) { +func (in *SecurityGroupEgressRule) DeepCopyInto(out *SecurityGroupEgressRule) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressInitParameters. -func (in *SecurityGroupIngressInitParameters) DeepCopy() *SecurityGroupIngressInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRule. +func (in *SecurityGroupEgressRule) DeepCopy() *SecurityGroupEgressRule { if in == nil { return nil } - out := new(SecurityGroupIngressInitParameters) + out := new(SecurityGroupEgressRule) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupEgressRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupIngressObservation) DeepCopyInto(out *SecurityGroupIngressObservation) { +func (in *SecurityGroupEgressRuleInitParameters) DeepCopyInto(out *SecurityGroupEgressRuleInitParameters) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlocks != nil { - in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.PrefixListIds != nil { - in, out := &in.PrefixListIds, &out.PrefixListIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Self != nil { - in, out := &in.Self, &out.Self - *out = new(bool) - **out = **in - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressObservation. -func (in *SecurityGroupIngressObservation) DeepCopy() *SecurityGroupIngressObservation { - if in == nil { - return nil - } - out := new(SecurityGroupIngressObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupIngressParameters) DeepCopyInto(out *SecurityGroupIngressParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressParameters. -func (in *SecurityGroupIngressParameters) DeepCopy() *SecurityGroupIngressParameters { - if in == nil { - return nil - } - out := new(SecurityGroupIngressParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupInitParameters) DeepCopyInto(out *SecurityGroupInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupInitParameters. -func (in *SecurityGroupInitParameters) DeepCopy() *SecurityGroupInitParameters { - if in == nil { - return nil - } - out := new(SecurityGroupInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupInitParameters_2) DeepCopyInto(out *SecurityGroupInitParameters_2) { - *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) **out = **in } - if in.RevokeRulesOnDelete != nil { - in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete - *out = new(bool) + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) **out = **in } if in.Tags != nil { @@ -29846,44 +29754,49 @@ func (in *SecurityGroupInitParameters_2) DeepCopyInto(out *SecurityGroupInitPara (*out)[key] = outVal } } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupInitParameters_2. -func (in *SecurityGroupInitParameters_2) DeepCopy() *SecurityGroupInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleInitParameters. +func (in *SecurityGroupEgressRuleInitParameters) DeepCopy() *SecurityGroupEgressRuleInitParameters { if in == nil { return nil } - out := new(SecurityGroupInitParameters_2) + out := new(SecurityGroupEgressRuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList) { +func (in *SecurityGroupEgressRuleList) DeepCopyInto(out *SecurityGroupEgressRuleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SecurityGroup, len(*in)) + *out = make([]SecurityGroupEgressRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList. -func (in *SecurityGroupList) DeepCopy() *SecurityGroupList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleList. +func (in *SecurityGroupEgressRuleList) DeepCopy() *SecurityGroupEgressRuleList { if in == nil { return nil } - out := new(SecurityGroupList) + out := new(SecurityGroupEgressRuleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SecurityGroupList) DeepCopyObject() runtime.Object { +func (in *SecurityGroupEgressRuleList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -29891,40 +29804,20 @@ func (in *SecurityGroupList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation) { +func (in *SecurityGroupEgressRuleObservation) DeepCopyInto(out *SecurityGroupEgressRuleObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation. -func (in *SecurityGroupObservation) DeepCopy() *SecurityGroupObservation { - if in == nil { - return nil - } - out := new(SecurityGroupObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation_2) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 *out = new(string) **out = **in } @@ -29933,38 +29826,39 @@ func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = make([]SecurityGroupEgressObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Ingress != nil { - in, out := &in.Ingress, &out.Ingress - *out = make([]SecurityGroupIngressObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID *out = new(string) **out = **in } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID *out = new(string) **out = **in } - if in.RevokeRulesOnDelete != nil { - in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete - *out = new(bool) + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } + if in.SecurityGroupRuleID != nil { + in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID + *out = new(string) **out = **in } if in.Tags != nil { @@ -29999,61 +29893,101 @@ func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation (*out)[key] = outVal } } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation_2. -func (in *SecurityGroupObservation_2) DeepCopy() *SecurityGroupObservation_2 { - if in == nil { - return nil - } - out := new(SecurityGroupObservation_2) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters. -func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleObservation. +func (in *SecurityGroupEgressRuleObservation) DeepCopy() *SecurityGroupEgressRuleObservation { if in == nil { return nil } - out := new(SecurityGroupParameters) + out := new(SecurityGroupEgressRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupParameters_2) DeepCopyInto(out *SecurityGroupParameters_2) { +func (in *SecurityGroupEgressRuleParameters) DeepCopyInto(out *SecurityGroupEgressRuleParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 *out = new(string) **out = **in } - if in.Region != nil { + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + *out = new(string) + **out = **in + } + if in.ReferencedSecurityGroupIDRef != nil { + in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupIDSelector != nil { + in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.RevokeRulesOnDelete != nil { - in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete - *out = new(bool) + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) **out = **in } + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -30070,77 +30004,75 @@ func (in *SecurityGroupParameters_2) DeepCopyInto(out *SecurityGroupParameters_2 (*out)[key] = outVal } } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters_2. -func (in *SecurityGroupParameters_2) DeepCopy() *SecurityGroupParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleParameters. +func (in *SecurityGroupEgressRuleParameters) DeepCopy() *SecurityGroupEgressRuleParameters { if in == nil { return nil } - out := new(SecurityGroupParameters_2) + out := new(SecurityGroupEgressRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule) { +func (in *SecurityGroupEgressRuleSpec) DeepCopyInto(out *SecurityGroupEgressRuleSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRule. -func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleSpec. +func (in *SecurityGroupEgressRuleSpec) DeepCopy() *SecurityGroupEgressRuleSpec { if in == nil { return nil } - out := new(SecurityGroupRule) + out := new(SecurityGroupEgressRuleSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SecurityGroupRule) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupEgressRuleStatus) DeepCopyInto(out *SecurityGroupEgressRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupEgressRuleStatus. +func (in *SecurityGroupEgressRuleStatus) DeepCopy() *SecurityGroupEgressRuleStatus { + if in == nil { + return nil } - return nil + out := new(SecurityGroupEgressRuleStatus) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleInitParameters) DeepCopyInto(out *SecurityGroupRuleInitParameters) { +func (in *SecurityGroupIngressInitParameters) DeepCopyInto(out *SecurityGroupIngressInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInitParameters. -func (in *SecurityGroupRuleInitParameters) DeepCopy() *SecurityGroupRuleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressInitParameters. +func (in *SecurityGroupIngressInitParameters) DeepCopy() *SecurityGroupIngressInitParameters { if in == nil { return nil } - out := new(SecurityGroupRuleInitParameters) + out := new(SecurityGroupIngressInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleInitParameters_2) DeepCopyInto(out *SecurityGroupRuleInitParameters_2) { +func (in *SecurityGroupIngressObservation) DeepCopyInto(out *SecurityGroupIngressObservation) { *out = *in if in.CidrBlocks != nil { in, out := &in.CidrBlocks, &out.CidrBlocks @@ -30174,11 +30106,33 @@ func (in *SecurityGroupRuleInitParameters_2) DeepCopyInto(out *SecurityGroupRule } } } + if in.PrefixListIds != nil { + in, out := &in.PrefixListIds, &out.PrefixListIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } if in.Self != nil { in, out := &in.Self, &out.Self *out = new(bool) @@ -30189,49 +30143,54 @@ func (in *SecurityGroupRuleInitParameters_2) DeepCopyInto(out *SecurityGroupRule *out = new(float64) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressObservation. +func (in *SecurityGroupIngressObservation) DeepCopy() *SecurityGroupIngressObservation { + if in == nil { + return nil } + out := new(SecurityGroupIngressObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInitParameters_2. -func (in *SecurityGroupRuleInitParameters_2) DeepCopy() *SecurityGroupRuleInitParameters_2 { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupIngressParameters) DeepCopyInto(out *SecurityGroupIngressParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressParameters. +func (in *SecurityGroupIngressParameters) DeepCopy() *SecurityGroupIngressParameters { if in == nil { return nil } - out := new(SecurityGroupRuleInitParameters_2) + out := new(SecurityGroupIngressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleList) DeepCopyInto(out *SecurityGroupRuleList) { +func (in *SecurityGroupIngressRule) DeepCopyInto(out *SecurityGroupIngressRule) { *out = *in out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]SecurityGroupRule, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleList. -func (in *SecurityGroupRuleList) DeepCopy() *SecurityGroupRuleList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRule. +func (in *SecurityGroupIngressRule) DeepCopy() *SecurityGroupIngressRule { if in == nil { return nil } - out := new(SecurityGroupRuleList) + out := new(SecurityGroupIngressRule) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SecurityGroupRuleList) DeepCopyObject() runtime.Object { +func (in *SecurityGroupIngressRule) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -30239,72 +30198,122 @@ func (in *SecurityGroupRuleList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleObservation) DeepCopyInto(out *SecurityGroupRuleObservation) { +func (in *SecurityGroupIngressRuleInitParameters) DeepCopyInto(out *SecurityGroupIngressRuleInitParameters) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 *out = new(string) **out = **in } - if in.Direction != nil { - in, out := &in.Direction, &out.Direction + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 *out = new(string) **out = **in } - if in.PortRange != nil { - in, out := &in.PortRange, &out.PortRange - *out = make([]SecurityGroupRulePortRangeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol *out = new(string) **out = **in } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation. -func (in *SecurityGroupRuleObservation) DeepCopy() *SecurityGroupRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleInitParameters. +func (in *SecurityGroupIngressRuleInitParameters) DeepCopy() *SecurityGroupIngressRuleInitParameters { if in == nil { return nil } - out := new(SecurityGroupRuleObservation) + out := new(SecurityGroupIngressRuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleObservation_2) DeepCopyInto(out *SecurityGroupRuleObservation_2) { +func (in *SecurityGroupIngressRuleList) DeepCopyInto(out *SecurityGroupIngressRuleList) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecurityGroupIngressRule, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleList. +func (in *SecurityGroupIngressRuleList) DeepCopy() *SecurityGroupIngressRuleList { + if in == nil { + return nil } - if in.FromPort != nil { + out := new(SecurityGroupIngressRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupIngressRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupIngressRuleObservation) DeepCopyInto(out *SecurityGroupIngressRuleObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in + } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { in, out := &in.FromPort, &out.FromPort *out = new(float64) **out = **in @@ -30314,30 +30323,18 @@ func (in *SecurityGroupRuleObservation_2) DeepCopyInto(out *SecurityGroupRuleObs *out = new(string) **out = **in } - if in.IPv6CidrBlocks != nil { - in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in } - if in.PrefixListIds != nil { - in, out := &in.PrefixListIds, &out.PrefixListIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID *out = new(string) **out = **in } @@ -30351,66 +30348,67 @@ func (in *SecurityGroupRuleObservation_2) DeepCopyInto(out *SecurityGroupRuleObs *out = new(string) **out = **in } - if in.Self != nil { - in, out := &in.Self, &out.Self - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.SourceSecurityGroupID != nil { - in, out := &in.SourceSecurityGroupID, &out.SourceSecurityGroupID - *out = new(string) - **out = **in + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } if in.ToPort != nil { in, out := &in.ToPort, &out.ToPort *out = new(float64) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation_2. -func (in *SecurityGroupRuleObservation_2) DeepCopy() *SecurityGroupRuleObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleObservation. +func (in *SecurityGroupIngressRuleObservation) DeepCopy() *SecurityGroupIngressRuleObservation { if in == nil { return nil } - out := new(SecurityGroupRuleObservation_2) + out := new(SecurityGroupIngressRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleParameters) DeepCopyInto(out *SecurityGroupRuleParameters) { +func (in *SecurityGroupIngressRuleParameters) DeepCopyInto(out *SecurityGroupIngressRuleParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters. -func (in *SecurityGroupRuleParameters) DeepCopy() *SecurityGroupRuleParameters { - if in == nil { - return nil + if in.CidrIPv4 != nil { + in, out := &in.CidrIPv4, &out.CidrIPv4 + *out = new(string) + **out = **in } - out := new(SecurityGroupRuleParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleParameters_2) DeepCopyInto(out *SecurityGroupRuleParameters_2) { - *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.CidrIPv6 != nil { + in, out := &in.CidrIPv6, &out.CidrIPv6 + *out = new(string) + **out = **in } if in.Description != nil { in, out := &in.Description, &out.Description @@ -30422,45 +30420,41 @@ func (in *SecurityGroupRuleParameters_2) DeepCopyInto(out *SecurityGroupRulePara *out = new(float64) **out = **in } - if in.IPv6CidrBlocks != nil { - in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.IPProtocol != nil { + in, out := &in.IPProtocol, &out.IPProtocol + *out = new(string) + **out = **in } - if in.PrefixListIDRefs != nil { - in, out := &in.PrefixListIDRefs, &out.PrefixListIDRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } if in.PrefixListIDSelector != nil { in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.PrefixListIds != nil { - in, out := &in.PrefixListIds, &out.PrefixListIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.ReferencedSecurityGroupID != nil { + in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID *out = new(string) **out = **in } + if in.ReferencedSecurityGroupIDRef != nil { + in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReferencedSecurityGroupIDSelector != nil { + in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) @@ -30481,190 +30475,169 @@ func (in *SecurityGroupRuleParameters_2) DeepCopyInto(out *SecurityGroupRulePara *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Self != nil { - in, out := &in.Self, &out.Self - *out = new(bool) - **out = **in - } - if in.SourceSecurityGroupID != nil { - in, out := &in.SourceSecurityGroupID, &out.SourceSecurityGroupID - *out = new(string) - **out = **in - } - if in.SourceSecurityGroupIDRef != nil { - in, out := &in.SourceSecurityGroupIDRef, &out.SourceSecurityGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SourceSecurityGroupIDSelector != nil { - in, out := &in.SourceSecurityGroupIDSelector, &out.SourceSecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } if in.ToPort != nil { in, out := &in.ToPort, &out.ToPort *out = new(float64) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters_2. -func (in *SecurityGroupRuleParameters_2) DeepCopy() *SecurityGroupRuleParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleParameters. +func (in *SecurityGroupIngressRuleParameters) DeepCopy() *SecurityGroupIngressRuleParameters { if in == nil { return nil } - out := new(SecurityGroupRuleParameters_2) + out := new(SecurityGroupIngressRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRulePortRangeInitParameters) DeepCopyInto(out *SecurityGroupRulePortRangeInitParameters) { +func (in *SecurityGroupIngressRuleSpec) DeepCopyInto(out *SecurityGroupIngressRuleSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeInitParameters. -func (in *SecurityGroupRulePortRangeInitParameters) DeepCopy() *SecurityGroupRulePortRangeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleSpec. +func (in *SecurityGroupIngressRuleSpec) DeepCopy() *SecurityGroupIngressRuleSpec { if in == nil { return nil } - out := new(SecurityGroupRulePortRangeInitParameters) + out := new(SecurityGroupIngressRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRulePortRangeObservation) DeepCopyInto(out *SecurityGroupRulePortRangeObservation) { +func (in *SecurityGroupIngressRuleStatus) DeepCopyInto(out *SecurityGroupIngressRuleStatus) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From - *out = new(float64) - **out = **in - } - if in.To != nil { - in, out := &in.To, &out.To - *out = new(float64) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeObservation. -func (in *SecurityGroupRulePortRangeObservation) DeepCopy() *SecurityGroupRulePortRangeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupIngressRuleStatus. +func (in *SecurityGroupIngressRuleStatus) DeepCopy() *SecurityGroupIngressRuleStatus { if in == nil { return nil } - out := new(SecurityGroupRulePortRangeObservation) + out := new(SecurityGroupIngressRuleStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRulePortRangeParameters) DeepCopyInto(out *SecurityGroupRulePortRangeParameters) { +func (in *SecurityGroupInitParameters) DeepCopyInto(out *SecurityGroupInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeParameters. -func (in *SecurityGroupRulePortRangeParameters) DeepCopy() *SecurityGroupRulePortRangeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupInitParameters. +func (in *SecurityGroupInitParameters) DeepCopy() *SecurityGroupInitParameters { if in == nil { return nil } - out := new(SecurityGroupRulePortRangeParameters) + out := new(SecurityGroupInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleSpec) DeepCopyInto(out *SecurityGroupRuleSpec) { +func (in *SecurityGroupInitParameters_2) DeepCopyInto(out *SecurityGroupInitParameters_2) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleSpec. -func (in *SecurityGroupRuleSpec) DeepCopy() *SecurityGroupRuleSpec { - if in == nil { - return nil + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - out := new(SecurityGroupRuleSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupRuleStatus) DeepCopyInto(out *SecurityGroupRuleStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleStatus. -func (in *SecurityGroupRuleStatus) DeepCopy() *SecurityGroupRuleStatus { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RevokeRulesOnDelete != nil { + in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out := new(SecurityGroupRuleStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec. -func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupInitParameters_2. +func (in *SecurityGroupInitParameters_2) DeepCopy() *SecurityGroupInitParameters_2 { if in == nil { return nil } - out := new(SecurityGroupSpec) + out := new(SecurityGroupInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus) { +func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecurityGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus. -func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList. +func (in *SecurityGroupList) DeepCopy() *SecurityGroupList { if in == nil { return nil } - out := new(SecurityGroupStatus) + out := new(SecurityGroupList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupsInitParameters) DeepCopyInto(out *SecurityGroupsInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsInitParameters. -func (in *SecurityGroupsInitParameters) DeepCopy() *SecurityGroupsInitParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(SecurityGroupsInitParameters) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupsObservation) DeepCopyInto(out *SecurityGroupsObservation) { +func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn @@ -30683,268 +30656,328 @@ func (in *SecurityGroupsObservation) DeepCopyInto(out *SecurityGroupsObservation } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsObservation. -func (in *SecurityGroupsObservation) DeepCopy() *SecurityGroupsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation. +func (in *SecurityGroupObservation) DeepCopy() *SecurityGroupObservation { if in == nil { return nil } - out := new(SecurityGroupsObservation) + out := new(SecurityGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityGroupsParameters) DeepCopyInto(out *SecurityGroupsParameters) { +func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation_2) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = make([]SecurityGroupEgressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Ingress != nil { + in, out := &in.Ingress, &out.Ingress + *out = make([]SecurityGroupIngressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID + *out = new(string) + **out = **in + } + if in.RevokeRulesOnDelete != nil { + in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsParameters. -func (in *SecurityGroupsParameters) DeepCopy() *SecurityGroupsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation_2. +func (in *SecurityGroupObservation_2) DeepCopy() *SecurityGroupObservation_2 { if in == nil { return nil } - out := new(SecurityGroupsParameters) + out := new(SecurityGroupObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccess) DeepCopyInto(out *SerialConsoleAccess) { +func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccess. -func (in *SerialConsoleAccess) DeepCopy() *SerialConsoleAccess { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters. +func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters { if in == nil { return nil } - out := new(SerialConsoleAccess) + out := new(SecurityGroupParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SerialConsoleAccess) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessInitParameters) DeepCopyInto(out *SerialConsoleAccessInitParameters) { +func (in *SecurityGroupParameters_2) DeepCopyInto(out *SecurityGroupParameters_2) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessInitParameters. -func (in *SerialConsoleAccessInitParameters) DeepCopy() *SerialConsoleAccessInitParameters { - if in == nil { - return nil - } - out := new(SerialConsoleAccessInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessList) DeepCopyInto(out *SerialConsoleAccessList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]SerialConsoleAccess, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessList. -func (in *SerialConsoleAccessList) DeepCopy() *SerialConsoleAccessList { - if in == nil { - return nil - } - out := new(SerialConsoleAccessList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SerialConsoleAccessList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessObservation) DeepCopyInto(out *SerialConsoleAccessObservation) { - *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessObservation. -func (in *SerialConsoleAccessObservation) DeepCopy() *SerialConsoleAccessObservation { - if in == nil { - return nil - } - out := new(SerialConsoleAccessObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessParameters) DeepCopyInto(out *SerialConsoleAccessParameters) { - *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled + if in.RevokeRulesOnDelete != nil { + in, out := &in.RevokeRulesOnDelete, &out.RevokeRulesOnDelete *out = new(bool) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessParameters. -func (in *SerialConsoleAccessParameters) DeepCopy() *SerialConsoleAccessParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters_2. +func (in *SecurityGroupParameters_2) DeepCopy() *SecurityGroupParameters_2 { if in == nil { return nil } - out := new(SerialConsoleAccessParameters) + out := new(SecurityGroupParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessSpec) DeepCopyInto(out *SerialConsoleAccessSpec) { +func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessSpec. -func (in *SerialConsoleAccessSpec) DeepCopy() *SerialConsoleAccessSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRule. +func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule { if in == nil { return nil } - out := new(SerialConsoleAccessSpec) + out := new(SecurityGroupRule) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SerialConsoleAccessStatus) DeepCopyInto(out *SerialConsoleAccessStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessStatus. -func (in *SerialConsoleAccessStatus) DeepCopy() *SerialConsoleAccessStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(SerialConsoleAccessStatus) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermission) DeepCopyInto(out *SnapshotCreateVolumePermission) { +func (in *SecurityGroupRuleInitParameters) DeepCopyInto(out *SecurityGroupRuleInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermission. -func (in *SnapshotCreateVolumePermission) DeepCopy() *SnapshotCreateVolumePermission { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInitParameters. +func (in *SecurityGroupRuleInitParameters) DeepCopy() *SecurityGroupRuleInitParameters { if in == nil { return nil } - out := new(SnapshotCreateVolumePermission) + out := new(SecurityGroupRuleInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SnapshotCreateVolumePermission) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionInitParameters) DeepCopyInto(out *SnapshotCreateVolumePermissionInitParameters) { +func (in *SecurityGroupRuleInitParameters_2) DeepCopyInto(out *SecurityGroupRuleInitParameters_2) { *out = *in - if in.AccountID != nil { - in, out := &in.AccountID, &out.AccountID + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPv6CidrBlocks != nil { + in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.Self != nil { + in, out := &in.Self, &out.Self + *out = new(bool) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionInitParameters. -func (in *SnapshotCreateVolumePermissionInitParameters) DeepCopy() *SnapshotCreateVolumePermissionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInitParameters_2. +func (in *SecurityGroupRuleInitParameters_2) DeepCopy() *SecurityGroupRuleInitParameters_2 { if in == nil { return nil } - out := new(SnapshotCreateVolumePermissionInitParameters) + out := new(SecurityGroupRuleInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionList) DeepCopyInto(out *SnapshotCreateVolumePermissionList) { +func (in *SecurityGroupRuleList) DeepCopyInto(out *SecurityGroupRuleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SnapshotCreateVolumePermission, len(*in)) + *out = make([]SecurityGroupRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionList. -func (in *SnapshotCreateVolumePermissionList) DeepCopy() *SnapshotCreateVolumePermissionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleList. +func (in *SecurityGroupRuleList) DeepCopy() *SecurityGroupRuleList { if in == nil { return nil } - out := new(SnapshotCreateVolumePermissionList) + out := new(SecurityGroupRuleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SnapshotCreateVolumePermissionList) DeepCopyObject() runtime.Object { +func (in *SecurityGroupRuleList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -30952,166 +30985,126 @@ func (in *SnapshotCreateVolumePermissionList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionObservation) DeepCopyInto(out *SnapshotCreateVolumePermissionObservation) { +func (in *SecurityGroupRuleObservation) DeepCopyInto(out *SecurityGroupRuleObservation) { *out = *in - if in.AccountID != nil { - in, out := &in.AccountID, &out.AccountID + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Direction != nil { + in, out := &in.Direction, &out.Direction *out = new(string) **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.PortRange != nil { + in, out := &in.PortRange, &out.PortRange + *out = make([]SecurityGroupRulePortRangeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionObservation. -func (in *SnapshotCreateVolumePermissionObservation) DeepCopy() *SnapshotCreateVolumePermissionObservation { - if in == nil { - return nil - } - out := new(SnapshotCreateVolumePermissionObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionParameters) DeepCopyInto(out *SnapshotCreateVolumePermissionParameters) { - *out = *in - if in.AccountID != nil { - in, out := &in.AccountID, &out.AccountID - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID *out = new(string) **out = **in } - if in.SnapshotIDRef != nil { - in, out := &in.SnapshotIDRef, &out.SnapshotIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SnapshotIDSelector != nil { - in, out := &in.SnapshotIDSelector, &out.SnapshotIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionParameters. -func (in *SnapshotCreateVolumePermissionParameters) DeepCopy() *SnapshotCreateVolumePermissionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation. +func (in *SecurityGroupRuleObservation) DeepCopy() *SecurityGroupRuleObservation { if in == nil { return nil } - out := new(SnapshotCreateVolumePermissionParameters) + out := new(SecurityGroupRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionSpec) DeepCopyInto(out *SnapshotCreateVolumePermissionSpec) { +func (in *SecurityGroupRuleObservation_2) DeepCopyInto(out *SecurityGroupRuleObservation_2) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionSpec. -func (in *SnapshotCreateVolumePermissionSpec) DeepCopy() *SnapshotCreateVolumePermissionSpec { - if in == nil { - return nil + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(SnapshotCreateVolumePermissionSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SnapshotCreateVolumePermissionStatus) DeepCopyInto(out *SnapshotCreateVolumePermissionStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionStatus. -func (in *SnapshotCreateVolumePermissionStatus) DeepCopy() *SnapshotCreateVolumePermissionStatus { - if in == nil { - return nil + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - out := new(SnapshotCreateVolumePermissionStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangeInitParameters) DeepCopyInto(out *SourcePortRangeInitParameters) { - *out = *in if in.FromPort != nil { in, out := &in.FromPort, &out.FromPort *out = new(float64) **out = **in } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeInitParameters. -func (in *SourcePortRangeInitParameters) DeepCopy() *SourcePortRangeInitParameters { - if in == nil { - return nil + if in.IPv6CidrBlocks != nil { + in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(SourcePortRangeInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangeObservation) DeepCopyInto(out *SourcePortRangeObservation) { - *out = *in - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) + if in.PrefixListIds != nil { + in, out := &in.PrefixListIds, &out.PrefixListIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) **out = **in } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeObservation. -func (in *SourcePortRangeObservation) DeepCopy() *SourcePortRangeObservation { - if in == nil { - return nil + if in.SecurityGroupRuleID != nil { + in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID + *out = new(string) + **out = **in } - out := new(SourcePortRangeObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangeParameters) DeepCopyInto(out *SourcePortRangeParameters) { - *out = *in - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) + if in.Self != nil { + in, out := &in.Self, &out.Self + *out = new(bool) + **out = **in + } + if in.SourceSecurityGroupID != nil { + in, out := &in.SourceSecurityGroupID, &out.SourceSecurityGroupID + *out = new(string) **out = **in } if in.ToPort != nil { @@ -31119,534 +31112,421 @@ func (in *SourcePortRangeParameters) DeepCopyInto(out *SourcePortRangeParameters *out = new(float64) **out = **in } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeParameters. -func (in *SourcePortRangeParameters) DeepCopy() *SourcePortRangeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation_2. +func (in *SecurityGroupRuleObservation_2) DeepCopy() *SecurityGroupRuleObservation_2 { if in == nil { return nil } - out := new(SourcePortRangeParameters) + out := new(SecurityGroupRuleObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangesInitParameters) DeepCopyInto(out *SourcePortRangesInitParameters) { +func (in *SecurityGroupRuleParameters) DeepCopyInto(out *SecurityGroupRuleParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesInitParameters. -func (in *SourcePortRangesInitParameters) DeepCopy() *SourcePortRangesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters. +func (in *SecurityGroupRuleParameters) DeepCopy() *SecurityGroupRuleParameters { if in == nil { return nil } - out := new(SourcePortRangesInitParameters) + out := new(SecurityGroupRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangesObservation) DeepCopyInto(out *SourcePortRangesObservation) { +func (in *SecurityGroupRuleParameters_2) DeepCopyInto(out *SecurityGroupRuleParameters_2) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From - *out = new(float64) + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesObservation. -func (in *SourcePortRangesObservation) DeepCopy() *SourcePortRangesObservation { - if in == nil { - return nil + if in.IPv6CidrBlocks != nil { + in, out := &in.IPv6CidrBlocks, &out.IPv6CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(SourcePortRangesObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourcePortRangesParameters) DeepCopyInto(out *SourcePortRangesParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesParameters. -func (in *SourcePortRangesParameters) DeepCopy() *SourcePortRangesParameters { - if in == nil { - return nil + if in.PrefixListIDRefs != nil { + in, out := &in.PrefixListIDRefs, &out.PrefixListIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(SourcePortRangesParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceVPCInitParameters) DeepCopyInto(out *SourceVPCInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCInitParameters. -func (in *SourceVPCInitParameters) DeepCopy() *SourceVPCInitParameters { - if in == nil { - return nil + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(SourceVPCInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceVPCObservation) DeepCopyInto(out *SourceVPCObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.PrefixListIds != nil { + in, out := &in.PrefixListIds, &out.PrefixListIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCObservation. -func (in *SourceVPCObservation) DeepCopy() *SourceVPCObservation { - if in == nil { - return nil + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Self != nil { + in, out := &in.Self, &out.Self + *out = new(bool) + **out = **in + } + if in.SourceSecurityGroupID != nil { + in, out := &in.SourceSecurityGroupID, &out.SourceSecurityGroupID + *out = new(string) + **out = **in + } + if in.SourceSecurityGroupIDRef != nil { + in, out := &in.SourceSecurityGroupIDRef, &out.SourceSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceSecurityGroupIDSelector != nil { + in, out := &in.SourceSecurityGroupIDSelector, &out.SourceSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(SourceVPCObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceVPCParameters) DeepCopyInto(out *SourceVPCParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCParameters. -func (in *SourceVPCParameters) DeepCopy() *SourceVPCParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters_2. +func (in *SecurityGroupRuleParameters_2) DeepCopy() *SecurityGroupRuleParameters_2 { if in == nil { return nil } - out := new(SourceVPCParameters) + out := new(SecurityGroupRuleParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscription) DeepCopyInto(out *SpotDatafeedSubscription) { +func (in *SecurityGroupRulePortRangeInitParameters) DeepCopyInto(out *SecurityGroupRulePortRangeInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscription. -func (in *SpotDatafeedSubscription) DeepCopy() *SpotDatafeedSubscription { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeInitParameters. +func (in *SecurityGroupRulePortRangeInitParameters) DeepCopy() *SecurityGroupRulePortRangeInitParameters { if in == nil { return nil } - out := new(SpotDatafeedSubscription) + out := new(SecurityGroupRulePortRangeInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SpotDatafeedSubscription) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionInitParameters) DeepCopyInto(out *SpotDatafeedSubscriptionInitParameters) { +func (in *SecurityGroupRulePortRangeObservation) DeepCopyInto(out *SecurityGroupRulePortRangeObservation) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) + if in.From != nil { + in, out := &in.From, &out.From + *out = new(float64) **out = **in } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *out = new(string) + if in.To != nil { + in, out := &in.To, &out.To + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionInitParameters. -func (in *SpotDatafeedSubscriptionInitParameters) DeepCopy() *SpotDatafeedSubscriptionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeObservation. +func (in *SecurityGroupRulePortRangeObservation) DeepCopy() *SecurityGroupRulePortRangeObservation { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionInitParameters) + out := new(SecurityGroupRulePortRangeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionList) DeepCopyInto(out *SpotDatafeedSubscriptionList) { +func (in *SecurityGroupRulePortRangeParameters) DeepCopyInto(out *SecurityGroupRulePortRangeParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]SpotDatafeedSubscription, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionList. -func (in *SpotDatafeedSubscriptionList) DeepCopy() *SpotDatafeedSubscriptionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRulePortRangeParameters. +func (in *SecurityGroupRulePortRangeParameters) DeepCopy() *SecurityGroupRulePortRangeParameters { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionList) + out := new(SecurityGroupRulePortRangeParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SpotDatafeedSubscriptionList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionObservation) DeepCopyInto(out *SpotDatafeedSubscriptionObservation) { +func (in *SecurityGroupRuleSpec) DeepCopyInto(out *SecurityGroupRuleSpec) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionObservation. -func (in *SpotDatafeedSubscriptionObservation) DeepCopy() *SpotDatafeedSubscriptionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleSpec. +func (in *SecurityGroupRuleSpec) DeepCopy() *SecurityGroupRuleSpec { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionObservation) + out := new(SecurityGroupRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionParameters) DeepCopyInto(out *SpotDatafeedSubscriptionParameters) { +func (in *SecurityGroupRuleStatus) DeepCopyInto(out *SecurityGroupRuleStatus) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) - **out = **in - } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionParameters. -func (in *SpotDatafeedSubscriptionParameters) DeepCopy() *SpotDatafeedSubscriptionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleStatus. +func (in *SecurityGroupRuleStatus) DeepCopy() *SecurityGroupRuleStatus { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionParameters) + out := new(SecurityGroupRuleStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionSpec) DeepCopyInto(out *SpotDatafeedSubscriptionSpec) { +func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionSpec. -func (in *SpotDatafeedSubscriptionSpec) DeepCopy() *SpotDatafeedSubscriptionSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec. +func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionSpec) + out := new(SecurityGroupSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotDatafeedSubscriptionStatus) DeepCopyInto(out *SpotDatafeedSubscriptionStatus) { +func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionStatus. -func (in *SpotDatafeedSubscriptionStatus) DeepCopy() *SpotDatafeedSubscriptionStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus. +func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus { if in == nil { return nil } - out := new(SpotDatafeedSubscriptionStatus) + out := new(SecurityGroupStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotFleetRequest) DeepCopyInto(out *SpotFleetRequest) { +func (in *SecurityGroupsInitParameters) DeepCopyInto(out *SecurityGroupsInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequest. -func (in *SpotFleetRequest) DeepCopy() *SpotFleetRequest { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsInitParameters. +func (in *SecurityGroupsInitParameters) DeepCopy() *SecurityGroupsInitParameters { if in == nil { return nil } - out := new(SpotFleetRequest) + out := new(SecurityGroupsInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SpotFleetRequest) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotFleetRequestInitParameters) DeepCopyInto(out *SpotFleetRequestInitParameters) { +func (in *SecurityGroupsObservation) DeepCopyInto(out *SecurityGroupsObservation) { *out = *in - if in.AllocationStrategy != nil { - in, out := &in.AllocationStrategy, &out.AllocationStrategy - *out = new(string) - **out = **in - } - if in.Context != nil { - in, out := &in.Context, &out.Context - *out = new(string) - **out = **in - } - if in.ExcessCapacityTerminationPolicy != nil { - in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy - *out = new(string) - **out = **in - } - if in.FleetType != nil { - in, out := &in.FleetType, &out.FleetType - *out = new(string) - **out = **in - } - if in.IAMFleetRole != nil { - in, out := &in.IAMFleetRole, &out.IAMFleetRole - *out = new(string) - **out = **in - } - if in.InstanceInterruptionBehaviour != nil { - in, out := &in.InstanceInterruptionBehaviour, &out.InstanceInterruptionBehaviour - *out = new(string) - **out = **in - } - if in.InstancePoolsToUseCount != nil { - in, out := &in.InstancePoolsToUseCount, &out.InstancePoolsToUseCount - *out = new(float64) - **out = **in - } - if in.LaunchSpecification != nil { - in, out := &in.LaunchSpecification, &out.LaunchSpecification - *out = make([]LaunchSpecificationInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LaunchTemplateConfig != nil { - in, out := &in.LaunchTemplateConfig, &out.LaunchTemplateConfig - *out = make([]LaunchTemplateConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LoadBalancers != nil { - in, out := &in.LoadBalancers, &out.LoadBalancers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.OnDemandAllocationStrategy != nil { - in, out := &in.OnDemandAllocationStrategy, &out.OnDemandAllocationStrategy - *out = new(string) - **out = **in - } - if in.OnDemandMaxTotalPrice != nil { - in, out := &in.OnDemandMaxTotalPrice, &out.OnDemandMaxTotalPrice + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.OnDemandTargetCapacity != nil { - in, out := &in.OnDemandTargetCapacity, &out.OnDemandTargetCapacity - *out = new(float64) - **out = **in - } - if in.ReplaceUnhealthyInstances != nil { - in, out := &in.ReplaceUnhealthyInstances, &out.ReplaceUnhealthyInstances - *out = new(bool) - **out = **in - } - if in.SpotMaintenanceStrategies != nil { - in, out := &in.SpotMaintenanceStrategies, &out.SpotMaintenanceStrategies - *out = make([]SpotMaintenanceStrategiesInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SpotPrice != nil { - in, out := &in.SpotPrice, &out.SpotPrice + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TargetCapacity != nil { - in, out := &in.TargetCapacity, &out.TargetCapacity - *out = new(float64) - **out = **in - } - if in.TargetCapacityUnitType != nil { - in, out := &in.TargetCapacityUnitType, &out.TargetCapacityUnitType + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.TargetGroupArns != nil { - in, out := &in.TargetGroupArns, &out.TargetGroupArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.TerminateInstancesOnDelete != nil { - in, out := &in.TerminateInstancesOnDelete, &out.TerminateInstancesOnDelete - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsObservation. +func (in *SecurityGroupsObservation) DeepCopy() *SecurityGroupsObservation { + if in == nil { + return nil } - if in.TerminateInstancesWithExpiration != nil { - in, out := &in.TerminateInstancesWithExpiration, &out.TerminateInstancesWithExpiration - *out = new(bool) - **out = **in + out := new(SecurityGroupsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupsParameters) DeepCopyInto(out *SecurityGroupsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupsParameters. +func (in *SecurityGroupsParameters) DeepCopy() *SecurityGroupsParameters { + if in == nil { + return nil } - if in.ValidFrom != nil { - in, out := &in.ValidFrom, &out.ValidFrom - *out = new(string) - **out = **in + out := new(SecurityGroupsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerialConsoleAccess) DeepCopyInto(out *SerialConsoleAccess) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccess. +func (in *SerialConsoleAccess) DeepCopy() *SerialConsoleAccess { + if in == nil { + return nil } - if in.ValidUntil != nil { - in, out := &in.ValidUntil, &out.ValidUntil - *out = new(string) - **out = **in + out := new(SerialConsoleAccess) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SerialConsoleAccess) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.WaitForFulfillment != nil { - in, out := &in.WaitForFulfillment, &out.WaitForFulfillment + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerialConsoleAccessInitParameters) DeepCopyInto(out *SerialConsoleAccessInitParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequestInitParameters. -func (in *SpotFleetRequestInitParameters) DeepCopy() *SpotFleetRequestInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessInitParameters. +func (in *SerialConsoleAccessInitParameters) DeepCopy() *SerialConsoleAccessInitParameters { if in == nil { return nil } - out := new(SpotFleetRequestInitParameters) + out := new(SerialConsoleAccessInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotFleetRequestList) DeepCopyInto(out *SpotFleetRequestList) { +func (in *SerialConsoleAccessList) DeepCopyInto(out *SerialConsoleAccessList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SpotFleetRequest, len(*in)) + *out = make([]SerialConsoleAccess, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequestList. -func (in *SpotFleetRequestList) DeepCopy() *SpotFleetRequestList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessList. +func (in *SerialConsoleAccessList) DeepCopy() *SerialConsoleAccessList { if in == nil { return nil } - out := new(SpotFleetRequestList) + out := new(SerialConsoleAccessList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SpotFleetRequestList) DeepCopyObject() runtime.Object { +func (in *SerialConsoleAccessList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -31654,30 +31534,896 @@ func (in *SpotFleetRequestList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpotFleetRequestObservation) DeepCopyInto(out *SpotFleetRequestObservation) { +func (in *SerialConsoleAccessObservation) DeepCopyInto(out *SerialConsoleAccessObservation) { *out = *in - if in.AllocationStrategy != nil { - in, out := &in.AllocationStrategy, &out.AllocationStrategy - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.ClientToken != nil { - in, out := &in.ClientToken, &out.ClientToken + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Context != nil { - in, out := &in.Context, &out.Context - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessObservation. +func (in *SerialConsoleAccessObservation) DeepCopy() *SerialConsoleAccessObservation { + if in == nil { + return nil } - if in.ExcessCapacityTerminationPolicy != nil { - in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy - *out = new(string) + out := new(SerialConsoleAccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerialConsoleAccessParameters) DeepCopyInto(out *SerialConsoleAccessParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.FleetType != nil { - in, out := &in.FleetType, &out.FleetType + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessParameters. +func (in *SerialConsoleAccessParameters) DeepCopy() *SerialConsoleAccessParameters { + if in == nil { + return nil + } + out := new(SerialConsoleAccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerialConsoleAccessSpec) DeepCopyInto(out *SerialConsoleAccessSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessSpec. +func (in *SerialConsoleAccessSpec) DeepCopy() *SerialConsoleAccessSpec { + if in == nil { + return nil + } + out := new(SerialConsoleAccessSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerialConsoleAccessStatus) DeepCopyInto(out *SerialConsoleAccessStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialConsoleAccessStatus. +func (in *SerialConsoleAccessStatus) DeepCopy() *SerialConsoleAccessStatus { + if in == nil { + return nil + } + out := new(SerialConsoleAccessStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermission) DeepCopyInto(out *SnapshotCreateVolumePermission) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermission. +func (in *SnapshotCreateVolumePermission) DeepCopy() *SnapshotCreateVolumePermission { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermission) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SnapshotCreateVolumePermission) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionInitParameters) DeepCopyInto(out *SnapshotCreateVolumePermissionInitParameters) { + *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionInitParameters. +func (in *SnapshotCreateVolumePermissionInitParameters) DeepCopy() *SnapshotCreateVolumePermissionInitParameters { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionList) DeepCopyInto(out *SnapshotCreateVolumePermissionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SnapshotCreateVolumePermission, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionList. +func (in *SnapshotCreateVolumePermissionList) DeepCopy() *SnapshotCreateVolumePermissionList { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SnapshotCreateVolumePermissionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionObservation) DeepCopyInto(out *SnapshotCreateVolumePermissionObservation) { + *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionObservation. +func (in *SnapshotCreateVolumePermissionObservation) DeepCopy() *SnapshotCreateVolumePermissionObservation { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionParameters) DeepCopyInto(out *SnapshotCreateVolumePermissionParameters) { + *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } + if in.SnapshotIDRef != nil { + in, out := &in.SnapshotIDRef, &out.SnapshotIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnapshotIDSelector != nil { + in, out := &in.SnapshotIDSelector, &out.SnapshotIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionParameters. +func (in *SnapshotCreateVolumePermissionParameters) DeepCopy() *SnapshotCreateVolumePermissionParameters { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionSpec) DeepCopyInto(out *SnapshotCreateVolumePermissionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionSpec. +func (in *SnapshotCreateVolumePermissionSpec) DeepCopy() *SnapshotCreateVolumePermissionSpec { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotCreateVolumePermissionStatus) DeepCopyInto(out *SnapshotCreateVolumePermissionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotCreateVolumePermissionStatus. +func (in *SnapshotCreateVolumePermissionStatus) DeepCopy() *SnapshotCreateVolumePermissionStatus { + if in == nil { + return nil + } + out := new(SnapshotCreateVolumePermissionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangeInitParameters) DeepCopyInto(out *SourcePortRangeInitParameters) { + *out = *in + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeInitParameters. +func (in *SourcePortRangeInitParameters) DeepCopy() *SourcePortRangeInitParameters { + if in == nil { + return nil + } + out := new(SourcePortRangeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangeObservation) DeepCopyInto(out *SourcePortRangeObservation) { + *out = *in + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeObservation. +func (in *SourcePortRangeObservation) DeepCopy() *SourcePortRangeObservation { + if in == nil { + return nil + } + out := new(SourcePortRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangeParameters) DeepCopyInto(out *SourcePortRangeParameters) { + *out = *in + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangeParameters. +func (in *SourcePortRangeParameters) DeepCopy() *SourcePortRangeParameters { + if in == nil { + return nil + } + out := new(SourcePortRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangesInitParameters) DeepCopyInto(out *SourcePortRangesInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesInitParameters. +func (in *SourcePortRangesInitParameters) DeepCopy() *SourcePortRangesInitParameters { + if in == nil { + return nil + } + out := new(SourcePortRangesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangesObservation) DeepCopyInto(out *SourcePortRangesObservation) { + *out = *in + if in.From != nil { + in, out := &in.From, &out.From + *out = new(float64) + **out = **in + } + if in.To != nil { + in, out := &in.To, &out.To + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesObservation. +func (in *SourcePortRangesObservation) DeepCopy() *SourcePortRangesObservation { + if in == nil { + return nil + } + out := new(SourcePortRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourcePortRangesParameters) DeepCopyInto(out *SourcePortRangesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcePortRangesParameters. +func (in *SourcePortRangesParameters) DeepCopy() *SourcePortRangesParameters { + if in == nil { + return nil + } + out := new(SourcePortRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceVPCInitParameters) DeepCopyInto(out *SourceVPCInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCInitParameters. +func (in *SourceVPCInitParameters) DeepCopy() *SourceVPCInitParameters { + if in == nil { + return nil + } + out := new(SourceVPCInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceVPCObservation) DeepCopyInto(out *SourceVPCObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCObservation. +func (in *SourceVPCObservation) DeepCopy() *SourceVPCObservation { + if in == nil { + return nil + } + out := new(SourceVPCObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceVPCParameters) DeepCopyInto(out *SourceVPCParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVPCParameters. +func (in *SourceVPCParameters) DeepCopy() *SourceVPCParameters { + if in == nil { + return nil + } + out := new(SourceVPCParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscription) DeepCopyInto(out *SpotDatafeedSubscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscription. +func (in *SpotDatafeedSubscription) DeepCopy() *SpotDatafeedSubscription { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SpotDatafeedSubscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionInitParameters) DeepCopyInto(out *SpotDatafeedSubscriptionInitParameters) { + *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionInitParameters. +func (in *SpotDatafeedSubscriptionInitParameters) DeepCopy() *SpotDatafeedSubscriptionInitParameters { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionList) DeepCopyInto(out *SpotDatafeedSubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SpotDatafeedSubscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionList. +func (in *SpotDatafeedSubscriptionList) DeepCopy() *SpotDatafeedSubscriptionList { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SpotDatafeedSubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionObservation) DeepCopyInto(out *SpotDatafeedSubscriptionObservation) { + *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionObservation. +func (in *SpotDatafeedSubscriptionObservation) DeepCopy() *SpotDatafeedSubscriptionObservation { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionParameters) DeepCopyInto(out *SpotDatafeedSubscriptionParameters) { + *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionParameters. +func (in *SpotDatafeedSubscriptionParameters) DeepCopy() *SpotDatafeedSubscriptionParameters { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionSpec) DeepCopyInto(out *SpotDatafeedSubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionSpec. +func (in *SpotDatafeedSubscriptionSpec) DeepCopy() *SpotDatafeedSubscriptionSpec { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotDatafeedSubscriptionStatus) DeepCopyInto(out *SpotDatafeedSubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotDatafeedSubscriptionStatus. +func (in *SpotDatafeedSubscriptionStatus) DeepCopy() *SpotDatafeedSubscriptionStatus { + if in == nil { + return nil + } + out := new(SpotDatafeedSubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotFleetRequest) DeepCopyInto(out *SpotFleetRequest) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequest. +func (in *SpotFleetRequest) DeepCopy() *SpotFleetRequest { + if in == nil { + return nil + } + out := new(SpotFleetRequest) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SpotFleetRequest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotFleetRequestInitParameters) DeepCopyInto(out *SpotFleetRequestInitParameters) { + *out = *in + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(string) + **out = **in + } + if in.Context != nil { + in, out := &in.Context, &out.Context + *out = new(string) + **out = **in + } + if in.ExcessCapacityTerminationPolicy != nil { + in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy + *out = new(string) + **out = **in + } + if in.FleetType != nil { + in, out := &in.FleetType, &out.FleetType + *out = new(string) + **out = **in + } + if in.IAMFleetRole != nil { + in, out := &in.IAMFleetRole, &out.IAMFleetRole + *out = new(string) + **out = **in + } + if in.InstanceInterruptionBehaviour != nil { + in, out := &in.InstanceInterruptionBehaviour, &out.InstanceInterruptionBehaviour + *out = new(string) + **out = **in + } + if in.InstancePoolsToUseCount != nil { + in, out := &in.InstancePoolsToUseCount, &out.InstancePoolsToUseCount + *out = new(float64) + **out = **in + } + if in.LaunchSpecification != nil { + in, out := &in.LaunchSpecification, &out.LaunchSpecification + *out = make([]LaunchSpecificationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LaunchTemplateConfig != nil { + in, out := &in.LaunchTemplateConfig, &out.LaunchTemplateConfig + *out = make([]LaunchTemplateConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LoadBalancers != nil { + in, out := &in.LoadBalancers, &out.LoadBalancers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OnDemandAllocationStrategy != nil { + in, out := &in.OnDemandAllocationStrategy, &out.OnDemandAllocationStrategy + *out = new(string) + **out = **in + } + if in.OnDemandMaxTotalPrice != nil { + in, out := &in.OnDemandMaxTotalPrice, &out.OnDemandMaxTotalPrice + *out = new(string) + **out = **in + } + if in.OnDemandTargetCapacity != nil { + in, out := &in.OnDemandTargetCapacity, &out.OnDemandTargetCapacity + *out = new(float64) + **out = **in + } + if in.ReplaceUnhealthyInstances != nil { + in, out := &in.ReplaceUnhealthyInstances, &out.ReplaceUnhealthyInstances + *out = new(bool) + **out = **in + } + if in.SpotMaintenanceStrategies != nil { + in, out := &in.SpotMaintenanceStrategies, &out.SpotMaintenanceStrategies + *out = make([]SpotMaintenanceStrategiesInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SpotPrice != nil { + in, out := &in.SpotPrice, &out.SpotPrice + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetCapacity != nil { + in, out := &in.TargetCapacity, &out.TargetCapacity + *out = new(float64) + **out = **in + } + if in.TargetCapacityUnitType != nil { + in, out := &in.TargetCapacityUnitType, &out.TargetCapacityUnitType + *out = new(string) + **out = **in + } + if in.TargetGroupArns != nil { + in, out := &in.TargetGroupArns, &out.TargetGroupArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TerminateInstancesOnDelete != nil { + in, out := &in.TerminateInstancesOnDelete, &out.TerminateInstancesOnDelete + *out = new(string) + **out = **in + } + if in.TerminateInstancesWithExpiration != nil { + in, out := &in.TerminateInstancesWithExpiration, &out.TerminateInstancesWithExpiration + *out = new(bool) + **out = **in + } + if in.ValidFrom != nil { + in, out := &in.ValidFrom, &out.ValidFrom + *out = new(string) + **out = **in + } + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil + *out = new(string) + **out = **in + } + if in.WaitForFulfillment != nil { + in, out := &in.WaitForFulfillment, &out.WaitForFulfillment + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequestInitParameters. +func (in *SpotFleetRequestInitParameters) DeepCopy() *SpotFleetRequestInitParameters { + if in == nil { + return nil + } + out := new(SpotFleetRequestInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotFleetRequestList) DeepCopyInto(out *SpotFleetRequestList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SpotFleetRequest, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotFleetRequestList. +func (in *SpotFleetRequestList) DeepCopy() *SpotFleetRequestList { + if in == nil { + return nil + } + out := new(SpotFleetRequestList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SpotFleetRequestList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpotFleetRequestObservation) DeepCopyInto(out *SpotFleetRequestObservation) { + *out = *in + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(string) + **out = **in + } + if in.ClientToken != nil { + in, out := &in.ClientToken, &out.ClientToken + *out = new(string) + **out = **in + } + if in.Context != nil { + in, out := &in.Context, &out.Context + *out = new(string) + **out = **in + } + if in.ExcessCapacityTerminationPolicy != nil { + in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy + *out = new(string) + **out = **in + } + if in.FleetType != nil { + in, out := &in.FleetType, &out.FleetType *out = new(string) **out = **in } @@ -41701,246 +42447,25 @@ func (in *VPCDHCPOptionsAssociationList) DeepCopyInto(out *VPCDHCPOptionsAssocia in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCDHCPOptionsAssociation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationList. -func (in *VPCDHCPOptionsAssociationList) DeepCopy() *VPCDHCPOptionsAssociationList { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsAssociationList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCDHCPOptionsAssociationList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsAssociationObservation) DeepCopyInto(out *VPCDHCPOptionsAssociationObservation) { - *out = *in - if in.DHCPOptionsID != nil { - in, out := &in.DHCPOptionsID, &out.DHCPOptionsID - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationObservation. -func (in *VPCDHCPOptionsAssociationObservation) DeepCopy() *VPCDHCPOptionsAssociationObservation { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsAssociationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsAssociationParameters) DeepCopyInto(out *VPCDHCPOptionsAssociationParameters) { - *out = *in - if in.DHCPOptionsID != nil { - in, out := &in.DHCPOptionsID, &out.DHCPOptionsID - *out = new(string) - **out = **in - } - if in.DHCPOptionsIDRef != nil { - in, out := &in.DHCPOptionsIDRef, &out.DHCPOptionsIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DHCPOptionsIDSelector != nil { - in, out := &in.DHCPOptionsIDSelector, &out.DHCPOptionsIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationParameters. -func (in *VPCDHCPOptionsAssociationParameters) DeepCopy() *VPCDHCPOptionsAssociationParameters { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsAssociationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsAssociationSpec) DeepCopyInto(out *VPCDHCPOptionsAssociationSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - out.InitProvider = in.InitProvider -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationSpec. -func (in *VPCDHCPOptionsAssociationSpec) DeepCopy() *VPCDHCPOptionsAssociationSpec { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsAssociationSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsAssociationStatus) DeepCopyInto(out *VPCDHCPOptionsAssociationStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationStatus. -func (in *VPCDHCPOptionsAssociationStatus) DeepCopy() *VPCDHCPOptionsAssociationStatus { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsAssociationStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsInitParameters) DeepCopyInto(out *VPCDHCPOptionsInitParameters) { - *out = *in - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName - *out = new(string) - **out = **in - } - if in.DomainNameServers != nil { - in, out := &in.DomainNameServers, &out.DomainNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetbiosNameServers != nil { - in, out := &in.NetbiosNameServers, &out.NetbiosNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetbiosNodeType != nil { - in, out := &in.NetbiosNodeType, &out.NetbiosNodeType - *out = new(string) - **out = **in - } - if in.NtpServers != nil { - in, out := &in.NtpServers, &out.NtpServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsInitParameters. -func (in *VPCDHCPOptionsInitParameters) DeepCopy() *VPCDHCPOptionsInitParameters { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsList) DeepCopyInto(out *VPCDHCPOptionsList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VPCDHCPOptions, len(*in)) + *out = make([]VPCDHCPOptionsAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsList. -func (in *VPCDHCPOptionsList) DeepCopy() *VPCDHCPOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationList. +func (in *VPCDHCPOptionsAssociationList) DeepCopy() *VPCDHCPOptionsAssociationList { if in == nil { return nil } - out := new(VPCDHCPOptionsList) + out := new(VPCDHCPOptionsAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCDHCPOptionsList) DeepCopyObject() runtime.Object { +func (in *VPCDHCPOptionsAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -41948,283 +42473,130 @@ func (in *VPCDHCPOptionsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsObservation) DeepCopyInto(out *VPCDHCPOptionsObservation) { +func (in *VPCDHCPOptionsAssociationObservation) DeepCopyInto(out *VPCDHCPOptionsAssociationObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName + if in.DHCPOptionsID != nil { + in, out := &in.DHCPOptionsID, &out.DHCPOptionsID *out = new(string) **out = **in } - if in.DomainNameServers != nil { - in, out := &in.DomainNameServers, &out.DomainNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.NetbiosNameServers != nil { - in, out := &in.NetbiosNameServers, &out.NetbiosNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetbiosNodeType != nil { - in, out := &in.NetbiosNodeType, &out.NetbiosNodeType - *out = new(string) - **out = **in - } - if in.NtpServers != nil { - in, out := &in.NtpServers, &out.NtpServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsObservation. -func (in *VPCDHCPOptionsObservation) DeepCopy() *VPCDHCPOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationObservation. +func (in *VPCDHCPOptionsAssociationObservation) DeepCopy() *VPCDHCPOptionsAssociationObservation { if in == nil { return nil } - out := new(VPCDHCPOptionsObservation) + out := new(VPCDHCPOptionsAssociationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsParameters) DeepCopyInto(out *VPCDHCPOptionsParameters) { +func (in *VPCDHCPOptionsAssociationParameters) DeepCopyInto(out *VPCDHCPOptionsAssociationParameters) { *out = *in - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName + if in.DHCPOptionsID != nil { + in, out := &in.DHCPOptionsID, &out.DHCPOptionsID *out = new(string) **out = **in } - if in.DomainNameServers != nil { - in, out := &in.DomainNameServers, &out.DomainNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.DHCPOptionsIDRef != nil { + in, out := &in.DHCPOptionsIDRef, &out.DHCPOptionsIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.NetbiosNameServers != nil { - in, out := &in.NetbiosNameServers, &out.NetbiosNameServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.DHCPOptionsIDSelector != nil { + in, out := &in.DHCPOptionsIDSelector, &out.DHCPOptionsIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.NetbiosNodeType != nil { - in, out := &in.NetbiosNodeType, &out.NetbiosNodeType + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.NtpServers != nil { - in, out := &in.NtpServers, &out.NtpServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsParameters. -func (in *VPCDHCPOptionsParameters) DeepCopy() *VPCDHCPOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationParameters. +func (in *VPCDHCPOptionsAssociationParameters) DeepCopy() *VPCDHCPOptionsAssociationParameters { if in == nil { return nil } - out := new(VPCDHCPOptionsParameters) + out := new(VPCDHCPOptionsAssociationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsSpec) DeepCopyInto(out *VPCDHCPOptionsSpec) { +func (in *VPCDHCPOptionsAssociationSpec) DeepCopyInto(out *VPCDHCPOptionsAssociationSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.InitProvider = in.InitProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsSpec. -func (in *VPCDHCPOptionsSpec) DeepCopy() *VPCDHCPOptionsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationSpec. +func (in *VPCDHCPOptionsAssociationSpec) DeepCopy() *VPCDHCPOptionsAssociationSpec { if in == nil { return nil } - out := new(VPCDHCPOptionsSpec) + out := new(VPCDHCPOptionsAssociationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCDHCPOptionsStatus) DeepCopyInto(out *VPCDHCPOptionsStatus) { +func (in *VPCDHCPOptionsAssociationStatus) DeepCopyInto(out *VPCDHCPOptionsAssociationStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsStatus. -func (in *VPCDHCPOptionsStatus) DeepCopy() *VPCDHCPOptionsStatus { - if in == nil { - return nil - } - out := new(VPCDHCPOptionsStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpoint) DeepCopyInto(out *VPCEndpoint) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpoint. -func (in *VPCEndpoint) DeepCopy() *VPCEndpoint { - if in == nil { - return nil - } - out := new(VPCEndpoint) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpoint) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotification) DeepCopyInto(out *VPCEndpointConnectionNotification) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotification. -func (in *VPCEndpointConnectionNotification) DeepCopy() *VPCEndpointConnectionNotification { - if in == nil { - return nil - } - out := new(VPCEndpointConnectionNotification) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointConnectionNotification) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsAssociationStatus. +func (in *VPCDHCPOptionsAssociationStatus) DeepCopy() *VPCDHCPOptionsAssociationStatus { + if in == nil { + return nil } - return nil + out := new(VPCDHCPOptionsAssociationStatus) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopyInto(out *VPCEndpointConnectionNotificationInitParameters) { +func (in *VPCDHCPOptionsInitParameters) DeepCopyInto(out *VPCDHCPOptionsInitParameters) { *out = *in - if in.ConnectionEvents != nil { - in, out := &in.ConnectionEvents, &out.ConnectionEvents + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameServers != nil { + in, out := &in.DomainNameServers, &out.DomainNameServers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -42234,49 +42606,87 @@ func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopyInto(out *VPC } } } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.NetbiosNameServers != nil { + in, out := &in.NetbiosNameServers, &out.NetbiosNameServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NetbiosNodeType != nil { + in, out := &in.NetbiosNodeType, &out.NetbiosNodeType *out = new(string) **out = **in } + if in.NtpServers != nil { + in, out := &in.NtpServers, &out.NtpServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationInitParameters. -func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopy() *VPCEndpointConnectionNotificationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsInitParameters. +func (in *VPCDHCPOptionsInitParameters) DeepCopy() *VPCDHCPOptionsInitParameters { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationInitParameters) + out := new(VPCDHCPOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationList) DeepCopyInto(out *VPCEndpointConnectionNotificationList) { +func (in *VPCDHCPOptionsList) DeepCopyInto(out *VPCDHCPOptionsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpointConnectionNotification, len(*in)) + *out = make([]VPCDHCPOptions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationList. -func (in *VPCEndpointConnectionNotificationList) DeepCopy() *VPCEndpointConnectionNotificationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsList. +func (in *VPCDHCPOptionsList) DeepCopy() *VPCDHCPOptionsList { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationList) + out := new(VPCDHCPOptionsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointConnectionNotificationList) DeepCopyObject() runtime.Object { +func (in *VPCDHCPOptionsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -42284,10 +42694,20 @@ func (in *VPCEndpointConnectionNotificationList) DeepCopyObject() runtime.Object } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationObservation) DeepCopyInto(out *VPCEndpointConnectionNotificationObservation) { +func (in *VPCDHCPOptionsObservation) DeepCopyInto(out *VPCDHCPOptionsObservation) { *out = *in - if in.ConnectionEvents != nil { - in, out := &in.ConnectionEvents, &out.ConnectionEvents + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameServers != nil { + in, out := &in.DomainNameServers, &out.DomainNameServers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -42297,53 +42717,97 @@ func (in *VPCEndpointConnectionNotificationObservation) DeepCopyInto(out *VPCEnd } } } - if in.ConnectionNotificationArn != nil { - in, out := &in.ConnectionNotificationArn, &out.ConnectionNotificationArn - *out = new(string) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.NotificationType != nil { - in, out := &in.NotificationType, &out.NotificationType - *out = new(string) - **out = **in + if in.NetbiosNameServers != nil { + in, out := &in.NetbiosNameServers, &out.NetbiosNameServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.State != nil { - in, out := &in.State, &out.State + if in.NetbiosNodeType != nil { + in, out := &in.NetbiosNodeType, &out.NetbiosNodeType *out = new(string) **out = **in } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID - *out = new(string) - **out = **in + if in.NtpServers != nil { + in, out := &in.NtpServers, &out.NtpServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.VPCEndpointServiceID != nil { - in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationObservation. -func (in *VPCEndpointConnectionNotificationObservation) DeepCopy() *VPCEndpointConnectionNotificationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsObservation. +func (in *VPCDHCPOptionsObservation) DeepCopy() *VPCDHCPOptionsObservation { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationObservation) + out := new(VPCDHCPOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationParameters) DeepCopyInto(out *VPCEndpointConnectionNotificationParameters) { +func (in *VPCDHCPOptionsParameters) DeepCopyInto(out *VPCDHCPOptionsParameters) { *out = *in - if in.ConnectionEvents != nil { - in, out := &in.ConnectionEvents, &out.ConnectionEvents + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameServers != nil { + in, out := &in.DomainNameServers, &out.DomainNameServers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -42353,330 +42817,223 @@ func (in *VPCEndpointConnectionNotificationParameters) DeepCopyInto(out *VPCEndp } } } - if in.ConnectionNotificationArn != nil { - in, out := &in.ConnectionNotificationArn, &out.ConnectionNotificationArn + if in.NetbiosNameServers != nil { + in, out := &in.NetbiosNameServers, &out.NetbiosNameServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NetbiosNodeType != nil { + in, out := &in.NetbiosNodeType, &out.NetbiosNodeType *out = new(string) **out = **in } - if in.ConnectionNotificationArnRef != nil { - in, out := &in.ConnectionNotificationArnRef, &out.ConnectionNotificationArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ConnectionNotificationArnSelector != nil { - in, out := &in.ConnectionNotificationArnSelector, &out.ConnectionNotificationArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.NtpServers != nil { + in, out := &in.NtpServers, &out.NtpServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID - *out = new(string) - **out = **in - } - if in.VPCEndpointServiceID != nil { - in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID - *out = new(string) - **out = **in - } - if in.VPCEndpointServiceIDRef != nil { - in, out := &in.VPCEndpointServiceIDRef, &out.VPCEndpointServiceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCEndpointServiceIDSelector != nil { - in, out := &in.VPCEndpointServiceIDSelector, &out.VPCEndpointServiceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationParameters. -func (in *VPCEndpointConnectionNotificationParameters) DeepCopy() *VPCEndpointConnectionNotificationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsParameters. +func (in *VPCDHCPOptionsParameters) DeepCopy() *VPCDHCPOptionsParameters { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationParameters) + out := new(VPCDHCPOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationSpec) DeepCopyInto(out *VPCEndpointConnectionNotificationSpec) { +func (in *VPCDHCPOptionsSpec) DeepCopyInto(out *VPCDHCPOptionsSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationSpec. -func (in *VPCEndpointConnectionNotificationSpec) DeepCopy() *VPCEndpointConnectionNotificationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsSpec. +func (in *VPCDHCPOptionsSpec) DeepCopy() *VPCDHCPOptionsSpec { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationSpec) + out := new(VPCDHCPOptionsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointConnectionNotificationStatus) DeepCopyInto(out *VPCEndpointConnectionNotificationStatus) { +func (in *VPCDHCPOptionsStatus) DeepCopyInto(out *VPCDHCPOptionsStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationStatus. -func (in *VPCEndpointConnectionNotificationStatus) DeepCopy() *VPCEndpointConnectionNotificationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCDHCPOptionsStatus. +func (in *VPCDHCPOptionsStatus) DeepCopy() *VPCDHCPOptionsStatus { if in == nil { return nil } - out := new(VPCEndpointConnectionNotificationStatus) + out := new(VPCDHCPOptionsStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointInitParameters) DeepCopyInto(out *VPCEndpointInitParameters) { +func (in *VPCEndpoint) DeepCopyInto(out *VPCEndpoint) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointInitParameters. -func (in *VPCEndpointInitParameters) DeepCopy() *VPCEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpoint. +func (in *VPCEndpoint) DeepCopy() *VPCEndpoint { if in == nil { return nil } - out := new(VPCEndpointInitParameters) + out := new(VPCEndpoint) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointInitParameters_2) DeepCopyInto(out *VPCEndpointInitParameters_2) { +func (in *VPCEndpointConnectionNotification) DeepCopyInto(out *VPCEndpointConnectionNotification) { *out = *in - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) - **out = **in - } - if in.DNSOptions != nil { - in, out := &in.DNSOptions, &out.DNSOptions - *out = make([]DNSOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.IPAddressType != nil { - in, out := &in.IPAddressType, &out.IPAddressType - *out = new(string) - **out = **in - } - if in.Policy != nil { - in, out := &in.Policy, &out.Policy - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotification. +func (in *VPCEndpointConnectionNotification) DeepCopy() *VPCEndpointConnectionNotification { + if in == nil { + return nil } - if in.PrivateDNSEnabled != nil { - in, out := &in.PrivateDNSEnabled, &out.PrivateDNSEnabled - *out = new(bool) - **out = **in + out := new(VPCEndpointConnectionNotification) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCEndpointConnectionNotification) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopyInto(out *VPCEndpointConnectionNotificationInitParameters) { + *out = *in + if in.ConnectionEvents != nil { + in, out := &in.ConnectionEvents, &out.ConnectionEvents + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.VPCEndpointType != nil { - in, out := &in.VPCEndpointType, &out.VPCEndpointType + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointInitParameters_2. -func (in *VPCEndpointInitParameters_2) DeepCopy() *VPCEndpointInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationInitParameters. +func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopy() *VPCEndpointConnectionNotificationInitParameters { if in == nil { return nil } - out := new(VPCEndpointInitParameters_2) + out := new(VPCEndpointConnectionNotificationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointList) DeepCopyInto(out *VPCEndpointList) { +func (in *VPCEndpointConnectionNotificationList) DeepCopyInto(out *VPCEndpointConnectionNotificationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpoint, len(*in)) + *out = make([]VPCEndpointConnectionNotification, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointList. -func (in *VPCEndpointList) DeepCopy() *VPCEndpointList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationList. +func (in *VPCEndpointConnectionNotificationList) DeepCopy() *VPCEndpointConnectionNotificationList { if in == nil { return nil } - out := new(VPCEndpointList) + out := new(VPCEndpointConnectionNotificationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointConnectionNotificationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointObservation) DeepCopyInto(out *VPCEndpointObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointObservation. -func (in *VPCEndpointObservation) DeepCopy() *VPCEndpointObservation { - if in == nil { - return nil - } - out := new(VPCEndpointObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) - **out = **in - } - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.DNSEntry != nil { - in, out := &in.DNSEntry, &out.DNSEntry - *out = make([]DNSEntryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DNSOptions != nil { - in, out := &in.DNSOptions, &out.DNSOptions - *out = make([]DNSOptionsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.IPAddressType != nil { - in, out := &in.IPAddressType, &out.IPAddressType - *out = new(string) - **out = **in - } - if in.NetworkInterfaceIds != nil { - in, out := &in.NetworkInterfaceIds, &out.NetworkInterfaceIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID - *out = new(string) - **out = **in - } - if in.Policy != nil { - in, out := &in.Policy, &out.Policy - *out = new(string) - **out = **in - } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID - *out = new(string) - **out = **in - } - if in.PrivateDNSEnabled != nil { - in, out := &in.PrivateDNSEnabled, &out.PrivateDNSEnabled - *out = new(bool) - **out = **in - } - if in.RequesterManaged != nil { - in, out := &in.RequesterManaged, &out.RequesterManaged - *out = new(bool) - **out = **in - } - if in.RouteTableIds != nil { - in, out := &in.RouteTableIds, &out.RouteTableIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointConnectionNotificationObservation) DeepCopyInto(out *VPCEndpointConnectionNotificationObservation) { + *out = *in + if in.ConnectionEvents != nil { + in, out := &in.ConnectionEvents, &out.ConnectionEvents *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -42686,8 +43043,18 @@ func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) } } } - if in.ServiceName != nil { - in, out := &in.ServiceName, &out.ServiceName + if in.ConnectionNotificationArn != nil { + in, out := &in.ConnectionNotificationArn, &out.ConnectionNotificationArn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.NotificationType != nil { + in, out := &in.NotificationType, &out.NotificationType *out = new(string) **out = **in } @@ -42696,8 +43063,33 @@ func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) *out = new(string) **out = **in } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID + *out = new(string) + **out = **in + } + if in.VPCEndpointServiceID != nil { + in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationObservation. +func (in *VPCEndpointConnectionNotificationObservation) DeepCopy() *VPCEndpointConnectionNotificationObservation { + if in == nil { + return nil + } + out := new(VPCEndpointConnectionNotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointConnectionNotificationParameters) DeepCopyInto(out *VPCEndpointConnectionNotificationParameters) { + *out = *in + if in.ConnectionEvents != nil { + in, out := &in.ConnectionEvents, &out.ConnectionEvents *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -42707,77 +43099,110 @@ func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) } } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.ConnectionNotificationArn != nil { + in, out := &in.ConnectionNotificationArn, &out.ConnectionNotificationArn + *out = new(string) + **out = **in } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.ConnectionNotificationArnRef != nil { + in, out := &in.ConnectionNotificationArnRef, &out.ConnectionNotificationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.VPCEndpointType != nil { - in, out := &in.VPCEndpointType, &out.VPCEndpointType + if in.ConnectionNotificationArnSelector != nil { + in, out := &in.ConnectionNotificationArnSelector, &out.ConnectionNotificationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID + *out = new(string) + **out = **in + } + if in.VPCEndpointServiceID != nil { + in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID *out = new(string) **out = **in } + if in.VPCEndpointServiceIDRef != nil { + in, out := &in.VPCEndpointServiceIDRef, &out.VPCEndpointServiceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointServiceIDSelector != nil { + in, out := &in.VPCEndpointServiceIDSelector, &out.VPCEndpointServiceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointObservation_2. -func (in *VPCEndpointObservation_2) DeepCopy() *VPCEndpointObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationParameters. +func (in *VPCEndpointConnectionNotificationParameters) DeepCopy() *VPCEndpointConnectionNotificationParameters { if in == nil { return nil } - out := new(VPCEndpointObservation_2) + out := new(VPCEndpointConnectionNotificationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointParameters) DeepCopyInto(out *VPCEndpointParameters) { +func (in *VPCEndpointConnectionNotificationSpec) DeepCopyInto(out *VPCEndpointConnectionNotificationSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointParameters. -func (in *VPCEndpointParameters) DeepCopy() *VPCEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationSpec. +func (in *VPCEndpointConnectionNotificationSpec) DeepCopy() *VPCEndpointConnectionNotificationSpec { if in == nil { return nil } - out := new(VPCEndpointParameters) + out := new(VPCEndpointConnectionNotificationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { +func (in *VPCEndpointConnectionNotificationStatus) DeepCopyInto(out *VPCEndpointConnectionNotificationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointConnectionNotificationStatus. +func (in *VPCEndpointConnectionNotificationStatus) DeepCopy() *VPCEndpointConnectionNotificationStatus { + if in == nil { + return nil + } + out := new(VPCEndpointConnectionNotificationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointInitParameters) DeepCopyInto(out *VPCEndpointInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointInitParameters. +func (in *VPCEndpointInitParameters) DeepCopy() *VPCEndpointInitParameters { + if in == nil { + return nil + } + out := new(VPCEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointInitParameters_2) DeepCopyInto(out *VPCEndpointInitParameters_2) { *out = *in if in.AutoAccept != nil { in, out := &in.AutoAccept, &out.AutoAccept @@ -42786,7 +43211,7 @@ func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { } if in.DNSOptions != nil { in, out := &in.DNSOptions, &out.DNSOptions - *out = make([]DNSOptionsParameters, len(*in)) + *out = make([]DNSOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -42806,26 +43231,6 @@ func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { *out = new(bool) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.ServiceName != nil { - in, out := &in.ServiceName, &out.ServiceName - *out = new(string) - **out = **in - } - if in.ServiceNameRef != nil { - in, out := &in.ServiceNameRef, &out.ServiceNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ServiceNameSelector != nil { - in, out := &in.ServiceNameSelector, &out.ServiceNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -42847,101 +43252,44 @@ func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointParameters_2. -func (in *VPCEndpointParameters_2) DeepCopy() *VPCEndpointParameters_2 { - if in == nil { - return nil - } - out := new(VPCEndpointParameters_2) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociation) DeepCopyInto(out *VPCEndpointRouteTableAssociation) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociation. -func (in *VPCEndpointRouteTableAssociation) DeepCopy() *VPCEndpointRouteTableAssociation { - if in == nil { - return nil - } - out := new(VPCEndpointRouteTableAssociation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointRouteTableAssociation) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationInitParameters) DeepCopyInto(out *VPCEndpointRouteTableAssociationInitParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationInitParameters. -func (in *VPCEndpointRouteTableAssociationInitParameters) DeepCopy() *VPCEndpointRouteTableAssociationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointInitParameters_2. +func (in *VPCEndpointInitParameters_2) DeepCopy() *VPCEndpointInitParameters_2 { if in == nil { return nil } - out := new(VPCEndpointRouteTableAssociationInitParameters) + out := new(VPCEndpointInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationList) DeepCopyInto(out *VPCEndpointRouteTableAssociationList) { +func (in *VPCEndpointList) DeepCopyInto(out *VPCEndpointList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpointRouteTableAssociation, len(*in)) + *out = make([]VPCEndpoint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationList. -func (in *VPCEndpointRouteTableAssociationList) DeepCopy() *VPCEndpointRouteTableAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointList. +func (in *VPCEndpointList) DeepCopy() *VPCEndpointList { if in == nil { return nil } - out := new(VPCEndpointRouteTableAssociationList) + out := new(VPCEndpointList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointRouteTableAssociationList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -42949,353 +43297,331 @@ func (in *VPCEndpointRouteTableAssociationList) DeepCopyObject() runtime.Object } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationObservation) DeepCopyInto(out *VPCEndpointRouteTableAssociationObservation) { +func (in *VPCEndpointObservation) DeepCopyInto(out *VPCEndpointObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationObservation. -func (in *VPCEndpointRouteTableAssociationObservation) DeepCopy() *VPCEndpointRouteTableAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointObservation. +func (in *VPCEndpointObservation) DeepCopy() *VPCEndpointObservation { if in == nil { return nil } - out := new(VPCEndpointRouteTableAssociationObservation) + out := new(VPCEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationParameters) DeepCopyInto(out *VPCEndpointRouteTableAssociationParameters) { +func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) + **out = **in + } + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DNSEntry != nil { + in, out := &in.DNSEntry, &out.DNSEntry + *out = make([]DNSEntryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DNSOptions != nil { + in, out := &in.DNSOptions, &out.DNSOptions + *out = make([]DNSOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.RouteTableIDRef != nil { - in, out := &in.RouteTableIDRef, &out.RouteTableIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.IPAddressType != nil { + in, out := &in.IPAddressType, &out.IPAddressType + *out = new(string) + **out = **in } - if in.RouteTableIDSelector != nil { - in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.NetworkInterfaceIds != nil { + in, out := &in.NetworkInterfaceIds, &out.NetworkInterfaceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } - if in.VPCEndpointIDRef != nil { - in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.Policy != nil { + in, out := &in.Policy, &out.Policy + *out = new(string) + **out = **in } - if in.VPCEndpointIDSelector != nil { - in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationParameters. -func (in *VPCEndpointRouteTableAssociationParameters) DeepCopy() *VPCEndpointRouteTableAssociationParameters { - if in == nil { - return nil + if in.PrivateDNSEnabled != nil { + in, out := &in.PrivateDNSEnabled, &out.PrivateDNSEnabled + *out = new(bool) + **out = **in } - out := new(VPCEndpointRouteTableAssociationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationSpec) DeepCopyInto(out *VPCEndpointRouteTableAssociationSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - out.InitProvider = in.InitProvider -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationSpec. -func (in *VPCEndpointRouteTableAssociationSpec) DeepCopy() *VPCEndpointRouteTableAssociationSpec { - if in == nil { - return nil + if in.RequesterManaged != nil { + in, out := &in.RequesterManaged, &out.RequesterManaged + *out = new(bool) + **out = **in } - out := new(VPCEndpointRouteTableAssociationSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointRouteTableAssociationStatus) DeepCopyInto(out *VPCEndpointRouteTableAssociationStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationStatus. -func (in *VPCEndpointRouteTableAssociationStatus) DeepCopy() *VPCEndpointRouteTableAssociationStatus { - if in == nil { - return nil + if in.RouteTableIds != nil { + in, out := &in.RouteTableIds, &out.RouteTableIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(VPCEndpointRouteTableAssociationStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociation) DeepCopyInto(out *VPCEndpointSecurityGroupAssociation) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociation. -func (in *VPCEndpointSecurityGroupAssociation) DeepCopy() *VPCEndpointSecurityGroupAssociation { - if in == nil { - return nil + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(VPCEndpointSecurityGroupAssociation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointSecurityGroupAssociation) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCEndpointType != nil { + in, out := &in.VPCEndpointType, &out.VPCEndpointType + *out = new(string) + **out = **in } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationInitParameters) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationInitParameters) { - *out = *in - if in.ReplaceDefaultAssociation != nil { - in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation - *out = new(bool) + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationInitParameters. -func (in *VPCEndpointSecurityGroupAssociationInitParameters) DeepCopy() *VPCEndpointSecurityGroupAssociationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointObservation_2. +func (in *VPCEndpointObservation_2) DeepCopy() *VPCEndpointObservation_2 { if in == nil { return nil } - out := new(VPCEndpointSecurityGroupAssociationInitParameters) + out := new(VPCEndpointObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationList) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationList) { +func (in *VPCEndpointParameters) DeepCopyInto(out *VPCEndpointParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VPCEndpointSecurityGroupAssociation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationList. -func (in *VPCEndpointSecurityGroupAssociationList) DeepCopy() *VPCEndpointSecurityGroupAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointParameters. +func (in *VPCEndpointParameters) DeepCopy() *VPCEndpointParameters { if in == nil { return nil } - out := new(VPCEndpointSecurityGroupAssociationList) + out := new(VPCEndpointParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointSecurityGroupAssociationList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationObservation) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationObservation) { +func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.ReplaceDefaultAssociation != nil { - in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept *out = new(bool) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.DNSOptions != nil { + in, out := &in.DNSOptions, &out.DNSOptions + *out = make([]DNSOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddressType != nil { + in, out := &in.IPAddressType, &out.IPAddressType *out = new(string) **out = **in } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.Policy != nil { + in, out := &in.Policy, &out.Policy *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationObservation. -func (in *VPCEndpointSecurityGroupAssociationObservation) DeepCopy() *VPCEndpointSecurityGroupAssociationObservation { - if in == nil { - return nil + if in.PrivateDNSEnabled != nil { + in, out := &in.PrivateDNSEnabled, &out.PrivateDNSEnabled + *out = new(bool) + **out = **in } - out := new(VPCEndpointSecurityGroupAssociationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationParameters) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationParameters) { - *out = *in if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.ReplaceDefaultAssociation != nil { - in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation - *out = new(bool) - **out = **in - } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName *out = new(string) **out = **in } - if in.SecurityGroupIDRef != nil { - in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + if in.ServiceNameRef != nil { + in, out := &in.ServiceNameRef, &out.ServiceNameRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.SecurityGroupIDSelector != nil { - in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + if in.ServiceNameSelector != nil { + in, out := &in.ServiceNameSelector, &out.ServiceNameSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCEndpointType != nil { + in, out := &in.VPCEndpointType, &out.VPCEndpointType *out = new(string) **out = **in } - if in.VPCEndpointIDRef != nil { - in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCEndpointIDSelector != nil { - in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationParameters. -func (in *VPCEndpointSecurityGroupAssociationParameters) DeepCopy() *VPCEndpointSecurityGroupAssociationParameters { - if in == nil { - return nil - } - out := new(VPCEndpointSecurityGroupAssociationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationSpec) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationSpec. -func (in *VPCEndpointSecurityGroupAssociationSpec) DeepCopy() *VPCEndpointSecurityGroupAssociationSpec { - if in == nil { - return nil - } - out := new(VPCEndpointSecurityGroupAssociationSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSecurityGroupAssociationStatus) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationStatus. -func (in *VPCEndpointSecurityGroupAssociationStatus) DeepCopy() *VPCEndpointSecurityGroupAssociationStatus { - if in == nil { - return nil - } - out := new(VPCEndpointSecurityGroupAssociationStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointService) DeepCopyInto(out *VPCEndpointService) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointService. -func (in *VPCEndpointService) DeepCopy() *VPCEndpointService { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointParameters_2. +func (in *VPCEndpointParameters_2) DeepCopy() *VPCEndpointParameters_2 { if in == nil { return nil } - out := new(VPCEndpointService) + out := new(VPCEndpointParameters_2) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointService) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipal) { +func (in *VPCEndpointRouteTableAssociation) DeepCopyInto(out *VPCEndpointRouteTableAssociation) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -43303,18 +43629,18 @@ func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyInto(out *VPCEndpointServi in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipal. -func (in *VPCEndpointServiceAllowedPrincipal) DeepCopy() *VPCEndpointServiceAllowedPrincipal { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociation. +func (in *VPCEndpointRouteTableAssociation) DeepCopy() *VPCEndpointRouteTableAssociation { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipal) + out := new(VPCEndpointRouteTableAssociation) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyObject() runtime.Object { +func (in *VPCEndpointRouteTableAssociation) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -43322,51 +43648,46 @@ func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalInitParameters) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalInitParameters) { +func (in *VPCEndpointRouteTableAssociationInitParameters) DeepCopyInto(out *VPCEndpointRouteTableAssociationInitParameters) { *out = *in - if in.PrincipalArn != nil { - in, out := &in.PrincipalArn, &out.PrincipalArn - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalInitParameters. -func (in *VPCEndpointServiceAllowedPrincipalInitParameters) DeepCopy() *VPCEndpointServiceAllowedPrincipalInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationInitParameters. +func (in *VPCEndpointRouteTableAssociationInitParameters) DeepCopy() *VPCEndpointRouteTableAssociationInitParameters { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalInitParameters) + out := new(VPCEndpointRouteTableAssociationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalList) { +func (in *VPCEndpointRouteTableAssociationList) DeepCopyInto(out *VPCEndpointRouteTableAssociationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpointServiceAllowedPrincipal, len(*in)) + *out = make([]VPCEndpointRouteTableAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalList. -func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopy() *VPCEndpointServiceAllowedPrincipalList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationList. +func (in *VPCEndpointRouteTableAssociationList) DeepCopy() *VPCEndpointRouteTableAssociationList { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalList) + out := new(VPCEndpointRouteTableAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointRouteTableAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -43374,210 +43695,193 @@ func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopyObject() runtime.Objec } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalObservation) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalObservation) { +func (in *VPCEndpointRouteTableAssociationObservation) DeepCopyInto(out *VPCEndpointRouteTableAssociationObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.PrincipalArn != nil { - in, out := &in.PrincipalArn, &out.PrincipalArn + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID *out = new(string) **out = **in } - if in.VPCEndpointServiceID != nil { - in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalObservation. -func (in *VPCEndpointServiceAllowedPrincipalObservation) DeepCopy() *VPCEndpointServiceAllowedPrincipalObservation { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationObservation. +func (in *VPCEndpointRouteTableAssociationObservation) DeepCopy() *VPCEndpointRouteTableAssociationObservation { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalObservation) + out := new(VPCEndpointRouteTableAssociationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalParameters) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalParameters) { +func (in *VPCEndpointRouteTableAssociationParameters) DeepCopyInto(out *VPCEndpointRouteTableAssociationParameters) { *out = *in - if in.PrincipalArn != nil { - in, out := &in.PrincipalArn, &out.PrincipalArn + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID *out = new(string) **out = **in } - if in.VPCEndpointServiceID != nil { - in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID + if in.RouteTableIDRef != nil { + in, out := &in.RouteTableIDRef, &out.RouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RouteTableIDSelector != nil { + in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } - if in.VPCEndpointServiceIDRef != nil { - in, out := &in.VPCEndpointServiceIDRef, &out.VPCEndpointServiceIDRef + if in.VPCEndpointIDRef != nil { + in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCEndpointServiceIDSelector != nil { - in, out := &in.VPCEndpointServiceIDSelector, &out.VPCEndpointServiceIDSelector + if in.VPCEndpointIDSelector != nil { + in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalParameters. -func (in *VPCEndpointServiceAllowedPrincipalParameters) DeepCopy() *VPCEndpointServiceAllowedPrincipalParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationParameters. +func (in *VPCEndpointRouteTableAssociationParameters) DeepCopy() *VPCEndpointRouteTableAssociationParameters { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalParameters) + out := new(VPCEndpointRouteTableAssociationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalSpec) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalSpec) { +func (in *VPCEndpointRouteTableAssociationSpec) DeepCopyInto(out *VPCEndpointRouteTableAssociationSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.InitProvider = in.InitProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalSpec. -func (in *VPCEndpointServiceAllowedPrincipalSpec) DeepCopy() *VPCEndpointServiceAllowedPrincipalSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationSpec. +func (in *VPCEndpointRouteTableAssociationSpec) DeepCopy() *VPCEndpointRouteTableAssociationSpec { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalSpec) + out := new(VPCEndpointRouteTableAssociationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceAllowedPrincipalStatus) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalStatus) { +func (in *VPCEndpointRouteTableAssociationStatus) DeepCopyInto(out *VPCEndpointRouteTableAssociationStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalStatus. -func (in *VPCEndpointServiceAllowedPrincipalStatus) DeepCopy() *VPCEndpointServiceAllowedPrincipalStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointRouteTableAssociationStatus. +func (in *VPCEndpointRouteTableAssociationStatus) DeepCopy() *VPCEndpointRouteTableAssociationStatus { if in == nil { return nil } - out := new(VPCEndpointServiceAllowedPrincipalStatus) + out := new(VPCEndpointRouteTableAssociationStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceInitParameters) DeepCopyInto(out *VPCEndpointServiceInitParameters) { +func (in *VPCEndpointSecurityGroupAssociation) DeepCopyInto(out *VPCEndpointSecurityGroupAssociation) { *out = *in - if in.AcceptanceRequired != nil { - in, out := &in.AcceptanceRequired, &out.AcceptanceRequired - *out = new(bool) - **out = **in - } - if in.GatewayLoadBalancerArns != nil { - in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociation. +func (in *VPCEndpointSecurityGroupAssociation) DeepCopy() *VPCEndpointSecurityGroupAssociation { + if in == nil { + return nil } - if in.NetworkLoadBalancerArns != nil { - in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + out := new(VPCEndpointSecurityGroupAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCEndpointSecurityGroupAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.PrivateDNSName != nil { - in, out := &in.PrivateDNSName, &out.PrivateDNSName - *out = new(string) + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCEndpointSecurityGroupAssociationInitParameters) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationInitParameters) { + *out = *in + if in.ReplaceDefaultAssociation != nil { + in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation + *out = new(bool) **out = **in } - if in.SupportedIPAddressTypes != nil { - in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceInitParameters. -func (in *VPCEndpointServiceInitParameters) DeepCopy() *VPCEndpointServiceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationInitParameters. +func (in *VPCEndpointSecurityGroupAssociationInitParameters) DeepCopy() *VPCEndpointSecurityGroupAssociationInitParameters { if in == nil { return nil } - out := new(VPCEndpointServiceInitParameters) + out := new(VPCEndpointSecurityGroupAssociationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceList) DeepCopyInto(out *VPCEndpointServiceList) { +func (in *VPCEndpointSecurityGroupAssociationList) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpointService, len(*in)) + *out = make([]VPCEndpointSecurityGroupAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceList. -func (in *VPCEndpointServiceList) DeepCopy() *VPCEndpointServiceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationList. +func (in *VPCEndpointSecurityGroupAssociationList) DeepCopy() *VPCEndpointSecurityGroupAssociationList { if in == nil { return nil } - out := new(VPCEndpointServiceList) + out := new(VPCEndpointSecurityGroupAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointServiceList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointSecurityGroupAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -43585,316 +43889,159 @@ func (in *VPCEndpointServiceList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceObservation) DeepCopyInto(out *VPCEndpointServiceObservation) { - *out = *in - if in.AcceptanceRequired != nil { - in, out := &in.AcceptanceRequired, &out.AcceptanceRequired - *out = new(bool) - **out = **in - } - if in.AllowedPrincipals != nil { - in, out := &in.AllowedPrincipals, &out.AllowedPrincipals - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.AvailabilityZones != nil { - in, out := &in.AvailabilityZones, &out.AvailabilityZones - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.BaseEndpointDNSNames != nil { - in, out := &in.BaseEndpointDNSNames, &out.BaseEndpointDNSNames - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.GatewayLoadBalancerArns != nil { - in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.ManagesVPCEndpoints != nil { - in, out := &in.ManagesVPCEndpoints, &out.ManagesVPCEndpoints - *out = new(bool) - **out = **in - } - if in.NetworkLoadBalancerArns != nil { - in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.PrivateDNSName != nil { - in, out := &in.PrivateDNSName, &out.PrivateDNSName - *out = new(string) - **out = **in - } - if in.PrivateDNSNameConfiguration != nil { - in, out := &in.PrivateDNSNameConfiguration, &out.PrivateDNSNameConfiguration - *out = make([]PrivateDNSNameConfigurationObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ServiceName != nil { - in, out := &in.ServiceName, &out.ServiceName +func (in *VPCEndpointSecurityGroupAssociationObservation) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.ServiceType != nil { - in, out := &in.ServiceType, &out.ServiceType - *out = new(string) + if in.ReplaceDefaultAssociation != nil { + in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation + *out = new(bool) **out = **in } - if in.State != nil { - in, out := &in.State, &out.State + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID *out = new(string) **out = **in } - if in.SupportedIPAddressTypes != nil { - in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceObservation. -func (in *VPCEndpointServiceObservation) DeepCopy() *VPCEndpointServiceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationObservation. +func (in *VPCEndpointSecurityGroupAssociationObservation) DeepCopy() *VPCEndpointSecurityGroupAssociationObservation { if in == nil { return nil } - out := new(VPCEndpointServiceObservation) + out := new(VPCEndpointSecurityGroupAssociationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceParameters) DeepCopyInto(out *VPCEndpointServiceParameters) { +func (in *VPCEndpointSecurityGroupAssociationParameters) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationParameters) { *out = *in - if in.AcceptanceRequired != nil { - in, out := &in.AcceptanceRequired, &out.AcceptanceRequired - *out = new(bool) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } - if in.GatewayLoadBalancerArns != nil { - in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetworkLoadBalancerArns != nil { - in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ReplaceDefaultAssociation != nil { + in, out := &in.ReplaceDefaultAssociation, &out.ReplaceDefaultAssociation + *out = new(bool) + **out = **in } - if in.PrivateDNSName != nil { - in, out := &in.PrivateDNSName, &out.PrivateDNSName + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } - if in.SupportedIPAddressTypes != nil { - in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.VPCEndpointIDRef != nil { + in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.VPCEndpointIDSelector != nil { + in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceParameters. -func (in *VPCEndpointServiceParameters) DeepCopy() *VPCEndpointServiceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationParameters. +func (in *VPCEndpointSecurityGroupAssociationParameters) DeepCopy() *VPCEndpointSecurityGroupAssociationParameters { if in == nil { return nil } - out := new(VPCEndpointServiceParameters) + out := new(VPCEndpointSecurityGroupAssociationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceSpec) DeepCopyInto(out *VPCEndpointServiceSpec) { +func (in *VPCEndpointSecurityGroupAssociationSpec) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceSpec. -func (in *VPCEndpointServiceSpec) DeepCopy() *VPCEndpointServiceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationSpec. +func (in *VPCEndpointSecurityGroupAssociationSpec) DeepCopy() *VPCEndpointSecurityGroupAssociationSpec { if in == nil { return nil } - out := new(VPCEndpointServiceSpec) + out := new(VPCEndpointSecurityGroupAssociationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointServiceStatus) DeepCopyInto(out *VPCEndpointServiceStatus) { +func (in *VPCEndpointSecurityGroupAssociationStatus) DeepCopyInto(out *VPCEndpointSecurityGroupAssociationStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceStatus. -func (in *VPCEndpointServiceStatus) DeepCopy() *VPCEndpointServiceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSecurityGroupAssociationStatus. +func (in *VPCEndpointSecurityGroupAssociationStatus) DeepCopy() *VPCEndpointSecurityGroupAssociationStatus { if in == nil { return nil } - out := new(VPCEndpointServiceStatus) + out := new(VPCEndpointSecurityGroupAssociationStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSpec) DeepCopyInto(out *VPCEndpointSpec) { +func (in *VPCEndpointService) DeepCopyInto(out *VPCEndpointService) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSpec. -func (in *VPCEndpointSpec) DeepCopy() *VPCEndpointSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointService. +func (in *VPCEndpointService) DeepCopy() *VPCEndpointService { if in == nil { return nil } - out := new(VPCEndpointSpec) + out := new(VPCEndpointService) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointStatus) DeepCopyInto(out *VPCEndpointStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointStatus. -func (in *VPCEndpointStatus) DeepCopy() *VPCEndpointStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCEndpointService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(VPCEndpointStatus) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociation) DeepCopyInto(out *VPCEndpointSubnetAssociation) { +func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipal) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -43902,18 +44049,18 @@ func (in *VPCEndpointSubnetAssociation) DeepCopyInto(out *VPCEndpointSubnetAssoc in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociation. -func (in *VPCEndpointSubnetAssociation) DeepCopy() *VPCEndpointSubnetAssociation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipal. +func (in *VPCEndpointServiceAllowedPrincipal) DeepCopy() *VPCEndpointServiceAllowedPrincipal { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociation) + out := new(VPCEndpointServiceAllowedPrincipal) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointSubnetAssociation) DeepCopyObject() runtime.Object { +func (in *VPCEndpointServiceAllowedPrincipal) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -43921,46 +44068,51 @@ func (in *VPCEndpointSubnetAssociation) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationInitParameters) DeepCopyInto(out *VPCEndpointSubnetAssociationInitParameters) { +func (in *VPCEndpointServiceAllowedPrincipalInitParameters) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalInitParameters) { *out = *in + if in.PrincipalArn != nil { + in, out := &in.PrincipalArn, &out.PrincipalArn + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationInitParameters. -func (in *VPCEndpointSubnetAssociationInitParameters) DeepCopy() *VPCEndpointSubnetAssociationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalInitParameters. +func (in *VPCEndpointServiceAllowedPrincipalInitParameters) DeepCopy() *VPCEndpointServiceAllowedPrincipalInitParameters { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationInitParameters) + out := new(VPCEndpointServiceAllowedPrincipalInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationList) DeepCopyInto(out *VPCEndpointSubnetAssociationList) { +func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCEndpointSubnetAssociation, len(*in)) + *out = make([]VPCEndpointServiceAllowedPrincipal, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationList. -func (in *VPCEndpointSubnetAssociationList) DeepCopy() *VPCEndpointSubnetAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalList. +func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopy() *VPCEndpointServiceAllowedPrincipalList { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationList) + out := new(VPCEndpointServiceAllowedPrincipalList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCEndpointSubnetAssociationList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointServiceAllowedPrincipalList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -43968,203 +44120,210 @@ func (in *VPCEndpointSubnetAssociationList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationObservation) DeepCopyInto(out *VPCEndpointSubnetAssociationObservation) { +func (in *VPCEndpointServiceAllowedPrincipalObservation) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.PrincipalArn != nil { + in, out := &in.PrincipalArn, &out.PrincipalArn *out = new(string) **out = **in } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.VPCEndpointServiceID != nil { + in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationObservation. -func (in *VPCEndpointSubnetAssociationObservation) DeepCopy() *VPCEndpointSubnetAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalObservation. +func (in *VPCEndpointServiceAllowedPrincipalObservation) DeepCopy() *VPCEndpointServiceAllowedPrincipalObservation { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationObservation) + out := new(VPCEndpointServiceAllowedPrincipalObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationParameters) DeepCopyInto(out *VPCEndpointSubnetAssociationParameters) { +func (in *VPCEndpointServiceAllowedPrincipalParameters) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PrincipalArn != nil { + in, out := &in.PrincipalArn, &out.PrincipalArn *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.VPCEndpointID != nil { - in, out := &in.VPCEndpointID, &out.VPCEndpointID + if in.VPCEndpointServiceID != nil { + in, out := &in.VPCEndpointServiceID, &out.VPCEndpointServiceID *out = new(string) **out = **in } - if in.VPCEndpointIDRef != nil { - in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef + if in.VPCEndpointServiceIDRef != nil { + in, out := &in.VPCEndpointServiceIDRef, &out.VPCEndpointServiceIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCEndpointIDSelector != nil { - in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector + if in.VPCEndpointServiceIDSelector != nil { + in, out := &in.VPCEndpointServiceIDSelector, &out.VPCEndpointServiceIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationParameters. -func (in *VPCEndpointSubnetAssociationParameters) DeepCopy() *VPCEndpointSubnetAssociationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalParameters. +func (in *VPCEndpointServiceAllowedPrincipalParameters) DeepCopy() *VPCEndpointServiceAllowedPrincipalParameters { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationParameters) + out := new(VPCEndpointServiceAllowedPrincipalParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationSpec) DeepCopyInto(out *VPCEndpointSubnetAssociationSpec) { +func (in *VPCEndpointServiceAllowedPrincipalSpec) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) - out.InitProvider = in.InitProvider + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationSpec. -func (in *VPCEndpointSubnetAssociationSpec) DeepCopy() *VPCEndpointSubnetAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalSpec. +func (in *VPCEndpointServiceAllowedPrincipalSpec) DeepCopy() *VPCEndpointServiceAllowedPrincipalSpec { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationSpec) + out := new(VPCEndpointServiceAllowedPrincipalSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCEndpointSubnetAssociationStatus) DeepCopyInto(out *VPCEndpointSubnetAssociationStatus) { +func (in *VPCEndpointServiceAllowedPrincipalStatus) DeepCopyInto(out *VPCEndpointServiceAllowedPrincipalStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationStatus. -func (in *VPCEndpointSubnetAssociationStatus) DeepCopy() *VPCEndpointSubnetAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceAllowedPrincipalStatus. +func (in *VPCEndpointServiceAllowedPrincipalStatus) DeepCopy() *VPCEndpointServiceAllowedPrincipalStatus { if in == nil { return nil } - out := new(VPCEndpointSubnetAssociationStatus) + out := new(VPCEndpointServiceAllowedPrincipalStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociation) DeepCopyInto(out *VPCIPv4CidrBlockAssociation) { +func (in *VPCEndpointServiceInitParameters) DeepCopyInto(out *VPCEndpointServiceInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociation. -func (in *VPCIPv4CidrBlockAssociation) DeepCopy() *VPCIPv4CidrBlockAssociation { - if in == nil { - return nil + if in.AcceptanceRequired != nil { + in, out := &in.AcceptanceRequired, &out.AcceptanceRequired + *out = new(bool) + **out = **in } - out := new(VPCIPv4CidrBlockAssociation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIPv4CidrBlockAssociation) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.GatewayLoadBalancerArns != nil { + in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationInitParameters) DeepCopyInto(out *VPCIPv4CidrBlockAssociationInitParameters) { - *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in + if in.NetworkLoadBalancerArns != nil { + in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IPv4IpamPoolID != nil { - in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + if in.PrivateDNSName != nil { + in, out := &in.PrivateDNSName, &out.PrivateDNSName *out = new(string) **out = **in } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) - **out = **in + if in.SupportedIPAddressTypes != nil { + in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationInitParameters. -func (in *VPCIPv4CidrBlockAssociationInitParameters) DeepCopy() *VPCIPv4CidrBlockAssociationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceInitParameters. +func (in *VPCEndpointServiceInitParameters) DeepCopy() *VPCEndpointServiceInitParameters { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationInitParameters) + out := new(VPCEndpointServiceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationList) DeepCopyInto(out *VPCIPv4CidrBlockAssociationList) { +func (in *VPCEndpointServiceList) DeepCopyInto(out *VPCEndpointServiceList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCIPv4CidrBlockAssociation, len(*in)) + *out = make([]VPCEndpointService, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationList. -func (in *VPCIPv4CidrBlockAssociationList) DeepCopy() *VPCIPv4CidrBlockAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceList. +func (in *VPCEndpointServiceList) DeepCopy() *VPCEndpointServiceList { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationList) + out := new(VPCEndpointServiceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIPv4CidrBlockAssociationList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointServiceList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -44172,243 +44331,316 @@ func (in *VPCIPv4CidrBlockAssociationList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationObservation) DeepCopyInto(out *VPCIPv4CidrBlockAssociationObservation) { +func (in *VPCEndpointServiceObservation) DeepCopyInto(out *VPCEndpointServiceObservation) { *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock + if in.AcceptanceRequired != nil { + in, out := &in.AcceptanceRequired, &out.AcceptanceRequired + *out = new(bool) + **out = **in + } + if in.AllowedPrincipals != nil { + in, out := &in.AllowedPrincipals, &out.AllowedPrincipals + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } + if in.AvailabilityZones != nil { + in, out := &in.AvailabilityZones, &out.AvailabilityZones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BaseEndpointDNSNames != nil { + in, out := &in.BaseEndpointDNSNames, &out.BaseEndpointDNSNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.GatewayLoadBalancerArns != nil { + in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IPv4IpamPoolID != nil { - in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + if in.ManagesVPCEndpoints != nil { + in, out := &in.ManagesVPCEndpoints, &out.ManagesVPCEndpoints + *out = new(bool) + **out = **in + } + if in.NetworkLoadBalancerArns != nil { + in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrivateDNSName != nil { + in, out := &in.PrivateDNSName, &out.PrivateDNSName *out = new(string) **out = **in } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) + if in.PrivateDNSNameConfiguration != nil { + in, out := &in.PrivateDNSNameConfiguration, &out.PrivateDNSNameConfiguration + *out = make([]PrivateDNSNameConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } + if in.ServiceType != nil { + in, out := &in.ServiceType, &out.ServiceType + *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.State != nil { + in, out := &in.State, &out.State *out = new(string) **out = **in } + if in.SupportedIPAddressTypes != nil { + in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationObservation. -func (in *VPCIPv4CidrBlockAssociationObservation) DeepCopy() *VPCIPv4CidrBlockAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceObservation. +func (in *VPCEndpointServiceObservation) DeepCopy() *VPCEndpointServiceObservation { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationObservation) + out := new(VPCEndpointServiceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationParameters) DeepCopyInto(out *VPCIPv4CidrBlockAssociationParameters) { +func (in *VPCEndpointServiceParameters) DeepCopyInto(out *VPCEndpointServiceParameters) { *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) + if in.AcceptanceRequired != nil { + in, out := &in.AcceptanceRequired, &out.AcceptanceRequired + *out = new(bool) **out = **in } - if in.IPv4IpamPoolID != nil { - in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID - *out = new(string) - **out = **in + if in.GatewayLoadBalancerArns != nil { + in, out := &in.GatewayLoadBalancerArns, &out.GatewayLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) - **out = **in + if in.NetworkLoadBalancerArns != nil { + in, out := &in.NetworkLoadBalancerArns, &out.NetworkLoadBalancerArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PrivateDNSName != nil { + in, out := &in.PrivateDNSName, &out.PrivateDNSName *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.SupportedIPAddressTypes != nil { + in, out := &in.SupportedIPAddressTypes, &out.SupportedIPAddressTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationParameters. -func (in *VPCIPv4CidrBlockAssociationParameters) DeepCopy() *VPCIPv4CidrBlockAssociationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceParameters. +func (in *VPCEndpointServiceParameters) DeepCopy() *VPCEndpointServiceParameters { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationParameters) + out := new(VPCEndpointServiceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationSpec) DeepCopyInto(out *VPCIPv4CidrBlockAssociationSpec) { +func (in *VPCEndpointServiceSpec) DeepCopyInto(out *VPCEndpointServiceSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationSpec. -func (in *VPCIPv4CidrBlockAssociationSpec) DeepCopy() *VPCIPv4CidrBlockAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceSpec. +func (in *VPCEndpointServiceSpec) DeepCopy() *VPCEndpointServiceSpec { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationSpec) + out := new(VPCEndpointServiceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIPv4CidrBlockAssociationStatus) DeepCopyInto(out *VPCIPv4CidrBlockAssociationStatus) { +func (in *VPCEndpointServiceStatus) DeepCopyInto(out *VPCEndpointServiceStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationStatus. -func (in *VPCIPv4CidrBlockAssociationStatus) DeepCopy() *VPCIPv4CidrBlockAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointServiceStatus. +func (in *VPCEndpointServiceStatus) DeepCopy() *VPCEndpointServiceStatus { if in == nil { return nil } - out := new(VPCIPv4CidrBlockAssociationStatus) + out := new(VPCEndpointServiceStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCInitParameters) DeepCopyInto(out *VPCInitParameters) { +func (in *VPCEndpointSpec) DeepCopyInto(out *VPCEndpointSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCInitParameters. -func (in *VPCInitParameters) DeepCopy() *VPCInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSpec. +func (in *VPCEndpointSpec) DeepCopy() *VPCEndpointSpec { if in == nil { return nil } - out := new(VPCInitParameters) + out := new(VPCEndpointSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCInitParameters_2) DeepCopyInto(out *VPCInitParameters_2) { +func (in *VPCEndpointStatus) DeepCopyInto(out *VPCEndpointStatus) { *out = *in - if in.AssignGeneratedIPv6CidrBlock != nil { - in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock - *out = new(bool) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.EnableClassiclink != nil { - in, out := &in.EnableClassiclink, &out.EnableClassiclink - *out = new(bool) - **out = **in - } - if in.EnableClassiclinkDNSSupport != nil { - in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport - *out = new(bool) - **out = **in - } - if in.EnableDNSHostnames != nil { - in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames - *out = new(bool) - **out = **in - } - if in.EnableDNSSupport != nil { - in, out := &in.EnableDNSSupport, &out.EnableDNSSupport - *out = new(bool) - **out = **in - } - if in.EnableNetworkAddressUsageMetrics != nil { - in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics - *out = new(bool) - **out = **in - } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IPv6CidrBlockNetworkBorderGroup != nil { - in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup - *out = new(string) - **out = **in - } - if in.IPv6IpamPoolID != nil { - in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID - *out = new(string) - **out = **in - } - if in.IPv6NetmaskLength != nil { - in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength - *out = new(float64) - **out = **in - } - if in.InstanceTenancy != nil { - in, out := &in.InstanceTenancy, &out.InstanceTenancy - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCInitParameters_2. -func (in *VPCInitParameters_2) DeepCopy() *VPCInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointStatus. +func (in *VPCEndpointStatus) DeepCopy() *VPCEndpointStatus { if in == nil { return nil } - out := new(VPCInitParameters_2) + out := new(VPCEndpointStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpam) DeepCopyInto(out *VPCIpam) { +func (in *VPCEndpointSubnetAssociation) DeepCopyInto(out *VPCEndpointSubnetAssociation) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -44416,18 +44648,18 @@ func (in *VPCIpam) DeepCopyInto(out *VPCIpam) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpam. -func (in *VPCIpam) DeepCopy() *VPCIpam { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociation. +func (in *VPCEndpointSubnetAssociation) DeepCopy() *VPCEndpointSubnetAssociation { if in == nil { return nil } - out := new(VPCIpam) + out := new(VPCEndpointSubnetAssociation) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpam) DeepCopyObject() runtime.Object { +func (in *VPCEndpointSubnetAssociation) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -44435,79 +44667,46 @@ func (in *VPCIpam) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamInitParameters) DeepCopyInto(out *VPCIpamInitParameters) { +func (in *VPCEndpointSubnetAssociationInitParameters) DeepCopyInto(out *VPCEndpointSubnetAssociationInitParameters) { *out = *in - if in.Cascade != nil { - in, out := &in.Cascade, &out.Cascade - *out = new(bool) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.OperatingRegions != nil { - in, out := &in.OperatingRegions, &out.OperatingRegions - *out = make([]OperatingRegionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamInitParameters. -func (in *VPCIpamInitParameters) DeepCopy() *VPCIpamInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationInitParameters. +func (in *VPCEndpointSubnetAssociationInitParameters) DeepCopy() *VPCEndpointSubnetAssociationInitParameters { if in == nil { return nil } - out := new(VPCIpamInitParameters) + out := new(VPCEndpointSubnetAssociationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamList) DeepCopyInto(out *VPCIpamList) { +func (in *VPCEndpointSubnetAssociationList) DeepCopyInto(out *VPCEndpointSubnetAssociationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCIpam, len(*in)) + *out = make([]VPCEndpointSubnetAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamList. -func (in *VPCIpamList) DeepCopy() *VPCIpamList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationList. +func (in *VPCEndpointSubnetAssociationList) DeepCopy() *VPCEndpointSubnetAssociationList { if in == nil { return nil } - out := new(VPCIpamList) + out := new(VPCEndpointSubnetAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamList) DeepCopyObject() runtime.Object { +func (in *VPCEndpointSubnetAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -44515,213 +44714,122 @@ func (in *VPCIpamList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamObservation) DeepCopyInto(out *VPCIpamObservation) { +func (in *VPCEndpointSubnetAssociationObservation) DeepCopyInto(out *VPCEndpointSubnetAssociationObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Cascade != nil { - in, out := &in.Cascade, &out.Cascade - *out = new(bool) - **out = **in - } - if in.DefaultResourceDiscoveryAssociationID != nil { - in, out := &in.DefaultResourceDiscoveryAssociationID, &out.DefaultResourceDiscoveryAssociationID - *out = new(string) - **out = **in - } - if in.DefaultResourceDiscoveryID != nil { - in, out := &in.DefaultResourceDiscoveryID, &out.DefaultResourceDiscoveryID - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.OperatingRegions != nil { - in, out := &in.OperatingRegions, &out.OperatingRegions - *out = make([]OperatingRegionsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.PrivateDefaultScopeID != nil { - in, out := &in.PrivateDefaultScopeID, &out.PrivateDefaultScopeID + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } - if in.PublicDefaultScopeID != nil { - in, out := &in.PublicDefaultScopeID, &out.PublicDefaultScopeID + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } - if in.ScopeCount != nil { - in, out := &in.ScopeCount, &out.ScopeCount - *out = new(float64) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamObservation. -func (in *VPCIpamObservation) DeepCopy() *VPCIpamObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationObservation. +func (in *VPCEndpointSubnetAssociationObservation) DeepCopy() *VPCEndpointSubnetAssociationObservation { if in == nil { return nil } - out := new(VPCIpamObservation) + out := new(VPCEndpointSubnetAssociationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamParameters) DeepCopyInto(out *VPCIpamParameters) { +func (in *VPCEndpointSubnetAssociationParameters) DeepCopyInto(out *VPCEndpointSubnetAssociationParameters) { *out = *in - if in.Cascade != nil { - in, out := &in.Cascade, &out.Cascade - *out = new(bool) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } - if in.OperatingRegions != nil { - in, out := &in.OperatingRegions, &out.OperatingRegions - *out = make([]OperatingRegionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.VPCEndpointIDRef != nil { + in, out := &in.VPCEndpointIDRef, &out.VPCEndpointIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointIDSelector != nil { + in, out := &in.VPCEndpointIDSelector, &out.VPCEndpointIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamParameters. -func (in *VPCIpamParameters) DeepCopy() *VPCIpamParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationParameters. +func (in *VPCEndpointSubnetAssociationParameters) DeepCopy() *VPCEndpointSubnetAssociationParameters { if in == nil { return nil } - out := new(VPCIpamParameters) + out := new(VPCEndpointSubnetAssociationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPool) DeepCopyInto(out *VPCIpamPool) { +func (in *VPCEndpointSubnetAssociationSpec) DeepCopyInto(out *VPCEndpointSubnetAssociationSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + out.InitProvider = in.InitProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPool. -func (in *VPCIpamPool) DeepCopy() *VPCIpamPool { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationSpec. +func (in *VPCEndpointSubnetAssociationSpec) DeepCopy() *VPCEndpointSubnetAssociationSpec { if in == nil { return nil } - out := new(VPCIpamPool) + out := new(VPCEndpointSubnetAssociationSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPool) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidr) DeepCopyInto(out *VPCIpamPoolCidr) { +func (in *VPCEndpointSubnetAssociationStatus) DeepCopyInto(out *VPCEndpointSubnetAssociationStatus) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidr. -func (in *VPCIpamPoolCidr) DeepCopy() *VPCIpamPoolCidr { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpointSubnetAssociationStatus. +func (in *VPCEndpointSubnetAssociationStatus) DeepCopy() *VPCEndpointSubnetAssociationStatus { if in == nil { return nil } - out := new(VPCIpamPoolCidr) + out := new(VPCEndpointSubnetAssociationStatus) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPoolCidr) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocation) DeepCopyInto(out *VPCIpamPoolCidrAllocation) { +func (in *VPCIPv4CidrBlockAssociation) DeepCopyInto(out *VPCIPv4CidrBlockAssociation) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -44729,18 +44837,18 @@ func (in *VPCIpamPoolCidrAllocation) DeepCopyInto(out *VPCIpamPoolCidrAllocation in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocation. -func (in *VPCIpamPoolCidrAllocation) DeepCopy() *VPCIpamPoolCidrAllocation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociation. +func (in *VPCIPv4CidrBlockAssociation) DeepCopy() *VPCIPv4CidrBlockAssociation { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocation) + out := new(VPCIPv4CidrBlockAssociation) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPoolCidrAllocation) DeepCopyObject() runtime.Object { +func (in *VPCIPv4CidrBlockAssociation) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -44748,72 +44856,61 @@ func (in *VPCIpamPoolCidrAllocation) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationInitParameters) DeepCopyInto(out *VPCIpamPoolCidrAllocationInitParameters) { +func (in *VPCIPv4CidrBlockAssociationInitParameters) DeepCopyInto(out *VPCIPv4CidrBlockAssociationInitParameters) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID *out = new(string) **out = **in } - if in.DisallowedCidrs != nil { - in, out := &in.DisallowedCidrs, &out.DisallowedCidrs - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationInitParameters. -func (in *VPCIpamPoolCidrAllocationInitParameters) DeepCopy() *VPCIpamPoolCidrAllocationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationInitParameters. +func (in *VPCIPv4CidrBlockAssociationInitParameters) DeepCopy() *VPCIPv4CidrBlockAssociationInitParameters { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocationInitParameters) + out := new(VPCIPv4CidrBlockAssociationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationList) DeepCopyInto(out *VPCIpamPoolCidrAllocationList) { +func (in *VPCIPv4CidrBlockAssociationList) DeepCopyInto(out *VPCIPv4CidrBlockAssociationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCIpamPoolCidrAllocation, len(*in)) + *out = make([]VPCIPv4CidrBlockAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationList. -func (in *VPCIpamPoolCidrAllocationList) DeepCopy() *VPCIpamPoolCidrAllocationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationList. +func (in *VPCIPv4CidrBlockAssociationList) DeepCopy() *VPCIPv4CidrBlockAssociationList { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocationList) + out := new(VPCIPv4CidrBlockAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPoolCidrAllocationList) DeepCopyObject() runtime.Object { +func (in *VPCIPv4CidrBlockAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -44821,230 +44918,342 @@ func (in *VPCIpamPoolCidrAllocationList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationObservation) DeepCopyInto(out *VPCIpamPoolCidrAllocationObservation) { +func (in *VPCIPv4CidrBlockAssociationObservation) DeepCopyInto(out *VPCIPv4CidrBlockAssociationObservation) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.DisallowedCidrs != nil { - in, out := &in.DisallowedCidrs, &out.DisallowedCidrs - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + *out = new(string) + **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength + *out = new(float64) + **out = **in + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } - if in.IpamPoolAllocationID != nil { - in, out := &in.IpamPoolAllocationID, &out.IpamPoolAllocationID +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationObservation. +func (in *VPCIPv4CidrBlockAssociationObservation) DeepCopy() *VPCIPv4CidrBlockAssociationObservation { + if in == nil { + return nil + } + out := new(VPCIPv4CidrBlockAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIPv4CidrBlockAssociationParameters) DeepCopyInto(out *VPCIPv4CidrBlockAssociationParameters) { + *out = *in + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.IpamPoolID != nil { - in, out := &in.IpamPoolID, &out.IpamPoolID + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID *out = new(string) **out = **in } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength *out = new(float64) **out = **in } - if in.ResourceID != nil { - in, out := &in.ResourceID, &out.ResourceID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.ResourceOwner != nil { - in, out := &in.ResourceOwner, &out.ResourceOwner + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } - if in.ResourceType != nil { - in, out := &in.ResourceType, &out.ResourceType - *out = new(string) - **out = **in + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationObservation. -func (in *VPCIpamPoolCidrAllocationObservation) DeepCopy() *VPCIpamPoolCidrAllocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationParameters. +func (in *VPCIPv4CidrBlockAssociationParameters) DeepCopy() *VPCIPv4CidrBlockAssociationParameters { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocationObservation) + out := new(VPCIPv4CidrBlockAssociationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationParameters) DeepCopyInto(out *VPCIpamPoolCidrAllocationParameters) { +func (in *VPCIPv4CidrBlockAssociationSpec) DeepCopyInto(out *VPCIPv4CidrBlockAssociationSpec) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr - *out = new(string) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationSpec. +func (in *VPCIPv4CidrBlockAssociationSpec) DeepCopy() *VPCIPv4CidrBlockAssociationSpec { + if in == nil { + return nil + } + out := new(VPCIPv4CidrBlockAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIPv4CidrBlockAssociationStatus) DeepCopyInto(out *VPCIPv4CidrBlockAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4CidrBlockAssociationStatus. +func (in *VPCIPv4CidrBlockAssociationStatus) DeepCopy() *VPCIPv4CidrBlockAssociationStatus { + if in == nil { + return nil + } + out := new(VPCIPv4CidrBlockAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCInitParameters) DeepCopyInto(out *VPCInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCInitParameters. +func (in *VPCInitParameters) DeepCopy() *VPCInitParameters { + if in == nil { + return nil + } + out := new(VPCInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCInitParameters_2) DeepCopyInto(out *VPCInitParameters_2) { + *out = *in + if in.AssignGeneratedIPv6CidrBlock != nil { + in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock + *out = new(bool) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.DisallowedCidrs != nil { - in, out := &in.DisallowedCidrs, &out.DisallowedCidrs - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.EnableClassiclink != nil { + in, out := &in.EnableClassiclink, &out.EnableClassiclink + *out = new(bool) + **out = **in } - if in.IpamPoolID != nil { - in, out := &in.IpamPoolID, &out.IpamPoolID + if in.EnableClassiclinkDNSSupport != nil { + in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport + *out = new(bool) + **out = **in + } + if in.EnableDNSHostnames != nil { + in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames + *out = new(bool) + **out = **in + } + if in.EnableDNSSupport != nil { + in, out := &in.EnableDNSSupport, &out.EnableDNSSupport + *out = new(bool) + **out = **in + } + if in.EnableNetworkAddressUsageMetrics != nil { + in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics + *out = new(bool) + **out = **in + } + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength + *out = new(float64) + **out = **in + } + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.IpamPoolIDRef != nil { - in, out := &in.IpamPoolIDRef, &out.IpamPoolIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.IPv6CidrBlockNetworkBorderGroup != nil { + in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup + *out = new(string) + **out = **in } - if in.IpamPoolIDSelector != nil { - in, out := &in.IpamPoolIDSelector, &out.IpamPoolIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.IPv6IpamPoolID != nil { + in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID + *out = new(string) + **out = **in } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength + if in.IPv6NetmaskLength != nil { + in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength *out = new(float64) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.InstanceTenancy != nil { + in, out := &in.InstanceTenancy, &out.InstanceTenancy *out = new(string) **out = **in } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationParameters. -func (in *VPCIpamPoolCidrAllocationParameters) DeepCopy() *VPCIpamPoolCidrAllocationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCInitParameters_2. +func (in *VPCInitParameters_2) DeepCopy() *VPCInitParameters_2 { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocationParameters) + out := new(VPCInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationSpec) DeepCopyInto(out *VPCIpamPoolCidrAllocationSpec) { +func (in *VPCIpam) DeepCopyInto(out *VPCIpam) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationSpec. -func (in *VPCIpamPoolCidrAllocationSpec) DeepCopy() *VPCIpamPoolCidrAllocationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpam. +func (in *VPCIpam) DeepCopy() *VPCIpam { if in == nil { return nil } - out := new(VPCIpamPoolCidrAllocationSpec) + out := new(VPCIpam) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrAllocationStatus) DeepCopyInto(out *VPCIpamPoolCidrAllocationStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationStatus. -func (in *VPCIpamPoolCidrAllocationStatus) DeepCopy() *VPCIpamPoolCidrAllocationStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCIpam) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(VPCIpamPoolCidrAllocationStatus) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrInitParameters) DeepCopyInto(out *VPCIpamPoolCidrInitParameters) { +func (in *VPCIpamInitParameters) DeepCopyInto(out *VPCIpamInitParameters) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.Cascade != nil { + in, out := &in.Cascade, &out.Cascade + *out = new(bool) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.CidrAuthorizationContext != nil { - in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext - *out = make([]CidrAuthorizationContextInitParameters, len(*in)) + if in.OperatingRegions != nil { + in, out := &in.OperatingRegions, &out.OperatingRegions + *out = make([]OperatingRegionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength - *out = new(float64) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrInitParameters. -func (in *VPCIpamPoolCidrInitParameters) DeepCopy() *VPCIpamPoolCidrInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamInitParameters. +func (in *VPCIpamInitParameters) DeepCopy() *VPCIpamInitParameters { if in == nil { return nil } - out := new(VPCIpamPoolCidrInitParameters) + out := new(VPCIpamInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrList) DeepCopyInto(out *VPCIpamPoolCidrList) { +func (in *VPCIpamList) DeepCopyInto(out *VPCIpamList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCIpamPoolCidr, len(*in)) + *out = make([]VPCIpam, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrList. -func (in *VPCIpamPoolCidrList) DeepCopy() *VPCIpamPoolCidrList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamList. +func (in *VPCIpamList) DeepCopy() *VPCIpamList { if in == nil { return nil } - out := new(VPCIpamPoolCidrList) + out := new(VPCIpamList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPoolCidrList) DeepCopyObject() runtime.Object { +func (in *VPCIpamList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -45052,164 +45261,62 @@ func (in *VPCIpamPoolCidrList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrObservation) DeepCopyInto(out *VPCIpamPoolCidrObservation) { +func (in *VPCIpamObservation) DeepCopyInto(out *VPCIpamObservation) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr - *out = new(string) - **out = **in - } - if in.CidrAuthorizationContext != nil { - in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext - *out = make([]CidrAuthorizationContextObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.IpamPoolCidrID != nil { - in, out := &in.IpamPoolCidrID, &out.IpamPoolCidrID - *out = new(string) - **out = **in - } - if in.IpamPoolID != nil { - in, out := &in.IpamPoolID, &out.IpamPoolID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength - *out = new(float64) + if in.Cascade != nil { + in, out := &in.Cascade, &out.Cascade + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrObservation. -func (in *VPCIpamPoolCidrObservation) DeepCopy() *VPCIpamPoolCidrObservation { - if in == nil { - return nil - } - out := new(VPCIpamPoolCidrObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrParameters) DeepCopyInto(out *VPCIpamPoolCidrParameters) { - *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.DefaultResourceDiscoveryAssociationID != nil { + in, out := &in.DefaultResourceDiscoveryAssociationID, &out.DefaultResourceDiscoveryAssociationID *out = new(string) **out = **in } - if in.CidrAuthorizationContext != nil { - in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext - *out = make([]CidrAuthorizationContextParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.IpamPoolID != nil { - in, out := &in.IpamPoolID, &out.IpamPoolID + if in.DefaultResourceDiscoveryID != nil { + in, out := &in.DefaultResourceDiscoveryID, &out.DefaultResourceDiscoveryID *out = new(string) **out = **in } - if in.IpamPoolIDRef != nil { - in, out := &in.IpamPoolIDRef, &out.IpamPoolIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.IpamPoolIDSelector != nil { - in, out := &in.IpamPoolIDSelector, &out.IpamPoolIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.NetmaskLength != nil { - in, out := &in.NetmaskLength, &out.NetmaskLength - *out = new(float64) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrParameters. -func (in *VPCIpamPoolCidrParameters) DeepCopy() *VPCIpamPoolCidrParameters { - if in == nil { - return nil - } - out := new(VPCIpamPoolCidrParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrSpec) DeepCopyInto(out *VPCIpamPoolCidrSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrSpec. -func (in *VPCIpamPoolCidrSpec) DeepCopy() *VPCIpamPoolCidrSpec { - if in == nil { - return nil - } - out := new(VPCIpamPoolCidrSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolCidrStatus) DeepCopyInto(out *VPCIpamPoolCidrStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrStatus. -func (in *VPCIpamPoolCidrStatus) DeepCopy() *VPCIpamPoolCidrStatus { - if in == nil { - return nil - } - out := new(VPCIpamPoolCidrStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters) { - *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.AllocationDefaultNetmaskLength != nil { - in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength - *out = new(float64) + if in.OperatingRegions != nil { + in, out := &in.OperatingRegions, &out.OperatingRegions + *out = make([]OperatingRegionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateDefaultScopeID != nil { + in, out := &in.PrivateDefaultScopeID, &out.PrivateDefaultScopeID + *out = new(string) **out = **in } - if in.AllocationMaxNetmaskLength != nil { - in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength - *out = new(float64) + if in.PublicDefaultScopeID != nil { + in, out := &in.PublicDefaultScopeID, &out.PublicDefaultScopeID + *out = new(string) **out = **in } - if in.AllocationMinNetmaskLength != nil { - in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength + if in.ScopeCount != nil { + in, out := &in.ScopeCount, &out.ScopeCount *out = new(float64) **out = **in } - if in.AllocationResourceTags != nil { - in, out := &in.AllocationResourceTags, &out.AllocationResourceTags + if in.Tags != nil { + in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -45224,14 +45331,40 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters (*out)[key] = outVal } } - if in.AutoImport != nil { - in, out := &in.AutoImport, &out.AutoImport - *out = new(bool) - **out = **in + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.AwsService != nil { - in, out := &in.AwsService, &out.AwsService - *out = new(string) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamObservation. +func (in *VPCIpamObservation) DeepCopy() *VPCIpamObservation { + if in == nil { + return nil + } + out := new(VPCIpamObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamParameters) DeepCopyInto(out *VPCIpamParameters) { + *out = *in + if in.Cascade != nil { + in, out := &in.Cascade, &out.Cascade + *out = new(bool) **out = **in } if in.Description != nil { @@ -45239,21 +45372,18 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters *out = new(string) **out = **in } - if in.Locale != nil { - in, out := &in.Locale, &out.Locale - *out = new(string) - **out = **in + if in.OperatingRegions != nil { + in, out := &in.OperatingRegions, &out.OperatingRegions + *out = make([]OperatingRegionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PublicIPSource != nil { - in, out := &in.PublicIPSource, &out.PublicIPSource + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.PubliclyAdvertisable != nil { - in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable - *out = new(bool) - **out = **in - } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -45272,42 +45402,64 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolInitParameters. -func (in *VPCIpamPoolInitParameters) DeepCopy() *VPCIpamPoolInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamParameters. +func (in *VPCIpamParameters) DeepCopy() *VPCIpamParameters { if in == nil { return nil } - out := new(VPCIpamPoolInitParameters) + out := new(VPCIpamParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolList) DeepCopyInto(out *VPCIpamPoolList) { +func (in *VPCIpamPool) DeepCopyInto(out *VPCIpamPool) { *out = *in out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VPCIpamPool, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPool. +func (in *VPCIpamPool) DeepCopy() *VPCIpamPool { + if in == nil { + return nil + } + out := new(VPCIpamPool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCIpamPool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } + return nil } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolList. -func (in *VPCIpamPoolList) DeepCopy() *VPCIpamPoolList { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolCidr) DeepCopyInto(out *VPCIpamPoolCidr) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidr. +func (in *VPCIpamPoolCidr) DeepCopy() *VPCIpamPoolCidr { if in == nil { return nil } - out := new(VPCIpamPoolList) + out := new(VPCIpamPoolCidr) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamPoolList) DeepCopyObject() runtime.Object { +func (in *VPCIpamPoolCidr) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -45315,56 +45467,110 @@ func (in *VPCIpamPoolList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { +func (in *VPCIpamPoolCidrAllocation) DeepCopyInto(out *VPCIpamPoolCidrAllocation) { *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocation. +func (in *VPCIpamPoolCidrAllocation) DeepCopy() *VPCIpamPoolCidrAllocation { + if in == nil { + return nil } - if in.AllocationDefaultNetmaskLength != nil { - in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength - *out = new(float64) - **out = **in + out := new(VPCIpamPoolCidrAllocation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCIpamPoolCidrAllocation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.AllocationMaxNetmaskLength != nil { - in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength - *out = new(float64) + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolCidrAllocationInitParameters) DeepCopyInto(out *VPCIpamPoolCidrAllocationInitParameters) { + *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) **out = **in } - if in.AllocationMinNetmaskLength != nil { - in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength - *out = new(float64) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.AllocationResourceTags != nil { - in, out := &in.AllocationResourceTags, &out.AllocationResourceTags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.DisallowedCidrs != nil { + in, out := &in.DisallowedCidrs, &out.DisallowedCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength + *out = new(float64) **out = **in } - if in.AutoImport != nil { - in, out := &in.AutoImport, &out.AutoImport - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationInitParameters. +func (in *VPCIpamPoolCidrAllocationInitParameters) DeepCopy() *VPCIpamPoolCidrAllocationInitParameters { + if in == nil { + return nil } - if in.AwsService != nil { - in, out := &in.AwsService, &out.AwsService + out := new(VPCIpamPoolCidrAllocationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolCidrAllocationList) DeepCopyInto(out *VPCIpamPoolCidrAllocationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VPCIpamPoolCidrAllocation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationList. +func (in *VPCIpamPoolCidrAllocationList) DeepCopy() *VPCIpamPoolCidrAllocationList { + if in == nil { + return nil + } + out := new(VPCIpamPoolCidrAllocationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCIpamPoolCidrAllocationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolCidrAllocationObservation) DeepCopyInto(out *VPCIpamPoolCidrAllocationObservation) { + *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } @@ -45373,177 +45579,106 @@ func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { *out = new(string) **out = **in } + if in.DisallowedCidrs != nil { + in, out := &in.DisallowedCidrs, &out.DisallowedCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IpamScopeID != nil { - in, out := &in.IpamScopeID, &out.IpamScopeID - *out = new(string) - **out = **in - } - if in.IpamScopeType != nil { - in, out := &in.IpamScopeType, &out.IpamScopeType + if in.IpamPoolAllocationID != nil { + in, out := &in.IpamPoolAllocationID, &out.IpamPoolAllocationID *out = new(string) **out = **in } - if in.Locale != nil { - in, out := &in.Locale, &out.Locale + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID *out = new(string) **out = **in } - if in.PoolDepth != nil { - in, out := &in.PoolDepth, &out.PoolDepth + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength *out = new(float64) **out = **in } - if in.PublicIPSource != nil { - in, out := &in.PublicIPSource, &out.PublicIPSource + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID *out = new(string) **out = **in } - if in.PubliclyAdvertisable != nil { - in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable - *out = new(bool) - **out = **in - } - if in.SourceIpamPoolID != nil { - in, out := &in.SourceIpamPoolID, &out.SourceIpamPoolID + if in.ResourceOwner != nil { + in, out := &in.ResourceOwner, &out.ResourceOwner *out = new(string) **out = **in } - if in.State != nil { - in, out := &in.State, &out.State + if in.ResourceType != nil { + in, out := &in.ResourceType, &out.ResourceType *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolObservation. -func (in *VPCIpamPoolObservation) DeepCopy() *VPCIpamPoolObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationObservation. +func (in *VPCIpamPoolCidrAllocationObservation) DeepCopy() *VPCIpamPoolCidrAllocationObservation { if in == nil { return nil } - out := new(VPCIpamPoolObservation) + out := new(VPCIpamPoolCidrAllocationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolParameters) DeepCopyInto(out *VPCIpamPoolParameters) { +func (in *VPCIpamPoolCidrAllocationParameters) DeepCopyInto(out *VPCIpamPoolCidrAllocationParameters) { *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.AllocationDefaultNetmaskLength != nil { - in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength - *out = new(float64) - **out = **in - } - if in.AllocationMaxNetmaskLength != nil { - in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength - *out = new(float64) - **out = **in - } - if in.AllocationMinNetmaskLength != nil { - in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength - *out = new(float64) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.AllocationResourceTags != nil { - in, out := &in.AllocationResourceTags, &out.AllocationResourceTags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.DisallowedCidrs != nil { + in, out := &in.DisallowedCidrs, &out.DisallowedCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.AutoImport != nil { - in, out := &in.AutoImport, &out.AutoImport - *out = new(bool) - **out = **in - } - if in.AwsService != nil { - in, out := &in.AwsService, &out.AwsService - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.IpamScopeID != nil { - in, out := &in.IpamScopeID, &out.IpamScopeID + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID *out = new(string) **out = **in } - if in.IpamScopeIDRef != nil { - in, out := &in.IpamScopeIDRef, &out.IpamScopeIDRef + if in.IpamPoolIDRef != nil { + in, out := &in.IpamPoolIDRef, &out.IpamPoolIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.IpamScopeIDSelector != nil { - in, out := &in.IpamScopeIDSelector, &out.IpamScopeIDSelector + if in.IpamPoolIDSelector != nil { + in, out := &in.IpamPoolIDSelector, &out.IpamPoolIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Locale != nil { - in, out := &in.Locale, &out.Locale - *out = new(string) - **out = **in - } - if in.PublicIPSource != nil { - in, out := &in.PublicIPSource, &out.PublicIPSource - *out = new(string) - **out = **in - } - if in.PubliclyAdvertisable != nil { - in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable - *out = new(bool) + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength + *out = new(float64) **out = **in } if in.Region != nil { @@ -45551,173 +45686,111 @@ func (in *VPCIpamPoolParameters) DeepCopyInto(out *VPCIpamPoolParameters) { *out = new(string) **out = **in } - if in.SourceIpamPoolID != nil { - in, out := &in.SourceIpamPoolID, &out.SourceIpamPoolID - *out = new(string) - **out = **in - } - if in.SourceIpamPoolIDRef != nil { - in, out := &in.SourceIpamPoolIDRef, &out.SourceIpamPoolIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SourceIpamPoolIDSelector != nil { - in, out := &in.SourceIpamPoolIDSelector, &out.SourceIpamPoolIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolParameters. -func (in *VPCIpamPoolParameters) DeepCopy() *VPCIpamPoolParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationParameters. +func (in *VPCIpamPoolCidrAllocationParameters) DeepCopy() *VPCIpamPoolCidrAllocationParameters { if in == nil { return nil } - out := new(VPCIpamPoolParameters) + out := new(VPCIpamPoolCidrAllocationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolSpec) DeepCopyInto(out *VPCIpamPoolSpec) { +func (in *VPCIpamPoolCidrAllocationSpec) DeepCopyInto(out *VPCIpamPoolCidrAllocationSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolSpec. -func (in *VPCIpamPoolSpec) DeepCopy() *VPCIpamPoolSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationSpec. +func (in *VPCIpamPoolCidrAllocationSpec) DeepCopy() *VPCIpamPoolCidrAllocationSpec { if in == nil { return nil } - out := new(VPCIpamPoolSpec) + out := new(VPCIpamPoolCidrAllocationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamPoolStatus) DeepCopyInto(out *VPCIpamPoolStatus) { +func (in *VPCIpamPoolCidrAllocationStatus) DeepCopyInto(out *VPCIpamPoolCidrAllocationStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolStatus. -func (in *VPCIpamPoolStatus) DeepCopy() *VPCIpamPoolStatus { - if in == nil { - return nil - } - out := new(VPCIpamPoolStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScope) DeepCopyInto(out *VPCIpamScope) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScope. -func (in *VPCIpamScope) DeepCopy() *VPCIpamScope { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrAllocationStatus. +func (in *VPCIpamPoolCidrAllocationStatus) DeepCopy() *VPCIpamPoolCidrAllocationStatus { if in == nil { return nil } - out := new(VPCIpamScope) + out := new(VPCIpamPoolCidrAllocationStatus) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamScope) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeInitParameters) DeepCopyInto(out *VPCIpamScopeInitParameters) { +func (in *VPCIpamPoolCidrInitParameters) DeepCopyInto(out *VPCIpamPoolCidrInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.CidrAuthorizationContext != nil { + in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext + *out = make([]CidrAuthorizationContextInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeInitParameters. -func (in *VPCIpamScopeInitParameters) DeepCopy() *VPCIpamScopeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrInitParameters. +func (in *VPCIpamPoolCidrInitParameters) DeepCopy() *VPCIpamPoolCidrInitParameters { if in == nil { return nil } - out := new(VPCIpamScopeInitParameters) + out := new(VPCIpamPoolCidrInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeList) DeepCopyInto(out *VPCIpamScopeList) { +func (in *VPCIpamPoolCidrList) DeepCopyInto(out *VPCIpamPoolCidrList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCIpamScope, len(*in)) + *out = make([]VPCIpamPoolCidr, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeList. -func (in *VPCIpamScopeList) DeepCopy() *VPCIpamScopeList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrList. +func (in *VPCIpamPoolCidrList) DeepCopy() *VPCIpamPoolCidrList { if in == nil { return nil } - out := new(VPCIpamScopeList) + out := new(VPCIpamPoolCidrList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCIpamScopeList) DeepCopyObject() runtime.Object { +func (in *VPCIpamPoolCidrList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -45725,244 +45798,262 @@ func (in *VPCIpamScopeList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeObservation) DeepCopyInto(out *VPCIpamScopeObservation) { +func (in *VPCIpamPoolCidrObservation) DeepCopyInto(out *VPCIpamPoolCidrObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.CidrAuthorizationContext != nil { + in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext + *out = make([]CidrAuthorizationContextObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IpamArn != nil { - in, out := &in.IpamArn, &out.IpamArn - *out = new(string) - **out = **in - } - if in.IpamID != nil { - in, out := &in.IpamID, &out.IpamID + if in.IpamPoolCidrID != nil { + in, out := &in.IpamPoolCidrID, &out.IpamPoolCidrID *out = new(string) **out = **in } - if in.IpamScopeType != nil { - in, out := &in.IpamScopeType, &out.IpamScopeType + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID *out = new(string) **out = **in } - if in.IsDefault != nil { - in, out := &in.IsDefault, &out.IsDefault - *out = new(bool) - **out = **in - } - if in.PoolCount != nil { - in, out := &in.PoolCount, &out.PoolCount + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength *out = new(float64) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeObservation. -func (in *VPCIpamScopeObservation) DeepCopy() *VPCIpamScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrObservation. +func (in *VPCIpamPoolCidrObservation) DeepCopy() *VPCIpamPoolCidrObservation { if in == nil { return nil } - out := new(VPCIpamScopeObservation) + out := new(VPCIpamPoolCidrObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeParameters) DeepCopyInto(out *VPCIpamScopeParameters) { +func (in *VPCIpamPoolCidrParameters) DeepCopyInto(out *VPCIpamPoolCidrParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.IpamID != nil { - in, out := &in.IpamID, &out.IpamID + if in.CidrAuthorizationContext != nil { + in, out := &in.CidrAuthorizationContext, &out.CidrAuthorizationContext + *out = make([]CidrAuthorizationContextParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID *out = new(string) **out = **in } - if in.IpamIDRef != nil { - in, out := &in.IpamIDRef, &out.IpamIDRef + if in.IpamPoolIDRef != nil { + in, out := &in.IpamPoolIDRef, &out.IpamPoolIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.IpamIDSelector != nil { - in, out := &in.IpamIDSelector, &out.IpamIDSelector + if in.IpamPoolIDSelector != nil { + in, out := &in.IpamPoolIDSelector, &out.IpamPoolIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.NetmaskLength != nil { + in, out := &in.NetmaskLength, &out.NetmaskLength + *out = new(float64) + **out = **in + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeParameters. -func (in *VPCIpamScopeParameters) DeepCopy() *VPCIpamScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrParameters. +func (in *VPCIpamPoolCidrParameters) DeepCopy() *VPCIpamPoolCidrParameters { if in == nil { return nil } - out := new(VPCIpamScopeParameters) + out := new(VPCIpamPoolCidrParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeSpec) DeepCopyInto(out *VPCIpamScopeSpec) { +func (in *VPCIpamPoolCidrSpec) DeepCopyInto(out *VPCIpamPoolCidrSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeSpec. -func (in *VPCIpamScopeSpec) DeepCopy() *VPCIpamScopeSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrSpec. +func (in *VPCIpamPoolCidrSpec) DeepCopy() *VPCIpamPoolCidrSpec { + if in == nil { + return nil + } + out := new(VPCIpamPoolCidrSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolCidrStatus) DeepCopyInto(out *VPCIpamPoolCidrStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolCidrStatus. +func (in *VPCIpamPoolCidrStatus) DeepCopy() *VPCIpamPoolCidrStatus { if in == nil { return nil } - out := new(VPCIpamScopeSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamScopeStatus) DeepCopyInto(out *VPCIpamScopeStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeStatus. -func (in *VPCIpamScopeStatus) DeepCopy() *VPCIpamScopeStatus { - if in == nil { - return nil + out := new(VPCIpamPoolCidrStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters) { + *out = *in + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily + *out = new(string) + **out = **in + } + if in.AllocationDefaultNetmaskLength != nil { + in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength + *out = new(float64) + **out = **in + } + if in.AllocationMaxNetmaskLength != nil { + in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength + *out = new(float64) + **out = **in + } + if in.AllocationMinNetmaskLength != nil { + in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength + *out = new(float64) + **out = **in + } + if in.AllocationResourceTags != nil { + in, out := &in.AllocationResourceTags, &out.AllocationResourceTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AutoImport != nil { + in, out := &in.AutoImport, &out.AutoImport + *out = new(bool) + **out = **in + } + if in.AwsService != nil { + in, out := &in.AwsService, &out.AwsService + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Locale != nil { + in, out := &in.Locale, &out.Locale + *out = new(string) + **out = **in + } + if in.PublicIPSource != nil { + in, out := &in.PublicIPSource, &out.PublicIPSource + *out = new(string) + **out = **in } - out := new(VPCIpamScopeStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamSpec) DeepCopyInto(out *VPCIpamSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamSpec. -func (in *VPCIpamSpec) DeepCopy() *VPCIpamSpec { - if in == nil { - return nil + if in.PubliclyAdvertisable != nil { + in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out := new(VPCIpamSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCIpamStatus) DeepCopyInto(out *VPCIpamStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamStatus. -func (in *VPCIpamStatus) DeepCopy() *VPCIpamStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolInitParameters. +func (in *VPCIpamPoolInitParameters) DeepCopy() *VPCIpamPoolInitParameters { if in == nil { return nil } - out := new(VPCIpamStatus) + out := new(VPCIpamPoolInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCList) DeepCopyInto(out *VPCList) { +func (in *VPCIpamPoolList) DeepCopyInto(out *VPCIpamPoolList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPC, len(*in)) + *out = make([]VPCIpamPool, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCList. -func (in *VPCList) DeepCopy() *VPCList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolList. +func (in *VPCIpamPoolList) DeepCopy() *VPCIpamPoolList { if in == nil { return nil } - out := new(VPCList) + out := new(VPCIpamPoolList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCList) DeepCopyObject() runtime.Object { +func (in *VPCIpamPoolList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -45970,150 +46061,106 @@ func (in *VPCList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCObservation) DeepCopyInto(out *VPCObservation) { +func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.AllocationDefaultNetmaskLength != nil { + in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength + *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.AllocationMaxNetmaskLength != nil { + in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCObservation. -func (in *VPCObservation) DeepCopy() *VPCObservation { - if in == nil { - return nil + if in.AllocationMinNetmaskLength != nil { + in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength + *out = new(float64) + **out = **in + } + if in.AllocationResourceTags != nil { + in, out := &in.AllocationResourceTags, &out.AllocationResourceTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out := new(VPCObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCObservation_2) DeepCopyInto(out *VPCObservation_2) { - *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.AssignGeneratedIPv6CidrBlock != nil { - in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock + if in.AutoImport != nil { + in, out := &in.AutoImport, &out.AutoImport *out = new(bool) **out = **in } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.DHCPOptionsID != nil { - in, out := &in.DHCPOptionsID, &out.DHCPOptionsID - *out = new(string) - **out = **in - } - if in.DefaultNetworkACLID != nil { - in, out := &in.DefaultNetworkACLID, &out.DefaultNetworkACLID - *out = new(string) - **out = **in - } - if in.DefaultRouteTableID != nil { - in, out := &in.DefaultRouteTableID, &out.DefaultRouteTableID + if in.AwsService != nil { + in, out := &in.AwsService, &out.AwsService *out = new(string) **out = **in } - if in.DefaultSecurityGroupID != nil { - in, out := &in.DefaultSecurityGroupID, &out.DefaultSecurityGroupID + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.EnableClassiclink != nil { - in, out := &in.EnableClassiclink, &out.EnableClassiclink - *out = new(bool) - **out = **in - } - if in.EnableClassiclinkDNSSupport != nil { - in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport - *out = new(bool) - **out = **in - } - if in.EnableDNSHostnames != nil { - in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames - *out = new(bool) - **out = **in - } - if in.EnableDNSSupport != nil { - in, out := &in.EnableDNSSupport, &out.EnableDNSSupport - *out = new(bool) - **out = **in - } - if in.EnableNetworkAddressUsageMetrics != nil { - in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics - *out = new(bool) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IPv4IpamPoolID != nil { - in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + if in.IpamScopeID != nil { + in, out := &in.IpamScopeID, &out.IpamScopeID *out = new(string) **out = **in } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) - **out = **in - } - if in.IPv6AssociationID != nil { - in, out := &in.IPv6AssociationID, &out.IPv6AssociationID + if in.IpamScopeType != nil { + in, out := &in.IpamScopeType, &out.IpamScopeType *out = new(string) **out = **in } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + if in.Locale != nil { + in, out := &in.Locale, &out.Locale *out = new(string) **out = **in } - if in.IPv6CidrBlockNetworkBorderGroup != nil { - in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup - *out = new(string) + if in.PoolDepth != nil { + in, out := &in.PoolDepth, &out.PoolDepth + *out = new(float64) **out = **in } - if in.IPv6IpamPoolID != nil { - in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID + if in.PublicIPSource != nil { + in, out := &in.PublicIPSource, &out.PublicIPSource *out = new(string) **out = **in } - if in.IPv6NetmaskLength != nil { - in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength - *out = new(float64) - **out = **in - } - if in.InstanceTenancy != nil { - in, out := &in.InstanceTenancy, &out.InstanceTenancy - *out = new(string) + if in.PubliclyAdvertisable != nil { + in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable + *out = new(bool) **out = **in } - if in.MainRouteTableID != nil { - in, out := &in.MainRouteTableID, &out.MainRouteTableID + if in.SourceIpamPoolID != nil { + in, out := &in.SourceIpamPoolID, &out.SourceIpamPoolID *out = new(string) **out = **in } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID + if in.State != nil { + in, out := &in.State, &out.State *out = new(string) **out = **in } @@ -46145,125 +46192,126 @@ func (in *VPCObservation_2) DeepCopyInto(out *VPCObservation_2) { in, out := &inVal, &outVal *out = new(string) **out = **in - } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCObservation_2. -func (in *VPCObservation_2) DeepCopy() *VPCObservation_2 { - if in == nil { - return nil - } - out := new(VPCObservation_2) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCParameters) DeepCopyInto(out *VPCParameters) { - *out = *in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCParameters. -func (in *VPCParameters) DeepCopy() *VPCParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolObservation. +func (in *VPCIpamPoolObservation) DeepCopy() *VPCIpamPoolObservation { if in == nil { return nil } - out := new(VPCParameters) + out := new(VPCIpamPoolObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCParameters_2) DeepCopyInto(out *VPCParameters_2) { +func (in *VPCIpamPoolParameters) DeepCopyInto(out *VPCIpamPoolParameters) { *out = *in - if in.AssignGeneratedIPv6CidrBlock != nil { - in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock - *out = new(bool) + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily + *out = new(string) **out = **in } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) + if in.AllocationDefaultNetmaskLength != nil { + in, out := &in.AllocationDefaultNetmaskLength, &out.AllocationDefaultNetmaskLength + *out = new(float64) **out = **in } - if in.EnableClassiclink != nil { - in, out := &in.EnableClassiclink, &out.EnableClassiclink - *out = new(bool) + if in.AllocationMaxNetmaskLength != nil { + in, out := &in.AllocationMaxNetmaskLength, &out.AllocationMaxNetmaskLength + *out = new(float64) **out = **in } - if in.EnableClassiclinkDNSSupport != nil { - in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport - *out = new(bool) + if in.AllocationMinNetmaskLength != nil { + in, out := &in.AllocationMinNetmaskLength, &out.AllocationMinNetmaskLength + *out = new(float64) **out = **in } - if in.EnableDNSHostnames != nil { - in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames + if in.AllocationResourceTags != nil { + in, out := &in.AllocationResourceTags, &out.AllocationResourceTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AutoImport != nil { + in, out := &in.AutoImport, &out.AutoImport *out = new(bool) **out = **in } - if in.EnableDNSSupport != nil { - in, out := &in.EnableDNSSupport, &out.EnableDNSSupport - *out = new(bool) + if in.AwsService != nil { + in, out := &in.AwsService, &out.AwsService + *out = new(string) **out = **in } - if in.EnableNetworkAddressUsageMetrics != nil { - in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.IPv4IpamPoolID != nil { - in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + if in.IpamScopeID != nil { + in, out := &in.IpamScopeID, &out.IpamScopeID *out = new(string) **out = **in } - if in.IPv4IpamPoolIDRef != nil { - in, out := &in.IPv4IpamPoolIDRef, &out.IPv4IpamPoolIDRef + if in.IpamScopeIDRef != nil { + in, out := &in.IpamScopeIDRef, &out.IpamScopeIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.IPv4IpamPoolIDSelector != nil { - in, out := &in.IPv4IpamPoolIDSelector, &out.IPv4IpamPoolIDSelector + if in.IpamScopeIDSelector != nil { + in, out := &in.IpamScopeIDSelector, &out.IpamScopeIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.IPv4NetmaskLength != nil { - in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IPv6CidrBlockNetworkBorderGroup != nil { - in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup + if in.Locale != nil { + in, out := &in.Locale, &out.Locale *out = new(string) **out = **in } - if in.IPv6IpamPoolID != nil { - in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID + if in.PublicIPSource != nil { + in, out := &in.PublicIPSource, &out.PublicIPSource *out = new(string) **out = **in } - if in.IPv6NetmaskLength != nil { - in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength - *out = new(float64) + if in.PubliclyAdvertisable != nil { + in, out := &in.PubliclyAdvertisable, &out.PubliclyAdvertisable + *out = new(bool) **out = **in } - if in.InstanceTenancy != nil { - in, out := &in.InstanceTenancy, &out.InstanceTenancy + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.SourceIpamPoolID != nil { + in, out := &in.SourceIpamPoolID, &out.SourceIpamPoolID *out = new(string) **out = **in } + if in.SourceIpamPoolIDRef != nil { + in, out := &in.SourceIpamPoolIDRef, &out.SourceIpamPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceIpamPoolIDSelector != nil { + in, out := &in.SourceIpamPoolIDSelector, &out.SourceIpamPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -46282,182 +46330,86 @@ func (in *VPCParameters_2) DeepCopyInto(out *VPCParameters_2) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCParameters_2. -func (in *VPCParameters_2) DeepCopy() *VPCParameters_2 { - if in == nil { - return nil - } - out := new(VPCParameters_2) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnection) DeepCopyInto(out *VPCPeeringConnection) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnection. -func (in *VPCPeeringConnection) DeepCopy() *VPCPeeringConnection { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolParameters. +func (in *VPCIpamPoolParameters) DeepCopy() *VPCIpamPoolParameters { if in == nil { return nil } - out := new(VPCPeeringConnection) + out := new(VPCIpamPoolParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnection) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepter) DeepCopyInto(out *VPCPeeringConnectionAccepter) { +func (in *VPCIpamPoolSpec) DeepCopyInto(out *VPCIpamPoolSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepter. -func (in *VPCPeeringConnectionAccepter) DeepCopy() *VPCPeeringConnectionAccepter { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolSpec. +func (in *VPCIpamPoolSpec) DeepCopy() *VPCIpamPoolSpec { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepter) + out := new(VPCIpamPoolSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnectionAccepter) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterInitParameters) { +func (in *VPCIpamPoolStatus) DeepCopyInto(out *VPCIpamPoolStatus) { *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterInitParameters. -func (in *VPCPeeringConnectionAccepterAccepterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterAccepterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamPoolStatus. +func (in *VPCIpamPoolStatus) DeepCopy() *VPCIpamPoolStatus { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterAccepterInitParameters) + out := new(VPCIpamPoolStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterObservation) { +func (in *VPCIpamScope) DeepCopyInto(out *VPCIpamScope) { *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterObservation. -func (in *VPCPeeringConnectionAccepterAccepterObservation) DeepCopy() *VPCPeeringConnectionAccepterAccepterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScope. +func (in *VPCIpamScope) DeepCopy() *VPCIpamScope { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterAccepterObservation) + out := new(VPCIpamScope) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterParameters) { - *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterParameters. -func (in *VPCPeeringConnectionAccepterAccepterParameters) DeepCopy() *VPCPeeringConnectionAccepterAccepterParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCIpamScope) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(VPCPeeringConnectionAccepterAccepterParameters) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterInitParameters) { +func (in *VPCIpamScopeInitParameters) DeepCopyInto(out *VPCIpamScopeInitParameters) { *out = *in - if in.Accepter != nil { - in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionAccepterAccepterInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.Requester != nil { - in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionAccepterRequesterInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -46476,42 +46428,42 @@ func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopyInto(out *VPCPeeri } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterInitParameters. -func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeInitParameters. +func (in *VPCIpamScopeInitParameters) DeepCopy() *VPCIpamScopeInitParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterInitParameters) + out := new(VPCIpamScopeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterList) DeepCopyInto(out *VPCPeeringConnectionAccepterList) { +func (in *VPCIpamScopeList) DeepCopyInto(out *VPCIpamScopeList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCPeeringConnectionAccepter, len(*in)) + *out = make([]VPCIpamScope, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterList. -func (in *VPCPeeringConnectionAccepterList) DeepCopy() *VPCPeeringConnectionAccepterList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeList. +func (in *VPCIpamScopeList) DeepCopy() *VPCIpamScopeList { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterList) + out := new(VPCIpamScopeList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnectionAccepterList) DeepCopyObject() runtime.Object { +func (in *VPCIpamScopeList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -46519,23 +46471,16 @@ func (in *VPCPeeringConnectionAccepterList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterObservation) { +func (in *VPCIpamScopeObservation) DeepCopyInto(out *VPCIpamScopeObservation) { *out = *in - if in.AcceptStatus != nil { - in, out := &in.AcceptStatus, &out.AcceptStatus + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Accepter != nil { - in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionAccepterAccepterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } if in.ID != nil { @@ -46543,27 +46488,30 @@ func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringC *out = new(string) **out = **in } - if in.PeerOwnerID != nil { - in, out := &in.PeerOwnerID, &out.PeerOwnerID + if in.IpamArn != nil { + in, out := &in.IpamArn, &out.IpamArn *out = new(string) **out = **in } - if in.PeerRegion != nil { - in, out := &in.PeerRegion, &out.PeerRegion + if in.IpamID != nil { + in, out := &in.IpamID, &out.IpamID *out = new(string) **out = **in } - if in.PeerVPCID != nil { - in, out := &in.PeerVPCID, &out.PeerVPCID + if in.IpamScopeType != nil { + in, out := &in.IpamScopeType, &out.IpamScopeType *out = new(string) **out = **in } - if in.Requester != nil { - in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionAccepterRequesterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.PoolCount != nil { + in, out := &in.PoolCount, &out.PoolCount + *out = new(float64) + **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -46597,55 +46545,46 @@ func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringC (*out)[key] = outVal } } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCPeeringConnectionID != nil { - in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterObservation. -func (in *VPCPeeringConnectionAccepterObservation) DeepCopy() *VPCPeeringConnectionAccepterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeObservation. +func (in *VPCIpamScopeObservation) DeepCopy() *VPCIpamScopeObservation { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterObservation) + out := new(VPCIpamScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterParameters) { +func (in *VPCIpamScopeParameters) DeepCopyInto(out *VPCIpamScopeParameters) { *out = *in - if in.Accepter != nil { - in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionAccepterAccepterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) + if in.IpamID != nil { + in, out := &in.IpamID, &out.IpamID + *out = new(string) **out = **in } + if in.IpamIDRef != nil { + in, out := &in.IpamIDRef, &out.IpamIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IpamIDSelector != nil { + in, out := &in.IpamIDSelector, &out.IpamIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Requester != nil { - in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionAccepterRequesterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -46662,245 +46601,114 @@ func (in *VPCPeeringConnectionAccepterParameters) DeepCopyInto(out *VPCPeeringCo (*out)[key] = outVal } } - if in.VPCPeeringConnectionID != nil { - in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID - *out = new(string) - **out = **in - } - if in.VPCPeeringConnectionIDRef != nil { - in, out := &in.VPCPeeringConnectionIDRef, &out.VPCPeeringConnectionIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCPeeringConnectionIDSelector != nil { - in, out := &in.VPCPeeringConnectionIDSelector, &out.VPCPeeringConnectionIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterParameters. -func (in *VPCPeeringConnectionAccepterParameters) DeepCopy() *VPCPeeringConnectionAccepterParameters { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionAccepterParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterRequesterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterInitParameters) { - *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterInitParameters. -func (in *VPCPeeringConnectionAccepterRequesterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterRequesterInitParameters { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionAccepterRequesterInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterRequesterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterObservation) { - *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterObservation. -func (in *VPCPeeringConnectionAccepterRequesterObservation) DeepCopy() *VPCPeeringConnectionAccepterRequesterObservation { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionAccepterRequesterObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterRequesterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterParameters) { - *out = *in - if in.AllowClassicLinkToRemoteVPC != nil { - in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC - *out = new(bool) - **out = **in - } - if in.AllowRemoteVPCDNSResolution != nil { - in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution - *out = new(bool) - **out = **in - } - if in.AllowVPCToRemoteClassicLink != nil { - in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink - *out = new(bool) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterParameters. -func (in *VPCPeeringConnectionAccepterRequesterParameters) DeepCopy() *VPCPeeringConnectionAccepterRequesterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeParameters. +func (in *VPCIpamScopeParameters) DeepCopy() *VPCIpamScopeParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterRequesterParameters) + out := new(VPCIpamScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterSpec) DeepCopyInto(out *VPCPeeringConnectionAccepterSpec) { +func (in *VPCIpamScopeSpec) DeepCopyInto(out *VPCIpamScopeSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterSpec. -func (in *VPCPeeringConnectionAccepterSpec) DeepCopy() *VPCPeeringConnectionAccepterSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeSpec. +func (in *VPCIpamScopeSpec) DeepCopy() *VPCIpamScopeSpec { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterSpec) + out := new(VPCIpamScopeSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionAccepterStatus) DeepCopyInto(out *VPCPeeringConnectionAccepterStatus) { +func (in *VPCIpamScopeStatus) DeepCopyInto(out *VPCIpamScopeStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterStatus. -func (in *VPCPeeringConnectionAccepterStatus) DeepCopy() *VPCPeeringConnectionAccepterStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamScopeStatus. +func (in *VPCIpamScopeStatus) DeepCopy() *VPCIpamScopeStatus { if in == nil { return nil } - out := new(VPCPeeringConnectionAccepterStatus) + out := new(VPCIpamScopeStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionInitParameters) DeepCopyInto(out *VPCPeeringConnectionInitParameters) { +func (in *VPCIpamSpec) DeepCopyInto(out *VPCIpamSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionInitParameters. -func (in *VPCPeeringConnectionInitParameters) DeepCopy() *VPCPeeringConnectionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamSpec. +func (in *VPCIpamSpec) DeepCopy() *VPCIpamSpec { if in == nil { return nil } - out := new(VPCPeeringConnectionInitParameters) + out := new(VPCIpamSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionInitParameters_2) DeepCopyInto(out *VPCPeeringConnectionInitParameters_2) { +func (in *VPCIpamStatus) DeepCopyInto(out *VPCIpamStatus) { *out = *in - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) - **out = **in - } - if in.PeerOwnerID != nil { - in, out := &in.PeerOwnerID, &out.PeerOwnerID - *out = new(string) - **out = **in - } - if in.PeerRegion != nil { - in, out := &in.PeerRegion, &out.PeerRegion - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionInitParameters_2. -func (in *VPCPeeringConnectionInitParameters_2) DeepCopy() *VPCPeeringConnectionInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIpamStatus. +func (in *VPCIpamStatus) DeepCopy() *VPCIpamStatus { if in == nil { return nil } - out := new(VPCPeeringConnectionInitParameters_2) + out := new(VPCIpamStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionList) DeepCopyInto(out *VPCPeeringConnectionList) { +func (in *VPCList) DeepCopyInto(out *VPCList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCPeeringConnection, len(*in)) + *out = make([]VPC, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionList. -func (in *VPCPeeringConnectionList) DeepCopy() *VPCPeeringConnectionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCList. +func (in *VPCList) DeepCopy() *VPCList { if in == nil { return nil } - out := new(VPCPeeringConnectionList) + out := new(VPCList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnectionList) DeepCopyObject() runtime.Object { +func (in *VPCList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -46908,7 +46716,7 @@ func (in *VPCPeeringConnectionList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionObservation) DeepCopyInto(out *VPCPeeringConnectionObservation) { +func (in *VPCObservation) DeepCopyInto(out *VPCObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn @@ -46927,62 +46735,280 @@ func (in *VPCPeeringConnectionObservation) DeepCopyInto(out *VPCPeeringConnectio } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionObservation. -func (in *VPCPeeringConnectionObservation) DeepCopy() *VPCPeeringConnectionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCObservation. +func (in *VPCObservation) DeepCopy() *VPCObservation { + if in == nil { + return nil + } + out := new(VPCObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCObservation_2) DeepCopyInto(out *VPCObservation_2) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.AssignGeneratedIPv6CidrBlock != nil { + in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock + *out = new(bool) + **out = **in + } + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock + *out = new(string) + **out = **in + } + if in.DHCPOptionsID != nil { + in, out := &in.DHCPOptionsID, &out.DHCPOptionsID + *out = new(string) + **out = **in + } + if in.DefaultNetworkACLID != nil { + in, out := &in.DefaultNetworkACLID, &out.DefaultNetworkACLID + *out = new(string) + **out = **in + } + if in.DefaultRouteTableID != nil { + in, out := &in.DefaultRouteTableID, &out.DefaultRouteTableID + *out = new(string) + **out = **in + } + if in.DefaultSecurityGroupID != nil { + in, out := &in.DefaultSecurityGroupID, &out.DefaultSecurityGroupID + *out = new(string) + **out = **in + } + if in.EnableClassiclink != nil { + in, out := &in.EnableClassiclink, &out.EnableClassiclink + *out = new(bool) + **out = **in + } + if in.EnableClassiclinkDNSSupport != nil { + in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport + *out = new(bool) + **out = **in + } + if in.EnableDNSHostnames != nil { + in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames + *out = new(bool) + **out = **in + } + if in.EnableDNSSupport != nil { + in, out := &in.EnableDNSSupport, &out.EnableDNSSupport + *out = new(bool) + **out = **in + } + if in.EnableNetworkAddressUsageMetrics != nil { + in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics + *out = new(bool) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + *out = new(string) + **out = **in + } + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength + *out = new(float64) + **out = **in + } + if in.IPv6AssociationID != nil { + in, out := &in.IPv6AssociationID, &out.IPv6AssociationID + *out = new(string) + **out = **in + } + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + *out = new(string) + **out = **in + } + if in.IPv6CidrBlockNetworkBorderGroup != nil { + in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup + *out = new(string) + **out = **in + } + if in.IPv6IpamPoolID != nil { + in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID + *out = new(string) + **out = **in + } + if in.IPv6NetmaskLength != nil { + in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength + *out = new(float64) + **out = **in + } + if in.InstanceTenancy != nil { + in, out := &in.InstanceTenancy, &out.InstanceTenancy + *out = new(string) + **out = **in + } + if in.MainRouteTableID != nil { + in, out := &in.MainRouteTableID, &out.MainRouteTableID + *out = new(string) + **out = **in + } + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCObservation_2. +func (in *VPCObservation_2) DeepCopy() *VPCObservation_2 { + if in == nil { + return nil + } + out := new(VPCObservation_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCParameters) DeepCopyInto(out *VPCParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCParameters. +func (in *VPCParameters) DeepCopy() *VPCParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionObservation) + out := new(VPCParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionObservation_2) DeepCopyInto(out *VPCPeeringConnectionObservation_2) { +func (in *VPCParameters_2) DeepCopyInto(out *VPCParameters_2) { *out = *in - if in.AcceptStatus != nil { - in, out := &in.AcceptStatus, &out.AcceptStatus + if in.AssignGeneratedIPv6CidrBlock != nil { + in, out := &in.AssignGeneratedIPv6CidrBlock, &out.AssignGeneratedIPv6CidrBlock + *out = new(bool) + **out = **in + } + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.Accepter != nil { - in, out := &in.Accepter, &out.Accepter - *out = make([]AccepterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.EnableClassiclink != nil { + in, out := &in.EnableClassiclink, &out.EnableClassiclink + *out = new(bool) + **out = **in } - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept + if in.EnableClassiclinkDNSSupport != nil { + in, out := &in.EnableClassiclinkDNSSupport, &out.EnableClassiclinkDNSSupport *out = new(bool) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.EnableDNSHostnames != nil { + in, out := &in.EnableDNSHostnames, &out.EnableDNSHostnames + *out = new(bool) + **out = **in + } + if in.EnableDNSSupport != nil { + in, out := &in.EnableDNSSupport, &out.EnableDNSSupport + *out = new(bool) + **out = **in + } + if in.EnableNetworkAddressUsageMetrics != nil { + in, out := &in.EnableNetworkAddressUsageMetrics, &out.EnableNetworkAddressUsageMetrics + *out = new(bool) + **out = **in + } + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID *out = new(string) **out = **in } - if in.PeerOwnerID != nil { - in, out := &in.PeerOwnerID, &out.PeerOwnerID + if in.IPv4IpamPoolIDRef != nil { + in, out := &in.IPv4IpamPoolIDRef, &out.IPv4IpamPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IPv4IpamPoolIDSelector != nil { + in, out := &in.IPv4IpamPoolIDSelector, &out.IPv4IpamPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IPv4NetmaskLength != nil { + in, out := &in.IPv4NetmaskLength, &out.IPv4NetmaskLength + *out = new(float64) + **out = **in + } + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.PeerRegion != nil { - in, out := &in.PeerRegion, &out.PeerRegion + if in.IPv6CidrBlockNetworkBorderGroup != nil { + in, out := &in.IPv6CidrBlockNetworkBorderGroup, &out.IPv6CidrBlockNetworkBorderGroup *out = new(string) **out = **in } - if in.PeerVPCID != nil { - in, out := &in.PeerVPCID, &out.PeerVPCID + if in.IPv6IpamPoolID != nil { + in, out := &in.IPv6IpamPoolID, &out.IPv6IpamPoolID *out = new(string) **out = **in } - if in.Requester != nil { - in, out := &in.Requester, &out.Requester - *out = make([]RequesterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.IPv6NetmaskLength != nil { + in, out := &in.IPv6NetmaskLength, &out.IPv6NetmaskLength + *out = new(float64) + **out = **in + } + if in.InstanceTenancy != nil { + in, out := &in.InstanceTenancy, &out.InstanceTenancy + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -47000,41 +47026,47 @@ func (in *VPCPeeringConnectionObservation_2) DeepCopyInto(out *VPCPeeringConnect (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCParameters_2. +func (in *VPCParameters_2) DeepCopy() *VPCParameters_2 { + if in == nil { + return nil } + out := new(VPCParameters_2) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionObservation_2. -func (in *VPCPeeringConnectionObservation_2) DeepCopy() *VPCPeeringConnectionObservation_2 { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnection) DeepCopyInto(out *VPCPeeringConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnection. +func (in *VPCPeeringConnection) DeepCopy() *VPCPeeringConnection { if in == nil { return nil } - out := new(VPCPeeringConnectionObservation_2) + out := new(VPCPeeringConnection) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCPeeringConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptions) DeepCopyInto(out *VPCPeeringConnectionOptions) { +func (in *VPCPeeringConnectionAccepter) DeepCopyInto(out *VPCPeeringConnectionAccepter) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -47042,18 +47074,18 @@ func (in *VPCPeeringConnectionOptions) DeepCopyInto(out *VPCPeeringConnectionOpt in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptions. -func (in *VPCPeeringConnectionOptions) DeepCopy() *VPCPeeringConnectionOptions { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepter. +func (in *VPCPeeringConnectionAccepter) DeepCopy() *VPCPeeringConnectionAccepter { if in == nil { return nil } - out := new(VPCPeeringConnectionOptions) + out := new(VPCPeeringConnectionAccepter) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnectionOptions) DeepCopyObject() runtime.Object { +func (in *VPCPeeringConnectionAccepter) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -47061,7 +47093,7 @@ func (in *VPCPeeringConnectionOptions) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterInitParameters) { +func (in *VPCPeeringConnectionAccepterAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterInitParameters) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47080,18 +47112,18 @@ func (in *VPCPeeringConnectionOptionsAccepterInitParameters) DeepCopyInto(out *V } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterInitParameters. -func (in *VPCPeeringConnectionOptionsAccepterInitParameters) DeepCopy() *VPCPeeringConnectionOptionsAccepterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterInitParameters. +func (in *VPCPeeringConnectionAccepterAccepterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterAccepterInitParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsAccepterInitParameters) + out := new(VPCPeeringConnectionAccepterAccepterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterObservation) { +func (in *VPCPeeringConnectionAccepterAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterObservation) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47110,18 +47142,18 @@ func (in *VPCPeeringConnectionOptionsAccepterObservation) DeepCopyInto(out *VPCP } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterObservation. -func (in *VPCPeeringConnectionOptionsAccepterObservation) DeepCopy() *VPCPeeringConnectionOptionsAccepterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterObservation. +func (in *VPCPeeringConnectionAccepterAccepterObservation) DeepCopy() *VPCPeeringConnectionAccepterAccepterObservation { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsAccepterObservation) + out := new(VPCPeeringConnectionAccepterAccepterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterParameters) { +func (in *VPCPeeringConnectionAccepterAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterAccepterParameters) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47140,71 +47172,92 @@ func (in *VPCPeeringConnectionOptionsAccepterParameters) DeepCopyInto(out *VPCPe } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterParameters. -func (in *VPCPeeringConnectionOptionsAccepterParameters) DeepCopy() *VPCPeeringConnectionOptionsAccepterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterAccepterParameters. +func (in *VPCPeeringConnectionAccepterAccepterParameters) DeepCopy() *VPCPeeringConnectionAccepterAccepterParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsAccepterParameters) + out := new(VPCPeeringConnectionAccepterAccepterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsInitParameters) { +func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterInitParameters) { *out = *in if in.Accepter != nil { in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionOptionsAccepterInitParameters, len(*in)) + *out = make([]VPCPeeringConnectionAccepterAccepterInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) + **out = **in + } if in.Requester != nil { in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionOptionsRequesterInitParameters, len(*in)) + *out = make([]VPCPeeringConnectionAccepterRequesterInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsInitParameters. -func (in *VPCPeeringConnectionOptionsInitParameters) DeepCopy() *VPCPeeringConnectionOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterInitParameters. +func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterInitParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsInitParameters) + out := new(VPCPeeringConnectionAccepterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsList) DeepCopyInto(out *VPCPeeringConnectionOptionsList) { +func (in *VPCPeeringConnectionAccepterList) DeepCopyInto(out *VPCPeeringConnectionAccepterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCPeeringConnectionOptions, len(*in)) + *out = make([]VPCPeeringConnectionAccepter, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsList. -func (in *VPCPeeringConnectionOptionsList) DeepCopy() *VPCPeeringConnectionOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterList. +func (in *VPCPeeringConnectionAccepterList) DeepCopy() *VPCPeeringConnectionAccepterList { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsList) + out := new(VPCPeeringConnectionAccepterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCPeeringConnectionOptionsList) DeepCopyObject() runtime.Object { +func (in *VPCPeeringConnectionAccepterList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -47212,27 +47265,89 @@ func (in *VPCPeeringConnectionOptionsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsObservation) { +func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterObservation) { *out = *in + if in.AcceptStatus != nil { + in, out := &in.AcceptStatus, &out.AcceptStatus + *out = new(string) + **out = **in + } if in.Accepter != nil { in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionOptionsAccepterObservation, len(*in)) + *out = make([]VPCPeeringConnectionAccepterAccepterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } + if in.PeerOwnerID != nil { + in, out := &in.PeerOwnerID, &out.PeerOwnerID + *out = new(string) + **out = **in + } + if in.PeerRegion != nil { + in, out := &in.PeerRegion, &out.PeerRegion + *out = new(string) + **out = **in + } + if in.PeerVPCID != nil { + in, out := &in.PeerVPCID, &out.PeerVPCID + *out = new(string) + **out = **in + } if in.Requester != nil { in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionOptionsRequesterObservation, len(*in)) + *out = make([]VPCPeeringConnectionAccepterRequesterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } if in.VPCPeeringConnectionID != nil { in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID *out = new(string) @@ -47240,26 +47355,31 @@ func (in *VPCPeeringConnectionOptionsObservation) DeepCopyInto(out *VPCPeeringCo } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsObservation. -func (in *VPCPeeringConnectionOptionsObservation) DeepCopy() *VPCPeeringConnectionOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterObservation. +func (in *VPCPeeringConnectionAccepterObservation) DeepCopy() *VPCPeeringConnectionAccepterObservation { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsObservation) + out := new(VPCPeeringConnectionAccepterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsParameters) { +func (in *VPCPeeringConnectionAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterParameters) { *out = *in if in.Accepter != nil { in, out := &in.Accepter, &out.Accepter - *out = make([]VPCPeeringConnectionOptionsAccepterParameters, len(*in)) + *out = make([]VPCPeeringConnectionAccepterAccepterParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) + **out = **in + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) @@ -47267,11 +47387,27 @@ func (in *VPCPeeringConnectionOptionsParameters) DeepCopyInto(out *VPCPeeringCon } if in.Requester != nil { in, out := &in.Requester, &out.Requester - *out = make([]VPCPeeringConnectionOptionsRequesterParameters, len(*in)) + *out = make([]VPCPeeringConnectionAccepterRequesterParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } if in.VPCPeeringConnectionID != nil { in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID *out = new(string) @@ -47289,18 +47425,18 @@ func (in *VPCPeeringConnectionOptionsParameters) DeepCopyInto(out *VPCPeeringCon } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsParameters. -func (in *VPCPeeringConnectionOptionsParameters) DeepCopy() *VPCPeeringConnectionOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterParameters. +func (in *VPCPeeringConnectionAccepterParameters) DeepCopy() *VPCPeeringConnectionAccepterParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsParameters) + out := new(VPCPeeringConnectionAccepterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsRequesterInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterInitParameters) { +func (in *VPCPeeringConnectionAccepterRequesterInitParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterInitParameters) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47319,18 +47455,18 @@ func (in *VPCPeeringConnectionOptionsRequesterInitParameters) DeepCopyInto(out * } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterInitParameters. -func (in *VPCPeeringConnectionOptionsRequesterInitParameters) DeepCopy() *VPCPeeringConnectionOptionsRequesterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterInitParameters. +func (in *VPCPeeringConnectionAccepterRequesterInitParameters) DeepCopy() *VPCPeeringConnectionAccepterRequesterInitParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsRequesterInitParameters) + out := new(VPCPeeringConnectionAccepterRequesterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsRequesterObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterObservation) { +func (in *VPCPeeringConnectionAccepterRequesterObservation) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterObservation) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47349,18 +47485,18 @@ func (in *VPCPeeringConnectionOptionsRequesterObservation) DeepCopyInto(out *VPC } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterObservation. -func (in *VPCPeeringConnectionOptionsRequesterObservation) DeepCopy() *VPCPeeringConnectionOptionsRequesterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterObservation. +func (in *VPCPeeringConnectionAccepterRequesterObservation) DeepCopy() *VPCPeeringConnectionAccepterRequesterObservation { if in == nil { return nil } - out := new(VPCPeeringConnectionOptionsRequesterObservation) + out := new(VPCPeeringConnectionAccepterRequesterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsRequesterParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterParameters) { +func (in *VPCPeeringConnectionAccepterRequesterParameters) DeepCopyInto(out *VPCPeeringConnectionAccepterRequesterParameters) { *out = *in if in.AllowClassicLinkToRemoteVPC != nil { in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC @@ -47379,234 +47515,81 @@ func (in *VPCPeeringConnectionOptionsRequesterParameters) DeepCopyInto(out *VPCP } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterParameters. -func (in *VPCPeeringConnectionOptionsRequesterParameters) DeepCopy() *VPCPeeringConnectionOptionsRequesterParameters { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionOptionsRequesterParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsSpec) DeepCopyInto(out *VPCPeeringConnectionOptionsSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsSpec. -func (in *VPCPeeringConnectionOptionsSpec) DeepCopy() *VPCPeeringConnectionOptionsSpec { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionOptionsSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionOptionsStatus) DeepCopyInto(out *VPCPeeringConnectionOptionsStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsStatus. -func (in *VPCPeeringConnectionOptionsStatus) DeepCopy() *VPCPeeringConnectionOptionsStatus { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionOptionsStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionParameters) DeepCopyInto(out *VPCPeeringConnectionParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionParameters. -func (in *VPCPeeringConnectionParameters) DeepCopy() *VPCPeeringConnectionParameters { - if in == nil { - return nil - } - out := new(VPCPeeringConnectionParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionParameters_2) DeepCopyInto(out *VPCPeeringConnectionParameters_2) { - *out = *in - if in.AutoAccept != nil { - in, out := &in.AutoAccept, &out.AutoAccept - *out = new(bool) - **out = **in - } - if in.PeerOwnerID != nil { - in, out := &in.PeerOwnerID, &out.PeerOwnerID - *out = new(string) - **out = **in - } - if in.PeerRegion != nil { - in, out := &in.PeerRegion, &out.PeerRegion - *out = new(string) - **out = **in - } - if in.PeerVPCID != nil { - in, out := &in.PeerVPCID, &out.PeerVPCID - *out = new(string) - **out = **in - } - if in.PeerVPCIDRef != nil { - in, out := &in.PeerVPCIDRef, &out.PeerVPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.PeerVPCIDSelector != nil { - in, out := &in.PeerVPCIDSelector, &out.PeerVPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionParameters_2. -func (in *VPCPeeringConnectionParameters_2) DeepCopy() *VPCPeeringConnectionParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterRequesterParameters. +func (in *VPCPeeringConnectionAccepterRequesterParameters) DeepCopy() *VPCPeeringConnectionAccepterRequesterParameters { if in == nil { return nil } - out := new(VPCPeeringConnectionParameters_2) + out := new(VPCPeeringConnectionAccepterRequesterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionSpec) DeepCopyInto(out *VPCPeeringConnectionSpec) { +func (in *VPCPeeringConnectionAccepterSpec) DeepCopyInto(out *VPCPeeringConnectionAccepterSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionSpec. -func (in *VPCPeeringConnectionSpec) DeepCopy() *VPCPeeringConnectionSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterSpec. +func (in *VPCPeeringConnectionAccepterSpec) DeepCopy() *VPCPeeringConnectionAccepterSpec { if in == nil { return nil } - out := new(VPCPeeringConnectionSpec) + out := new(VPCPeeringConnectionAccepterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCPeeringConnectionStatus) DeepCopyInto(out *VPCPeeringConnectionStatus) { +func (in *VPCPeeringConnectionAccepterStatus) DeepCopyInto(out *VPCPeeringConnectionAccepterStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionStatus. -func (in *VPCPeeringConnectionStatus) DeepCopy() *VPCPeeringConnectionStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionAccepterStatus. +func (in *VPCPeeringConnectionAccepterStatus) DeepCopy() *VPCPeeringConnectionAccepterStatus { if in == nil { return nil } - out := new(VPCPeeringConnectionStatus) + out := new(VPCPeeringConnectionAccepterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRule) DeepCopyInto(out *VPCSecurityGroupEgressRule) { +func (in *VPCPeeringConnectionInitParameters) DeepCopyInto(out *VPCPeeringConnectionInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRule. -func (in *VPCSecurityGroupEgressRule) DeepCopy() *VPCSecurityGroupEgressRule { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionInitParameters. +func (in *VPCPeeringConnectionInitParameters) DeepCopy() *VPCPeeringConnectionInitParameters { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRule) + out := new(VPCPeeringConnectionInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCSecurityGroupEgressRule) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleInitParameters) DeepCopyInto(out *VPCSecurityGroupEgressRuleInitParameters) { +func (in *VPCPeeringConnectionInitParameters_2) DeepCopyInto(out *VPCPeeringConnectionInitParameters_2) { *out = *in - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 - *out = new(string) - **out = **in - } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 - *out = new(string) + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.PeerOwnerID != nil { + in, out := &in.PeerOwnerID, &out.PeerOwnerID *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol + if in.PeerRegion != nil { + in, out := &in.PeerRegion, &out.PeerRegion *out = new(string) **out = **in } @@ -47618,56 +47601,52 @@ func (in *VPCSecurityGroupEgressRuleInitParameters) DeepCopyInto(out *VPCSecurit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } (*out)[key] = outVal } } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleInitParameters. -func (in *VPCSecurityGroupEgressRuleInitParameters) DeepCopy() *VPCSecurityGroupEgressRuleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionInitParameters_2. +func (in *VPCPeeringConnectionInitParameters_2) DeepCopy() *VPCPeeringConnectionInitParameters_2 { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRuleInitParameters) + out := new(VPCPeeringConnectionInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleList) DeepCopyInto(out *VPCSecurityGroupEgressRuleList) { +func (in *VPCPeeringConnectionList) DeepCopyInto(out *VPCPeeringConnectionList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VPCSecurityGroupEgressRule, len(*in)) + *out = make([]VPCPeeringConnection, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleList. -func (in *VPCSecurityGroupEgressRuleList) DeepCopy() *VPCSecurityGroupEgressRuleList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionList. +func (in *VPCPeeringConnectionList) DeepCopy() *VPCPeeringConnectionList { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRuleList) + out := new(VPCPeeringConnectionList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCSecurityGroupEgressRuleList) DeepCopyObject() runtime.Object { +func (in *VPCPeeringConnectionList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -47675,31 +47654,53 @@ func (in *VPCSecurityGroupEgressRuleList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleObservation) DeepCopyInto(out *VPCSecurityGroupEgressRuleObservation) { +func (in *VPCPeeringConnectionObservation) DeepCopyInto(out *VPCPeeringConnectionObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionObservation. +func (in *VPCPeeringConnectionObservation) DeepCopy() *VPCPeeringConnectionObservation { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionObservation_2) DeepCopyInto(out *VPCPeeringConnectionObservation_2) { + *out = *in + if in.AcceptStatus != nil { + in, out := &in.AcceptStatus, &out.AcceptStatus *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) + if in.Accepter != nil { + in, out := &in.Accepter, &out.Accepter + *out = make([]AccepterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) **out = **in } if in.ID != nil { @@ -47707,30 +47708,27 @@ func (in *VPCSecurityGroupEgressRuleObservation) DeepCopyInto(out *VPCSecurityGr *out = new(string) **out = **in } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol - *out = new(string) - **out = **in - } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.PeerOwnerID != nil { + in, out := &in.PeerOwnerID, &out.PeerOwnerID *out = new(string) **out = **in } - if in.ReferencedSecurityGroupID != nil { - in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + if in.PeerRegion != nil { + in, out := &in.PeerRegion, &out.PeerRegion *out = new(string) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.PeerVPCID != nil { + in, out := &in.PeerVPCID, &out.PeerVPCID *out = new(string) **out = **in } - if in.SecurityGroupRuleID != nil { - in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID - *out = new(string) - **out = **in + if in.Requester != nil { + in, out := &in.Requester, &out.Requester + *out = make([]RequesterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -47740,7 +47738,8 @@ func (in *VPCSecurityGroupEgressRuleObservation) DeepCopyInto(out *VPCSecurityGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -47755,454 +47754,467 @@ func (in *VPCSecurityGroupEgressRuleObservation) DeepCopyInto(out *VPCSecurityGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } (*out)[key] = outVal } } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionObservation_2. +func (in *VPCPeeringConnectionObservation_2) DeepCopy() *VPCPeeringConnectionObservation_2 { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionObservation_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptions) DeepCopyInto(out *VPCPeeringConnectionOptions) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptions. +func (in *VPCPeeringConnectionOptions) DeepCopy() *VPCPeeringConnectionOptions { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionOptions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCPeeringConnectionOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsAccepterInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterInitParameters) { + *out = *in + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) + **out = **in + } + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) + **out = **in + } + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterInitParameters. +func (in *VPCPeeringConnectionOptionsAccepterInitParameters) DeepCopy() *VPCPeeringConnectionOptionsAccepterInitParameters { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionOptionsAccepterInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsAccepterObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterObservation) { + *out = *in + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) + **out = **in + } + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) + **out = **in + } + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterObservation. +func (in *VPCPeeringConnectionOptionsAccepterObservation) DeepCopy() *VPCPeeringConnectionOptionsAccepterObservation { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionOptionsAccepterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsAccepterParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsAccepterParameters) { + *out = *in + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) + **out = **in + } + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) + **out = **in + } + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsAccepterParameters. +func (in *VPCPeeringConnectionOptionsAccepterParameters) DeepCopy() *VPCPeeringConnectionOptionsAccepterParameters { + if in == nil { + return nil + } + out := new(VPCPeeringConnectionOptionsAccepterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsInitParameters) { + *out = *in + if in.Accepter != nil { + in, out := &in.Accepter, &out.Accepter + *out = make([]VPCPeeringConnectionOptionsAccepterInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Requester != nil { + in, out := &in.Requester, &out.Requester + *out = make([]VPCPeeringConnectionOptionsRequesterInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleObservation. -func (in *VPCSecurityGroupEgressRuleObservation) DeepCopy() *VPCSecurityGroupEgressRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsInitParameters. +func (in *VPCPeeringConnectionOptionsInitParameters) DeepCopy() *VPCPeeringConnectionOptionsInitParameters { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRuleObservation) + out := new(VPCPeeringConnectionOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleParameters) DeepCopyInto(out *VPCSecurityGroupEgressRuleParameters) { +func (in *VPCPeeringConnectionOptionsList) DeepCopyInto(out *VPCPeeringConnectionOptionsList) { *out = *in - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 - *out = new(string) - **out = **in - } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VPCPeeringConnectionOptions, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsList. +func (in *VPCPeeringConnectionOptionsList) DeepCopy() *VPCPeeringConnectionOptionsList { + if in == nil { + return nil } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in + out := new(VPCPeeringConnectionOptionsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VPCPeeringConnectionOptionsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol - *out = new(string) - **out = **in + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsObservation) { + *out = *in + if in.Accepter != nil { + in, out := &in.Accepter, &out.Accepter + *out = make([]VPCPeeringConnectionOptionsAccepterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.PrefixListIDRef != nil { - in, out := &in.PrefixListIDRef, &out.PrefixListIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.PrefixListIDSelector != nil { - in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Requester != nil { + in, out := &in.Requester, &out.Requester + *out = make([]VPCPeeringConnectionOptionsRequesterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ReferencedSecurityGroupID != nil { - in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + if in.VPCPeeringConnectionID != nil { + in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID *out = new(string) **out = **in } - if in.ReferencedSecurityGroupIDRef != nil { - in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsObservation. +func (in *VPCPeeringConnectionOptionsObservation) DeepCopy() *VPCPeeringConnectionOptionsObservation { + if in == nil { + return nil } - if in.ReferencedSecurityGroupIDSelector != nil { - in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + out := new(VPCPeeringConnectionOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsParameters) { + *out = *in + if in.Accepter != nil { + in, out := &in.Accepter, &out.Accepter + *out = make([]VPCPeeringConnectionOptionsAccepterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.Requester != nil { + in, out := &in.Requester, &out.Requester + *out = make([]VPCPeeringConnectionOptionsRequesterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCPeeringConnectionID != nil { + in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID *out = new(string) **out = **in } - if in.SecurityGroupIDRef != nil { - in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + if in.VPCPeeringConnectionIDRef != nil { + in, out := &in.VPCPeeringConnectionIDRef, &out.VPCPeeringConnectionIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.SecurityGroupIDSelector != nil { - in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + if in.VPCPeeringConnectionIDSelector != nil { + in, out := &in.VPCPeeringConnectionIDSelector, &out.VPCPeeringConnectionIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleParameters. -func (in *VPCSecurityGroupEgressRuleParameters) DeepCopy() *VPCSecurityGroupEgressRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsParameters. +func (in *VPCPeeringConnectionOptionsParameters) DeepCopy() *VPCPeeringConnectionOptionsParameters { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRuleParameters) + out := new(VPCPeeringConnectionOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleSpec) DeepCopyInto(out *VPCSecurityGroupEgressRuleSpec) { +func (in *VPCPeeringConnectionOptionsRequesterInitParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleSpec. -func (in *VPCSecurityGroupEgressRuleSpec) DeepCopy() *VPCSecurityGroupEgressRuleSpec { - if in == nil { - return nil + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) + **out = **in + } + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) + **out = **in + } + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) + **out = **in } - out := new(VPCSecurityGroupEgressRuleSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupEgressRuleStatus) DeepCopyInto(out *VPCSecurityGroupEgressRuleStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupEgressRuleStatus. -func (in *VPCSecurityGroupEgressRuleStatus) DeepCopy() *VPCSecurityGroupEgressRuleStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterInitParameters. +func (in *VPCPeeringConnectionOptionsRequesterInitParameters) DeepCopy() *VPCPeeringConnectionOptionsRequesterInitParameters { if in == nil { return nil } - out := new(VPCSecurityGroupEgressRuleStatus) + out := new(VPCPeeringConnectionOptionsRequesterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRule) DeepCopyInto(out *VPCSecurityGroupIngressRule) { +func (in *VPCPeeringConnectionOptionsRequesterObservation) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) + **out = **in + } + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) + **out = **in + } + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRule. -func (in *VPCSecurityGroupIngressRule) DeepCopy() *VPCSecurityGroupIngressRule { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterObservation. +func (in *VPCPeeringConnectionOptionsRequesterObservation) DeepCopy() *VPCPeeringConnectionOptionsRequesterObservation { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRule) + out := new(VPCPeeringConnectionOptionsRequesterObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCSecurityGroupIngressRule) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleInitParameters) DeepCopyInto(out *VPCSecurityGroupIngressRuleInitParameters) { - *out = *in - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 - *out = new(string) - **out = **in - } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsRequesterParameters) DeepCopyInto(out *VPCPeeringConnectionOptionsRequesterParameters) { + *out = *in + if in.AllowClassicLinkToRemoteVPC != nil { + in, out := &in.AllowClassicLinkToRemoteVPC, &out.AllowClassicLinkToRemoteVPC + *out = new(bool) **out = **in } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol - *out = new(string) + if in.AllowRemoteVPCDNSResolution != nil { + in, out := &in.AllowRemoteVPCDNSResolution, &out.AllowRemoteVPCDNSResolution + *out = new(bool) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) + if in.AllowVPCToRemoteClassicLink != nil { + in, out := &in.AllowVPCToRemoteClassicLink, &out.AllowVPCToRemoteClassicLink + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleInitParameters. -func (in *VPCSecurityGroupIngressRuleInitParameters) DeepCopy() *VPCSecurityGroupIngressRuleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsRequesterParameters. +func (in *VPCPeeringConnectionOptionsRequesterParameters) DeepCopy() *VPCPeeringConnectionOptionsRequesterParameters { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleInitParameters) + out := new(VPCPeeringConnectionOptionsRequesterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleList) DeepCopyInto(out *VPCSecurityGroupIngressRuleList) { +func (in *VPCPeeringConnectionOptionsSpec) DeepCopyInto(out *VPCPeeringConnectionOptionsSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VPCSecurityGroupIngressRule, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleList. -func (in *VPCSecurityGroupIngressRuleList) DeepCopy() *VPCSecurityGroupIngressRuleList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsSpec. +func (in *VPCPeeringConnectionOptionsSpec) DeepCopy() *VPCPeeringConnectionOptionsSpec { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleList) + out := new(VPCPeeringConnectionOptionsSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VPCSecurityGroupIngressRuleList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VPCPeeringConnectionOptionsStatus) DeepCopyInto(out *VPCPeeringConnectionOptionsStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionOptionsStatus. +func (in *VPCPeeringConnectionOptionsStatus) DeepCopy() *VPCPeeringConnectionOptionsStatus { + if in == nil { + return nil } - return nil + out := new(VPCPeeringConnectionOptionsStatus) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleObservation) DeepCopyInto(out *VPCSecurityGroupIngressRuleObservation) { +func (in *VPCPeeringConnectionParameters) DeepCopyInto(out *VPCPeeringConnectionParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 - *out = new(string) - **out = **in - } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol - *out = new(string) - **out = **in - } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID - *out = new(string) - **out = **in - } - if in.ReferencedSecurityGroupID != nil { - in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID - *out = new(string) - **out = **in - } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID - *out = new(string) - **out = **in - } - if in.SecurityGroupRuleID != nil { - in, out := &in.SecurityGroupRuleID, &out.SecurityGroupRuleID - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleObservation. -func (in *VPCSecurityGroupIngressRuleObservation) DeepCopy() *VPCSecurityGroupIngressRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionParameters. +func (in *VPCPeeringConnectionParameters) DeepCopy() *VPCPeeringConnectionParameters { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleObservation) + out := new(VPCPeeringConnectionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleParameters) DeepCopyInto(out *VPCSecurityGroupIngressRuleParameters) { +func (in *VPCPeeringConnectionParameters_2) DeepCopyInto(out *VPCPeeringConnectionParameters_2) { *out = *in - if in.CidrIPv4 != nil { - in, out := &in.CidrIPv4, &out.CidrIPv4 - *out = new(string) - **out = **in - } - if in.CidrIPv6 != nil { - in, out := &in.CidrIPv6, &out.CidrIPv6 - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) + if in.AutoAccept != nil { + in, out := &in.AutoAccept, &out.AutoAccept + *out = new(bool) **out = **in } - if in.IPProtocol != nil { - in, out := &in.IPProtocol, &out.IPProtocol + if in.PeerOwnerID != nil { + in, out := &in.PeerOwnerID, &out.PeerOwnerID *out = new(string) **out = **in } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.PeerRegion != nil { + in, out := &in.PeerRegion, &out.PeerRegion *out = new(string) **out = **in } - if in.PrefixListIDRef != nil { - in, out := &in.PrefixListIDRef, &out.PrefixListIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.PrefixListIDSelector != nil { - in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.ReferencedSecurityGroupID != nil { - in, out := &in.ReferencedSecurityGroupID, &out.ReferencedSecurityGroupID + if in.PeerVPCID != nil { + in, out := &in.PeerVPCID, &out.PeerVPCID *out = new(string) **out = **in } - if in.ReferencedSecurityGroupIDRef != nil { - in, out := &in.ReferencedSecurityGroupIDRef, &out.ReferencedSecurityGroupIDRef + if in.PeerVPCIDRef != nil { + in, out := &in.PeerVPCIDRef, &out.PeerVPCIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ReferencedSecurityGroupIDSelector != nil { - in, out := &in.ReferencedSecurityGroupIDSelector, &out.ReferencedSecurityGroupIDSelector + if in.PeerVPCIDSelector != nil { + in, out := &in.PeerVPCIDSelector, &out.PeerVPCIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } @@ -48211,21 +48223,6 @@ func (in *VPCSecurityGroupIngressRuleParameters) DeepCopyInto(out *VPCSecurityGr *out = new(string) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID - *out = new(string) - **out = **in - } - if in.SecurityGroupIDRef != nil { - in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroupIDSelector != nil { - in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -48234,61 +48231,72 @@ func (in *VPCSecurityGroupIngressRuleParameters) DeepCopyInto(out *VPCSecurityGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } (*out)[key] = outVal } } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) **out = **in } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleParameters. -func (in *VPCSecurityGroupIngressRuleParameters) DeepCopy() *VPCSecurityGroupIngressRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionParameters_2. +func (in *VPCPeeringConnectionParameters_2) DeepCopy() *VPCPeeringConnectionParameters_2 { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleParameters) + out := new(VPCPeeringConnectionParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleSpec) DeepCopyInto(out *VPCSecurityGroupIngressRuleSpec) { +func (in *VPCPeeringConnectionSpec) DeepCopyInto(out *VPCPeeringConnectionSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleSpec. -func (in *VPCSecurityGroupIngressRuleSpec) DeepCopy() *VPCSecurityGroupIngressRuleSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionSpec. +func (in *VPCPeeringConnectionSpec) DeepCopy() *VPCPeeringConnectionSpec { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleSpec) + out := new(VPCPeeringConnectionSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VPCSecurityGroupIngressRuleStatus) DeepCopyInto(out *VPCSecurityGroupIngressRuleStatus) { +func (in *VPCPeeringConnectionStatus) DeepCopyInto(out *VPCPeeringConnectionStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSecurityGroupIngressRuleStatus. -func (in *VPCSecurityGroupIngressRuleStatus) DeepCopy() *VPCSecurityGroupIngressRuleStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConnectionStatus. +func (in *VPCPeeringConnectionStatus) DeepCopy() *VPCPeeringConnectionStatus { if in == nil { return nil } - out := new(VPCSecurityGroupIngressRuleStatus) + out := new(VPCPeeringConnectionStatus) in.DeepCopyInto(out) return out } diff --git a/apis/ec2/v1beta1/zz_generated.managed.go b/apis/ec2/v1beta1/zz_generated.managed.go index c7bd3cc1cd..b04e10c98f 100644 --- a/apis/ec2/v1beta1/zz_generated.managed.go +++ b/apis/ec2/v1beta1/zz_generated.managed.go @@ -2707,6 +2707,126 @@ func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretRefer mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetPublishConnectionDetailsTo of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetPublishConnectionDetailsTo of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetPublishConnectionDetailsTo of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetPublishConnectionDetailsTo of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this SecurityGroupRule. func (mg *SecurityGroupRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -5527,158 +5647,6 @@ func (mg *VPCPeeringConnectionOptions) SetWriteConnectionSecretToReference(r *xp mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { - return mg.Status.GetCondition(ct) -} - -// GetDeletionPolicy of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetDeletionPolicy() xpv1.DeletionPolicy { - return mg.Spec.DeletionPolicy -} - -// GetManagementPolicies of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetManagementPolicies() xpv1.ManagementPolicies { - return mg.Spec.ManagementPolicies -} - -// GetProviderConfigReference of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetProviderConfigReference() *xpv1.Reference { - return mg.Spec.ProviderConfigReference -} - -/* -GetProviderReference of this VPCSecurityGroupEgressRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCSecurityGroupEgressRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - -// GetPublishConnectionDetailsTo of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { - return mg.Spec.PublishConnectionDetailsTo -} - -// GetWriteConnectionSecretToReference of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { - return mg.Spec.WriteConnectionSecretToReference -} - -// SetConditions of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetConditions(c ...xpv1.Condition) { - mg.Status.SetConditions(c...) -} - -// SetDeletionPolicy of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { - mg.Spec.DeletionPolicy = r -} - -// SetManagementPolicies of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { - mg.Spec.ManagementPolicies = r -} - -// SetProviderConfigReference of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetProviderConfigReference(r *xpv1.Reference) { - mg.Spec.ProviderConfigReference = r -} - -/* -SetProviderReference of this VPCSecurityGroupEgressRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCSecurityGroupEgressRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - -// SetPublishConnectionDetailsTo of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { - mg.Spec.PublishConnectionDetailsTo = r -} - -// SetWriteConnectionSecretToReference of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { - mg.Spec.WriteConnectionSecretToReference = r -} - -// GetCondition of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { - return mg.Status.GetCondition(ct) -} - -// GetDeletionPolicy of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetDeletionPolicy() xpv1.DeletionPolicy { - return mg.Spec.DeletionPolicy -} - -// GetManagementPolicies of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetManagementPolicies() xpv1.ManagementPolicies { - return mg.Spec.ManagementPolicies -} - -// GetProviderConfigReference of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetProviderConfigReference() *xpv1.Reference { - return mg.Spec.ProviderConfigReference -} - -/* -GetProviderReference of this VPCSecurityGroupIngressRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCSecurityGroupIngressRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - -// GetPublishConnectionDetailsTo of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { - return mg.Spec.PublishConnectionDetailsTo -} - -// GetWriteConnectionSecretToReference of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { - return mg.Spec.WriteConnectionSecretToReference -} - -// SetConditions of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetConditions(c ...xpv1.Condition) { - mg.Status.SetConditions(c...) -} - -// SetDeletionPolicy of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { - mg.Spec.DeletionPolicy = r -} - -// SetManagementPolicies of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetManagementPolicies(r xpv1.ManagementPolicies) { - mg.Spec.ManagementPolicies = r -} - -// SetProviderConfigReference of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetProviderConfigReference(r *xpv1.Reference) { - mg.Spec.ProviderConfigReference = r -} - -/* -SetProviderReference of this VPCSecurityGroupIngressRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCSecurityGroupIngressRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - -// SetPublishConnectionDetailsTo of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { - mg.Spec.PublishConnectionDetailsTo = r -} - -// SetWriteConnectionSecretToReference of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { - mg.Spec.WriteConnectionSecretToReference = r -} - // GetCondition of this VPNConnection. func (mg *VPNConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/ec2/v1beta1/zz_generated.managedlist.go b/apis/ec2/v1beta1/zz_generated.managedlist.go index a109f72584..b5a8de4e0e 100644 --- a/apis/ec2/v1beta1/zz_generated.managedlist.go +++ b/apis/ec2/v1beta1/zz_generated.managedlist.go @@ -403,6 +403,24 @@ func (l *RouteTableList) GetItems() []resource.Managed { return items } +// GetItems of this SecurityGroupEgressRuleList. +func (l *SecurityGroupEgressRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SecurityGroupIngressRuleList. +func (l *SecurityGroupIngressRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this SecurityGroupList. func (l *SecurityGroupList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -835,24 +853,6 @@ func (l *VPCPeeringConnectionOptionsList) GetItems() []resource.Managed { return items } -// GetItems of this VPCSecurityGroupEgressRuleList. -func (l *VPCSecurityGroupEgressRuleList) GetItems() []resource.Managed { - items := make([]resource.Managed, len(l.Items)) - for i := range l.Items { - items[i] = &l.Items[i] - } - return items -} - -// GetItems of this VPCSecurityGroupIngressRuleList. -func (l *VPCSecurityGroupIngressRuleList) GetItems() []resource.Managed { - items := make([]resource.Managed, len(l.Items)) - for i := range l.Items { - items[i] = &l.Items[i] - } - return items -} - // GetItems of this VPNConnectionList. func (l *VPNConnectionList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/ec2/v1beta1/zz_generated.resolvers.go b/apis/ec2/v1beta1/zz_generated.resolvers.go index 3eb269bc8d..7ebdc1fa65 100644 --- a/apis/ec2/v1beta1/zz_generated.resolvers.go +++ b/apis/ec2/v1beta1/zz_generated.resolvers.go @@ -1622,6 +1622,122 @@ func (mg *SecurityGroup) ResolveReferences(ctx context.Context, c client.Reader) return nil } +// ResolveReferences of this SecurityGroupEgressRule. +func (mg *SecurityGroupEgressRule) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.PrefixListIDRef, + Selector: mg.Spec.ForProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") + } + mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") + } + mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.SecurityGroupIDRef, + Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") + } + mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + + return nil +} + +// ResolveReferences of this SecurityGroupIngressRule. +func (mg *SecurityGroupIngressRule) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.PrefixListIDRef, + Selector: mg.Spec.ForProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") + } + mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") + } + mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.SecurityGroupIDRef, + Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") + } + mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + + return nil +} + // ResolveReferences of this SecurityGroupRule. func (mg *SecurityGroupRule) ResolveReferences(ctx context.Context, c client.Reader) error { r := reference.NewAPIResolver(c, mg) @@ -3066,122 +3182,6 @@ func (mg *VPCPeeringConnectionOptions) ResolveReferences(ctx context.Context, c return nil } -// ResolveReferences of this VPCSecurityGroupEgressRule. -func (mg *VPCSecurityGroupEgressRule) ResolveReferences(ctx context.Context, c client.Reader) error { - r := reference.NewAPIResolver(c, mg) - - var rsp reference.ResolutionResponse - var err error - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.PrefixListIDRef, - Selector: mg.Spec.ForProvider.PrefixListIDSelector, - To: reference.To{ - List: &ManagedPrefixListList{}, - Managed: &ManagedPrefixList{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") - } - mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, - Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, - To: reference.To{ - List: &SecurityGroupList{}, - Managed: &SecurityGroup{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") - } - mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.SecurityGroupIDRef, - Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, - To: reference.To{ - List: &SecurityGroupList{}, - Managed: &SecurityGroup{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") - } - mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference - - return nil -} - -// ResolveReferences of this VPCSecurityGroupIngressRule. -func (mg *VPCSecurityGroupIngressRule) ResolveReferences(ctx context.Context, c client.Reader) error { - r := reference.NewAPIResolver(c, mg) - - var rsp reference.ResolutionResponse - var err error - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrefixListID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.PrefixListIDRef, - Selector: mg.Spec.ForProvider.PrefixListIDSelector, - To: reference.To{ - List: &ManagedPrefixListList{}, - Managed: &ManagedPrefixList{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.PrefixListID") - } - mg.Spec.ForProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.PrefixListIDRef = rsp.ResolvedReference - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ReferencedSecurityGroupID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.ReferencedSecurityGroupIDRef, - Selector: mg.Spec.ForProvider.ReferencedSecurityGroupIDSelector, - To: reference.To{ - List: &SecurityGroupList{}, - Managed: &SecurityGroup{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.ReferencedSecurityGroupID") - } - mg.Spec.ForProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SecurityGroupID), - Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.SecurityGroupIDRef, - Selector: mg.Spec.ForProvider.SecurityGroupIDSelector, - To: reference.To{ - List: &SecurityGroupList{}, - Managed: &SecurityGroup{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") - } - mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference - - return nil -} - // ResolveReferences of this VPNConnection. func (mg *VPNConnection) ResolveReferences(ctx context.Context, c client.Reader) error { r := reference.NewAPIResolver(c, mg) diff --git a/apis/ec2/v1beta1/zz_generated_terraformed.go b/apis/ec2/v1beta1/zz_generated_terraformed.go index 4b24e4baf7..aed84f7c8b 100755 --- a/apis/ec2/v1beta1/zz_generated_terraformed.go +++ b/apis/ec2/v1beta1/zz_generated_terraformed.go @@ -7856,18 +7856,18 @@ func (tr *VPCPeeringConnectionOptions) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this VPCSecurityGroupEgressRule -func (mg *VPCSecurityGroupEgressRule) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this SecurityGroupEgressRule +func (mg *SecurityGroupEgressRule) GetTerraformResourceType() string { return "aws_vpc_security_group_egress_rule" } -// GetConnectionDetailsMapping for this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) GetObservation() (map[string]any, error) { +// GetObservation of this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -7876,8 +7876,8 @@ func (tr *VPCSecurityGroupEgressRule) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) SetObservation(obs map[string]any) error { +// SetObservation for this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -7885,16 +7885,16 @@ func (tr *VPCSecurityGroupEgressRule) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) GetID() string { +// GetID returns ID of underlying Terraform resource of this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) GetParameters() (map[string]any, error) { +// GetParameters of this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -7903,8 +7903,8 @@ func (tr *VPCSecurityGroupEgressRule) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) SetParameters(params map[string]any) error { +// SetParameters for this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -7912,8 +7912,8 @@ func (tr *VPCSecurityGroupEgressRule) SetParameters(params map[string]any) error return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// GetInitParameters of this VPCSecurityGroupEgressRule -func (tr *VPCSecurityGroupEgressRule) GetInitParameters() (map[string]any, error) { +// GetInitParameters of this SecurityGroupEgressRule +func (tr *SecurityGroupEgressRule) GetInitParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.InitProvider) if err != nil { return nil, err @@ -7922,10 +7922,10 @@ func (tr *VPCSecurityGroupEgressRule) GetInitParameters() (map[string]any, error return base, json.TFParser.Unmarshal(p, &base) } -// LateInitialize this VPCSecurityGroupEgressRule using its observed tfState. +// LateInitialize this SecurityGroupEgressRule using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *VPCSecurityGroupEgressRule) LateInitialize(attrs []byte) (bool, error) { - params := &VPCSecurityGroupEgressRuleParameters{} +func (tr *SecurityGroupEgressRule) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityGroupEgressRuleParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -7936,22 +7936,22 @@ func (tr *VPCSecurityGroupEgressRule) LateInitialize(attrs []byte) (bool, error) } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *VPCSecurityGroupEgressRule) GetTerraformSchemaVersion() int { +func (tr *SecurityGroupEgressRule) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this VPCSecurityGroupIngressRule -func (mg *VPCSecurityGroupIngressRule) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this SecurityGroupIngressRule +func (mg *SecurityGroupIngressRule) GetTerraformResourceType() string { return "aws_vpc_security_group_ingress_rule" } -// GetConnectionDetailsMapping for this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) GetObservation() (map[string]any, error) { +// GetObservation of this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -7960,8 +7960,8 @@ func (tr *VPCSecurityGroupIngressRule) GetObservation() (map[string]any, error) return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) SetObservation(obs map[string]any) error { +// SetObservation for this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -7969,16 +7969,16 @@ func (tr *VPCSecurityGroupIngressRule) SetObservation(obs map[string]any) error return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) GetID() string { +// GetID returns ID of underlying Terraform resource of this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) GetParameters() (map[string]any, error) { +// GetParameters of this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -7987,8 +7987,8 @@ func (tr *VPCSecurityGroupIngressRule) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) SetParameters(params map[string]any) error { +// SetParameters for this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -7996,8 +7996,8 @@ func (tr *VPCSecurityGroupIngressRule) SetParameters(params map[string]any) erro return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// GetInitParameters of this VPCSecurityGroupIngressRule -func (tr *VPCSecurityGroupIngressRule) GetInitParameters() (map[string]any, error) { +// GetInitParameters of this SecurityGroupIngressRule +func (tr *SecurityGroupIngressRule) GetInitParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.InitProvider) if err != nil { return nil, err @@ -8006,10 +8006,10 @@ func (tr *VPCSecurityGroupIngressRule) GetInitParameters() (map[string]any, erro return base, json.TFParser.Unmarshal(p, &base) } -// LateInitialize this VPCSecurityGroupIngressRule using its observed tfState. +// LateInitialize this SecurityGroupIngressRule using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *VPCSecurityGroupIngressRule) LateInitialize(attrs []byte) (bool, error) { - params := &VPCSecurityGroupIngressRuleParameters{} +func (tr *SecurityGroupIngressRule) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityGroupIngressRuleParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -8020,7 +8020,7 @@ func (tr *VPCSecurityGroupIngressRule) LateInitialize(attrs []byte) (bool, error } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *VPCSecurityGroupIngressRule) GetTerraformSchemaVersion() int { +func (tr *SecurityGroupIngressRule) GetTerraformSchemaVersion() int { return 0 } diff --git a/apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go similarity index 74% rename from apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go rename to apis/ec2/v1beta1/zz_securitygroupegressrule_types.go index 96c0f729fe..49cf31214d 100755 --- a/apis/ec2/v1beta1/zz_vpcsecuritygroupegressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type VPCSecurityGroupEgressRuleInitParameters struct { +type SecurityGroupEgressRuleInitParameters struct { // The destination IPv4 CIDR range. CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` @@ -37,7 +37,7 @@ type VPCSecurityGroupEgressRuleInitParameters struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -type VPCSecurityGroupEgressRuleObservation struct { +type SecurityGroupEgressRuleObservation struct { // The Amazon Resource Name (ARN) of the security group rule. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` @@ -81,7 +81,7 @@ type VPCSecurityGroupEgressRuleObservation struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -type VPCSecurityGroupEgressRuleParameters struct { +type SecurityGroupEgressRuleParameters struct { // The destination IPv4 CIDR range. // +kubebuilder:validation:Optional @@ -104,28 +104,28 @@ type VPCSecurityGroupEgressRuleParameters struct { IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` // The ID of the destination prefix list. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:type=ManagedPrefixList // +kubebuilder:validation:Optional PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` - // Reference to a ManagedPrefixList in ec2 to populate prefixListId. + // Reference to a ManagedPrefixList to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` - // Selector for a ManagedPrefixList in ec2 to populate prefixListId. + // Selector for a ManagedPrefixList to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` // The destination security group that is referenced in the rule. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:type=SecurityGroup // +kubebuilder:validation:Optional ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` - // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // Reference to a SecurityGroup to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // Selector for a SecurityGroup to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` @@ -135,15 +135,15 @@ type VPCSecurityGroupEgressRuleParameters struct { Region *string `json:"region" tf:"-"` // The ID of the security group. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:type=SecurityGroup // +kubebuilder:validation:Optional SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` - // Reference to a SecurityGroup in ec2 to populate securityGroupId. + // Reference to a SecurityGroup to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup in ec2 to populate securityGroupId. + // Selector for a SecurityGroup to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` @@ -156,10 +156,10 @@ type VPCSecurityGroupEgressRuleParameters struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -// VPCSecurityGroupEgressRuleSpec defines the desired state of VPCSecurityGroupEgressRule -type VPCSecurityGroupEgressRuleSpec struct { +// SecurityGroupEgressRuleSpec defines the desired state of SecurityGroupEgressRule +type SecurityGroupEgressRuleSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider VPCSecurityGroupEgressRuleParameters `json:"forProvider"` + ForProvider SecurityGroupEgressRuleParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. @@ -171,49 +171,49 @@ type VPCSecurityGroupEgressRuleSpec struct { // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. - InitProvider VPCSecurityGroupEgressRuleInitParameters `json:"initProvider,omitempty"` + InitProvider SecurityGroupEgressRuleInitParameters `json:"initProvider,omitempty"` } -// VPCSecurityGroupEgressRuleStatus defines the observed state of VPCSecurityGroupEgressRule. -type VPCSecurityGroupEgressRuleStatus struct { +// SecurityGroupEgressRuleStatus defines the observed state of SecurityGroupEgressRule. +type SecurityGroupEgressRuleStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider VPCSecurityGroupEgressRuleObservation `json:"atProvider,omitempty"` + AtProvider SecurityGroupEgressRuleObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// VPCSecurityGroupEgressRule is the Schema for the VPCSecurityGroupEgressRules API. Provides a VPC security group egress rule resource. +// SecurityGroupEgressRule is the Schema for the SecurityGroupEgressRules API. Provides a VPC security group egress rule resource. // +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} -type VPCSecurityGroupEgressRule struct { +type SecurityGroupEgressRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || has(self.initProvider.ipProtocol)",message="ipProtocol is a required parameter" - Spec VPCSecurityGroupEgressRuleSpec `json:"spec"` - Status VPCSecurityGroupEgressRuleStatus `json:"status,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || (has(self.initProvider) && has(self.initProvider.ipProtocol))",message="spec.forProvider.ipProtocol is a required parameter" + Spec SecurityGroupEgressRuleSpec `json:"spec"` + Status SecurityGroupEgressRuleStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// VPCSecurityGroupEgressRuleList contains a list of VPCSecurityGroupEgressRules -type VPCSecurityGroupEgressRuleList struct { +// SecurityGroupEgressRuleList contains a list of SecurityGroupEgressRules +type SecurityGroupEgressRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []VPCSecurityGroupEgressRule `json:"items"` + Items []SecurityGroupEgressRule `json:"items"` } // Repository type metadata. var ( - VPCSecurityGroupEgressRule_Kind = "VPCSecurityGroupEgressRule" - VPCSecurityGroupEgressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VPCSecurityGroupEgressRule_Kind}.String() - VPCSecurityGroupEgressRule_KindAPIVersion = VPCSecurityGroupEgressRule_Kind + "." + CRDGroupVersion.String() - VPCSecurityGroupEgressRule_GroupVersionKind = CRDGroupVersion.WithKind(VPCSecurityGroupEgressRule_Kind) + SecurityGroupEgressRule_Kind = "SecurityGroupEgressRule" + SecurityGroupEgressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupEgressRule_Kind}.String() + SecurityGroupEgressRule_KindAPIVersion = SecurityGroupEgressRule_Kind + "." + CRDGroupVersion.String() + SecurityGroupEgressRule_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupEgressRule_Kind) ) func init() { - SchemeBuilder.Register(&VPCSecurityGroupEgressRule{}, &VPCSecurityGroupEgressRuleList{}) + SchemeBuilder.Register(&SecurityGroupEgressRule{}, &SecurityGroupEgressRuleList{}) } diff --git a/apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go similarity index 74% rename from apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go rename to apis/ec2/v1beta1/zz_securitygroupingressrule_types.go index 3dff44c512..7471cbca28 100755 --- a/apis/ec2/v1beta1/zz_vpcsecuritygroupingressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type VPCSecurityGroupIngressRuleInitParameters struct { +type SecurityGroupIngressRuleInitParameters struct { // The source IPv4 CIDR range. CidrIPv4 *string `json:"cidrIpv4,omitempty" tf:"cidr_ipv4,omitempty"` @@ -37,7 +37,7 @@ type VPCSecurityGroupIngressRuleInitParameters struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -type VPCSecurityGroupIngressRuleObservation struct { +type SecurityGroupIngressRuleObservation struct { // The Amazon Resource Name (ARN) of the security group rule. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` @@ -81,7 +81,7 @@ type VPCSecurityGroupIngressRuleObservation struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -type VPCSecurityGroupIngressRuleParameters struct { +type SecurityGroupIngressRuleParameters struct { // The source IPv4 CIDR range. // +kubebuilder:validation:Optional @@ -104,28 +104,28 @@ type VPCSecurityGroupIngressRuleParameters struct { IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` // The ID of the source prefix list. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:type=ManagedPrefixList // +kubebuilder:validation:Optional PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` - // Reference to a ManagedPrefixList in ec2 to populate prefixListId. + // Reference to a ManagedPrefixList to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` - // Selector for a ManagedPrefixList in ec2 to populate prefixListId. + // Selector for a ManagedPrefixList to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` // The source security group that is referenced in the rule. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:type=SecurityGroup // +kubebuilder:validation:Optional ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` - // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // Reference to a SecurityGroup to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + // Selector for a SecurityGroup to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` @@ -135,15 +135,15 @@ type VPCSecurityGroupIngressRuleParameters struct { Region *string `json:"region" tf:"-"` // The ID of the security group. - // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:type=SecurityGroup // +kubebuilder:validation:Optional SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` - // Reference to a SecurityGroup in ec2 to populate securityGroupId. + // Reference to a SecurityGroup to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup in ec2 to populate securityGroupId. + // Selector for a SecurityGroup to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` @@ -156,10 +156,10 @@ type VPCSecurityGroupIngressRuleParameters struct { ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` } -// VPCSecurityGroupIngressRuleSpec defines the desired state of VPCSecurityGroupIngressRule -type VPCSecurityGroupIngressRuleSpec struct { +// SecurityGroupIngressRuleSpec defines the desired state of SecurityGroupIngressRule +type SecurityGroupIngressRuleSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider VPCSecurityGroupIngressRuleParameters `json:"forProvider"` + ForProvider SecurityGroupIngressRuleParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. @@ -171,49 +171,49 @@ type VPCSecurityGroupIngressRuleSpec struct { // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. - InitProvider VPCSecurityGroupIngressRuleInitParameters `json:"initProvider,omitempty"` + InitProvider SecurityGroupIngressRuleInitParameters `json:"initProvider,omitempty"` } -// VPCSecurityGroupIngressRuleStatus defines the observed state of VPCSecurityGroupIngressRule. -type VPCSecurityGroupIngressRuleStatus struct { +// SecurityGroupIngressRuleStatus defines the observed state of SecurityGroupIngressRule. +type SecurityGroupIngressRuleStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider VPCSecurityGroupIngressRuleObservation `json:"atProvider,omitempty"` + AtProvider SecurityGroupIngressRuleObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// VPCSecurityGroupIngressRule is the Schema for the VPCSecurityGroupIngressRules API. Provides a VPC security group ingress rule resource. +// SecurityGroupIngressRule is the Schema for the SecurityGroupIngressRules API. Provides a VPC security group ingress rule resource. // +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} -type VPCSecurityGroupIngressRule struct { +type SecurityGroupIngressRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || has(self.initProvider.ipProtocol)",message="ipProtocol is a required parameter" - Spec VPCSecurityGroupIngressRuleSpec `json:"spec"` - Status VPCSecurityGroupIngressRuleStatus `json:"status,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipProtocol) || (has(self.initProvider) && has(self.initProvider.ipProtocol))",message="spec.forProvider.ipProtocol is a required parameter" + Spec SecurityGroupIngressRuleSpec `json:"spec"` + Status SecurityGroupIngressRuleStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// VPCSecurityGroupIngressRuleList contains a list of VPCSecurityGroupIngressRules -type VPCSecurityGroupIngressRuleList struct { +// SecurityGroupIngressRuleList contains a list of SecurityGroupIngressRules +type SecurityGroupIngressRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []VPCSecurityGroupIngressRule `json:"items"` + Items []SecurityGroupIngressRule `json:"items"` } // Repository type metadata. var ( - VPCSecurityGroupIngressRule_Kind = "VPCSecurityGroupIngressRule" - VPCSecurityGroupIngressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VPCSecurityGroupIngressRule_Kind}.String() - VPCSecurityGroupIngressRule_KindAPIVersion = VPCSecurityGroupIngressRule_Kind + "." + CRDGroupVersion.String() - VPCSecurityGroupIngressRule_GroupVersionKind = CRDGroupVersion.WithKind(VPCSecurityGroupIngressRule_Kind) + SecurityGroupIngressRule_Kind = "SecurityGroupIngressRule" + SecurityGroupIngressRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupIngressRule_Kind}.String() + SecurityGroupIngressRule_KindAPIVersion = SecurityGroupIngressRule_Kind + "." + CRDGroupVersion.String() + SecurityGroupIngressRule_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupIngressRule_Kind) ) func init() { - SchemeBuilder.Register(&VPCSecurityGroupIngressRule{}, &VPCSecurityGroupIngressRuleList{}) + SchemeBuilder.Register(&SecurityGroupIngressRule{}, &SecurityGroupIngressRuleList{}) } diff --git a/config/generated.lst b/config/generated.lst index 0fa156cdef..55bbbad9fa 100644 --- a/config/generated.lst +++ b/config/generated.lst @@ -1 +1 @@ -["aws_accessanalyzer_analyzer","aws_accessanalyzer_archive_rule","aws_account_alternate_contact","aws_acm_certificate","aws_acm_certificate_validation","aws_acmpca_certificate","aws_acmpca_certificate_authority","aws_acmpca_certificate_authority_certificate","aws_acmpca_permission","aws_acmpca_policy","aws_ami","aws_ami_copy","aws_ami_launch_permission","aws_amplify_app","aws_amplify_backend_environment","aws_amplify_branch","aws_amplify_webhook","aws_api_gateway_account","aws_api_gateway_api_key","aws_api_gateway_authorizer","aws_api_gateway_base_path_mapping","aws_api_gateway_client_certificate","aws_api_gateway_deployment","aws_api_gateway_documentation_part","aws_api_gateway_documentation_version","aws_api_gateway_domain_name","aws_api_gateway_gateway_response","aws_api_gateway_integration","aws_api_gateway_integration_response","aws_api_gateway_method","aws_api_gateway_method_response","aws_api_gateway_method_settings","aws_api_gateway_model","aws_api_gateway_request_validator","aws_api_gateway_resource","aws_api_gateway_rest_api","aws_api_gateway_rest_api_policy","aws_api_gateway_stage","aws_api_gateway_usage_plan","aws_api_gateway_usage_plan_key","aws_api_gateway_vpc_link","aws_apigatewayv2_api","aws_apigatewayv2_api_mapping","aws_apigatewayv2_authorizer","aws_apigatewayv2_deployment","aws_apigatewayv2_domain_name","aws_apigatewayv2_integration","aws_apigatewayv2_integration_response","aws_apigatewayv2_model","aws_apigatewayv2_route","aws_apigatewayv2_route_response","aws_apigatewayv2_stage","aws_apigatewayv2_vpc_link","aws_app_cookie_stickiness_policy","aws_appautoscaling_policy","aws_appautoscaling_scheduled_action","aws_appautoscaling_target","aws_appconfig_application","aws_appconfig_configuration_profile","aws_appconfig_deployment","aws_appconfig_deployment_strategy","aws_appconfig_environment","aws_appconfig_extension","aws_appconfig_extension_association","aws_appconfig_hosted_configuration_version","aws_appflow_flow","aws_appintegrations_event_integration","aws_applicationinsights_application","aws_appmesh_gateway_route","aws_appmesh_mesh","aws_appmesh_route","aws_appmesh_virtual_gateway","aws_appmesh_virtual_node","aws_appmesh_virtual_router","aws_appmesh_virtual_service","aws_apprunner_auto_scaling_configuration_version","aws_apprunner_connection","aws_apprunner_observability_configuration","aws_apprunner_service","aws_apprunner_vpc_connector","aws_appstream_directory_config","aws_appstream_fleet","aws_appstream_fleet_stack_association","aws_appstream_image_builder","aws_appstream_stack","aws_appstream_user","aws_appstream_user_stack_association","aws_appsync_api_cache","aws_appsync_api_key","aws_appsync_datasource","aws_appsync_function","aws_appsync_graphql_api","aws_appsync_resolver","aws_athena_data_catalog","aws_athena_database","aws_athena_named_query","aws_athena_workgroup","aws_autoscaling_attachment","aws_autoscaling_group","aws_autoscaling_group_tag","aws_autoscaling_lifecycle_hook","aws_autoscaling_notification","aws_autoscaling_policy","aws_autoscaling_schedule","aws_autoscalingplans_scaling_plan","aws_backup_framework","aws_backup_global_settings","aws_backup_plan","aws_backup_region_settings","aws_backup_report_plan","aws_backup_selection","aws_backup_vault","aws_backup_vault_lock_configuration","aws_backup_vault_notifications","aws_backup_vault_policy","aws_batch_job_definition","aws_batch_scheduling_policy","aws_budgets_budget","aws_budgets_budget_action","aws_ce_anomaly_monitor","aws_chime_voice_connector","aws_chime_voice_connector_group","aws_chime_voice_connector_logging","aws_chime_voice_connector_origination","aws_chime_voice_connector_streaming","aws_chime_voice_connector_termination","aws_chime_voice_connector_termination_credentials","aws_cloud9_environment_ec2","aws_cloud9_environment_membership","aws_cloudcontrolapi_resource","aws_cloudformation_stack","aws_cloudformation_stack_set","aws_cloudfront_cache_policy","aws_cloudfront_distribution","aws_cloudfront_field_level_encryption_config","aws_cloudfront_field_level_encryption_profile","aws_cloudfront_function","aws_cloudfront_key_group","aws_cloudfront_monitoring_subscription","aws_cloudfront_origin_access_control","aws_cloudfront_origin_access_identity","aws_cloudfront_origin_request_policy","aws_cloudfront_public_key","aws_cloudfront_realtime_log_config","aws_cloudfront_response_headers_policy","aws_cloudsearch_domain","aws_cloudsearch_domain_service_access_policy","aws_cloudtrail","aws_cloudtrail_event_data_store","aws_cloudwatch_composite_alarm","aws_cloudwatch_dashboard","aws_cloudwatch_event_api_destination","aws_cloudwatch_event_archive","aws_cloudwatch_event_bus","aws_cloudwatch_event_bus_policy","aws_cloudwatch_event_connection","aws_cloudwatch_event_permission","aws_cloudwatch_event_rule","aws_cloudwatch_event_target","aws_cloudwatch_log_destination","aws_cloudwatch_log_destination_policy","aws_cloudwatch_log_group","aws_cloudwatch_log_metric_filter","aws_cloudwatch_log_resource_policy","aws_cloudwatch_log_stream","aws_cloudwatch_log_subscription_filter","aws_cloudwatch_metric_alarm","aws_cloudwatch_metric_stream","aws_cloudwatch_query_definition","aws_codecommit_approval_rule_template","aws_codecommit_approval_rule_template_association","aws_codecommit_repository","aws_codecommit_trigger","aws_codedeploy_app","aws_codedeploy_deployment_config","aws_codedeploy_deployment_group","aws_codepipeline","aws_codepipeline_custom_action_type","aws_codepipeline_webhook","aws_codestarconnections_connection","aws_codestarconnections_host","aws_codestarnotifications_notification_rule","aws_cognito_identity_pool","aws_cognito_identity_pool_provider_principal_tag","aws_cognito_identity_pool_roles_attachment","aws_cognito_identity_provider","aws_cognito_resource_server","aws_cognito_risk_configuration","aws_cognito_user","aws_cognito_user_group","aws_cognito_user_in_group","aws_cognito_user_pool","aws_cognito_user_pool_client","aws_cognito_user_pool_domain","aws_cognito_user_pool_ui_customization","aws_config_config_rule","aws_config_configuration_aggregator","aws_config_configuration_recorder","aws_config_configuration_recorder_status","aws_config_conformance_pack","aws_config_delivery_channel","aws_config_remediation_configuration","aws_connect_bot_association","aws_connect_contact_flow","aws_connect_contact_flow_module","aws_connect_hours_of_operation","aws_connect_instance","aws_connect_instance_storage_config","aws_connect_lambda_function_association","aws_connect_phone_number","aws_connect_queue","aws_connect_quick_connect","aws_connect_routing_profile","aws_connect_security_profile","aws_connect_user","aws_connect_user_hierarchy_structure","aws_connect_vocabulary","aws_cur_report_definition","aws_customer_gateway","aws_dataexchange_data_set","aws_dataexchange_revision","aws_datapipeline_pipeline","aws_datasync_location_s3","aws_datasync_task","aws_dax_cluster","aws_dax_parameter_group","aws_dax_subnet_group","aws_db_cluster_snapshot","aws_db_event_subscription","aws_db_instance","aws_db_instance_automated_backups_replication","aws_db_instance_role_association","aws_db_option_group","aws_db_parameter_group","aws_db_proxy","aws_db_proxy_default_target_group","aws_db_proxy_endpoint","aws_db_proxy_target","aws_db_snapshot","aws_db_snapshot_copy","aws_db_subnet_group","aws_default_network_acl","aws_default_route_table","aws_default_security_group","aws_default_subnet","aws_default_vpc","aws_default_vpc_dhcp_options","aws_detective_graph","aws_detective_invitation_accepter","aws_detective_member","aws_devicefarm_device_pool","aws_devicefarm_instance_profile","aws_devicefarm_network_profile","aws_devicefarm_project","aws_devicefarm_test_grid_project","aws_devicefarm_upload","aws_directory_service_conditional_forwarder","aws_directory_service_directory","aws_directory_service_shared_directory","aws_dlm_lifecycle_policy","aws_dms_certificate","aws_dms_endpoint","aws_dms_event_subscription","aws_dms_replication_instance","aws_dms_replication_subnet_group","aws_dms_replication_task","aws_dms_s3_endpoint","aws_docdb_cluster","aws_docdb_cluster_instance","aws_docdb_cluster_parameter_group","aws_docdb_cluster_snapshot","aws_docdb_event_subscription","aws_docdb_global_cluster","aws_docdb_subnet_group","aws_dx_bgp_peer","aws_dx_connection","aws_dx_connection_association","aws_dx_gateway","aws_dx_gateway_association","aws_dx_gateway_association_proposal","aws_dx_hosted_private_virtual_interface","aws_dx_hosted_private_virtual_interface_accepter","aws_dx_hosted_public_virtual_interface","aws_dx_hosted_public_virtual_interface_accepter","aws_dx_hosted_transit_virtual_interface","aws_dx_hosted_transit_virtual_interface_accepter","aws_dx_lag","aws_dx_private_virtual_interface","aws_dx_public_virtual_interface","aws_dx_transit_virtual_interface","aws_dynamodb_contributor_insights","aws_dynamodb_global_table","aws_dynamodb_kinesis_streaming_destination","aws_dynamodb_table","aws_dynamodb_table_item","aws_dynamodb_table_replica","aws_dynamodb_tag","aws_ebs_default_kms_key","aws_ebs_encryption_by_default","aws_ebs_snapshot","aws_ebs_snapshot_copy","aws_ebs_snapshot_import","aws_ebs_volume","aws_ec2_availability_zone_group","aws_ec2_capacity_reservation","aws_ec2_carrier_gateway","aws_ec2_host","aws_ec2_instance_state","aws_ec2_managed_prefix_list","aws_ec2_managed_prefix_list_entry","aws_ec2_network_insights_analysis","aws_ec2_network_insights_path","aws_ec2_serial_console_access","aws_ec2_subnet_cidr_reservation","aws_ec2_tag","aws_ec2_traffic_mirror_filter","aws_ec2_traffic_mirror_filter_rule","aws_ec2_transit_gateway","aws_ec2_transit_gateway_connect","aws_ec2_transit_gateway_connect_peer","aws_ec2_transit_gateway_multicast_domain","aws_ec2_transit_gateway_multicast_domain_association","aws_ec2_transit_gateway_multicast_group_member","aws_ec2_transit_gateway_multicast_group_source","aws_ec2_transit_gateway_peering_attachment","aws_ec2_transit_gateway_peering_attachment_accepter","aws_ec2_transit_gateway_policy_table","aws_ec2_transit_gateway_prefix_list_reference","aws_ec2_transit_gateway_route","aws_ec2_transit_gateway_route_table","aws_ec2_transit_gateway_route_table_association","aws_ec2_transit_gateway_route_table_propagation","aws_ec2_transit_gateway_vpc_attachment","aws_ec2_transit_gateway_vpc_attachment_accepter","aws_ecr_lifecycle_policy","aws_ecr_pull_through_cache_rule","aws_ecr_registry_policy","aws_ecr_registry_scanning_configuration","aws_ecr_replication_configuration","aws_ecr_repository","aws_ecr_repository_policy","aws_ecrpublic_repository","aws_ecrpublic_repository_policy","aws_ecs_account_setting_default","aws_ecs_capacity_provider","aws_ecs_cluster","aws_ecs_cluster_capacity_providers","aws_ecs_service","aws_ecs_task_definition","aws_efs_access_point","aws_efs_backup_policy","aws_efs_file_system","aws_efs_file_system_policy","aws_efs_mount_target","aws_efs_replication_configuration","aws_egress_only_internet_gateway","aws_eip","aws_eip_association","aws_eks_addon","aws_eks_cluster","aws_eks_fargate_profile","aws_eks_identity_provider_config","aws_eks_node_group","aws_elastic_beanstalk_application","aws_elastic_beanstalk_application_version","aws_elastic_beanstalk_configuration_template","aws_elasticache_cluster","aws_elasticache_parameter_group","aws_elasticache_replication_group","aws_elasticache_subnet_group","aws_elasticache_user","aws_elasticache_user_group","aws_elasticsearch_domain","aws_elasticsearch_domain_policy","aws_elasticsearch_domain_saml_options","aws_elastictranscoder_pipeline","aws_elastictranscoder_preset","aws_elb","aws_elb_attachment","aws_emr_security_configuration","aws_emrserverless_application","aws_evidently_feature","aws_evidently_project","aws_evidently_segment","aws_fis_experiment_template","aws_flow_log","aws_fsx_backup","aws_fsx_data_repository_association","aws_fsx_lustre_file_system","aws_fsx_ontap_file_system","aws_fsx_ontap_storage_virtual_machine","aws_fsx_windows_file_system","aws_gamelift_alias","aws_gamelift_build","aws_gamelift_fleet","aws_gamelift_game_session_queue","aws_gamelift_script","aws_glacier_vault","aws_glacier_vault_lock","aws_globalaccelerator_accelerator","aws_globalaccelerator_endpoint_group","aws_globalaccelerator_listener","aws_glue_catalog_database","aws_glue_catalog_table","aws_glue_classifier","aws_glue_connection","aws_glue_crawler","aws_glue_data_catalog_encryption_settings","aws_glue_job","aws_glue_registry","aws_glue_resource_policy","aws_glue_schema","aws_glue_security_configuration","aws_glue_trigger","aws_glue_user_defined_function","aws_glue_workflow","aws_grafana_license_association","aws_grafana_role_association","aws_grafana_workspace","aws_grafana_workspace_api_key","aws_grafana_workspace_saml_configuration","aws_guardduty_detector","aws_guardduty_filter","aws_guardduty_member","aws_iam_access_key","aws_iam_account_alias","aws_iam_account_password_policy","aws_iam_group","aws_iam_group_membership","aws_iam_group_policy_attachment","aws_iam_instance_profile","aws_iam_openid_connect_provider","aws_iam_policy","aws_iam_role","aws_iam_role_policy","aws_iam_role_policy_attachment","aws_iam_saml_provider","aws_iam_server_certificate","aws_iam_service_linked_role","aws_iam_service_specific_credential","aws_iam_signing_certificate","aws_iam_user","aws_iam_user_group_membership","aws_iam_user_login_profile","aws_iam_user_policy_attachment","aws_iam_user_ssh_key","aws_iam_virtual_mfa_device","aws_imagebuilder_component","aws_imagebuilder_container_recipe","aws_imagebuilder_distribution_configuration","aws_imagebuilder_image","aws_imagebuilder_image_pipeline","aws_imagebuilder_image_recipe","aws_imagebuilder_infrastructure_configuration","aws_inspector2_enabler","aws_inspector_assessment_target","aws_inspector_assessment_template","aws_inspector_resource_group","aws_instance","aws_internet_gateway","aws_iot_certificate","aws_iot_indexing_configuration","aws_iot_logging_options","aws_iot_policy","aws_iot_policy_attachment","aws_iot_provisioning_template","aws_iot_role_alias","aws_iot_thing","aws_iot_thing_group","aws_iot_thing_group_membership","aws_iot_thing_principal_attachment","aws_iot_thing_type","aws_iot_topic_rule","aws_ivs_channel","aws_ivs_recording_configuration","aws_kendra_data_source","aws_kendra_experience","aws_kendra_index","aws_kendra_query_suggestions_block_list","aws_kendra_thesaurus","aws_key_pair","aws_keyspaces_keyspace","aws_keyspaces_table","aws_kinesis_analytics_application","aws_kinesis_firehose_delivery_stream","aws_kinesis_stream","aws_kinesis_stream_consumer","aws_kinesis_video_stream","aws_kinesisanalyticsv2_application","aws_kinesisanalyticsv2_application_snapshot","aws_kms_alias","aws_kms_ciphertext","aws_kms_external_key","aws_kms_grant","aws_kms_key","aws_kms_replica_external_key","aws_kms_replica_key","aws_lakeformation_data_lake_settings","aws_lakeformation_permissions","aws_lakeformation_resource","aws_lambda_alias","aws_lambda_code_signing_config","aws_lambda_event_source_mapping","aws_lambda_function","aws_lambda_function_event_invoke_config","aws_lambda_function_url","aws_lambda_invocation","aws_lambda_layer_version","aws_lambda_layer_version_permission","aws_lambda_permission","aws_lambda_provisioned_concurrency_config","aws_launch_configuration","aws_launch_template","aws_lb","aws_lb_cookie_stickiness_policy","aws_lb_listener","aws_lb_listener_rule","aws_lb_ssl_negotiation_policy","aws_lb_target_group","aws_lb_target_group_attachment","aws_lex_bot","aws_lex_bot_alias","aws_lex_intent","aws_lex_slot_type","aws_licensemanager_association","aws_licensemanager_license_configuration","aws_lightsail_bucket","aws_lightsail_certificate","aws_lightsail_container_service","aws_lightsail_disk","aws_lightsail_disk_attachment","aws_lightsail_domain","aws_lightsail_domain_entry","aws_lightsail_instance","aws_lightsail_instance_public_ports","aws_lightsail_key_pair","aws_lightsail_lb","aws_lightsail_lb_attachment","aws_lightsail_lb_certificate","aws_lightsail_lb_stickiness_policy","aws_lightsail_static_ip","aws_lightsail_static_ip_attachment","aws_load_balancer_backend_server_policy","aws_load_balancer_listener_policy","aws_load_balancer_policy","aws_location_geofence_collection","aws_location_place_index","aws_location_route_calculator","aws_location_tracker","aws_location_tracker_association","aws_macie2_account","aws_macie2_classification_job","aws_macie2_custom_data_identifier","aws_macie2_findings_filter","aws_macie2_invitation_accepter","aws_macie2_member","aws_main_route_table_association","aws_media_convert_queue","aws_media_package_channel","aws_media_store_container","aws_media_store_container_policy","aws_medialive_channel","aws_medialive_input","aws_medialive_input_security_group","aws_medialive_multiplex","aws_memorydb_acl","aws_memorydb_cluster","aws_memorydb_parameter_group","aws_memorydb_snapshot","aws_memorydb_subnet_group","aws_mq_broker","aws_mq_configuration","aws_msk_cluster","aws_msk_configuration","aws_msk_scram_secret_association","aws_nat_gateway","aws_neptune_cluster","aws_neptune_cluster_endpoint","aws_neptune_cluster_instance","aws_neptune_cluster_parameter_group","aws_neptune_cluster_snapshot","aws_neptune_event_subscription","aws_neptune_global_cluster","aws_neptune_parameter_group","aws_neptune_subnet_group","aws_network_acl","aws_network_acl_rule","aws_network_interface","aws_network_interface_attachment","aws_network_interface_sg_attachment","aws_networkfirewall_firewall","aws_networkfirewall_firewall_policy","aws_networkfirewall_logging_configuration","aws_networkfirewall_rule_group","aws_networkmanager_attachment_accepter","aws_networkmanager_connect_attachment","aws_networkmanager_connection","aws_networkmanager_core_network","aws_networkmanager_customer_gateway_association","aws_networkmanager_device","aws_networkmanager_global_network","aws_networkmanager_link","aws_networkmanager_link_association","aws_networkmanager_site","aws_networkmanager_transit_gateway_connect_peer_association","aws_networkmanager_transit_gateway_registration","aws_networkmanager_vpc_attachment","aws_opensearch_domain","aws_opensearch_domain_policy","aws_opensearch_domain_saml_options","aws_opsworks_application","aws_opsworks_custom_layer","aws_opsworks_ecs_cluster_layer","aws_opsworks_ganglia_layer","aws_opsworks_haproxy_layer","aws_opsworks_instance","aws_opsworks_java_app_layer","aws_opsworks_memcached_layer","aws_opsworks_mysql_layer","aws_opsworks_nodejs_app_layer","aws_opsworks_permission","aws_opsworks_php_app_layer","aws_opsworks_rails_app_layer","aws_opsworks_rds_db_instance","aws_opsworks_stack","aws_opsworks_static_web_layer","aws_opsworks_user_profile","aws_organizations_account","aws_organizations_delegated_administrator","aws_organizations_organization","aws_organizations_organizational_unit","aws_organizations_policy","aws_organizations_policy_attachment","aws_pinpoint_app","aws_pinpoint_sms_channel","aws_placement_group","aws_prometheus_alert_manager_definition","aws_prometheus_rule_group_namespace","aws_prometheus_workspace","aws_proxy_protocol_policy","aws_qldb_ledger","aws_qldb_stream","aws_quicksight_group","aws_quicksight_user","aws_ram_principal_association","aws_ram_resource_association","aws_ram_resource_share","aws_ram_resource_share_accepter","aws_rds_cluster","aws_rds_cluster_activity_stream","aws_rds_cluster_endpoint","aws_rds_cluster_instance","aws_rds_cluster_parameter_group","aws_rds_cluster_role_association","aws_rds_global_cluster","aws_redshift_authentication_profile","aws_redshift_cluster","aws_redshift_event_subscription","aws_redshift_hsm_client_certificate","aws_redshift_hsm_configuration","aws_redshift_parameter_group","aws_redshift_scheduled_action","aws_redshift_snapshot_copy_grant","aws_redshift_snapshot_schedule","aws_redshift_snapshot_schedule_association","aws_redshift_subnet_group","aws_redshift_usage_limit","aws_redshiftserverless_endpoint_access","aws_redshiftserverless_namespace","aws_redshiftserverless_resource_policy","aws_redshiftserverless_snapshot","aws_redshiftserverless_usage_limit","aws_redshiftserverless_workgroup","aws_resourcegroups_group","aws_rolesanywhere_profile","aws_route","aws_route53_delegation_set","aws_route53_health_check","aws_route53_hosted_zone_dnssec","aws_route53_record","aws_route53_resolver_config","aws_route53_resolver_endpoint","aws_route53_resolver_rule","aws_route53_resolver_rule_association","aws_route53_traffic_policy","aws_route53_traffic_policy_instance","aws_route53_vpc_association_authorization","aws_route53_zone","aws_route53_zone_association","aws_route53recoverycontrolconfig_cluster","aws_route53recoverycontrolconfig_control_panel","aws_route53recoverycontrolconfig_routing_control","aws_route53recoverycontrolconfig_safety_rule","aws_route53recoveryreadiness_cell","aws_route53recoveryreadiness_readiness_check","aws_route53recoveryreadiness_recovery_group","aws_route53recoveryreadiness_resource_set","aws_route_table","aws_route_table_association","aws_rum_app_monitor","aws_rum_metrics_destination","aws_s3_access_point","aws_s3_account_public_access_block","aws_s3_bucket","aws_s3_bucket_accelerate_configuration","aws_s3_bucket_acl","aws_s3_bucket_analytics_configuration","aws_s3_bucket_cors_configuration","aws_s3_bucket_intelligent_tiering_configuration","aws_s3_bucket_inventory","aws_s3_bucket_lifecycle_configuration","aws_s3_bucket_logging","aws_s3_bucket_metric","aws_s3_bucket_notification","aws_s3_bucket_object","aws_s3_bucket_object_lock_configuration","aws_s3_bucket_ownership_controls","aws_s3_bucket_policy","aws_s3_bucket_public_access_block","aws_s3_bucket_replication_configuration","aws_s3_bucket_request_payment_configuration","aws_s3_bucket_server_side_encryption_configuration","aws_s3_bucket_versioning","aws_s3_bucket_website_configuration","aws_s3_object","aws_s3_object_copy","aws_s3control_access_point_policy","aws_s3control_multi_region_access_point","aws_s3control_multi_region_access_point_policy","aws_s3control_object_lambda_access_point","aws_s3control_object_lambda_access_point_policy","aws_s3control_storage_lens_configuration","aws_sagemaker_app","aws_sagemaker_app_image_config","aws_sagemaker_code_repository","aws_sagemaker_device","aws_sagemaker_device_fleet","aws_sagemaker_domain","aws_sagemaker_endpoint_configuration","aws_sagemaker_feature_group","aws_sagemaker_image","aws_sagemaker_image_version","aws_sagemaker_model","aws_sagemaker_model_package_group","aws_sagemaker_model_package_group_policy","aws_sagemaker_notebook_instance","aws_sagemaker_notebook_instance_lifecycle_configuration","aws_sagemaker_servicecatalog_portfolio_status","aws_sagemaker_space","aws_sagemaker_studio_lifecycle_config","aws_sagemaker_user_profile","aws_sagemaker_workforce","aws_sagemaker_workteam","aws_scheduler_schedule","aws_scheduler_schedule_group","aws_schemas_discoverer","aws_schemas_registry","aws_schemas_schema","aws_secretsmanager_secret","aws_secretsmanager_secret_policy","aws_secretsmanager_secret_rotation","aws_secretsmanager_secret_version","aws_security_group","aws_security_group_rule","aws_securityhub_account","aws_securityhub_action_target","aws_securityhub_finding_aggregator","aws_securityhub_insight","aws_securityhub_invite_accepter","aws_securityhub_member","aws_securityhub_product_subscription","aws_securityhub_standards_subscription","aws_serverlessapplicationrepository_cloudformation_stack","aws_service_discovery_http_namespace","aws_service_discovery_private_dns_namespace","aws_service_discovery_public_dns_namespace","aws_service_discovery_service","aws_servicecatalog_budget_resource_association","aws_servicecatalog_constraint","aws_servicecatalog_portfolio","aws_servicecatalog_portfolio_share","aws_servicecatalog_principal_portfolio_association","aws_servicecatalog_product","aws_servicecatalog_product_portfolio_association","aws_servicecatalog_provisioning_artifact","aws_servicecatalog_service_action","aws_servicecatalog_tag_option","aws_servicecatalog_tag_option_resource_association","aws_servicequotas_service_quota","aws_ses_active_receipt_rule_set","aws_ses_configuration_set","aws_ses_domain_dkim","aws_ses_domain_identity","aws_ses_domain_mail_from","aws_ses_email_identity","aws_ses_event_destination","aws_ses_identity_notification_topic","aws_ses_identity_policy","aws_ses_receipt_filter","aws_ses_receipt_rule","aws_ses_receipt_rule_set","aws_ses_template","aws_sesv2_configuration_set","aws_sesv2_configuration_set_event_destination","aws_sesv2_dedicated_ip_pool","aws_sesv2_email_identity","aws_sesv2_email_identity_feedback_attributes","aws_sesv2_email_identity_mail_from_attributes","aws_sfn_activity","aws_sfn_state_machine","aws_signer_signing_job","aws_signer_signing_profile","aws_signer_signing_profile_permission","aws_simpledb_domain","aws_snapshot_create_volume_permission","aws_sns_platform_application","aws_sns_sms_preferences","aws_sns_topic","aws_sns_topic_policy","aws_sns_topic_subscription","aws_spot_datafeed_subscription","aws_spot_fleet_request","aws_spot_instance_request","aws_sqs_queue","aws_sqs_queue_policy","aws_sqs_queue_redrive_allow_policy","aws_sqs_queue_redrive_policy","aws_ssm_activation","aws_ssm_association","aws_ssm_default_patch_baseline","aws_ssm_document","aws_ssm_maintenance_window","aws_ssm_maintenance_window_target","aws_ssm_maintenance_window_task","aws_ssm_parameter","aws_ssm_patch_baseline","aws_ssm_patch_group","aws_ssm_resource_data_sync","aws_ssm_service_setting","aws_ssoadmin_account_assignment","aws_ssoadmin_managed_policy_attachment","aws_ssoadmin_permission_set","aws_ssoadmin_permission_set_inline_policy","aws_subnet","aws_swf_domain","aws_timestreamwrite_database","aws_timestreamwrite_table","aws_transcribe_language_model","aws_transcribe_vocabulary","aws_transcribe_vocabulary_filter","aws_transfer_server","aws_transfer_ssh_key","aws_transfer_tag","aws_transfer_user","aws_transfer_workflow","aws_volume_attachment","aws_vpc","aws_vpc_dhcp_options","aws_vpc_dhcp_options_association","aws_vpc_endpoint","aws_vpc_endpoint_connection_notification","aws_vpc_endpoint_route_table_association","aws_vpc_endpoint_security_group_association","aws_vpc_endpoint_service","aws_vpc_endpoint_service_allowed_principal","aws_vpc_endpoint_subnet_association","aws_vpc_ipam","aws_vpc_ipam_pool","aws_vpc_ipam_pool_cidr","aws_vpc_ipam_pool_cidr_allocation","aws_vpc_ipam_scope","aws_vpc_ipv4_cidr_block_association","aws_vpc_network_performance_metric_subscription","aws_vpc_peering_connection","aws_vpc_peering_connection_accepter","aws_vpc_peering_connection_options","aws_vpn_connection","aws_vpn_connection_route","aws_vpn_gateway","aws_vpn_gateway_attachment","aws_vpn_gateway_route_propagation","aws_waf_byte_match_set","aws_waf_geo_match_set","aws_waf_ipset","aws_waf_rate_based_rule","aws_waf_regex_match_set","aws_waf_regex_pattern_set","aws_waf_rule","aws_waf_size_constraint_set","aws_waf_sql_injection_match_set","aws_waf_web_acl","aws_waf_xss_match_set","aws_wafregional_byte_match_set","aws_wafregional_geo_match_set","aws_wafregional_ipset","aws_wafregional_rate_based_rule","aws_wafregional_regex_match_set","aws_wafregional_regex_pattern_set","aws_wafregional_rule","aws_wafregional_size_constraint_set","aws_wafregional_sql_injection_match_set","aws_wafregional_web_acl","aws_wafregional_xss_match_set","aws_wafv2_ip_set","aws_wafv2_regex_pattern_set","aws_workspaces_directory","aws_workspaces_ip_group","aws_xray_encryption_config","aws_xray_group","aws_xray_sampling_rule"] +["aws_accessanalyzer_analyzer","aws_accessanalyzer_archive_rule","aws_account_alternate_contact","aws_acm_certificate","aws_acm_certificate_validation","aws_acmpca_certificate","aws_acmpca_certificate_authority","aws_acmpca_certificate_authority_certificate","aws_acmpca_permission","aws_acmpca_policy","aws_ami","aws_ami_copy","aws_ami_launch_permission","aws_amplify_app","aws_amplify_backend_environment","aws_amplify_branch","aws_amplify_webhook","aws_api_gateway_account","aws_api_gateway_api_key","aws_api_gateway_authorizer","aws_api_gateway_base_path_mapping","aws_api_gateway_client_certificate","aws_api_gateway_deployment","aws_api_gateway_documentation_part","aws_api_gateway_documentation_version","aws_api_gateway_domain_name","aws_api_gateway_gateway_response","aws_api_gateway_integration","aws_api_gateway_integration_response","aws_api_gateway_method","aws_api_gateway_method_response","aws_api_gateway_method_settings","aws_api_gateway_model","aws_api_gateway_request_validator","aws_api_gateway_resource","aws_api_gateway_rest_api","aws_api_gateway_rest_api_policy","aws_api_gateway_stage","aws_api_gateway_usage_plan","aws_api_gateway_usage_plan_key","aws_api_gateway_vpc_link","aws_apigatewayv2_api","aws_apigatewayv2_api_mapping","aws_apigatewayv2_authorizer","aws_apigatewayv2_deployment","aws_apigatewayv2_domain_name","aws_apigatewayv2_integration","aws_apigatewayv2_integration_response","aws_apigatewayv2_model","aws_apigatewayv2_route","aws_apigatewayv2_route_response","aws_apigatewayv2_stage","aws_apigatewayv2_vpc_link","aws_app_cookie_stickiness_policy","aws_appautoscaling_policy","aws_appautoscaling_scheduled_action","aws_appautoscaling_target","aws_appconfig_application","aws_appconfig_configuration_profile","aws_appconfig_deployment","aws_appconfig_deployment_strategy","aws_appconfig_environment","aws_appconfig_extension","aws_appconfig_extension_association","aws_appconfig_hosted_configuration_version","aws_appflow_flow","aws_appintegrations_event_integration","aws_applicationinsights_application","aws_appmesh_gateway_route","aws_appmesh_mesh","aws_appmesh_route","aws_appmesh_virtual_gateway","aws_appmesh_virtual_node","aws_appmesh_virtual_router","aws_appmesh_virtual_service","aws_apprunner_auto_scaling_configuration_version","aws_apprunner_connection","aws_apprunner_observability_configuration","aws_apprunner_service","aws_apprunner_vpc_connector","aws_appstream_directory_config","aws_appstream_fleet","aws_appstream_fleet_stack_association","aws_appstream_image_builder","aws_appstream_stack","aws_appstream_user","aws_appstream_user_stack_association","aws_appsync_api_cache","aws_appsync_api_key","aws_appsync_datasource","aws_appsync_function","aws_appsync_graphql_api","aws_appsync_resolver","aws_athena_data_catalog","aws_athena_database","aws_athena_named_query","aws_athena_workgroup","aws_autoscaling_attachment","aws_autoscaling_group","aws_autoscaling_group_tag","aws_autoscaling_lifecycle_hook","aws_autoscaling_notification","aws_autoscaling_policy","aws_autoscaling_schedule","aws_autoscalingplans_scaling_plan","aws_backup_framework","aws_backup_global_settings","aws_backup_plan","aws_backup_region_settings","aws_backup_report_plan","aws_backup_selection","aws_backup_vault","aws_backup_vault_lock_configuration","aws_backup_vault_notifications","aws_backup_vault_policy","aws_batch_job_definition","aws_batch_scheduling_policy","aws_budgets_budget","aws_budgets_budget_action","aws_ce_anomaly_monitor","aws_chime_voice_connector","aws_chime_voice_connector_group","aws_chime_voice_connector_logging","aws_chime_voice_connector_origination","aws_chime_voice_connector_streaming","aws_chime_voice_connector_termination","aws_chime_voice_connector_termination_credentials","aws_cloud9_environment_ec2","aws_cloud9_environment_membership","aws_cloudcontrolapi_resource","aws_cloudformation_stack","aws_cloudformation_stack_set","aws_cloudfront_cache_policy","aws_cloudfront_distribution","aws_cloudfront_field_level_encryption_config","aws_cloudfront_field_level_encryption_profile","aws_cloudfront_function","aws_cloudfront_key_group","aws_cloudfront_monitoring_subscription","aws_cloudfront_origin_access_control","aws_cloudfront_origin_access_identity","aws_cloudfront_origin_request_policy","aws_cloudfront_public_key","aws_cloudfront_realtime_log_config","aws_cloudfront_response_headers_policy","aws_cloudsearch_domain","aws_cloudsearch_domain_service_access_policy","aws_cloudtrail","aws_cloudtrail_event_data_store","aws_cloudwatch_composite_alarm","aws_cloudwatch_dashboard","aws_cloudwatch_event_api_destination","aws_cloudwatch_event_archive","aws_cloudwatch_event_bus","aws_cloudwatch_event_bus_policy","aws_cloudwatch_event_connection","aws_cloudwatch_event_permission","aws_cloudwatch_event_rule","aws_cloudwatch_event_target","aws_cloudwatch_log_destination","aws_cloudwatch_log_destination_policy","aws_cloudwatch_log_group","aws_cloudwatch_log_metric_filter","aws_cloudwatch_log_resource_policy","aws_cloudwatch_log_stream","aws_cloudwatch_log_subscription_filter","aws_cloudwatch_metric_alarm","aws_cloudwatch_metric_stream","aws_cloudwatch_query_definition","aws_codecommit_approval_rule_template","aws_codecommit_approval_rule_template_association","aws_codecommit_repository","aws_codecommit_trigger","aws_codedeploy_app","aws_codedeploy_deployment_config","aws_codedeploy_deployment_group","aws_codepipeline","aws_codepipeline_custom_action_type","aws_codepipeline_webhook","aws_codestarconnections_connection","aws_codestarconnections_host","aws_codestarnotifications_notification_rule","aws_cognito_identity_pool","aws_cognito_identity_pool_provider_principal_tag","aws_cognito_identity_pool_roles_attachment","aws_cognito_identity_provider","aws_cognito_resource_server","aws_cognito_risk_configuration","aws_cognito_user","aws_cognito_user_group","aws_cognito_user_in_group","aws_cognito_user_pool","aws_cognito_user_pool_client","aws_cognito_user_pool_domain","aws_cognito_user_pool_ui_customization","aws_config_config_rule","aws_config_configuration_aggregator","aws_config_configuration_recorder","aws_config_configuration_recorder_status","aws_config_conformance_pack","aws_config_delivery_channel","aws_config_remediation_configuration","aws_connect_bot_association","aws_connect_contact_flow","aws_connect_contact_flow_module","aws_connect_hours_of_operation","aws_connect_instance","aws_connect_instance_storage_config","aws_connect_lambda_function_association","aws_connect_phone_number","aws_connect_queue","aws_connect_quick_connect","aws_connect_routing_profile","aws_connect_security_profile","aws_connect_user","aws_connect_user_hierarchy_structure","aws_connect_vocabulary","aws_cur_report_definition","aws_customer_gateway","aws_dataexchange_data_set","aws_dataexchange_revision","aws_datapipeline_pipeline","aws_datasync_location_s3","aws_datasync_task","aws_dax_cluster","aws_dax_parameter_group","aws_dax_subnet_group","aws_db_cluster_snapshot","aws_db_event_subscription","aws_db_instance","aws_db_instance_automated_backups_replication","aws_db_instance_role_association","aws_db_option_group","aws_db_parameter_group","aws_db_proxy","aws_db_proxy_default_target_group","aws_db_proxy_endpoint","aws_db_proxy_target","aws_db_snapshot","aws_db_snapshot_copy","aws_db_subnet_group","aws_default_network_acl","aws_default_route_table","aws_default_security_group","aws_default_subnet","aws_default_vpc","aws_default_vpc_dhcp_options","aws_detective_graph","aws_detective_invitation_accepter","aws_detective_member","aws_devicefarm_device_pool","aws_devicefarm_instance_profile","aws_devicefarm_network_profile","aws_devicefarm_project","aws_devicefarm_test_grid_project","aws_devicefarm_upload","aws_directory_service_conditional_forwarder","aws_directory_service_directory","aws_directory_service_shared_directory","aws_dlm_lifecycle_policy","aws_dms_certificate","aws_dms_endpoint","aws_dms_event_subscription","aws_dms_replication_instance","aws_dms_replication_subnet_group","aws_dms_replication_task","aws_dms_s3_endpoint","aws_docdb_cluster","aws_docdb_cluster_instance","aws_docdb_cluster_parameter_group","aws_docdb_cluster_snapshot","aws_docdb_event_subscription","aws_docdb_global_cluster","aws_docdb_subnet_group","aws_dx_bgp_peer","aws_dx_connection","aws_dx_connection_association","aws_dx_gateway","aws_dx_gateway_association","aws_dx_gateway_association_proposal","aws_dx_hosted_private_virtual_interface","aws_dx_hosted_private_virtual_interface_accepter","aws_dx_hosted_public_virtual_interface","aws_dx_hosted_public_virtual_interface_accepter","aws_dx_hosted_transit_virtual_interface","aws_dx_hosted_transit_virtual_interface_accepter","aws_dx_lag","aws_dx_private_virtual_interface","aws_dx_public_virtual_interface","aws_dx_transit_virtual_interface","aws_dynamodb_contributor_insights","aws_dynamodb_global_table","aws_dynamodb_kinesis_streaming_destination","aws_dynamodb_table","aws_dynamodb_table_item","aws_dynamodb_table_replica","aws_dynamodb_tag","aws_ebs_default_kms_key","aws_ebs_encryption_by_default","aws_ebs_snapshot","aws_ebs_snapshot_copy","aws_ebs_snapshot_import","aws_ebs_volume","aws_ec2_availability_zone_group","aws_ec2_capacity_reservation","aws_ec2_carrier_gateway","aws_ec2_host","aws_ec2_instance_state","aws_ec2_managed_prefix_list","aws_ec2_managed_prefix_list_entry","aws_ec2_network_insights_analysis","aws_ec2_network_insights_path","aws_ec2_serial_console_access","aws_ec2_subnet_cidr_reservation","aws_ec2_tag","aws_ec2_traffic_mirror_filter","aws_ec2_traffic_mirror_filter_rule","aws_ec2_transit_gateway","aws_ec2_transit_gateway_connect","aws_ec2_transit_gateway_connect_peer","aws_ec2_transit_gateway_multicast_domain","aws_ec2_transit_gateway_multicast_domain_association","aws_ec2_transit_gateway_multicast_group_member","aws_ec2_transit_gateway_multicast_group_source","aws_ec2_transit_gateway_peering_attachment","aws_ec2_transit_gateway_peering_attachment_accepter","aws_ec2_transit_gateway_policy_table","aws_ec2_transit_gateway_prefix_list_reference","aws_ec2_transit_gateway_route","aws_ec2_transit_gateway_route_table","aws_ec2_transit_gateway_route_table_association","aws_ec2_transit_gateway_route_table_propagation","aws_ec2_transit_gateway_vpc_attachment","aws_ec2_transit_gateway_vpc_attachment_accepter","aws_ecr_lifecycle_policy","aws_ecr_pull_through_cache_rule","aws_ecr_registry_policy","aws_ecr_registry_scanning_configuration","aws_ecr_replication_configuration","aws_ecr_repository","aws_ecr_repository_policy","aws_ecrpublic_repository","aws_ecrpublic_repository_policy","aws_ecs_account_setting_default","aws_ecs_capacity_provider","aws_ecs_cluster","aws_ecs_cluster_capacity_providers","aws_ecs_service","aws_ecs_task_definition","aws_efs_access_point","aws_efs_backup_policy","aws_efs_file_system","aws_efs_file_system_policy","aws_efs_mount_target","aws_efs_replication_configuration","aws_egress_only_internet_gateway","aws_eip","aws_eip_association","aws_eks_addon","aws_eks_cluster","aws_eks_fargate_profile","aws_eks_identity_provider_config","aws_eks_node_group","aws_elastic_beanstalk_application","aws_elastic_beanstalk_application_version","aws_elastic_beanstalk_configuration_template","aws_elasticache_cluster","aws_elasticache_parameter_group","aws_elasticache_replication_group","aws_elasticache_subnet_group","aws_elasticache_user","aws_elasticache_user_group","aws_elasticsearch_domain","aws_elasticsearch_domain_policy","aws_elasticsearch_domain_saml_options","aws_elastictranscoder_pipeline","aws_elastictranscoder_preset","aws_elb","aws_elb_attachment","aws_emr_security_configuration","aws_emrserverless_application","aws_evidently_feature","aws_evidently_project","aws_evidently_segment","aws_fis_experiment_template","aws_flow_log","aws_fsx_backup","aws_fsx_data_repository_association","aws_fsx_lustre_file_system","aws_fsx_ontap_file_system","aws_fsx_ontap_storage_virtual_machine","aws_fsx_windows_file_system","aws_gamelift_alias","aws_gamelift_build","aws_gamelift_fleet","aws_gamelift_game_session_queue","aws_gamelift_script","aws_glacier_vault","aws_glacier_vault_lock","aws_globalaccelerator_accelerator","aws_globalaccelerator_endpoint_group","aws_globalaccelerator_listener","aws_glue_catalog_database","aws_glue_catalog_table","aws_glue_classifier","aws_glue_connection","aws_glue_crawler","aws_glue_data_catalog_encryption_settings","aws_glue_job","aws_glue_registry","aws_glue_resource_policy","aws_glue_schema","aws_glue_security_configuration","aws_glue_trigger","aws_glue_user_defined_function","aws_glue_workflow","aws_grafana_license_association","aws_grafana_role_association","aws_grafana_workspace","aws_grafana_workspace_api_key","aws_grafana_workspace_saml_configuration","aws_guardduty_detector","aws_guardduty_filter","aws_guardduty_member","aws_iam_access_key","aws_iam_account_alias","aws_iam_account_password_policy","aws_iam_group","aws_iam_group_membership","aws_iam_group_policy_attachment","aws_iam_instance_profile","aws_iam_openid_connect_provider","aws_iam_policy","aws_iam_role","aws_iam_role_policy","aws_iam_role_policy_attachment","aws_iam_saml_provider","aws_iam_server_certificate","aws_iam_service_linked_role","aws_iam_service_specific_credential","aws_iam_signing_certificate","aws_iam_user","aws_iam_user_group_membership","aws_iam_user_login_profile","aws_iam_user_policy_attachment","aws_iam_user_ssh_key","aws_iam_virtual_mfa_device","aws_imagebuilder_component","aws_imagebuilder_container_recipe","aws_imagebuilder_distribution_configuration","aws_imagebuilder_image","aws_imagebuilder_image_pipeline","aws_imagebuilder_image_recipe","aws_imagebuilder_infrastructure_configuration","aws_inspector2_enabler","aws_inspector_assessment_target","aws_inspector_assessment_template","aws_inspector_resource_group","aws_instance","aws_internet_gateway","aws_iot_certificate","aws_iot_indexing_configuration","aws_iot_logging_options","aws_iot_policy","aws_iot_policy_attachment","aws_iot_provisioning_template","aws_iot_role_alias","aws_iot_thing","aws_iot_thing_group","aws_iot_thing_group_membership","aws_iot_thing_principal_attachment","aws_iot_thing_type","aws_iot_topic_rule","aws_ivs_channel","aws_ivs_recording_configuration","aws_kendra_data_source","aws_kendra_experience","aws_kendra_index","aws_kendra_query_suggestions_block_list","aws_kendra_thesaurus","aws_key_pair","aws_keyspaces_keyspace","aws_keyspaces_table","aws_kinesis_analytics_application","aws_kinesis_firehose_delivery_stream","aws_kinesis_stream","aws_kinesis_stream_consumer","aws_kinesis_video_stream","aws_kinesisanalyticsv2_application","aws_kinesisanalyticsv2_application_snapshot","aws_kms_alias","aws_kms_ciphertext","aws_kms_external_key","aws_kms_grant","aws_kms_key","aws_kms_replica_external_key","aws_kms_replica_key","aws_lakeformation_data_lake_settings","aws_lakeformation_permissions","aws_lakeformation_resource","aws_lambda_alias","aws_lambda_code_signing_config","aws_lambda_event_source_mapping","aws_lambda_function","aws_lambda_function_event_invoke_config","aws_lambda_function_url","aws_lambda_invocation","aws_lambda_layer_version","aws_lambda_layer_version_permission","aws_lambda_permission","aws_lambda_provisioned_concurrency_config","aws_launch_configuration","aws_launch_template","aws_lb","aws_lb_cookie_stickiness_policy","aws_lb_listener","aws_lb_listener_rule","aws_lb_ssl_negotiation_policy","aws_lb_target_group","aws_lb_target_group_attachment","aws_lex_bot","aws_lex_bot_alias","aws_lex_intent","aws_lex_slot_type","aws_licensemanager_association","aws_licensemanager_license_configuration","aws_lightsail_bucket","aws_lightsail_certificate","aws_lightsail_container_service","aws_lightsail_disk","aws_lightsail_disk_attachment","aws_lightsail_domain","aws_lightsail_domain_entry","aws_lightsail_instance","aws_lightsail_instance_public_ports","aws_lightsail_key_pair","aws_lightsail_lb","aws_lightsail_lb_attachment","aws_lightsail_lb_certificate","aws_lightsail_lb_stickiness_policy","aws_lightsail_static_ip","aws_lightsail_static_ip_attachment","aws_load_balancer_backend_server_policy","aws_load_balancer_listener_policy","aws_load_balancer_policy","aws_location_geofence_collection","aws_location_place_index","aws_location_route_calculator","aws_location_tracker","aws_location_tracker_association","aws_macie2_account","aws_macie2_classification_job","aws_macie2_custom_data_identifier","aws_macie2_findings_filter","aws_macie2_invitation_accepter","aws_macie2_member","aws_main_route_table_association","aws_media_convert_queue","aws_media_package_channel","aws_media_store_container","aws_media_store_container_policy","aws_medialive_channel","aws_medialive_input","aws_medialive_input_security_group","aws_medialive_multiplex","aws_memorydb_acl","aws_memorydb_cluster","aws_memorydb_parameter_group","aws_memorydb_snapshot","aws_memorydb_subnet_group","aws_mq_broker","aws_mq_configuration","aws_msk_cluster","aws_msk_configuration","aws_msk_scram_secret_association","aws_nat_gateway","aws_neptune_cluster","aws_neptune_cluster_endpoint","aws_neptune_cluster_instance","aws_neptune_cluster_parameter_group","aws_neptune_cluster_snapshot","aws_neptune_event_subscription","aws_neptune_global_cluster","aws_neptune_parameter_group","aws_neptune_subnet_group","aws_network_acl","aws_network_acl_rule","aws_network_interface","aws_network_interface_attachment","aws_network_interface_sg_attachment","aws_networkfirewall_firewall","aws_networkfirewall_firewall_policy","aws_networkfirewall_logging_configuration","aws_networkfirewall_rule_group","aws_networkmanager_attachment_accepter","aws_networkmanager_connect_attachment","aws_networkmanager_connection","aws_networkmanager_core_network","aws_networkmanager_customer_gateway_association","aws_networkmanager_device","aws_networkmanager_global_network","aws_networkmanager_link","aws_networkmanager_link_association","aws_networkmanager_site","aws_networkmanager_transit_gateway_connect_peer_association","aws_networkmanager_transit_gateway_registration","aws_networkmanager_vpc_attachment","aws_opensearch_domain","aws_opensearch_domain_policy","aws_opensearch_domain_saml_options","aws_opsworks_application","aws_opsworks_custom_layer","aws_opsworks_ecs_cluster_layer","aws_opsworks_ganglia_layer","aws_opsworks_haproxy_layer","aws_opsworks_instance","aws_opsworks_java_app_layer","aws_opsworks_memcached_layer","aws_opsworks_mysql_layer","aws_opsworks_nodejs_app_layer","aws_opsworks_permission","aws_opsworks_php_app_layer","aws_opsworks_rails_app_layer","aws_opsworks_rds_db_instance","aws_opsworks_stack","aws_opsworks_static_web_layer","aws_opsworks_user_profile","aws_organizations_account","aws_organizations_delegated_administrator","aws_organizations_organization","aws_organizations_organizational_unit","aws_organizations_policy","aws_organizations_policy_attachment","aws_pinpoint_app","aws_pinpoint_sms_channel","aws_placement_group","aws_prometheus_alert_manager_definition","aws_prometheus_rule_group_namespace","aws_prometheus_workspace","aws_proxy_protocol_policy","aws_qldb_ledger","aws_qldb_stream","aws_quicksight_group","aws_quicksight_user","aws_ram_principal_association","aws_ram_resource_association","aws_ram_resource_share","aws_ram_resource_share_accepter","aws_rds_cluster","aws_rds_cluster_activity_stream","aws_rds_cluster_endpoint","aws_rds_cluster_instance","aws_rds_cluster_parameter_group","aws_rds_cluster_role_association","aws_rds_global_cluster","aws_redshift_authentication_profile","aws_redshift_cluster","aws_redshift_event_subscription","aws_redshift_hsm_client_certificate","aws_redshift_hsm_configuration","aws_redshift_parameter_group","aws_redshift_scheduled_action","aws_redshift_snapshot_copy_grant","aws_redshift_snapshot_schedule","aws_redshift_snapshot_schedule_association","aws_redshift_subnet_group","aws_redshift_usage_limit","aws_redshiftserverless_endpoint_access","aws_redshiftserverless_namespace","aws_redshiftserverless_resource_policy","aws_redshiftserverless_snapshot","aws_redshiftserverless_usage_limit","aws_redshiftserverless_workgroup","aws_resourcegroups_group","aws_rolesanywhere_profile","aws_route","aws_route53_delegation_set","aws_route53_health_check","aws_route53_hosted_zone_dnssec","aws_route53_record","aws_route53_resolver_config","aws_route53_resolver_endpoint","aws_route53_resolver_rule","aws_route53_resolver_rule_association","aws_route53_traffic_policy","aws_route53_traffic_policy_instance","aws_route53_vpc_association_authorization","aws_route53_zone","aws_route53_zone_association","aws_route53recoverycontrolconfig_cluster","aws_route53recoverycontrolconfig_control_panel","aws_route53recoverycontrolconfig_routing_control","aws_route53recoverycontrolconfig_safety_rule","aws_route53recoveryreadiness_cell","aws_route53recoveryreadiness_readiness_check","aws_route53recoveryreadiness_recovery_group","aws_route53recoveryreadiness_resource_set","aws_route_table","aws_route_table_association","aws_rum_app_monitor","aws_rum_metrics_destination","aws_s3_access_point","aws_s3_account_public_access_block","aws_s3_bucket","aws_s3_bucket_accelerate_configuration","aws_s3_bucket_acl","aws_s3_bucket_analytics_configuration","aws_s3_bucket_cors_configuration","aws_s3_bucket_intelligent_tiering_configuration","aws_s3_bucket_inventory","aws_s3_bucket_lifecycle_configuration","aws_s3_bucket_logging","aws_s3_bucket_metric","aws_s3_bucket_notification","aws_s3_bucket_object","aws_s3_bucket_object_lock_configuration","aws_s3_bucket_ownership_controls","aws_s3_bucket_policy","aws_s3_bucket_public_access_block","aws_s3_bucket_replication_configuration","aws_s3_bucket_request_payment_configuration","aws_s3_bucket_server_side_encryption_configuration","aws_s3_bucket_versioning","aws_s3_bucket_website_configuration","aws_s3_object","aws_s3_object_copy","aws_s3control_access_point_policy","aws_s3control_multi_region_access_point","aws_s3control_multi_region_access_point_policy","aws_s3control_object_lambda_access_point","aws_s3control_object_lambda_access_point_policy","aws_s3control_storage_lens_configuration","aws_sagemaker_app","aws_sagemaker_app_image_config","aws_sagemaker_code_repository","aws_sagemaker_device","aws_sagemaker_device_fleet","aws_sagemaker_domain","aws_sagemaker_endpoint_configuration","aws_sagemaker_feature_group","aws_sagemaker_image","aws_sagemaker_image_version","aws_sagemaker_model","aws_sagemaker_model_package_group","aws_sagemaker_model_package_group_policy","aws_sagemaker_notebook_instance","aws_sagemaker_notebook_instance_lifecycle_configuration","aws_sagemaker_servicecatalog_portfolio_status","aws_sagemaker_space","aws_sagemaker_studio_lifecycle_config","aws_sagemaker_user_profile","aws_sagemaker_workforce","aws_sagemaker_workteam","aws_scheduler_schedule","aws_scheduler_schedule_group","aws_schemas_discoverer","aws_schemas_registry","aws_schemas_schema","aws_secretsmanager_secret","aws_secretsmanager_secret_policy","aws_secretsmanager_secret_rotation","aws_secretsmanager_secret_version","aws_security_group","aws_security_group_rule","aws_securityhub_account","aws_securityhub_action_target","aws_securityhub_finding_aggregator","aws_securityhub_insight","aws_securityhub_invite_accepter","aws_securityhub_member","aws_securityhub_product_subscription","aws_securityhub_standards_subscription","aws_serverlessapplicationrepository_cloudformation_stack","aws_service_discovery_http_namespace","aws_service_discovery_private_dns_namespace","aws_service_discovery_public_dns_namespace","aws_service_discovery_service","aws_servicecatalog_budget_resource_association","aws_servicecatalog_constraint","aws_servicecatalog_portfolio","aws_servicecatalog_portfolio_share","aws_servicecatalog_principal_portfolio_association","aws_servicecatalog_product","aws_servicecatalog_product_portfolio_association","aws_servicecatalog_provisioning_artifact","aws_servicecatalog_service_action","aws_servicecatalog_tag_option","aws_servicecatalog_tag_option_resource_association","aws_servicequotas_service_quota","aws_ses_active_receipt_rule_set","aws_ses_configuration_set","aws_ses_domain_dkim","aws_ses_domain_identity","aws_ses_domain_mail_from","aws_ses_email_identity","aws_ses_event_destination","aws_ses_identity_notification_topic","aws_ses_identity_policy","aws_ses_receipt_filter","aws_ses_receipt_rule","aws_ses_receipt_rule_set","aws_ses_template","aws_sesv2_configuration_set","aws_sesv2_configuration_set_event_destination","aws_sesv2_dedicated_ip_pool","aws_sesv2_email_identity","aws_sesv2_email_identity_feedback_attributes","aws_sesv2_email_identity_mail_from_attributes","aws_sfn_activity","aws_sfn_state_machine","aws_signer_signing_job","aws_signer_signing_profile","aws_signer_signing_profile_permission","aws_simpledb_domain","aws_snapshot_create_volume_permission","aws_sns_platform_application","aws_sns_sms_preferences","aws_sns_topic","aws_sns_topic_policy","aws_sns_topic_subscription","aws_spot_datafeed_subscription","aws_spot_fleet_request","aws_spot_instance_request","aws_sqs_queue","aws_sqs_queue_policy","aws_sqs_queue_redrive_allow_policy","aws_sqs_queue_redrive_policy","aws_ssm_activation","aws_ssm_association","aws_ssm_default_patch_baseline","aws_ssm_document","aws_ssm_maintenance_window","aws_ssm_maintenance_window_target","aws_ssm_maintenance_window_task","aws_ssm_parameter","aws_ssm_patch_baseline","aws_ssm_patch_group","aws_ssm_resource_data_sync","aws_ssm_service_setting","aws_ssoadmin_account_assignment","aws_ssoadmin_managed_policy_attachment","aws_ssoadmin_permission_set","aws_ssoadmin_permission_set_inline_policy","aws_subnet","aws_swf_domain","aws_timestreamwrite_database","aws_timestreamwrite_table","aws_transcribe_language_model","aws_transcribe_vocabulary","aws_transcribe_vocabulary_filter","aws_transfer_server","aws_transfer_ssh_key","aws_transfer_tag","aws_transfer_user","aws_transfer_workflow","aws_volume_attachment","aws_vpc","aws_vpc_dhcp_options","aws_vpc_dhcp_options_association","aws_vpc_endpoint","aws_vpc_endpoint_connection_notification","aws_vpc_endpoint_route_table_association","aws_vpc_endpoint_security_group_association","aws_vpc_endpoint_service","aws_vpc_endpoint_service_allowed_principal","aws_vpc_endpoint_subnet_association","aws_vpc_ipam","aws_vpc_ipam_pool","aws_vpc_ipam_pool_cidr","aws_vpc_ipam_pool_cidr_allocation","aws_vpc_ipam_scope","aws_vpc_ipv4_cidr_block_association","aws_vpc_network_performance_metric_subscription","aws_vpc_peering_connection","aws_vpc_peering_connection_accepter","aws_vpc_peering_connection_options","aws_vpc_security_group_egress_rule","aws_vpc_security_group_ingress_rule","aws_vpn_connection","aws_vpn_connection_route","aws_vpn_gateway","aws_vpn_gateway_attachment","aws_vpn_gateway_route_propagation","aws_waf_byte_match_set","aws_waf_geo_match_set","aws_waf_ipset","aws_waf_rate_based_rule","aws_waf_regex_match_set","aws_waf_regex_pattern_set","aws_waf_rule","aws_waf_size_constraint_set","aws_waf_sql_injection_match_set","aws_waf_web_acl","aws_waf_xss_match_set","aws_wafregional_byte_match_set","aws_wafregional_geo_match_set","aws_wafregional_ipset","aws_wafregional_rate_based_rule","aws_wafregional_regex_match_set","aws_wafregional_regex_pattern_set","aws_wafregional_rule","aws_wafregional_size_constraint_set","aws_wafregional_sql_injection_match_set","aws_wafregional_web_acl","aws_wafregional_xss_match_set","aws_wafv2_ip_set","aws_wafv2_regex_pattern_set","aws_workspaces_directory","aws_workspaces_ip_group","aws_xray_encryption_config","aws_xray_group","aws_xray_sampling_rule"] \ No newline at end of file diff --git a/examples-generated/ec2/vpcsecuritygroupegressrule.yaml b/examples-generated/ec2/securitygroupegressrule.yaml similarity index 77% rename from examples-generated/ec2/vpcsecuritygroupegressrule.yaml rename to examples-generated/ec2/securitygroupegressrule.yaml index 2ec405ed86..f72e22fd85 100644 --- a/examples-generated/ec2/vpcsecuritygroupegressrule.yaml +++ b/examples-generated/ec2/securitygroupegressrule.yaml @@ -1,8 +1,8 @@ apiVersion: ec2.aws.upbound.io/v1beta1 -kind: VPCSecurityGroupEgressRule +kind: SecurityGroupEgressRule metadata: annotations: - meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupegressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupegressrule labels: testing.upbound.io/example-name: example name: example diff --git a/examples-generated/ec2/vpcsecuritygroupingressrule.yaml b/examples-generated/ec2/securitygroupingressrule.yaml similarity index 76% rename from examples-generated/ec2/vpcsecuritygroupingressrule.yaml rename to examples-generated/ec2/securitygroupingressrule.yaml index 90fb8ed0eb..fb43f364bf 100644 --- a/examples-generated/ec2/vpcsecuritygroupingressrule.yaml +++ b/examples-generated/ec2/securitygroupingressrule.yaml @@ -1,8 +1,8 @@ apiVersion: ec2.aws.upbound.io/v1beta1 -kind: VPCSecurityGroupIngressRule +kind: SecurityGroupIngressRule metadata: annotations: - meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupingressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupingressrule labels: testing.upbound.io/example-name: example name: example diff --git a/examples/ec2/vpcsecuritygroupegressrule.yaml b/examples/ec2/securitygroupegressrule.yaml similarity index 79% rename from examples/ec2/vpcsecuritygroupegressrule.yaml rename to examples/ec2/securitygroupegressrule.yaml index 54864014ed..0336f5aa0f 100644 --- a/examples/ec2/vpcsecuritygroupegressrule.yaml +++ b/examples/ec2/securitygroupegressrule.yaml @@ -2,7 +2,7 @@ apiVersion: ec2.aws.upbound.io/v1beta1 kind: VPC metadata: annotations: - meta.upbound.io/example-id: vpc/v1beta1/securitygroupegressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupegressrule name: sample-vpc labels: testing.upbound.io/example-name: example @@ -17,7 +17,7 @@ apiVersion: ec2.aws.upbound.io/v1beta1 kind: SecurityGroup metadata: annotations: - meta.upbound.io/example-id: vpc/v1beta1/securitygroupegressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupegressrule name: example labels: testing.upbound.io/example-name: example @@ -29,10 +29,10 @@ spec: testing.upbound.io/example-name: example --- apiVersion: ec2.aws.upbound.io/v1beta1 -kind: VPCSecurityGroupEgressRule +kind: SecurityGroupEgressRule metadata: annotations: - meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupegressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupegressrule labels: testing.upbound.io/example-name: example name: example diff --git a/examples/ec2/vpcsecuritygroupingressrule.yaml b/examples/ec2/securitygroupingressrule.yaml similarity index 79% rename from examples/ec2/vpcsecuritygroupingressrule.yaml rename to examples/ec2/securitygroupingressrule.yaml index 5cb9a505ab..6121b61a74 100644 --- a/examples/ec2/vpcsecuritygroupingressrule.yaml +++ b/examples/ec2/securitygroupingressrule.yaml @@ -2,7 +2,7 @@ apiVersion: ec2.aws.upbound.io/v1beta1 kind: VPC metadata: annotations: - meta.upbound.io/example-id: vpc/v1beta1/securitygroupingressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupingressrule name: sample-vpc labels: testing.upbound.io/example-name: example @@ -17,7 +17,7 @@ apiVersion: ec2.aws.upbound.io/v1beta1 kind: SecurityGroup metadata: annotations: - meta.upbound.io/example-id: vpc/v1beta1/securitygroupingressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupingressrule name: example labels: testing.upbound.io/example-name: example @@ -29,10 +29,10 @@ spec: testing.upbound.io/example-name: example --- apiVersion: ec2.aws.upbound.io/v1beta1 -kind: VPCSecurityGroupIngressRule +kind: SecurityGroupIngressRule metadata: annotations: - meta.upbound.io/example-id: ec2/v1beta1/vpcsecuritygroupingressrule + meta.upbound.io/example-id: ec2/v1beta1/securitygroupingressrule labels: testing.upbound.io/example-name: example name: example diff --git a/internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go b/internal/controller/ec2/securitygroupegressrule/zz_controller.go similarity index 81% rename from internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go rename to internal/controller/ec2/securitygroupegressrule/zz_controller.go index 7545ceaf35..dd119990ca 100755 --- a/internal/controller/ec2/vpcsecuritygroupegressrule/zz_controller.go +++ b/internal/controller/ec2/securitygroupegressrule/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package vpcsecuritygroupegressrule +package securitygroupegressrule import ( "time" @@ -23,9 +23,9 @@ import ( features "github.com/upbound/provider-aws/internal/features" ) -// Setup adds a controller that reconciles VPCSecurityGroupEgressRule managed resources. +// Setup adds a controller that reconciles SecurityGroupEgressRule managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind.String()) + name := managed.ControllerName(v1beta1.SecurityGroupEgressRule_GroupVersionKind.String()) var initializers managed.InitializerChain for _, i := range o.Provider.Resources["aws_vpc_security_group_egress_rule"].InitializerFns { initializers = append(initializers, i(mgr.GetClient())) @@ -34,8 +34,8 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.SecretStoreConfigGVK != nil { cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) } - eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind))) - ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) + eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.SecurityGroupEgressRule_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.SecurityGroupEgressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["aws_vpc_security_group_egress_rule"], tjcontroller.WithLogger(o.Logger), tjcontroller.WithConnectorEventHandler(eventHandler), tjcontroller.WithCallbackProvider(ac), @@ -48,15 +48,18 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupEgressRule_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.SecurityGroupEgressRule_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). WithEventFilter(xpresource.DesiredStateChanged()). - Watches(&v1beta1.VPCSecurityGroupEgressRule{}, eventHandler). + Watches(&v1beta1.SecurityGroupEgressRule{}, eventHandler). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go b/internal/controller/ec2/securitygroupingressrule/zz_controller.go similarity index 81% rename from internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go rename to internal/controller/ec2/securitygroupingressrule/zz_controller.go index b6c7eb0b28..6cdb338ecc 100755 --- a/internal/controller/ec2/vpcsecuritygroupingressrule/zz_controller.go +++ b/internal/controller/ec2/securitygroupingressrule/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package vpcsecuritygroupingressrule +package securitygroupingressrule import ( "time" @@ -23,9 +23,9 @@ import ( features "github.com/upbound/provider-aws/internal/features" ) -// Setup adds a controller that reconciles VPCSecurityGroupIngressRule managed resources. +// Setup adds a controller that reconciles SecurityGroupIngressRule managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind.String()) + name := managed.ControllerName(v1beta1.SecurityGroupIngressRule_GroupVersionKind.String()) var initializers managed.InitializerChain for _, i := range o.Provider.Resources["aws_vpc_security_group_ingress_rule"].InitializerFns { initializers = append(initializers, i(mgr.GetClient())) @@ -34,8 +34,8 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.SecretStoreConfigGVK != nil { cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) } - eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind))) - ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) + eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.SecurityGroupIngressRule_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.SecurityGroupIngressRule_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler)) opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["aws_vpc_security_group_ingress_rule"], tjcontroller.WithLogger(o.Logger), tjcontroller.WithConnectorEventHandler(eventHandler), tjcontroller.WithCallbackProvider(ac), @@ -48,15 +48,18 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.VPCSecurityGroupIngressRule_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.SecurityGroupIngressRule_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). WithEventFilter(xpresource.DesiredStateChanged()). - Watches(&v1beta1.VPCSecurityGroupIngressRule{}, eventHandler). + Watches(&v1beta1.SecurityGroupIngressRule{}, eventHandler). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/zz_ec2_setup.go b/internal/controller/zz_ec2_setup.go index f2bd190309..f33fad1e01 100755 --- a/internal/controller/zz_ec2_setup.go +++ b/internal/controller/zz_ec2_setup.go @@ -54,6 +54,8 @@ import ( routetable "github.com/upbound/provider-aws/internal/controller/ec2/routetable" routetableassociation "github.com/upbound/provider-aws/internal/controller/ec2/routetableassociation" securitygroup "github.com/upbound/provider-aws/internal/controller/ec2/securitygroup" + securitygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/securitygroupegressrule" + securitygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/securitygroupingressrule" securitygrouprule "github.com/upbound/provider-aws/internal/controller/ec2/securitygrouprule" serialconsoleaccess "github.com/upbound/provider-aws/internal/controller/ec2/serialconsoleaccess" snapshotcreatevolumepermission "github.com/upbound/provider-aws/internal/controller/ec2/snapshotcreatevolumepermission" @@ -102,8 +104,6 @@ import ( vpcpeeringconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnection" vpcpeeringconnectionaccepter "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionaccepter" vpcpeeringconnectionoptions "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionoptions" - vpcsecuritygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupegressrule" - vpcsecuritygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupingressrule" vpnconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnection" vpnconnectionroute "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnectionroute" vpngateway "github.com/upbound/provider-aws/internal/controller/ec2/vpngateway" @@ -160,6 +160,8 @@ func Setup_ec2(mgr ctrl.Manager, o controller.Options) error { routetable.Setup, routetableassociation.Setup, securitygroup.Setup, + securitygroupegressrule.Setup, + securitygroupingressrule.Setup, securitygrouprule.Setup, serialconsoleaccess.Setup, snapshotcreatevolumepermission.Setup, @@ -208,8 +210,6 @@ func Setup_ec2(mgr ctrl.Manager, o controller.Options) error { vpcpeeringconnection.Setup, vpcpeeringconnectionaccepter.Setup, vpcpeeringconnectionoptions.Setup, - vpcsecuritygroupegressrule.Setup, - vpcsecuritygroupingressrule.Setup, vpnconnection.Setup, vpnconnectionroute.Setup, vpngateway.Setup, diff --git a/internal/controller/zz_monolith_setup.go b/internal/controller/zz_monolith_setup.go index 4586d16eee..40c3039146 100755 --- a/internal/controller/zz_monolith_setup.go +++ b/internal/controller/zz_monolith_setup.go @@ -330,6 +330,8 @@ import ( routetable "github.com/upbound/provider-aws/internal/controller/ec2/routetable" routetableassociation "github.com/upbound/provider-aws/internal/controller/ec2/routetableassociation" securitygroup "github.com/upbound/provider-aws/internal/controller/ec2/securitygroup" + securitygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/securitygroupegressrule" + securitygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/securitygroupingressrule" securitygrouprule "github.com/upbound/provider-aws/internal/controller/ec2/securitygrouprule" serialconsoleaccess "github.com/upbound/provider-aws/internal/controller/ec2/serialconsoleaccess" snapshotcreatevolumepermission "github.com/upbound/provider-aws/internal/controller/ec2/snapshotcreatevolumepermission" @@ -378,8 +380,6 @@ import ( vpcpeeringconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnection" vpcpeeringconnectionaccepter "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionaccepter" vpcpeeringconnectionoptions "github.com/upbound/provider-aws/internal/controller/ec2/vpcpeeringconnectionoptions" - vpcsecuritygroupegressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupegressrule" - vpcsecuritygroupingressrule "github.com/upbound/provider-aws/internal/controller/ec2/vpcsecuritygroupingressrule" vpnconnection "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnection" vpnconnectionroute "github.com/upbound/provider-aws/internal/controller/ec2/vpnconnectionroute" vpngateway "github.com/upbound/provider-aws/internal/controller/ec2/vpngateway" @@ -1250,6 +1250,8 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { routetable.Setup, routetableassociation.Setup, securitygroup.Setup, + securitygroupegressrule.Setup, + securitygroupingressrule.Setup, securitygrouprule.Setup, serialconsoleaccess.Setup, snapshotcreatevolumepermission.Setup, @@ -1298,8 +1300,6 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { vpcpeeringconnection.Setup, vpcpeeringconnectionaccepter.Setup, vpcpeeringconnectionoptions.Setup, - vpcsecuritygroupegressrule.Setup, - vpcsecuritygroupingressrule.Setup, vpnconnection.Setup, vpnconnectionroute.Setup, vpngateway.Setup, diff --git a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml similarity index 90% rename from package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml rename to package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml index 08004c8b3c..ac25f2400e 100644 --- a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupegressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml @@ -3,8 +3,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 - name: vpcsecuritygroupegressrules.ec2.aws.upbound.io + controller-gen.kubebuilder.io/version: v0.13.0 + name: securitygroupegressrules.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io names: @@ -12,10 +12,10 @@ spec: - crossplane - managed - aws - kind: VPCSecurityGroupEgressRule - listKind: VPCSecurityGroupEgressRuleList - plural: vpcsecuritygroupegressrules - singular: vpcsecuritygroupegressrule + kind: SecurityGroupEgressRule + listKind: SecurityGroupEgressRuleList + plural: securitygroupegressrules + singular: securitygroupegressrule scope: Cluster versions: - additionalPrinterColumns: @@ -34,7 +34,7 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: VPCSecurityGroupEgressRule is the Schema for the VPCSecurityGroupEgressRules + description: SecurityGroupEgressRule is the Schema for the SecurityGroupEgressRules API. Provides a VPC security group egress rule resource. properties: apiVersion: @@ -50,8 +50,8 @@ spec: metadata: type: object spec: - description: VPCSecurityGroupEgressRuleSpec defines the desired state - of VPCSecurityGroupEgressRule + description: SecurityGroupEgressRuleSpec defines the desired state of + SecurityGroupEgressRule properties: deletionPolicy: default: Delete @@ -89,8 +89,7 @@ spec: description: The ID of the destination prefix list. type: string prefixListIdRef: - description: Reference to a ManagedPrefixList in ec2 to populate - prefixListId. + description: Reference to a ManagedPrefixList to populate prefixListId. properties: name: description: Name of the referenced object. @@ -124,8 +123,7 @@ spec: - name type: object prefixListIdSelector: - description: Selector for a ManagedPrefixList in ec2 to populate - prefixListId. + description: Selector for a ManagedPrefixList to populate prefixListId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -168,7 +166,7 @@ spec: in the rule. type: string referencedSecurityGroupIdRef: - description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + description: Reference to a SecurityGroup to populate referencedSecurityGroupId. properties: name: description: Name of the referenced object. @@ -202,7 +200,7 @@ spec: - name type: object referencedSecurityGroupIdSelector: - description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + description: Selector for a SecurityGroup to populate referencedSecurityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -248,7 +246,7 @@ spec: description: The ID of the security group. type: string securityGroupIdRef: - description: Reference to a SecurityGroup in ec2 to populate securityGroupId. + description: Reference to a SecurityGroup to populate securityGroupId. properties: name: description: Name of the referenced object. @@ -282,7 +280,7 @@ spec: - name type: object securityGroupIdSelector: - description: Selector for a SecurityGroup in ec2 to populate securityGroupId. + description: Selector for a SecurityGroup to populate securityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -436,42 +434,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -570,13 +532,13 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ipProtocol is a required parameter + - message: spec.forProvider.ipProtocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ipProtocol) - || has(self.initProvider.ipProtocol)' + || (has(self.initProvider) && has(self.initProvider.ipProtocol))' status: - description: VPCSecurityGroupEgressRuleStatus defines the observed state - of VPCSecurityGroupEgressRule. + description: SecurityGroupEgressRuleStatus defines the observed state + of SecurityGroupEgressRule. properties: atProvider: properties: diff --git a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml similarity index 90% rename from package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml rename to package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml index 687218a932..59c9f9e70c 100644 --- a/package/crds/ec2.aws.upbound.io_vpcsecuritygroupingressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml @@ -3,8 +3,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 - name: vpcsecuritygroupingressrules.ec2.aws.upbound.io + controller-gen.kubebuilder.io/version: v0.13.0 + name: securitygroupingressrules.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io names: @@ -12,10 +12,10 @@ spec: - crossplane - managed - aws - kind: VPCSecurityGroupIngressRule - listKind: VPCSecurityGroupIngressRuleList - plural: vpcsecuritygroupingressrules - singular: vpcsecuritygroupingressrule + kind: SecurityGroupIngressRule + listKind: SecurityGroupIngressRuleList + plural: securitygroupingressrules + singular: securitygroupingressrule scope: Cluster versions: - additionalPrinterColumns: @@ -34,7 +34,7 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: VPCSecurityGroupIngressRule is the Schema for the VPCSecurityGroupIngressRules + description: SecurityGroupIngressRule is the Schema for the SecurityGroupIngressRules API. Provides a VPC security group ingress rule resource. properties: apiVersion: @@ -50,8 +50,8 @@ spec: metadata: type: object spec: - description: VPCSecurityGroupIngressRuleSpec defines the desired state - of VPCSecurityGroupIngressRule + description: SecurityGroupIngressRuleSpec defines the desired state of + SecurityGroupIngressRule properties: deletionPolicy: default: Delete @@ -89,8 +89,7 @@ spec: description: The ID of the source prefix list. type: string prefixListIdRef: - description: Reference to a ManagedPrefixList in ec2 to populate - prefixListId. + description: Reference to a ManagedPrefixList to populate prefixListId. properties: name: description: Name of the referenced object. @@ -124,8 +123,7 @@ spec: - name type: object prefixListIdSelector: - description: Selector for a ManagedPrefixList in ec2 to populate - prefixListId. + description: Selector for a ManagedPrefixList to populate prefixListId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -168,7 +166,7 @@ spec: rule. type: string referencedSecurityGroupIdRef: - description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. + description: Reference to a SecurityGroup to populate referencedSecurityGroupId. properties: name: description: Name of the referenced object. @@ -202,7 +200,7 @@ spec: - name type: object referencedSecurityGroupIdSelector: - description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. + description: Selector for a SecurityGroup to populate referencedSecurityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -248,7 +246,7 @@ spec: description: The ID of the security group. type: string securityGroupIdRef: - description: Reference to a SecurityGroup in ec2 to populate securityGroupId. + description: Reference to a SecurityGroup to populate securityGroupId. properties: name: description: Name of the referenced object. @@ -282,7 +280,7 @@ spec: - name type: object securityGroupIdSelector: - description: Selector for a SecurityGroup in ec2 to populate securityGroupId. + description: Selector for a SecurityGroup to populate securityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -436,42 +434,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -570,13 +532,13 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ipProtocol is a required parameter + - message: spec.forProvider.ipProtocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ipProtocol) - || has(self.initProvider.ipProtocol)' + || (has(self.initProvider) && has(self.initProvider.ipProtocol))' status: - description: VPCSecurityGroupIngressRuleStatus defines the observed state - of VPCSecurityGroupIngressRule. + description: SecurityGroupIngressRuleStatus defines the observed state + of SecurityGroupIngressRule. properties: atProvider: properties: From 7f9a97205863cc3ff832d0622924eff8933d3f32 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Tue, 10 Oct 2023 08:51:38 +0000 Subject: [PATCH 6/7] revert custom external name Signed-off-by: Tung Huynh --- config/externalname.go | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/config/externalname.go b/config/externalname.go index ee40038588..eed6289e75 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -188,9 +188,9 @@ var ExternalNameConfigs = map[string]config.ExternalName{ // https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule "aws_security_group_rule": config.IdentifierFromProvider, // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_egress_rule": vpcSecurityGroupRule(), + "aws_vpc_security_group_egress_rule": config.IdentifierFromProvider, // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_ingress_rule": vpcSecurityGroupRule(), + "aws_vpc_security_group_ingress_rule": config.IdentifierFromProvider, // Imported by using the VPC CIDR Association ID: vpc-cidr-assoc-xxxxxxxx "aws_vpc_ipv4_cidr_block_association": config.IdentifierFromProvider, // Imported using the vpc peering id: pcx-111aaa111 @@ -2735,19 +2735,6 @@ func kmsAlias() config.ExternalName { return e } -func vpcSecurityGroupRule() config.ExternalName { - // Terraform does not allow security group rule id to be empty. - // Using a stub value to pass validation. - e := config.IdentifierFromProvider - e.GetIDFn = func(_ context.Context, externalName string, _ map[string]any, _ map[string]any) (string, error) { - if len(externalName) == 0 { - return "sgr-stub", nil - } - return externalName, nil - } - return e -} - func route() config.ExternalName { e := config.IdentifierFromProvider e.GetIDFn = func(_ context.Context, _ string, parameters map[string]interface{}, _ map[string]interface{}) (string, error) { From da9dbaac19cc5d9da03f95ed9791d35685b8ff90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Tue, 10 Oct 2023 15:34:05 +0300 Subject: [PATCH 7/7] Bump uptest version and revert externalname changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Türken --- Makefile | 2 +- .../zz_securitygroupegressrule_types.go | 18 +++++++++--------- .../zz_securitygroupingressrule_types.go | 18 +++++++++--------- config/ec2/config.go | 12 ++++++------ config/externalname.go | 17 +++++++++++++++-- ...ws.upbound.io_securitygroupegressrules.yaml | 14 ++++++++------ ...s.upbound.io_securitygroupingressrules.yaml | 14 ++++++++------ 7 files changed, 56 insertions(+), 39 deletions(-) diff --git a/Makefile b/Makefile index ac984b1024..c3675d7c38 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ export SUBPACKAGES := $(SUBPACKAGES) KIND_VERSION = v0.15.0 UP_VERSION = v0.17.0 UP_CHANNEL = stable -UPTEST_VERSION = v0.6.0 +UPTEST_VERSION = v0.6.1 export UP_VERSION := $(UP_VERSION) export UP_CHANNEL := $(UP_CHANNEL) diff --git a/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go index 49cf31214d..3f322f028f 100755 --- a/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go @@ -104,28 +104,28 @@ type SecurityGroupEgressRuleParameters struct { IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` // The ID of the destination prefix list. - // +crossplane:generate:reference:type=ManagedPrefixList + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList // +kubebuilder:validation:Optional PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` - // Reference to a ManagedPrefixList to populate prefixListId. + // Reference to a ManagedPrefixList in ec2 to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` - // Selector for a ManagedPrefixList to populate prefixListId. + // Selector for a ManagedPrefixList in ec2 to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` // The destination security group that is referenced in the rule. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup // +kubebuilder:validation:Optional ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` - // Reference to a SecurityGroup to populate referencedSecurityGroupId. + // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate referencedSecurityGroupId. + // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` @@ -135,15 +135,15 @@ type SecurityGroupEgressRuleParameters struct { Region *string `json:"region" tf:"-"` // The ID of the security group. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup // +kubebuilder:validation:Optional SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` - // Reference to a SecurityGroup to populate securityGroupId. + // Reference to a SecurityGroup in ec2 to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate securityGroupId. + // Selector for a SecurityGroup in ec2 to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` diff --git a/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go index 7471cbca28..4fb114968e 100755 --- a/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go @@ -104,28 +104,28 @@ type SecurityGroupIngressRuleParameters struct { IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"` // The ID of the source prefix list. - // +crossplane:generate:reference:type=ManagedPrefixList + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList // +kubebuilder:validation:Optional PrefixListID *string `json:"prefixListId,omitempty" tf:"prefix_list_id,omitempty"` - // Reference to a ManagedPrefixList to populate prefixListId. + // Reference to a ManagedPrefixList in ec2 to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDRef *v1.Reference `json:"prefixListIdRef,omitempty" tf:"-"` - // Selector for a ManagedPrefixList to populate prefixListId. + // Selector for a ManagedPrefixList in ec2 to populate prefixListId. // +kubebuilder:validation:Optional PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` // The source security group that is referenced in the rule. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup // +kubebuilder:validation:Optional ReferencedSecurityGroupID *string `json:"referencedSecurityGroupId,omitempty" tf:"referenced_security_group_id,omitempty"` - // Reference to a SecurityGroup to populate referencedSecurityGroupId. + // Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDRef *v1.Reference `json:"referencedSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate referencedSecurityGroupId. + // Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. // +kubebuilder:validation:Optional ReferencedSecurityGroupIDSelector *v1.Selector `json:"referencedSecurityGroupIdSelector,omitempty" tf:"-"` @@ -135,15 +135,15 @@ type SecurityGroupIngressRuleParameters struct { Region *string `json:"region" tf:"-"` // The ID of the security group. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup // +kubebuilder:validation:Optional SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` - // Reference to a SecurityGroup to populate securityGroupId. + // Reference to a SecurityGroup in ec2 to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate securityGroupId. + // Selector for a SecurityGroup in ec2 to populate securityGroupId. // +kubebuilder:validation:Optional SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` diff --git a/config/ec2/config.go b/config/ec2/config.go index 52da91132a..da654d7ffd 100644 --- a/config/ec2/config.go +++ b/config/ec2/config.go @@ -220,26 +220,26 @@ func Configure(p *config.Provider) { p.AddResourceConfigurator("aws_vpc_security_group_ingress_rule", func(r *config.Resource) { r.Kind = "SecurityGroupIngressRule" r.References["security_group_id"] = config.Reference{ - Type: "SecurityGroup", + TerraformName: "aws_security_group", } r.References["referenced_security_group_id"] = config.Reference{ - Type: "SecurityGroup", + TerraformName: "aws_security_group", } r.References["prefix_list_id"] = config.Reference{ - Type: "ManagedPrefixList", + TerraformName: "aws_ec2_managed_prefix_list", } }) p.AddResourceConfigurator("aws_vpc_security_group_egress_rule", func(r *config.Resource) { r.Kind = "SecurityGroupEgressRule" r.References["security_group_id"] = config.Reference{ - Type: "SecurityGroup", + TerraformName: "aws_security_group", } r.References["referenced_security_group_id"] = config.Reference{ - Type: "SecurityGroup", + TerraformName: "aws_security_group", } r.References["prefix_list_id"] = config.Reference{ - Type: "ManagedPrefixList", + TerraformName: "aws_ec2_managed_prefix_list", } }) diff --git a/config/externalname.go b/config/externalname.go index eed6289e75..ee40038588 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -188,9 +188,9 @@ var ExternalNameConfigs = map[string]config.ExternalName{ // https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule "aws_security_group_rule": config.IdentifierFromProvider, // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_egress_rule": config.IdentifierFromProvider, + "aws_vpc_security_group_egress_rule": vpcSecurityGroupRule(), // Imported by using the id: sgr-02108b27edd666983 - "aws_vpc_security_group_ingress_rule": config.IdentifierFromProvider, + "aws_vpc_security_group_ingress_rule": vpcSecurityGroupRule(), // Imported by using the VPC CIDR Association ID: vpc-cidr-assoc-xxxxxxxx "aws_vpc_ipv4_cidr_block_association": config.IdentifierFromProvider, // Imported using the vpc peering id: pcx-111aaa111 @@ -2735,6 +2735,19 @@ func kmsAlias() config.ExternalName { return e } +func vpcSecurityGroupRule() config.ExternalName { + // Terraform does not allow security group rule id to be empty. + // Using a stub value to pass validation. + e := config.IdentifierFromProvider + e.GetIDFn = func(_ context.Context, externalName string, _ map[string]any, _ map[string]any) (string, error) { + if len(externalName) == 0 { + return "sgr-stub", nil + } + return externalName, nil + } + return e +} + func route() config.ExternalName { e := config.IdentifierFromProvider e.GetIDFn = func(_ context.Context, _ string, parameters map[string]interface{}, _ map[string]interface{}) (string, error) { diff --git a/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml index ac25f2400e..8adde8973b 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml @@ -89,7 +89,8 @@ spec: description: The ID of the destination prefix list. type: string prefixListIdRef: - description: Reference to a ManagedPrefixList to populate prefixListId. + description: Reference to a ManagedPrefixList in ec2 to populate + prefixListId. properties: name: description: Name of the referenced object. @@ -123,7 +124,8 @@ spec: - name type: object prefixListIdSelector: - description: Selector for a ManagedPrefixList to populate prefixListId. + description: Selector for a ManagedPrefixList in ec2 to populate + prefixListId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -166,7 +168,7 @@ spec: in the rule. type: string referencedSecurityGroupIdRef: - description: Reference to a SecurityGroup to populate referencedSecurityGroupId. + description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. properties: name: description: Name of the referenced object. @@ -200,7 +202,7 @@ spec: - name type: object referencedSecurityGroupIdSelector: - description: Selector for a SecurityGroup to populate referencedSecurityGroupId. + description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -246,7 +248,7 @@ spec: description: The ID of the security group. type: string securityGroupIdRef: - description: Reference to a SecurityGroup to populate securityGroupId. + description: Reference to a SecurityGroup in ec2 to populate securityGroupId. properties: name: description: Name of the referenced object. @@ -280,7 +282,7 @@ spec: - name type: object securityGroupIdSelector: - description: Selector for a SecurityGroup to populate securityGroupId. + description: Selector for a SecurityGroup in ec2 to populate securityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the diff --git a/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml index 59c9f9e70c..d959bfb3c3 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml @@ -89,7 +89,8 @@ spec: description: The ID of the source prefix list. type: string prefixListIdRef: - description: Reference to a ManagedPrefixList to populate prefixListId. + description: Reference to a ManagedPrefixList in ec2 to populate + prefixListId. properties: name: description: Name of the referenced object. @@ -123,7 +124,8 @@ spec: - name type: object prefixListIdSelector: - description: Selector for a ManagedPrefixList to populate prefixListId. + description: Selector for a ManagedPrefixList in ec2 to populate + prefixListId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -166,7 +168,7 @@ spec: rule. type: string referencedSecurityGroupIdRef: - description: Reference to a SecurityGroup to populate referencedSecurityGroupId. + description: Reference to a SecurityGroup in ec2 to populate referencedSecurityGroupId. properties: name: description: Name of the referenced object. @@ -200,7 +202,7 @@ spec: - name type: object referencedSecurityGroupIdSelector: - description: Selector for a SecurityGroup to populate referencedSecurityGroupId. + description: Selector for a SecurityGroup in ec2 to populate referencedSecurityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the @@ -246,7 +248,7 @@ spec: description: The ID of the security group. type: string securityGroupIdRef: - description: Reference to a SecurityGroup to populate securityGroupId. + description: Reference to a SecurityGroup in ec2 to populate securityGroupId. properties: name: description: Name of the referenced object. @@ -280,7 +282,7 @@ spec: - name type: object securityGroupIdSelector: - description: Selector for a SecurityGroup to populate securityGroupId. + description: Selector for a SecurityGroup in ec2 to populate securityGroupId. properties: matchControllerRef: description: MatchControllerRef ensures an object with the