From 40ffd0f2e06c211e00b1429bf7f1b6f102623029 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Wed, 27 Dec 2023 15:16:33 +0300 Subject: [PATCH] Bump upjet to commit f87063b2ecd9 Signed-off-by: Alper Rifat Ulucinar --- .../v1beta1/zz_certificatevalidation_types.go | 12 + apis/acm/v1beta1/zz_generated.deepcopy.go | 15 + apis/acm/v1beta1/zz_generated.resolvers.go | 16 + apis/acmpca/v1beta1/zz_certificate_types.go | 12 + ...z_certificateauthoritycertificate_types.go | 12 + apis/acmpca/v1beta1/zz_generated.deepcopy.go | 62 +- apis/acmpca/v1beta1/zz_generated.resolvers.go | 64 + apis/acmpca/v1beta1/zz_permission_types.go | 13 + apis/acmpca/v1beta1/zz_policy_types.go | 13 + .../zz_alertmanagerdefinition_types.go | 13 + apis/amp/v1beta1/zz_generated.deepcopy.go | 15 + apis/amp/v1beta1/zz_generated.resolvers.go | 16 + apis/amplify/v1beta1/zz_app_types.go | 13 + apis/amplify/v1beta1/zz_generated.deepcopy.go | 45 + .../amplify/v1beta1/zz_generated.resolvers.go | 48 + apis/amplify/v1beta1/zz_webhook_types.go | 25 + apis/apigateway/v1beta1/zz_account_types.go | 13 + .../apigateway/v1beta1/zz_authorizer_types.go | 40 + .../v1beta1/zz_basepathmapping_types.go | 39 + .../apigateway/v1beta1/zz_deployment_types.go | 13 + .../v1beta1/zz_documentationpart_types.go | 13 + .../v1beta1/zz_documentationversion_types.go | 13 + .../apigateway/v1beta1/zz_domainname_types.go | 26 + .../v1beta1/zz_gatewayresponse_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 644 +- .../v1beta1/zz_generated.resolvers.go | 676 + .../v1beta1/zz_integration_types.go | 68 + .../v1beta1/zz_integrationresponse_types.go | 52 + apis/apigateway/v1beta1/zz_method_types.go | 39 + .../v1beta1/zz_methodresponse_types.go | 39 + .../v1beta1/zz_methodsettings_types.go | 26 + apis/apigateway/v1beta1/zz_model_types.go | 13 + .../v1beta1/zz_requestvalidator_types.go | 13 + apis/apigateway/v1beta1/zz_resource_types.go | 26 + .../v1beta1/zz_restapipolicy_types.go | 13 + apis/apigateway/v1beta1/zz_stage_types.go | 26 + apis/apigateway/v1beta1/zz_usageplan_types.go | 26 + .../v1beta1/zz_usageplankey_types.go | 26 + apis/apigateway/v1beta1/zz_vpclink_types.go | 15 + .../v1beta1/zz_apimapping_types.go | 37 + .../v1beta1/zz_authorizer_types.go | 27 + .../v1beta1/zz_deployment_types.go | 12 + .../v1beta1/zz_domainname_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 361 + .../v1beta1/zz_generated.resolvers.go | 370 + .../v1beta1/zz_integration_types.go | 52 + .../v1beta1/zz_integrationresponse_types.go | 24 + apis/apigatewayv2/v1beta1/zz_model_types.go | 12 + apis/apigatewayv2/v1beta1/zz_route_types.go | 37 + .../v1beta1/zz_routeresponse_types.go | 24 + apis/apigatewayv2/v1beta1/zz_stage_types.go | 24 + apis/apigatewayv2/v1beta1/zz_vpclink_types.go | 30 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 64 + .../v1beta1/zz_scheduledaction_types.go | 39 + .../appautoscaling/v1beta1/zz_target_types.go | 13 + .../v1beta1/zz_configurationprofile_types.go | 26 + apis/appconfig/v1beta1/zz_deployment_types.go | 78 + .../appconfig/v1beta1/zz_environment_types.go | 39 + apis/appconfig/v1beta1/zz_extension_types.go | 26 + .../v1beta1/zz_extensionassociation_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 259 +- .../v1beta1/zz_generated.resolvers.go | 284 + .../zz_hostedconfigurationversion_types.go | 26 + apis/appflow/v1beta1/zz_flow_types.go | 26 + apis/appflow/v1beta1/zz_generated.deepcopy.go | 30 + .../appflow/v1beta1/zz_generated.resolvers.go | 44 + apis/appmesh/v1beta1/zz_gatewayroute_types.go | 26 + apis/appmesh/v1beta1/zz_generated.deepcopy.go | 211 +- .../appmesh/v1beta1/zz_generated.resolvers.go | 262 + apis/appmesh/v1beta1/zz_route_types.go | 52 + .../v1beta1/zz_virtualgateway_types.go | 13 + apis/appmesh/v1beta1/zz_virtualnode_types.go | 27 + .../appmesh/v1beta1/zz_virtualrouter_types.go | 13 + .../v1beta1/zz_virtualservice_types.go | 39 + .../v1beta1/zz_generated.deepcopy.go | 91 + .../v1beta1/zz_generated.resolvers.go | 90 + apis/apprunner/v1beta1/zz_service_types.go | 39 + .../v1beta1/zz_vpcconnector_types.go | 30 + apis/appstream/v1beta1/zz_fleet_types.go | 27 + .../v1beta1/zz_generated.deepcopy.go | 76 + .../v1beta1/zz_generated.resolvers.go | 68 + .../v1beta1/zz_imagebuilder_types.go | 28 + apis/appsync/v1beta1/zz_apicache_types.go | 13 + apis/appsync/v1beta1/zz_datasource_types.go | 25 + apis/appsync/v1beta1/zz_function_types.go | 25 + apis/appsync/v1beta1/zz_generated.deepcopy.go | 120 + .../appsync/v1beta1/zz_generated.resolvers.go | 134 + apis/appsync/v1beta1/zz_graphqlapi_types.go | 26 + apis/appsync/v1beta1/zz_resolver_types.go | 12 + apis/athena/v1beta1/zz_database_types.go | 13 + apis/athena/v1beta1/zz_generated.deepcopy.go | 60 + apis/athena/v1beta1/zz_generated.resolvers.go | 70 + apis/athena/v1beta1/zz_namedquery_types.go | 25 + apis/athena/v1beta1/zz_workgroup_types.go | 13 + .../v1beta1/zz_attachment_types.go | 38 + .../v1beta1/zz_autoscalinggroup_types.go | 90 + .../v1beta1/zz_generated.deepcopy.go | 205 +- .../v1beta1/zz_generated.resolvers.go | 224 + apis/autoscaling/v1beta1/zz_grouptag_types.go | 12 + .../v1beta1/zz_lifecyclehook_types.go | 13 + .../v1beta1/zz_notification_types.go | 13 + apis/backup/v1beta1/zz_generated.deepcopy.go | 120 + apis/backup/v1beta1/zz_generated.resolvers.go | 130 + apis/backup/v1beta1/zz_plan_types.go | 12 + apis/backup/v1beta1/zz_selection_types.go | 25 + apis/backup/v1beta1/zz_vault_types.go | 13 + .../zz_vaultlockconfiguration_types.go | 12 + .../v1beta1/zz_vaultnotifications_types.go | 25 + apis/backup/v1beta1/zz_vaultpolicy_types.go | 12 + apis/budgets/v1beta1/zz_budgetaction_types.go | 38 + apis/budgets/v1beta1/zz_generated.deepcopy.go | 45 + .../budgets/v1beta1/zz_generated.resolvers.go | 52 + apis/chime/v1beta1/zz_generated.deepcopy.go | 90 + apis/chime/v1beta1/zz_generated.resolvers.go | 98 + .../v1beta1/zz_voiceconnectorgroup_types.go | 13 + .../v1beta1/zz_voiceconnectorlogging_types.go | 13 + .../zz_voiceconnectororigination_types.go | 13 + .../zz_voiceconnectorstreaming_types.go | 13 + .../zz_voiceconnectortermination_types.go | 13 + ...ceconnectorterminationcredentials_types.go | 13 + .../cloud9/v1beta1/zz_environmentec2_types.go | 12 + apis/cloud9/v1beta1/zz_generated.deepcopy.go | 15 + apis/cloud9/v1beta1/zz_generated.resolvers.go | 16 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + .../cloudcontrol/v1beta1/zz_resource_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 32 + apis/cloudformation/v1beta1/zz_stack_types.go | 13 + .../v1beta1/zz_stackset_types.go | 13 + .../v1beta1/zz_distribution_types.go | 52 + .../zz_fieldlevelencryptionconfig_types.go | 13 + .../zz_fieldlevelencryptionprofile_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 166 +- .../v1beta1/zz_generated.resolvers.go | 192 + apis/cloudfront/v1beta1/zz_keygroup_types.go | 15 + .../zz_monitoringsubscription_types.go | 13 + .../v1beta1/zz_realtimelogconfig_types.go | 27 + .../zz_domainserviceaccesspolicy_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + .../v1beta1/zz_eventdatastore_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 64 + apis/cloudtrail/v1beta1/zz_trail_types.go | 38 + .../v1beta1/zz_compositealarm_types.go | 28 + .../v1beta1/zz_generated.deepcopy.go | 76 + .../v1beta1/zz_generated.resolvers.go | 64 + .../v1beta1/zz_metricstream_types.go | 26 + .../v1beta1/zz_apidestination_types.go | 13 + .../v1beta1/zz_archive_types.go | 13 + .../v1beta1/zz_buspolicy_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 165 + .../v1beta1/zz_generated.resolvers.go | 180 + .../v1beta1/zz_permission_types.go | 26 + .../cloudwatchevents/v1beta1/zz_rule_types.go | 26 + .../v1beta1/zz_target_types.go | 51 + .../v1beta1/zz_destination_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 105 + .../v1beta1/zz_generated.resolvers.go | 112 + apis/cloudwatchlogs/v1beta1/zz_group_types.go | 14 + .../v1beta1/zz_metricfilter_types.go | 12 + .../cloudwatchlogs/v1beta1/zz_stream_types.go | 12 + .../v1beta1/zz_subscriptionfilter_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 34 + apis/codecommit/v1beta1/zz_trigger_types.go | 25 + .../v1beta1/zz_codepipeline_types.go | 25 + .../v1beta1/zz_generated.deepcopy.go | 45 + .../v1beta1/zz_generated.resolvers.go | 50 + apis/codepipeline/v1beta1/zz_webhook_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 34 + .../v1beta1/zz_notificationrule_types.go | 26 + ...oidentitypoolproviderprincipaltag_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 98 + .../v1beta1/zz_generated.resolvers.go | 102 + apis/cognitoidentity/v1beta1/zz_pool_types.go | 25 + .../v1beta1/zz_poolrolesattachment_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 437 +- .../v1beta1/zz_generated.resolvers.go | 500 + .../v1beta1/zz_identityprovider_types.go | 12 + .../v1beta1/zz_resourceserver_types.go | 11 + .../v1beta1/zz_riskconfiguration_types.go | 13 + apis/cognitoidp/v1beta1/zz_usergroup_types.go | 25 + .../v1beta1/zz_useringroup_types.go | 38 + apis/cognitoidp/v1beta1/zz_userpool_types.go | 182 + .../v1beta1/zz_userpoolclient_types.go | 38 + .../v1beta1/zz_userpooldomain_types.go | 25 + .../zz_userpooluicustomization_types.go | 24 + .../v1beta1/zz_configrule_types.go | 13 + .../zz_configurationaggregator_types.go | 13 + .../v1beta1/zz_configurationrecorder_types.go | 13 + .../v1beta1/zz_deliverychannel_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 68 + .../v1beta1/zz_botassociation_types.go | 12 + apis/connect/v1beta1/zz_contactflow_types.go | 13 + .../v1beta1/zz_contactflowmodule_types.go | 13 + apis/connect/v1beta1/zz_generated.deepcopy.go | 338 +- .../connect/v1beta1/zz_generated.resolvers.go | 378 + .../v1beta1/zz_hoursofoperation_types.go | 13 + apis/connect/v1beta1/zz_instance_types.go | 13 + .../v1beta1/zz_instancestorageconfig_types.go | 78 + apis/connect/v1beta1/zz_phonenumber_types.go | 13 + apis/connect/v1beta1/zz_queue_types.go | 26 + apis/connect/v1beta1/zz_quickconnect_types.go | 13 + .../v1beta1/zz_routingprofile_types.go | 26 + .../v1beta1/zz_securityprofile_types.go | 13 + apis/connect/v1beta1/zz_user_types.go | 26 + .../zz_userhierarchystructure_types.go | 13 + apis/connect/v1beta1/zz_vocabulary_types.go | 13 + apis/cur/v1beta1/zz_generated.deepcopy.go | 15 + apis/cur/v1beta1/zz_generated.resolvers.go | 16 + apis/cur/v1beta1/zz_reportdefinition_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + .../dataexchange/v1beta1/zz_revision_types.go | 13 + .../datasync/v1beta1/zz_generated.deepcopy.go | 79 +- .../v1beta1/zz_generated.resolvers.go | 82 + apis/datasync/v1beta1/zz_locations3_types.go | 26 + apis/datasync/v1beta1/zz_task_types.go | 37 + apis/dax/v1beta1/zz_cluster_types.go | 31 + apis/dax/v1beta1/zz_generated.deepcopy.go | 61 + apis/dax/v1beta1/zz_generated.resolvers.go | 48 + apis/dax/v1beta1/zz_subnetgroup_types.go | 15 + .../v1beta1/zz_deploymentgroup_types.go | 75 + apis/deploy/v1beta1/zz_generated.deepcopy.go | 102 +- apis/deploy/v1beta1/zz_generated.resolvers.go | 112 + .../v1beta1/zz_generated.deepcopy.go | 32 +- .../v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_invitationaccepter_types.go | 13 + apis/detective/v1beta1/zz_member_types.go | 13 + .../devicefarm/v1beta1/zz_devicepool_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 110 +- .../v1beta1/zz_generated.resolvers.go | 102 + .../v1beta1/zz_networkprofile_types.go | 13 + .../v1beta1/zz_testgridproject_types.go | 43 + apis/devicefarm/v1beta1/zz_upload_types.go | 13 + .../directconnect/v1beta1/zz_bgppeer_types.go | 13 + .../v1beta1/zz_connectionassociation_types.go | 26 + .../v1beta1/zz_gatewayassociation_types.go | 27 + .../zz_gatewayassociationproposal_types.go | 39 + .../v1beta1/zz_generated.deepcopy.go | 317 +- .../v1beta1/zz_generated.resolvers.go | 336 + .../zz_hostedprivatevirtualinterface_types.go | 12 + ...edprivatevirtualinterfaceaccepter_types.go | 25 + .../zz_hostedpublicvirtualinterface_types.go | 12 + ...tedpublicvirtualinterfaceaccepter_types.go | 12 + .../zz_hostedtransitvirtualinterface_types.go | 12 + ...edtransitvirtualinterfaceaccepter_types.go | 25 + .../zz_privatevirtualinterface_types.go | 24 + .../zz_publicvirtualinterface_types.go | 12 + .../zz_transitvirtualinterface_types.go | 26 + apis/dlm/v1beta1/zz_generated.deepcopy.go | 30 + apis/dlm/v1beta1/zz_generated.resolvers.go | 38 + apis/dlm/v1beta1/zz_lifecyclepolicy_types.go | 26 + apis/dms/v1beta1/zz_endpoint_types.go | 39 + .../dms/v1beta1/zz_eventsubscription_types.go | 13 + apis/dms/v1beta1/zz_generated.deepcopy.go | 226 + apis/dms/v1beta1/zz_generated.resolvers.go | 224 + .../v1beta1/zz_replicationinstance_types.go | 40 + .../zz_replicationsubnetgroup_types.go | 15 + apis/dms/v1beta1/zz_replicationtask_types.go | 39 + apis/dms/v1beta1/zz_s3endpoint_types.go | 38 + apis/docdb/v1beta1/zz_cluster_types.go | 28 + .../docdb/v1beta1/zz_clusterinstance_types.go | 12 + .../docdb/v1beta1/zz_clustersnapshot_types.go | 13 + .../v1beta1/zz_eventsubscription_types.go | 13 + apis/docdb/v1beta1/zz_generated.deepcopy.go | 123 +- apis/docdb/v1beta1/zz_generated.resolvers.go | 112 + apis/docdb/v1beta1/zz_globalcluster_types.go | 13 + apis/docdb/v1beta1/zz_subnetgroup_types.go | 13 + apis/ds/v1beta1/zz_directory_types.go | 52 + apis/ds/v1beta1/zz_generated.deepcopy.go | 95 +- apis/ds/v1beta1/zz_generated.resolvers.go | 88 + apis/ds/v1beta1/zz_shareddirectory_types.go | 13 + .../v1beta1/zz_contributorinsights_types.go | 12 + .../dynamodb/v1beta1/zz_generated.deepcopy.go | 92 +- .../v1beta1/zz_generated.resolvers.go | 96 + .../zz_kinesisstreamingdestination_types.go | 26 + apis/dynamodb/v1beta1/zz_tableitem_types.go | 12 + .../dynamodb/v1beta1/zz_tablereplica_types.go | 25 + apis/ec2/v1beta1/zz_ami_types.go | 14 + apis/ec2/v1beta1/zz_amicopy_types.go | 25 + .../v1beta1/zz_amilaunchpermission_types.go | 12 + apis/ec2/v1beta1/zz_carriergateway_types.go | 12 + .../ec2/v1beta1/zz_defaultnetworkacl_types.go | 41 + .../ec2/v1beta1/zz_defaultroutetable_types.go | 39 + .../v1beta1/zz_defaultsecuritygroup_types.go | 12 + apis/ec2/v1beta1/zz_ebsdefaultkmskey_types.go | 13 + apis/ec2/v1beta1/zz_ebssnapshot_types.go | 13 + apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go | 25 + .../ec2/v1beta1/zz_ebssnapshotimport_types.go | 12 + apis/ec2/v1beta1/zz_ebsvolume_types.go | 12 + .../zz_egressonlyinternetgateway_types.go | 12 + apis/ec2/v1beta1/zz_eip_types.go | 24 + apis/ec2/v1beta1/zz_eipassociation_types.go | 29 + apis/ec2/v1beta1/zz_flowlog_types.go | 50 + apis/ec2/v1beta1/zz_generated.deepcopy.go | 3348 ++- apis/ec2/v1beta1/zz_generated.resolvers.go | 2630 ++- apis/ec2/v1beta1/zz_instance_types.go | 63 + apis/ec2/v1beta1/zz_instancestate_types.go | 13 + apis/ec2/v1beta1/zz_internetgateway_types.go | 12 + apis/ec2/v1beta1/zz_launchtemplate_types.go | 109 + .../zz_mainroutetableassociation_types.go | 25 + .../ec2/v1beta1/zz_managedprefixlist_types.go | 13 + .../zz_managedprefixlistentry_types.go | 26 + apis/ec2/v1beta1/zz_natgateway_types.go | 25 + apis/ec2/v1beta1/zz_networkacl_types.go | 27 + apis/ec2/v1beta1/zz_networkaclrule_types.go | 13 + .../zz_networkinsightsanalysis_types.go | 13 + .../v1beta1/zz_networkinsightspath_types.go | 26 + apis/ec2/v1beta1/zz_networkinterface_types.go | 27 + .../zz_networkinterfaceattachment_types.go | 26 + .../zz_networkinterfacesgattachment_types.go | 25 + apis/ec2/v1beta1/zz_route_types.go | 109 + apis/ec2/v1beta1/zz_routetable_types.go | 12 + .../v1beta1/zz_routetableassociation_types.go | 37 + apis/ec2/v1beta1/zz_securitygroup_types.go | 12 + .../zz_securitygroupegressrule_types.go | 36 + .../zz_securitygroupingressrule_types.go | 36 + .../ec2/v1beta1/zz_securitygrouprule_types.go | 38 + ...zz_snapshotcreatevolumepermission_types.go | 13 + apis/ec2/v1beta1/zz_spotfleetrequest_types.go | 39 + .../v1beta1/zz_spotinstancerequest_types.go | 26 + apis/ec2/v1beta1/zz_subnet_types.go | 12 + .../v1beta1/zz_subnetcidrreservation_types.go | 12 + .../zz_trafficmirrorfilterrule_types.go | 13 + .../v1beta1/zz_transitgatewayconnect_types.go | 26 + .../zz_transitgatewayconnectpeer_types.go | 13 + .../zz_transitgatewaymulticastdomain_types.go | 12 + ...gatewaymulticastdomainassociation_types.go | 38 + ...ransitgatewaymulticastgroupmember_types.go | 26 + ...ransitgatewaymulticastgroupsource_types.go | 26 + ...z_transitgatewaypeeringattachment_types.go | 26 + ...tgatewaypeeringattachmentaccepter_types.go | 13 + .../zz_transitgatewaypolicytable_types.go | 13 + ...transitgatewayprefixlistreference_types.go | 39 + .../v1beta1/zz_transitgatewayroute_types.go | 24 + .../zz_transitgatewayroutetable_types.go | 12 + ...ansitgatewayroutetableassociation_types.go | 24 + ...ansitgatewayroutetablepropagation_types.go | 24 + .../zz_transitgatewayvpcattachment_types.go | 39 + ...ansitgatewayvpcattachmentaccepter_types.go | 12 + apis/ec2/v1beta1/zz_volumeattachment_types.go | 26 + apis/ec2/v1beta1/zz_vpc_types.go | 13 + .../zz_vpcdhcpoptionsassociation_types.go | 25 + apis/ec2/v1beta1/zz_vpcendpoint_types.go | 25 + ...vpcendpointconnectionnotification_types.go | 26 + ..._vpcendpointroutetableassociation_types.go | 26 + ...cendpointsecuritygroupassociation_types.go | 25 + ...pcendpointserviceallowedprincipal_types.go | 13 + .../zz_vpcendpointsubnetassociation_types.go | 25 + apis/ec2/v1beta1/zz_vpcipampool_types.go | 25 + apis/ec2/v1beta1/zz_vpcipampoolcidr_types.go | 13 + .../zz_vpcipampoolcidrallocation_types.go | 13 + apis/ec2/v1beta1/zz_vpcipamscope_types.go | 12 + .../zz_vpcipv4cidrblockassociation_types.go | 12 + .../v1beta1/zz_vpcpeeringconnection_types.go | 24 + .../zz_vpcpeeringconnectionaccepter_types.go | 13 + .../zz_vpcpeeringconnectionoptions_types.go | 13 + apis/ec2/v1beta1/zz_vpnconnection_types.go | 51 + .../v1beta1/zz_vpnconnectionroute_types.go | 13 + apis/ec2/v1beta1/zz_vpngateway_types.go | 12 + .../v1beta1/zz_vpngatewayattachment_types.go | 25 + .../zz_vpngatewayroutepropagation_types.go | 26 + apis/ecr/v1beta1/zz_generated.deepcopy.go | 45 + apis/ecr/v1beta1/zz_generated.resolvers.go | 50 + apis/ecr/v1beta1/zz_lifecyclepolicy_types.go | 12 + apis/ecr/v1beta1/zz_repository_types.go | 13 + apis/ecr/v1beta1/zz_repositorypolicy_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + .../v1beta1/zz_repositorypolicy_types.go | 12 + apis/ecs/v1beta1/zz_capacityprovider_types.go | 13 + .../zz_clustercapacityproviders_types.go | 12 + apis/ecs/v1beta1/zz_generated.deepcopy.go | 151 + apis/ecs/v1beta1/zz_generated.resolvers.go | 152 + apis/ecs/v1beta1/zz_service_types.go | 79 + apis/ecs/v1beta1/zz_taskdefinition_types.go | 13 + apis/efs/v1beta1/zz_accesspoint_types.go | 12 + apis/efs/v1beta1/zz_backuppolicy_types.go | 12 + apis/efs/v1beta1/zz_filesystem_types.go | 13 + apis/efs/v1beta1/zz_filesystempolicy_types.go | 12 + apis/efs/v1beta1/zz_generated.deepcopy.go | 128 + apis/efs/v1beta1/zz_generated.resolvers.go | 128 + apis/efs/v1beta1/zz_mounttarget_types.go | 38 + .../zz_replicationconfiguration_types.go | 13 + apis/eks/v1beta1/zz_addon_types.go | 30 + apis/eks/v1beta1/zz_cluster_types.go | 43 + apis/eks/v1beta1/zz_fargateprofile_types.go | 40 + apis/eks/v1beta1/zz_generated.deepcopy.go | 235 + apis/eks/v1beta1/zz_generated.resolvers.go | 214 + .../zz_identityproviderconfig_types.go | 12 + apis/eks/v1beta1/zz_nodegroup_types.go | 56 + apis/elasticache/v1beta1/zz_cluster_types.go | 52 + .../v1beta1/zz_generated.deepcopy.go | 167 + .../v1beta1/zz_generated.resolvers.go | 144 + .../v1beta1/zz_replicationgroup_types.go | 39 + .../v1beta1/zz_subnetgroup_types.go | 15 + .../elasticache/v1beta1/zz_usergroup_types.go | 15 + .../v1beta1/zz_application_types.go | 13 + .../v1beta1/zz_applicationversion_types.go | 26 + .../v1beta1/zz_configurationtemplate_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 66 + apis/elasticsearch/v1beta1/zz_domain_types.go | 13 + .../v1beta1/zz_domainpolicy_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 34 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 68 + .../v1beta1/zz_pipeline_types.go | 52 + apis/elb/v1beta1/zz_attachment_types.go | 24 + .../v1beta1/zz_backendserverpolicy_types.go | 12 + apis/elb/v1beta1/zz_elb_types.go | 26 + apis/elb/v1beta1/zz_generated.deepcopy.go | 183 +- apis/elb/v1beta1/zz_generated.resolvers.go | 178 + .../zz_lbcookiestickinesspolicy_types.go | 14 + .../zz_lbsslnegotiationpolicy_types.go | 14 + apis/elb/v1beta1/zz_listenerpolicy_types.go | 12 + apis/elb/v1beta1/zz_policy_types.go | 24 + .../v1beta1/zz_proxyprotocolpolicy_types.go | 13 + apis/elbv2/v1beta1/zz_generated.deepcopy.go | 273 +- apis/elbv2/v1beta1/zz_generated.resolvers.go | 304 + apis/elbv2/v1beta1/zz_lb_types.go | 54 + apis/elbv2/v1beta1/zz_lblistener_types.go | 36 + .../v1beta1/zz_lblistenercertificate_types.go | 26 + apis/elbv2/v1beta1/zz_lblistenerrule_types.go | 78 + apis/elbv2/v1beta1/zz_lbtargetgroup_types.go | 12 + .../zz_lbtargetgroupattachment_types.go | 12 + .../v1beta1/zz_deliverystream_types.go | 350 + .../firehose/v1beta1/zz_generated.deepcopy.go | 405 + .../v1beta1/zz_generated.resolvers.go | 526 + .../v1beta1/zz_experimenttemplate_types.go | 13 + apis/fis/v1beta1/zz_generated.deepcopy.go | 15 + apis/fis/v1beta1/zz_generated.resolvers.go | 16 + apis/fsx/v1beta1/zz_backup_types.go | 13 + .../zz_datarepositoryassociation_types.go | 13 + apis/fsx/v1beta1/zz_generated.deepcopy.go | 258 + apis/fsx/v1beta1/zz_generated.resolvers.go | 224 + apis/fsx/v1beta1/zz_lustrefilesystem_types.go | 41 + apis/fsx/v1beta1/zz_ontapfilesystem_types.go | 54 + .../zz_ontapstoragevirtualmachine_types.go | 13 + .../fsx/v1beta1/zz_windowsfilesystem_types.go | 55 + apis/gamelift/v1beta1/zz_build_types.go | 38 + apis/gamelift/v1beta1/zz_fleet_types.go | 25 + .../v1beta1/zz_gamesessionqueue_types.go | 13 + .../gamelift/v1beta1/zz_generated.deepcopy.go | 135 + .../v1beta1/zz_generated.resolvers.go | 156 + apis/gamelift/v1beta1/zz_script_types.go | 38 + apis/glacier/v1beta1/zz_generated.deepcopy.go | 30 + .../glacier/v1beta1/zz_generated.resolvers.go | 34 + apis/glacier/v1beta1/zz_vault_types.go | 13 + apis/glacier/v1beta1/zz_vaultlock_types.go | 12 + .../v1beta1/zz_endpointgroup_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_listener_types.go | 12 + apis/glue/v1beta1/zz_connection_types.go | 26 + apis/glue/v1beta1/zz_crawler_types.go | 61 + .../zz_datacatalogencryptionsettings_types.go | 26 + apis/glue/v1beta1/zz_generated.deepcopy.go | 270 + apis/glue/v1beta1/zz_generated.resolvers.go | 330 + apis/glue/v1beta1/zz_job_types.go | 13 + apis/glue/v1beta1/zz_schema_types.go | 13 + .../v1beta1/zz_securityconfiguration_types.go | 39 + apis/glue/v1beta1/zz_trigger_types.go | 48 + apis/grafana/v1beta1/zz_generated.deepcopy.go | 75 + .../grafana/v1beta1/zz_generated.resolvers.go | 80 + .../v1beta1/zz_licenseassociation_types.go | 13 + .../v1beta1/zz_roleassociation_types.go | 12 + apis/grafana/v1beta1/zz_workspace_types.go | 13 + .../v1beta1/zz_workspaceapikey_types.go | 13 + .../zz_workspacesamlconfiguration_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 32 + apis/guardduty/v1beta1/zz_member_types.go | 26 + apis/iam/v1beta1/zz_accesskey_types.go | 12 + apis/iam/v1beta1/zz_generated.deepcopy.go | 249 +- apis/iam/v1beta1/zz_generated.resolvers.go | 240 + apis/iam/v1beta1/zz_groupmembership_types.go | 27 + .../v1beta1/zz_grouppolicyattachment_types.go | 25 + apis/iam/v1beta1/zz_instanceprofile_types.go | 12 + .../v1beta1/zz_rolepolicyattachment_types.go | 25 + .../zz_servicespecificcredential_types.go | 12 + .../v1beta1/zz_usergroupmembership_types.go | 27 + apis/iam/v1beta1/zz_userloginprofile_types.go | 12 + .../v1beta1/zz_userpolicyattachment_types.go | 25 + apis/iam/v1beta1/zz_usersshkey_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 32 +- .../v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_groupmembership_types.go | 26 + .../v1beta1/zz_component_types.go | 12 + .../v1beta1/zz_containerrecipe_types.go | 37 + .../v1beta1/zz_generated.deepcopy.go | 248 + .../v1beta1/zz_generated.resolvers.go | 266 + apis/imagebuilder/v1beta1/zz_image_types.go | 39 + .../v1beta1/zz_imagepipeline_types.go | 26 + .../v1beta1/zz_imagerecipe_types.go | 13 + .../zz_infrastructureconfiguration_types.go | 76 + .../v1beta1/zz_assessmenttarget_types.go | 13 + .../v1beta1/zz_assessmenttemplate_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 45 + .../v1beta1/zz_generated.resolvers.go | 50 + apis/iot/v1beta1/zz_generated.deepcopy.go | 264 +- apis/iot/v1beta1/zz_generated.resolvers.go | 276 + apis/iot/v1beta1/zz_loggingoptions_types.go | 13 + apis/iot/v1beta1/zz_policyattachment_types.go | 25 + .../v1beta1/zz_provisioningtemplate_types.go | 13 + apis/iot/v1beta1/zz_rolealias_types.go | 13 + apis/iot/v1beta1/zz_thinggroup_types.go | 12 + .../zz_thingprincipalattachment_types.go | 25 + apis/iot/v1beta1/zz_topicrule_types.go | 52 + .../v1beta1/zz_topicruledestination_types.go | 56 + apis/kafka/v1beta1/zz_cluster_types.go | 89 + apis/kafka/v1beta1/zz_generated.deepcopy.go | 211 +- apis/kafka/v1beta1/zz_generated.resolvers.go | 206 + .../zz_scramsecretassociation_types.go | 28 + .../v1beta1/zz_serverlesscluster_types.go | 30 + apis/kendra/v1beta1/zz_datasource_types.go | 65 + apis/kendra/v1beta1/zz_experience_types.go | 26 + apis/kendra/v1beta1/zz_generated.deepcopy.go | 229 +- apis/kendra/v1beta1/zz_generated.resolvers.go | 264 + apis/kendra/v1beta1/zz_index_types.go | 13 + .../zz_querysuggestionsblocklist_types.go | 39 + apis/kendra/v1beta1/zz_thesaurus_types.go | 52 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + apis/keyspaces/v1beta1/zz_table_types.go | 12 + apis/kinesis/v1beta1/zz_generated.deepcopy.go | 30 + .../kinesis/v1beta1/zz_generated.resolvers.go | 32 + apis/kinesis/v1beta1/zz_stream_types.go | 12 + .../v1beta1/zz_streamconsumer_types.go | 13 + .../v1beta1/zz_application_types.go | 78 + .../v1beta1/zz_generated.deepcopy.go | 102 +- .../v1beta1/zz_generated.resolvers.go | 116 + .../v1beta1/zz_application_types.go | 104 + .../v1beta1/zz_applicationsnapshot_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 153 +- .../v1beta1/zz_generated.resolvers.go | 194 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + apis/kinesisvideo/v1beta1/zz_stream_types.go | 12 + apis/kms/v1beta1/zz_alias_types.go | 12 + apis/kms/v1beta1/zz_ciphertext_types.go | 12 + apis/kms/v1beta1/zz_generated.deepcopy.go | 92 +- apis/kms/v1beta1/zz_generated.resolvers.go | 96 + apis/kms/v1beta1/zz_grant_types.go | 26 + .../v1beta1/zz_replicaexternalkey_types.go | 13 + apis/kms/v1beta1/zz_replicakey_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 60 + .../v1beta1/zz_generated.resolvers.go | 70 + .../v1beta1/zz_permissions_types.go | 37 + .../v1beta1/zz_resource_types.go | 13 + .../v1beta1/zz_codesigningconfig_types.go | 14 + .../v1beta1/zz_eventsourcemapping_types.go | 13 + apis/lambda/v1beta1/zz_function_types.go | 95 + .../zz_functioneventinvokeconfig_types.go | 26 + apis/lambda/v1beta1/zz_functionurl_types.go | 12 + apis/lambda/v1beta1/zz_generated.deepcopy.go | 269 +- apis/lambda/v1beta1/zz_generated.resolvers.go | 256 + apis/lambda/v1beta1/zz_invocation_types.go | 12 + apis/lambda/v1beta1/zz_permission_types.go | 24 + .../v1beta1/zz_association_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 32 +- .../v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_diskattachment_types.go | 24 + .../v1beta1/zz_generated.deepcopy.go | 109 +- .../v1beta1/zz_generated.resolvers.go | 112 + .../v1beta1/zz_instancepublicports_types.go | 12 + .../v1beta1/zz_lbattachment_types.go | 24 + .../v1beta1/zz_staticipattachment_types.go | 26 + .../location/v1beta1/zz_generated.deepcopy.go | 62 +- .../v1beta1/zz_generated.resolvers.go | 64 + .../v1beta1/zz_geofencecollection_types.go | 12 + apis/location/v1beta1/zz_tracker_types.go | 12 + .../v1beta1/zz_trackerassociation_types.go | 25 + apis/medialive/v1beta1/zz_channel_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 45 + .../v1beta1/zz_generated.resolvers.go | 50 + apis/medialive/v1beta1/zz_input_types.go | 13 + .../v1beta1/zz_containerpolicy_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + apis/memorydb/v1beta1/zz_cluster_types.go | 40 + .../memorydb/v1beta1/zz_generated.deepcopy.go | 106 + .../v1beta1/zz_generated.resolvers.go | 96 + apis/memorydb/v1beta1/zz_snapshot_types.go | 24 + apis/memorydb/v1beta1/zz_subnetgroup_types.go | 15 + apis/mq/v1beta1/zz_broker_types.go | 43 + apis/mq/v1beta1/zz_generated.deepcopy.go | 61 + apis/mq/v1beta1/zz_generated.resolvers.go | 50 + apis/neptune/v1beta1/zz_cluster_types.go | 90 + .../v1beta1/zz_clusterendpoint_types.go | 12 + .../v1beta1/zz_clusterinstance_types.go | 36 + .../v1beta1/zz_clustersnapshot_types.go | 12 + .../v1beta1/zz_eventsubscription_types.go | 13 + apis/neptune/v1beta1/zz_generated.deepcopy.go | 251 +- .../neptune/v1beta1/zz_generated.resolvers.go | 240 + .../neptune/v1beta1/zz_globalcluster_types.go | 13 + apis/neptune/v1beta1/zz_subnetgroup_types.go | 15 + .../v1beta1/zz_firewall_types.go | 38 + .../v1beta1/zz_firewallpolicy_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 109 +- .../v1beta1/zz_generated.resolvers.go | 130 + .../v1beta1/zz_loggingconfiguration_types.go | 13 + .../v1beta1/zz_rulegroup_types.go | 13 + .../v1beta1/zz_attachmentaccepter_types.go | 26 + .../v1beta1/zz_connectattachment_types.go | 38 + .../v1beta1/zz_connection_types.go | 39 + .../v1beta1/zz_corenetwork_types.go | 13 + .../zz_customergatewayassociation_types.go | 13 + .../networkmanager/v1beta1/zz_device_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 295 +- .../v1beta1/zz_generated.resolvers.go | 304 + apis/networkmanager/v1beta1/zz_link_types.go | 25 + apis/networkmanager/v1beta1/zz_site_types.go | 13 + ...nsitgatewayconnectpeerassociation_types.go | 13 + .../v1beta1/zz_vpcattachment_types.go | 39 + apis/opensearch/v1beta1/zz_domain_types.go | 13 + .../v1beta1/zz_domainpolicy_types.go | 12 + .../v1beta1/zz_domainsamloptions_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 45 + .../v1beta1/zz_generated.resolvers.go | 50 + apis/opsworks/v1beta1/zz_application_types.go | 13 + apis/opsworks/v1beta1/zz_customlayer_types.go | 28 + .../v1beta1/zz_ecsclusterlayer_types.go | 41 + .../opsworks/v1beta1/zz_ganglialayer_types.go | 28 + .../opsworks/v1beta1/zz_generated.deepcopy.go | 659 + .../v1beta1/zz_generated.resolvers.go | 592 + .../opsworks/v1beta1/zz_haproxylayer_types.go | 28 + apis/opsworks/v1beta1/zz_instance_types.go | 51 + .../opsworks/v1beta1/zz_javaapplayer_types.go | 28 + .../v1beta1/zz_memcachedlayer_types.go | 28 + apis/opsworks/v1beta1/zz_mysqllayer_types.go | 28 + .../v1beta1/zz_nodejsapplayer_types.go | 28 + apis/opsworks/v1beta1/zz_permission_types.go | 26 + apis/opsworks/v1beta1/zz_phpapplayer_types.go | 28 + .../v1beta1/zz_railsapplayer_types.go | 28 + .../v1beta1/zz_rdsdbinstance_types.go | 26 + apis/opsworks/v1beta1/zz_stack_types.go | 52 + .../v1beta1/zz_staticweblayer_types.go | 28 + apis/opsworks/v1beta1/zz_userprofile_types.go | 13 + .../zz_delegatedadministrator_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_policyattachment_types.go | 13 + .../pinpoint/v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + apis/pinpoint/v1beta1/zz_smschannel_types.go | 13 + apis/qldb/v1beta1/zz_generated.deepcopy.go | 60 + apis/qldb/v1beta1/zz_generated.resolvers.go | 66 + apis/qldb/v1beta1/zz_ledger_types.go | 12 + apis/qldb/v1beta1/zz_stream_types.go | 39 + apis/ram/v1beta1/zz_generated.deepcopy.go | 64 +- apis/ram/v1beta1/zz_generated.resolvers.go | 64 + .../v1beta1/zz_principalassociation_types.go | 26 + .../v1beta1/zz_resourceassociation_types.go | 13 + .../v1beta1/zz_resourceshareaccepter_types.go | 13 + apis/rds/v1beta1/zz_cluster_types.go | 77 + .../v1beta1/zz_clusteractivitystream_types.go | 25 + apis/rds/v1beta1/zz_clusterendpoint_types.go | 13 + apis/rds/v1beta1/zz_clusterinstance_types.go | 50 + .../zz_clusterroleassociation_types.go | 26 + apis/rds/v1beta1/zz_clustersnapshot_types.go | 13 + ...stanceautomatedbackupsreplication_types.go | 25 + apis/rds/v1beta1/zz_dbsnapshotcopy_types.go | 25 + .../rds/v1beta1/zz_eventsubscription_types.go | 13 + apis/rds/v1beta1/zz_generated.deepcopy.go | 648 +- apis/rds/v1beta1/zz_generated.resolvers.go | 646 + apis/rds/v1beta1/zz_globalcluster_types.go | 13 + apis/rds/v1beta1/zz_instance_types.go | 110 + .../zz_instanceroleassociation_types.go | 25 + apis/rds/v1beta1/zz_proxy_types.go | 41 + .../zz_proxydefaulttargetgroup_types.go | 12 + apis/rds/v1beta1/zz_proxyendpoint_types.go | 15 + apis/rds/v1beta1/zz_proxytarget_types.go | 24 + apis/rds/v1beta1/zz_snapshot_types.go | 12 + apis/rds/v1beta1/zz_subnetgroup_types.go | 15 + apis/redshift/v1beta1/zz_cluster_types.go | 55 + .../v1beta1/zz_eventsubscription_types.go | 13 + .../redshift/v1beta1/zz_generated.deepcopy.go | 191 +- .../v1beta1/zz_generated.resolvers.go | 176 + .../v1beta1/zz_scheduledaction_types.go | 13 + .../v1beta1/zz_snapshotcopygrant_types.go | 12 + .../zz_snapshotscheduleassociation_types.go | 26 + apis/redshift/v1beta1/zz_subnetgroup_types.go | 15 + apis/redshift/v1beta1/zz_usagelimit_types.go | 13 + .../v1beta1/zz_endpointaccess_types.go | 30 + .../v1beta1/zz_generated.deepcopy.go | 190 + .../v1beta1/zz_generated.resolvers.go | 160 + .../zz_redshiftserverlessnamespace_types.go | 40 + .../v1beta1/zz_resourcepolicy_types.go | 13 + .../v1beta1/zz_snapshot_types.go | 13 + .../v1beta1/zz_usagelimit_types.go | 13 + .../v1beta1/zz_workgroup_types.go | 30 + .../v1beta1/zz_generated.deepcopy.go | 23 + .../v1beta1/zz_generated.resolvers.go | 16 + .../rolesanywhere/v1beta1/zz_profile_types.go | 14 + apis/route53/v1beta1/zz_generated.deepcopy.go | 195 + .../route53/v1beta1/zz_generated.resolvers.go | 210 + apis/route53/v1beta1/zz_healthcheck_types.go | 12 + .../v1beta1/zz_hostedzonednssec_types.go | 12 + apis/route53/v1beta1/zz_record_types.go | 24 + .../v1beta1/zz_resolverconfig_types.go | 13 + .../v1beta1/zz_trafficpolicyinstance_types.go | 24 + .../zz_vpcassociationauthorization_types.go | 24 + apis/route53/v1beta1/zz_zone_types.go | 25 + .../v1beta1/zz_zoneassociation_types.go | 25 + .../v1beta1/zz_controlpanel_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 83 + .../v1beta1/zz_generated.resolvers.go | 80 + .../v1beta1/zz_routingcontrol_types.go | 26 + .../v1beta1/zz_safetyrule_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 18 + .../v1beta1/zz_resourceset_types.go | 13 + .../v1beta1/zz_endpoint_types.go | 28 + .../v1beta1/zz_generated.deepcopy.go | 83 + .../v1beta1/zz_generated.resolvers.go | 82 + apis/route53resolver/v1beta1/zz_rule_types.go | 14 + .../v1beta1/zz_ruleassociation_types.go | 25 + apis/rum/v1beta1/zz_generated.deepcopy.go | 30 + apis/rum/v1beta1/zz_generated.resolvers.go | 32 + .../v1beta1/zz_metricsdestination_types.go | 25 + .../zz_bucketaccelerateconfiguration_types.go | 13 + apis/s3/v1beta1/zz_bucketacl_types.go | 13 + .../zz_bucketanalyticsconfiguration_types.go | 26 + .../zz_bucketcorsconfiguration_types.go | 13 + ...etintelligenttieringconfiguration_types.go | 13 + apis/s3/v1beta1/zz_bucketinventory_types.go | 26 + .../zz_bucketlifecycleconfiguration_types.go | 13 + apis/s3/v1beta1/zz_bucketlogging_types.go | 26 + apis/s3/v1beta1/zz_bucketmetric_types.go | 13 + .../s3/v1beta1/zz_bucketnotification_types.go | 39 + apis/s3/v1beta1/zz_bucketobject_types.go | 25 + .../zz_bucketobjectlockconfiguration_types.go | 13 + .../zz_bucketownershipcontrols_types.go | 13 + apis/s3/v1beta1/zz_bucketpolicy_types.go | 13 + .../zz_bucketpublicaccessblock_types.go | 13 + ...zz_bucketreplicationconfiguration_types.go | 39 + ...bucketrequestpaymentconfiguration_types.go | 13 + ...serversideencryptionconfiguration_types.go | 26 + apis/s3/v1beta1/zz_bucketversioning_types.go | 13 + .../zz_bucketwebsiteconfiguration_types.go | 13 + apis/s3/v1beta1/zz_generated.deepcopy.go | 465 + apis/s3/v1beta1/zz_generated.resolvers.go | 520 + apis/s3/v1beta1/zz_object_types.go | 25 + .../s3control/v1beta1/zz_accesspoint_types.go | 26 + .../v1beta1/zz_accesspointpolicy_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 124 +- .../v1beta1/zz_generated.resolvers.go | 130 + .../zz_multiregionaccesspoint_types.go | 13 + .../zz_objectlambdaaccesspoint_types.go | 26 + .../zz_objectlambdaaccesspointpolicy_types.go | 13 + .../zz_storagelensconfiguration_types.go | 13 + apis/sagemaker/v1beta1/zz_app_types.go | 26 + .../v1beta1/zz_coderepository_types.go | 13 + apis/sagemaker/v1beta1/zz_device_types.go | 12 + .../sagemaker/v1beta1/zz_devicefleet_types.go | 13 + apis/sagemaker/v1beta1/zz_domain_types.go | 77 + apis/sagemaker/v1beta1/zz_endpoint_types.go | 143 +- .../v1beta1/zz_endpointconfiguration_types.go | 24 + .../v1beta1/zz_featuregroup_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 18180 ++++++++++------ .../v1beta1/zz_generated.resolvers.go | 530 + apis/sagemaker/v1beta1/zz_image_types.go | 13 + .../v1beta1/zz_imageversion_types.go | 13 + apis/sagemaker/v1beta1/zz_model_types.go | 13 + .../zz_modelpackagegrouppolicy_types.go | 13 + .../v1beta1/zz_notebookinstance_types.go | 49 + apis/sagemaker/v1beta1/zz_space_types.go | 13 + .../sagemaker/v1beta1/zz_userprofile_types.go | 13 + apis/sagemaker/v1beta1/zz_workforce_types.go | 26 + apis/sagemaker/v1beta1/zz_workteam_types.go | 52 + .../v1beta1/zz_generated.deepcopy.go | 45 + .../v1beta1/zz_generated.resolvers.go | 52 + apis/scheduler/v1beta1/zz_schedule_types.go | 38 + apis/schemas/v1beta1/zz_discoverer_types.go | 13 + apis/schemas/v1beta1/zz_generated.deepcopy.go | 30 + .../schemas/v1beta1/zz_generated.resolvers.go | 32 + apis/schemas/v1beta1/zz_schema_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 75 + .../v1beta1/zz_generated.resolvers.go | 80 + .../secretsmanager/v1beta1/zz_secret_types.go | 12 + .../v1beta1/zz_secretpolicy_types.go | 13 + .../v1beta1/zz_secretrotation_types.go | 26 + .../v1beta1/zz_secretversion_types.go | 13 + .../v1beta1/zz_generated.deepcopy.go | 17 +- .../v1beta1/zz_generated.resolvers.go | 16 + .../v1beta1/zz_inviteaccepter_types.go | 13 + .../zz_budgetresourceassociation_types.go | 24 + .../v1beta1/zz_constraint_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 184 +- .../v1beta1/zz_generated.resolvers.go | 192 + .../v1beta1/zz_portfolioshare_types.go | 13 + .../zz_principalportfolioassociation_types.go | 25 + .../zz_productportfolioassociation_types.go | 24 + .../v1beta1/zz_provisioningartifact_types.go | 13 + .../zz_tagoptionresourceassociation_types.go | 24 + .../v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 34 + .../v1beta1/zz_privatednsnamespace_types.go | 12 + .../v1beta1/zz_service_types.go | 13 + apis/ses/v1beta1/zz_domainmailfrom_types.go | 12 + apis/ses/v1beta1/zz_eventdestination_types.go | 51 + apis/ses/v1beta1/zz_generated.deepcopy.go | 128 +- apis/ses/v1beta1/zz_generated.resolvers.go | 134 + .../zz_identitynotificationtopic_types.go | 25 + apis/ses/v1beta1/zz_identitypolicy_types.go | 13 + ..._configurationseteventdestination_types.go | 63 + apis/sesv2/v1beta1/zz_emailidentity_types.go | 12 + apis/sesv2/v1beta1/zz_generated.deepcopy.go | 102 +- apis/sesv2/v1beta1/zz_generated.resolvers.go | 112 + apis/sfn/v1beta1/zz_generated.deepcopy.go | 15 + apis/sfn/v1beta1/zz_generated.resolvers.go | 16 + apis/sfn/v1beta1/zz_statemachine_types.go | 13 + apis/signer/v1beta1/zz_generated.deepcopy.go | 30 + apis/signer/v1beta1/zz_generated.resolvers.go | 32 + apis/signer/v1beta1/zz_signingjob_types.go | 12 + .../zz_signingprofilepermission_types.go | 13 + apis/sns/v1beta1/zz_generated.deepcopy.go | 255 + apis/sns/v1beta1/zz_generated.resolvers.go | 272 + .../v1beta1/zz_platformapplication_types.go | 26 + apis/sns/v1beta1/zz_smspreferences_types.go | 13 + apis/sns/v1beta1/zz_topic_types.go | 130 + apis/sns/v1beta1/zz_topicpolicy_types.go | 13 + .../sns/v1beta1/zz_topicsubscription_types.go | 39 + apis/sqs/v1beta1/zz_generated.deepcopy.go | 45 + apis/sqs/v1beta1/zz_generated.resolvers.go | 48 + apis/sqs/v1beta1/zz_queuepolicy_types.go | 13 + .../zz_queueredriveallowpolicy_types.go | 13 + .../v1beta1/zz_queueredrivepolicy_types.go | 13 + apis/ssm/v1beta1/zz_activation_types.go | 13 + apis/ssm/v1beta1/zz_association_types.go | 12 + .../v1beta1/zz_defaultpatchbaseline_types.go | 42 + apis/ssm/v1beta1/zz_generated.deepcopy.go | 197 +- apis/ssm/v1beta1/zz_generated.resolvers.go | 224 + .../zz_maintenancewindowtarget_types.go | 13 + .../v1beta1/zz_maintenancewindowtask_types.go | 78 + apis/ssm/v1beta1/zz_patchgroup_types.go | 13 + apis/ssm/v1beta1/zz_resourcedatasync_types.go | 12 + ...z_customermanagedpolicyattachment_types.go | 14 + .../ssoadmin/v1beta1/zz_generated.deepcopy.go | 30 + .../v1beta1/zz_generated.resolvers.go | 39 + .../zz_permissionsboundaryattachment_types.go | 12 + .../v1beta1/zz_database_types.go | 12 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 16 + .../v1beta1/zz_generated.deepcopy.go | 15 + .../v1beta1/zz_generated.resolvers.go | 18 + .../v1beta1/zz_languagemodel_types.go | 13 + .../transfer/v1beta1/zz_generated.deepcopy.go | 150 + .../v1beta1/zz_generated.resolvers.go | 166 + apis/transfer/v1beta1/zz_server_types.go | 52 + apis/transfer/v1beta1/zz_sshkey_types.go | 25 + apis/transfer/v1beta1/zz_tag_types.go | 13 + apis/transfer/v1beta1/zz_user_types.go | 25 + apis/transfer/v1beta1/zz_workflow_types.go | 13 + apis/waf/v1beta1/zz_generated.deepcopy.go | 75 + apis/waf/v1beta1/zz_generated.resolvers.go | 90 + apis/waf/v1beta1/zz_ratebasedrule_types.go | 13 + apis/waf/v1beta1/zz_regexmatchset_types.go | 13 + apis/waf/v1beta1/zz_rule_types.go | 13 + apis/waf/v1beta1/zz_webacl_types.go | 26 + .../v1beta1/zz_generated.deepcopy.go | 75 + .../v1beta1/zz_generated.resolvers.go | 90 + .../v1beta1/zz_ratebasedrule_types.go | 13 + .../v1beta1/zz_regexmatchset_types.go | 13 + apis/wafregional/v1beta1/zz_rule_types.go | 13 + apis/wafregional/v1beta1/zz_webacl_types.go | 26 + apis/workspaces/v1beta1/zz_directory_types.go | 41 + .../v1beta1/zz_generated.deepcopy.go | 53 + .../v1beta1/zz_generated.resolvers.go | 50 + .../xray/v1beta1/zz_encryptionconfig_types.go | 13 + apis/xray/v1beta1/zz_generated.deepcopy.go | 15 + apis/xray/v1beta1/zz_generated.resolvers.go | 16 + go.mod | 2 + go.sum | 4 +- ...aws.upbound.io_certificatevalidations.yaml | 76 + ...d.io_certificateauthoritycertificates.yaml | 77 + .../acmpca.aws.upbound.io_certificates.yaml | 76 + .../acmpca.aws.upbound.io_permissions.yaml | 78 + .../crds/acmpca.aws.upbound.io_policies.yaml | 78 + ...ws.upbound.io_alertmanagerdefinitions.yaml | 77 + package/crds/amplify.aws.upbound.io_apps.yaml | 77 + .../crds/amplify.aws.upbound.io_webhooks.yaml | 152 + .../apigateway.aws.upbound.io_accounts.yaml | 80 + ...apigateway.aws.upbound.io_authorizers.yaml | 233 + ...teway.aws.upbound.io_basepathmappings.yaml | 235 + ...apigateway.aws.upbound.io_deployments.yaml | 78 + ...way.aws.upbound.io_documentationparts.yaml | 78 + ....aws.upbound.io_documentationversions.yaml | 78 + ...apigateway.aws.upbound.io_domainnames.yaml | 163 + ...teway.aws.upbound.io_gatewayresponses.yaml | 78 + ...y.aws.upbound.io_integrationresponses.yaml | 311 + ...pigateway.aws.upbound.io_integrations.yaml | 397 + ...ateway.aws.upbound.io_methodresponses.yaml | 233 + .../apigateway.aws.upbound.io_methods.yaml | 235 + ...gateway.aws.upbound.io_methodsettings.yaml | 154 + .../apigateway.aws.upbound.io_models.yaml | 78 + ...eway.aws.upbound.io_requestvalidators.yaml | 78 + .../apigateway.aws.upbound.io_resources.yaml | 156 + ...ateway.aws.upbound.io_restapipolicies.yaml | 78 + .../apigateway.aws.upbound.io_stages.yaml | 156 + ...igateway.aws.upbound.io_usageplankeys.yaml | 155 + .../apigateway.aws.upbound.io_usageplans.yaml | 164 + .../apigateway.aws.upbound.io_vpclinks.yaml | 82 + ...igatewayv2.aws.upbound.io_apimappings.yaml | 230 + ...igatewayv2.aws.upbound.io_authorizers.yaml | 156 + ...igatewayv2.aws.upbound.io_deployments.yaml | 76 + ...igatewayv2.aws.upbound.io_domainnames.yaml | 84 + ...2.aws.upbound.io_integrationresponses.yaml | 152 + ...gatewayv2.aws.upbound.io_integrations.yaml | 312 + .../apigatewayv2.aws.upbound.io_models.yaml | 76 + ...tewayv2.aws.upbound.io_routeresponses.yaml | 152 + .../apigatewayv2.aws.upbound.io_routes.yaml | 231 + .../apigatewayv2.aws.upbound.io_stages.yaml | 153 + .../apigatewayv2.aws.upbound.io_vpclinks.yaml | 166 + ...aling.aws.upbound.io_scheduledactions.yaml | 240 + ...appautoscaling.aws.upbound.io_targets.yaml | 81 + ....aws.upbound.io_configurationprofiles.yaml | 159 + .../appconfig.aws.upbound.io_deployments.yaml | 473 + ...appconfig.aws.upbound.io_environments.yaml | 241 + ....aws.upbound.io_extensionassociations.yaml | 157 + .../appconfig.aws.upbound.io_extensions.yaml | 173 + ...pbound.io_hostedconfigurationversions.yaml | 156 + .../crds/appflow.aws.upbound.io_flows.yaml | 176 + .../appmesh.aws.upbound.io_gatewayroutes.yaml | 186 + .../crds/appmesh.aws.upbound.io_routes.yaml | 346 + ...ppmesh.aws.upbound.io_virtualgateways.yaml | 104 + .../appmesh.aws.upbound.io_virtualnodes.yaml | 167 + ...appmesh.aws.upbound.io_virtualrouters.yaml | 77 + ...ppmesh.aws.upbound.io_virtualservices.yaml | 257 + .../apprunner.aws.upbound.io_services.yaml | 254 + ...pprunner.aws.upbound.io_vpcconnectors.yaml | 173 + .../crds/appstream.aws.upbound.io_fleet.yaml | 164 + ...ppstream.aws.upbound.io_imagebuilders.yaml | 164 + .../appsync.aws.upbound.io_apicaches.yaml | 78 + .../appsync.aws.upbound.io_datasources.yaml | 159 + .../appsync.aws.upbound.io_functions.yaml | 156 + .../appsync.aws.upbound.io_graphqlapis.yaml | 162 + .../appsync.aws.upbound.io_resolvers.yaml | 78 + .../crds/athena.aws.upbound.io_databases.yaml | 77 + .../athena.aws.upbound.io_namedqueries.yaml | 153 + .../athena.aws.upbound.io_workgroups.yaml | 88 + ...utoscaling.aws.upbound.io_attachments.yaml | 231 + ...ling.aws.upbound.io_autoscalinggroups.yaml | 594 +- .../autoscaling.aws.upbound.io_grouptags.yaml | 78 + ...scaling.aws.upbound.io_lifecyclehooks.yaml | 77 + ...oscaling.aws.upbound.io_notifications.yaml | 76 + package/crds/backup.aws.upbound.io_plans.yaml | 82 + .../backup.aws.upbound.io_selections.yaml | 157 + ...ws.upbound.io_vaultlockconfigurations.yaml | 77 + ...kup.aws.upbound.io_vaultnotifications.yaml | 153 + .../backup.aws.upbound.io_vaultpolicies.yaml | 76 + .../crds/backup.aws.upbound.io_vaults.yaml | 77 + .../budgets.aws.upbound.io_budgetactions.yaml | 237 + ...e.aws.upbound.io_voiceconnectorgroups.yaml | 81 + ...aws.upbound.io_voiceconnectorloggings.yaml | 78 + ...upbound.io_voiceconnectororiginations.yaml | 78 + ...s.upbound.io_voiceconnectorstreamings.yaml | 78 + ..._voiceconnectorterminationcredentials.yaml | 78 + ...upbound.io_voiceconnectorterminations.yaml | 78 + ...cloud9.aws.upbound.io_environmentec2s.yaml | 77 + ...cloudcontrol.aws.upbound.io_resources.yaml | 77 + .../cloudformation.aws.upbound.io_stacks.yaml | 80 + ...oudformation.aws.upbound.io_stacksets.yaml | 78 + ...oudfront.aws.upbound.io_distributions.yaml | 333 + ...pbound.io_fieldlevelencryptionconfigs.yaml | 88 + ...bound.io_fieldlevelencryptionprofiles.yaml | 85 + .../cloudfront.aws.upbound.io_keygroups.yaml | 83 + ...ws.upbound.io_monitoringsubscriptions.yaml | 79 + ...ont.aws.upbound.io_realtimelogconfigs.yaml | 170 + ...pbound.io_domainserviceaccesspolicies.yaml | 78 + ...dtrail.aws.upbound.io_eventdatastores.yaml | 79 + .../cloudtrail.aws.upbound.io_trails.yaml | 231 + ...dwatch.aws.upbound.io_compositealarms.yaml | 168 + ...oudwatch.aws.upbound.io_metricstreams.yaml | 158 + ...events.aws.upbound.io_apidestinations.yaml | 79 + ...udwatchevents.aws.upbound.io_archives.yaml | 79 + ...atchevents.aws.upbound.io_buspolicies.yaml | 80 + ...atchevents.aws.upbound.io_permissions.yaml | 159 + ...cloudwatchevents.aws.upbound.io_rules.yaml | 154 + ...oudwatchevents.aws.upbound.io_targets.yaml | 317 + ...watchlogs.aws.upbound.io_destinations.yaml | 154 + .../cloudwatchlogs.aws.upbound.io_groups.yaml | 81 + ...atchlogs.aws.upbound.io_metricfilters.yaml | 79 + ...cloudwatchlogs.aws.upbound.io_streams.yaml | 79 + ...gs.aws.upbound.io_subscriptionfilters.yaml | 157 + .../codecommit.aws.upbound.io_triggers.yaml | 160 + ...pipeline.aws.upbound.io_codepipelines.yaml | 158 + .../codepipeline.aws.upbound.io_webhooks.yaml | 78 + ...ions.aws.upbound.io_notificationrules.yaml | 159 + ...nitoidentitypoolproviderprincipaltags.yaml | 156 + ...y.aws.upbound.io_poolrolesattachments.yaml | 161 + .../cognitoidentity.aws.upbound.io_pools.yaml | 165 + ...oidp.aws.upbound.io_identityproviders.yaml | 76 + ...itoidp.aws.upbound.io_resourceservers.yaml | 75 + ...idp.aws.upbound.io_riskconfigurations.yaml | 78 + .../cognitoidp.aws.upbound.io_usergroups.yaml | 153 + ...ognitoidp.aws.upbound.io_useringroups.yaml | 234 + ...itoidp.aws.upbound.io_userpoolclients.yaml | 238 + ...itoidp.aws.upbound.io_userpooldomains.yaml | 153 + .../cognitoidp.aws.upbound.io_userpools.yaml | 1172 +- ...s.upbound.io_userpooluicustomizations.yaml | 154 + ...figservice.aws.upbound.io_configrules.yaml | 85 + ...s.upbound.io_configurationaggregators.yaml | 80 + ...aws.upbound.io_configurationrecorders.yaml | 79 + ...rvice.aws.upbound.io_deliverychannels.yaml | 77 + ...onnect.aws.upbound.io_botassociations.yaml | 81 + ...ect.aws.upbound.io_contactflowmodules.yaml | 77 + .../connect.aws.upbound.io_contactflows.yaml | 77 + ...nect.aws.upbound.io_hoursofoperations.yaml | 77 + .../connect.aws.upbound.io_instances.yaml | 77 + ...aws.upbound.io_instancestorageconfigs.yaml | 508 + .../connect.aws.upbound.io_phonenumbers.yaml | 77 + .../crds/connect.aws.upbound.io_queues.yaml | 155 + .../connect.aws.upbound.io_quickconnects.yaml | 77 + ...onnect.aws.upbound.io_routingprofiles.yaml | 154 + ...nnect.aws.upbound.io_securityprofiles.yaml | 77 + ...ws.upbound.io_userhierarchystructures.yaml | 77 + .../crds/connect.aws.upbound.io_users.yaml | 155 + .../connect.aws.upbound.io_vocabularies.yaml | 77 + .../cur.aws.upbound.io_reportdefinitions.yaml | 77 + ...dataexchange.aws.upbound.io_revisions.yaml | 78 + .../datasync.aws.upbound.io_locations3s.yaml | 157 + .../crds/datasync.aws.upbound.io_tasks.yaml | 232 + package/crds/dax.aws.upbound.io_clusters.yaml | 162 + .../crds/dax.aws.upbound.io_subnetgroups.yaml | 83 + ...eploy.aws.upbound.io_deploymentgroups.yaml | 502 + ...ve.aws.upbound.io_invitationaccepters.yaml | 78 + .../detective.aws.upbound.io_members.yaml | 77 + ...devicefarm.aws.upbound.io_devicepools.yaml | 78 + ...cefarm.aws.upbound.io_networkprofiles.yaml | 78 + ...efarm.aws.upbound.io_testgridprojects.yaml | 256 + .../devicefarm.aws.upbound.io_uploads.yaml | 78 + ...directconnect.aws.upbound.io_bgppeers.yaml | 79 + ...aws.upbound.io_connectionassociations.yaml | 155 + ...pbound.io_gatewayassociationproposals.yaml | 234 + ...ct.aws.upbound.io_gatewayassociations.yaml | 156 + ...ostedprivatevirtualinterfaceaccepters.yaml | 156 + ...und.io_hostedprivatevirtualinterfaces.yaml | 77 + ...hostedpublicvirtualinterfaceaccepters.yaml | 79 + ...ound.io_hostedpublicvirtualinterfaces.yaml | 77 + ...ostedtransitvirtualinterfaceaccepters.yaml | 158 + ...und.io_hostedtransitvirtualinterfaces.yaml | 77 + ...s.upbound.io_privatevirtualinterfaces.yaml | 154 + ...ws.upbound.io_publicvirtualinterfaces.yaml | 77 + ...s.upbound.io_transitvirtualinterfaces.yaml | 158 + .../dlm.aws.upbound.io_lifecyclepolicies.yaml | 167 + .../crds/dms.aws.upbound.io_endpoints.yaml | 240 + ...dms.aws.upbound.io_eventsubscriptions.yaml | 76 + ...s.aws.upbound.io_replicationinstances.yaml | 245 + ...ws.upbound.io_replicationsubnetgroups.yaml | 84 + .../dms.aws.upbound.io_replicationtasks.yaml | 233 + .../crds/dms.aws.upbound.io_s3endpoints.yaml | 235 + ...docdb.aws.upbound.io_clusterinstances.yaml | 77 + .../crds/docdb.aws.upbound.io_clusters.yaml | 161 + ...docdb.aws.upbound.io_clustersnapshots.yaml | 78 + ...cdb.aws.upbound.io_eventsubscriptions.yaml | 77 + .../docdb.aws.upbound.io_globalclusters.yaml | 77 + .../docdb.aws.upbound.io_subnetgroups.yaml | 83 + .../crds/ds.aws.upbound.io_directories.yaml | 337 + .../ds.aws.upbound.io_shareddirectories.yaml | 77 + ...db.aws.upbound.io_contributorinsights.yaml | 76 + ...bound.io_kinesisstreamingdestinations.yaml | 155 + .../dynamodb.aws.upbound.io_tableitems.yaml | 76 + ...dynamodb.aws.upbound.io_tablereplicas.yaml | 157 + .../crds/ec2.aws.upbound.io_amicopies.yaml | 155 + ...2.aws.upbound.io_amilaunchpermissions.yaml | 76 + package/crds/ec2.aws.upbound.io_amis.yaml | 82 + .../ec2.aws.upbound.io_carriergateways.yaml | 76 + ...ec2.aws.upbound.io_defaultnetworkacls.yaml | 243 + ...ec2.aws.upbound.io_defaultroutetables.yaml | 239 + ....aws.upbound.io_defaultsecuritygroups.yaml | 77 + .../ec2.aws.upbound.io_ebsdefaultkmskeys.yaml | 78 + .../ec2.aws.upbound.io_ebssnapshotcopies.yaml | 152 + ...ec2.aws.upbound.io_ebssnapshotimports.yaml | 80 + .../crds/ec2.aws.upbound.io_ebssnapshots.yaml | 76 + .../crds/ec2.aws.upbound.io_ebsvolumes.yaml | 77 + ...upbound.io_egressonlyinternetgateways.yaml | 76 + .../ec2.aws.upbound.io_eipassociations.yaml | 155 + package/crds/ec2.aws.upbound.io_eips.yaml | 152 + package/crds/ec2.aws.upbound.io_flowlogs.yaml | 308 + .../crds/ec2.aws.upbound.io_instances.yaml | 402 + .../ec2.aws.upbound.io_instancestates.yaml | 76 + .../ec2.aws.upbound.io_internetgateways.yaml | 78 + .../ec2.aws.upbound.io_launchtemplates.yaml | 674 +- ...upbound.io_mainroutetableassociations.yaml | 155 + ...s.upbound.io_managedprefixlistentries.yaml | 154 + ...ec2.aws.upbound.io_managedprefixlists.yaml | 81 + .../crds/ec2.aws.upbound.io_natgateways.yaml | 154 + .../ec2.aws.upbound.io_networkaclrules.yaml | 76 + .../crds/ec2.aws.upbound.io_networkacls.yaml | 159 + ...ws.upbound.io_networkinsightsanalyses.yaml | 79 + ...2.aws.upbound.io_networkinsightspaths.yaml | 164 + ...pbound.io_networkinterfaceattachments.yaml | 154 + .../ec2.aws.upbound.io_networkinterfaces.yaml | 159 + ...ound.io_networkinterfacesgattachments.yaml | 153 + package/crds/ec2.aws.upbound.io_routes.yaml | 690 + ...aws.upbound.io_routetableassociations.yaml | 233 + .../crds/ec2.aws.upbound.io_routetables.yaml | 76 + ...s.upbound.io_securitygroupegressrules.yaml | 231 + ....upbound.io_securitygroupingressrules.yaml | 231 + ...ec2.aws.upbound.io_securitygrouprules.yaml | 237 + .../ec2.aws.upbound.io_securitygroups.yaml | 76 + ...nd.io_snapshotcreatevolumepermissions.yaml | 76 + .../ec2.aws.upbound.io_spotfleetrequests.yaml | 253 + ...2.aws.upbound.io_spotinstancerequests.yaml | 158 + ...aws.upbound.io_subnetcidrreservations.yaml | 76 + package/crds/ec2.aws.upbound.io_subnets.yaml | 76 + ...s.upbound.io_trafficmirrorfilterrules.yaml | 79 + ...upbound.io_transitgatewayconnectpeers.yaml | 78 + ...aws.upbound.io_transitgatewayconnects.yaml | 156 + ...sitgatewaymulticastdomainassociations.yaml | 234 + ...und.io_transitgatewaymulticastdomains.yaml | 77 + ...o_transitgatewaymulticastgroupmembers.yaml | 157 + ...o_transitgatewaymulticastgroupsources.yaml | 157 + ...nsitgatewaypeeringattachmentaccepters.yaml | 79 + ...d.io_transitgatewaypeeringattachments.yaml | 156 + ...upbound.io_transitgatewaypolicytables.yaml | 78 + ...io_transitgatewayprefixlistreferences.yaml | 234 + ...2.aws.upbound.io_transitgatewayroutes.yaml | 156 + ..._transitgatewayroutetableassociations.yaml | 156 + ..._transitgatewayroutetablepropagations.yaml | 157 + ....upbound.io_transitgatewayroutetables.yaml | 76 + ..._transitgatewayvpcattachmentaccepters.yaml | 78 + ...bound.io_transitgatewayvpcattachments.yaml | 235 + .../ec2.aws.upbound.io_volumeattachments.yaml | 152 + ...upbound.io_vpcdhcpoptionsassociations.yaml | 157 + ...io_vpcendpointconnectionnotifications.yaml | 155 + ....io_vpcendpointroutetableassociations.yaml | 155 + .../crds/ec2.aws.upbound.io_vpcendpoints.yaml | 157 + ..._vpcendpointsecuritygroupassociations.yaml | 154 + ...o_vpcendpointserviceallowedprincipals.yaml | 78 + ...ound.io_vpcendpointsubnetassociations.yaml | 155 + ...upbound.io_vpcipampoolcidrallocations.yaml | 77 + .../ec2.aws.upbound.io_vpcipampoolcidrs.yaml | 77 + .../crds/ec2.aws.upbound.io_vpcipampools.yaml | 154 + .../ec2.aws.upbound.io_vpcipamscopes.yaml | 77 + ...bound.io_vpcipv4cidrblockassociations.yaml | 76 + ...ound.io_vpcpeeringconnectionaccepters.yaml | 78 + ...pbound.io_vpcpeeringconnectionoptions.yaml | 78 + ....aws.upbound.io_vpcpeeringconnections.yaml | 153 + package/crds/ec2.aws.upbound.io_vpcs.yaml | 81 + ...c2.aws.upbound.io_vpnconnectionroutes.yaml | 76 + .../ec2.aws.upbound.io_vpnconnections.yaml | 311 + ....aws.upbound.io_vpngatewayattachments.yaml | 153 + ...pbound.io_vpngatewayroutepropagations.yaml | 155 + .../crds/ec2.aws.upbound.io_vpngateways.yaml | 76 + .../ecr.aws.upbound.io_lifecyclepolicies.yaml | 76 + .../crds/ecr.aws.upbound.io_repositories.yaml | 81 + ...ecr.aws.upbound.io_repositorypolicies.yaml | 76 + ...lic.aws.upbound.io_repositorypolicies.yaml | 78 + .../ecs.aws.upbound.io_capacityproviders.yaml | 81 + ...s.upbound.io_clustercapacityproviders.yaml | 77 + package/crds/ecs.aws.upbound.io_services.yaml | 497 + .../ecs.aws.upbound.io_taskdefinitions.yaml | 77 + .../crds/efs.aws.upbound.io_accesspoints.yaml | 77 + .../efs.aws.upbound.io_backuppolicies.yaml | 76 + ...efs.aws.upbound.io_filesystempolicies.yaml | 76 + .../crds/efs.aws.upbound.io_filesystems.yaml | 77 + .../crds/efs.aws.upbound.io_mounttargets.yaml | 238 + ....upbound.io_replicationconfigurations.yaml | 76 + package/crds/eks.aws.upbound.io_addons.yaml | 159 + package/crds/eks.aws.upbound.io_clusters.yaml | 261 + .../eks.aws.upbound.io_fargateprofiles.yaml | 241 + ...ws.upbound.io_identityproviderconfigs.yaml | 76 + .../crds/eks.aws.upbound.io_nodegroups.yaml | 333 + .../elasticache.aws.upbound.io_clusters.yaml | 323 + ...ache.aws.upbound.io_replicationgroups.yaml | 241 + ...asticache.aws.upbound.io_subnetgroups.yaml | 83 + ...elasticache.aws.upbound.io_usergroups.yaml | 82 + ...beanstalk.aws.upbound.io_applications.yaml | 81 + ...lk.aws.upbound.io_applicationversions.yaml | 154 + ...aws.upbound.io_configurationtemplates.yaml | 79 + ...csearch.aws.upbound.io_domainpolicies.yaml | 78 + .../elasticsearch.aws.upbound.io_domains.yaml | 82 + ...ictranscoder.aws.upbound.io_pipelines.yaml | 316 + .../crds/elb.aws.upbound.io_attachments.yaml | 153 + ....aws.upbound.io_backendserverpolicies.yaml | 76 + package/crds/elb.aws.upbound.io_elbs.yaml | 168 + ...upbound.io_lbcookiestickinesspolicies.yaml | 76 + ...s.upbound.io_lbsslnegotiationpolicies.yaml | 76 + .../elb.aws.upbound.io_listenerpolicies.yaml | 76 + package/crds/elb.aws.upbound.io_policies.yaml | 154 + ....aws.upbound.io_proxyprotocolpolicies.yaml | 76 + ...aws.upbound.io_lblistenercertificates.yaml | 153 + .../elbv2.aws.upbound.io_lblistenerrules.yaml | 498 + .../elbv2.aws.upbound.io_lblisteners.yaml | 245 + package/crds/elbv2.aws.upbound.io_lbs.yaml | 334 + ...s.upbound.io_lbtargetgroupattachments.yaml | 77 + .../elbv2.aws.upbound.io_lbtargetgroups.yaml | 78 + ...rehose.aws.upbound.io_deliverystreams.yaml | 2259 +- ...is.aws.upbound.io_experimenttemplates.yaml | 77 + package/crds/fsx.aws.upbound.io_backups.yaml | 79 + ...upbound.io_datarepositoryassociations.yaml | 79 + .../fsx.aws.upbound.io_lustrefilesystems.yaml | 248 + .../fsx.aws.upbound.io_ontapfilesystems.yaml | 322 + ...pbound.io_ontapstoragevirtualmachines.yaml | 79 + ...fsx.aws.upbound.io_windowsfilesystems.yaml | 324 + .../crds/gamelift.aws.upbound.io_builds.yaml | 239 + .../crds/gamelift.aws.upbound.io_fleet.yaml | 153 + ...lift.aws.upbound.io_gamesessionqueues.yaml | 77 + .../crds/gamelift.aws.upbound.io_scripts.yaml | 239 + .../glacier.aws.upbound.io_vaultlocks.yaml | 76 + .../crds/glacier.aws.upbound.io_vaults.yaml | 79 + ...lerator.aws.upbound.io_endpointgroups.yaml | 76 + ...laccelerator.aws.upbound.io_listeners.yaml | 76 + .../crds/glue.aws.upbound.io_connections.yaml | 160 + .../crds/glue.aws.upbound.io_crawlers.yaml | 401 + ...ound.io_datacatalogencryptionsettings.yaml | 172 + package/crds/glue.aws.upbound.io_jobs.yaml | 76 + package/crds/glue.aws.upbound.io_schemas.yaml | 77 + ...aws.upbound.io_securityconfigurations.yaml | 252 + .../crds/glue.aws.upbound.io_triggers.yaml | 330 + ...na.aws.upbound.io_licenseassociations.yaml | 76 + ...afana.aws.upbound.io_roleassociations.yaml | 76 + ...afana.aws.upbound.io_workspaceapikeys.yaml | 77 + .../grafana.aws.upbound.io_workspaces.yaml | 76 + ...pbound.io_workspacesamlconfigurations.yaml | 76 + .../guardduty.aws.upbound.io_members.yaml | 157 + .../crds/iam.aws.upbound.io_accesskeys.yaml | 76 + .../iam.aws.upbound.io_groupmemberships.yaml | 159 + ...aws.upbound.io_grouppolicyattachments.yaml | 153 + .../iam.aws.upbound.io_instanceprofiles.yaml | 76 + ....aws.upbound.io_rolepolicyattachments.yaml | 154 + ...upbound.io_servicespecificcredentials.yaml | 79 + ...m.aws.upbound.io_usergroupmemberships.yaml | 159 + .../iam.aws.upbound.io_userloginprofiles.yaml | 76 + ....aws.upbound.io_userpolicyattachments.yaml | 153 + .../crds/iam.aws.upbound.io_usersshkeys.yaml | 77 + ...store.aws.upbound.io_groupmemberships.yaml | 157 + ...magebuilder.aws.upbound.io_components.yaml | 77 + ...ilder.aws.upbound.io_containerrecipes.yaml | 241 + ...builder.aws.upbound.io_imagepipelines.yaml | 157 + ...gebuilder.aws.upbound.io_imagerecipes.yaml | 82 + .../imagebuilder.aws.upbound.io_images.yaml | 236 + ...bound.io_infrastructureconfigurations.yaml | 473 + ...ctor.aws.upbound.io_assessmenttargets.yaml | 81 + ...or.aws.upbound.io_assessmenttemplates.yaml | 159 + .../iot.aws.upbound.io_loggingoptions.yaml | 77 + .../iot.aws.upbound.io_policyattachments.yaml | 153 + ....aws.upbound.io_provisioningtemplates.yaml | 78 + .../crds/iot.aws.upbound.io_rolealiases.yaml | 76 + .../crds/iot.aws.upbound.io_thinggroups.yaml | 76 + ....upbound.io_thingprincipalattachments.yaml | 154 + ....aws.upbound.io_topicruledestinations.yaml | 335 + .../crds/iot.aws.upbound.io_topicrules.yaml | 326 + .../crds/kafka.aws.upbound.io_clusters.yaml | 660 +- ...ws.upbound.io_scramsecretassociations.yaml | 163 + ...fka.aws.upbound.io_serverlessclusters.yaml | 178 + .../kendra.aws.upbound.io_datasources.yaml | 430 + .../kendra.aws.upbound.io_experiences.yaml | 156 + .../crds/kendra.aws.upbound.io_indices.yaml | 80 + ...upbound.io_querysuggestionsblocklists.yaml | 232 + .../crds/kendra.aws.upbound.io_thesaurus.yaml | 313 + .../crds/keyspaces.aws.upbound.io_tables.yaml | 79 + ...inesis.aws.upbound.io_streamconsumers.yaml | 77 + .../crds/kinesis.aws.upbound.io_streams.yaml | 78 + ...analytics.aws.upbound.io_applications.yaml | 496 + ...alyticsv2.aws.upbound.io_applications.yaml | 864 +- ...2.aws.upbound.io_applicationsnapshots.yaml | 81 + .../kinesisvideo.aws.upbound.io_streams.yaml | 79 + package/crds/kms.aws.upbound.io_aliases.yaml | 78 + .../crds/kms.aws.upbound.io_ciphertexts.yaml | 76 + package/crds/kms.aws.upbound.io_grants.yaml | 156 + ...ms.aws.upbound.io_replicaexternalkeys.yaml | 79 + .../crds/kms.aws.upbound.io_replicakeys.yaml | 79 + ...eformation.aws.upbound.io_permissions.yaml | 245 + ...akeformation.aws.upbound.io_resources.yaml | 76 + ...bda.aws.upbound.io_codesigningconfigs.yaml | 91 + ...da.aws.upbound.io_eventsourcemappings.yaml | 77 + ...upbound.io_functioneventinvokeconfigs.yaml | 172 + .../crds/lambda.aws.upbound.io_functions.yaml | 592 +- .../lambda.aws.upbound.io_functionurls.yaml | 76 + .../lambda.aws.upbound.io_invocations.yaml | 76 + .../lambda.aws.upbound.io_permissions.yaml | 155 + ...semanager.aws.upbound.io_associations.yaml | 153 + ...htsail.aws.upbound.io_diskattachments.yaml | 154 + ...il.aws.upbound.io_instancepublicports.yaml | 78 + ...ightsail.aws.upbound.io_lbattachments.yaml | 155 + ...il.aws.upbound.io_staticipattachments.yaml | 158 + ...on.aws.upbound.io_geofencecollections.yaml | 77 + ...on.aws.upbound.io_trackerassociations.yaml | 158 + .../location.aws.upbound.io_trackers.yaml | 77 + .../medialive.aws.upbound.io_channels.yaml | 157 + .../crds/medialive.aws.upbound.io_inputs.yaml | 77 + ...tore.aws.upbound.io_containerpolicies.yaml | 78 + .../memorydb.aws.upbound.io_clusters.yaml | 240 + .../memorydb.aws.upbound.io_snapshots.yaml | 153 + .../memorydb.aws.upbound.io_subnetgroups.yaml | 84 + package/crds/mq.aws.upbound.io_brokers.yaml | 249 + ...ptune.aws.upbound.io_clusterendpoints.yaml | 77 + ...ptune.aws.upbound.io_clusterinstances.yaml | 232 + .../crds/neptune.aws.upbound.io_clusters.yaml | 557 + ...ptune.aws.upbound.io_clustersnapshots.yaml | 78 + ...une.aws.upbound.io_eventsubscriptions.yaml | 76 + ...neptune.aws.upbound.io_globalclusters.yaml | 77 + .../neptune.aws.upbound.io_subnetgroups.yaml | 83 + ...ewall.aws.upbound.io_firewallpolicies.yaml | 168 + ...workfirewall.aws.upbound.io_firewalls.yaml | 235 + ....aws.upbound.io_loggingconfigurations.yaml | 79 + ...orkfirewall.aws.upbound.io_rulegroups.yaml | 95 + ...er.aws.upbound.io_attachmentaccepters.yaml | 158 + ...ger.aws.upbound.io_connectattachments.yaml | 233 + ...orkmanager.aws.upbound.io_connections.yaml | 234 + ...rkmanager.aws.upbound.io_corenetworks.yaml | 79 + ...pbound.io_customergatewayassociations.yaml | 78 + ...networkmanager.aws.upbound.io_devices.yaml | 156 + .../networkmanager.aws.upbound.io_links.yaml | 154 + .../networkmanager.aws.upbound.io_sites.yaml | 78 + ...transitgatewayconnectpeerassociations.yaml | 78 + ...manager.aws.upbound.io_vpcattachments.yaml | 235 + ...nsearch.aws.upbound.io_domainpolicies.yaml | 76 + .../opensearch.aws.upbound.io_domains.yaml | 82 + ...arch.aws.upbound.io_domainsamloptions.yaml | 76 + .../opsworks.aws.upbound.io_applications.yaml | 76 + .../opsworks.aws.upbound.io_customlayers.yaml | 160 + ...works.aws.upbound.io_ecsclusterlayers.yaml | 236 + ...opsworks.aws.upbound.io_ganglialayers.yaml | 160 + ...opsworks.aws.upbound.io_haproxylayers.yaml | 160 + .../opsworks.aws.upbound.io_instances.yaml | 316 + ...opsworks.aws.upbound.io_javaapplayers.yaml | 160 + ...sworks.aws.upbound.io_memcachedlayers.yaml | 160 + .../opsworks.aws.upbound.io_mysqllayers.yaml | 160 + ...sworks.aws.upbound.io_nodejsapplayers.yaml | 160 + .../opsworks.aws.upbound.io_permissions.yaml | 152 + .../opsworks.aws.upbound.io_phpapplayers.yaml | 160 + ...psworks.aws.upbound.io_railsapplayers.yaml | 160 + ...psworks.aws.upbound.io_rdsdbinstances.yaml | 154 + .../crds/opsworks.aws.upbound.io_stacks.yaml | 311 + ...sworks.aws.upbound.io_staticweblayers.yaml | 160 + .../opsworks.aws.upbound.io_userprofiles.yaml | 76 + ...ws.upbound.io_delegatedadministrators.yaml | 79 + ...ions.aws.upbound.io_policyattachments.yaml | 79 + .../pinpoint.aws.upbound.io_smschannels.yaml | 76 + package/crds/qldb.aws.upbound.io_ledgers.yaml | 81 + package/crds/qldb.aws.upbound.io_streams.yaml | 236 + ....aws.upbound.io_principalassociations.yaml | 158 + ...m.aws.upbound.io_resourceassociations.yaml | 76 + ...aws.upbound.io_resourceshareaccepters.yaml | 79 + ...aws.upbound.io_clusteractivitystreams.yaml | 155 + .../rds.aws.upbound.io_clusterendpoints.yaml | 76 + .../rds.aws.upbound.io_clusterinstances.yaml | 312 + ...ws.upbound.io_clusterroleassociations.yaml | 153 + package/crds/rds.aws.upbound.io_clusters.yaml | 479 + .../rds.aws.upbound.io_clustersnapshots.yaml | 77 + ...binstanceautomatedbackupsreplications.yaml | 156 + .../rds.aws.upbound.io_dbsnapshotcopies.yaml | 152 + ...rds.aws.upbound.io_eventsubscriptions.yaml | 76 + .../rds.aws.upbound.io_globalclusters.yaml | 77 + ...s.upbound.io_instanceroleassociations.yaml | 154 + .../crds/rds.aws.upbound.io_instances.yaml | 563 + package/crds/rds.aws.upbound.io_proxies.yaml | 245 + ...s.upbound.io_proxydefaulttargetgroups.yaml | 76 + .../rds.aws.upbound.io_proxyendpoints.yaml | 84 + .../crds/rds.aws.upbound.io_proxytargets.yaml | 152 + .../crds/rds.aws.upbound.io_snapshots.yaml | 77 + .../crds/rds.aws.upbound.io_subnetgroups.yaml | 83 + .../redshift.aws.upbound.io_clusters.yaml | 321 + ...ift.aws.upbound.io_eventsubscriptions.yaml | 76 + ...shift.aws.upbound.io_scheduledactions.yaml | 76 + ...ift.aws.upbound.io_snapshotcopygrants.yaml | 80 + ...bound.io_snapshotscheduleassociations.yaml | 155 + .../redshift.aws.upbound.io_subnetgroups.yaml | 83 + .../redshift.aws.upbound.io_usagelimits.yaml | 77 + ...rless.aws.upbound.io_endpointaccesses.yaml | 168 + ...bound.io_redshiftserverlessnamespaces.yaml | 237 + ...rless.aws.upbound.io_resourcepolicies.yaml | 79 + ...ftserverless.aws.upbound.io_snapshots.yaml | 78 + ...serverless.aws.upbound.io_usagelimits.yaml | 79 + ...tserverless.aws.upbound.io_workgroups.yaml | 171 + ...rolesanywhere.aws.upbound.io_profiles.yaml | 82 + .../route53.aws.upbound.io_healthchecks.yaml | 78 + ...te53.aws.upbound.io_hostedzonednssecs.yaml | 76 + .../crds/route53.aws.upbound.io_records.yaml | 153 + ...oute53.aws.upbound.io_resolverconfigs.yaml | 76 + ...aws.upbound.io_trafficpolicyinstances.yaml | 155 + ...bound.io_vpcassociationauthorizations.yaml | 154 + ...ute53.aws.upbound.io_zoneassociations.yaml | 152 + .../crds/route53.aws.upbound.io_zones.yaml | 157 + ...olconfig.aws.upbound.io_controlpanels.yaml | 79 + ...config.aws.upbound.io_routingcontrols.yaml | 158 + ...trolconfig.aws.upbound.io_safetyrules.yaml | 164 + ...readiness.aws.upbound.io_resourcesets.yaml | 81 + ...te53resolver.aws.upbound.io_endpoints.yaml | 163 + ...olver.aws.upbound.io_ruleassociations.yaml | 156 + .../route53resolver.aws.upbound.io_rules.yaml | 81 + ...um.aws.upbound.io_metricsdestinations.yaml | 154 + ...und.io_bucketaccelerateconfigurations.yaml | 76 + .../crds/s3.aws.upbound.io_bucketacls.yaml | 76 + ...ound.io_bucketanalyticsconfigurations.yaml | 170 + ...s.upbound.io_bucketcorsconfigurations.yaml | 76 + ...ucketintelligenttieringconfigurations.yaml | 77 + .../s3.aws.upbound.io_bucketinventories.yaml | 160 + ...ound.io_bucketlifecycleconfigurations.yaml | 77 + .../s3.aws.upbound.io_bucketloggings.yaml | 153 + .../crds/s3.aws.upbound.io_bucketmetrics.yaml | 76 + ...s3.aws.upbound.io_bucketnotifications.yaml | 234 + ...und.io_bucketobjectlockconfigurations.yaml | 76 + .../crds/s3.aws.upbound.io_bucketobjects.yaml | 157 + ...ws.upbound.io_bucketownershipcontrols.yaml | 77 + .../s3.aws.upbound.io_bucketpolicies.yaml | 76 + ...s.upbound.io_bucketpublicaccessblocks.yaml | 77 + ...nd.io_bucketreplicationconfigurations.yaml | 238 + ...io_bucketrequestpaymentconfigurations.yaml | 76 + ...ketserversideencryptionconfigurations.yaml | 163 + .../s3.aws.upbound.io_bucketversionings.yaml | 76 + ...pbound.io_bucketwebsiteconfigurations.yaml | 76 + package/crds/s3.aws.upbound.io_objects.yaml | 157 + ...ol.aws.upbound.io_accesspointpolicies.yaml | 79 + ...s3control.aws.upbound.io_accesspoints.yaml | 159 + ...nd.io_objectlambdaaccesspointpolicies.yaml | 78 + ...s.upbound.io_objectlambdaaccesspoints.yaml | 176 + ....upbound.io_storagelensconfigurations.yaml | 88 + .../crds/sagemaker.aws.upbound.io_apps.yaml | 155 + ...maker.aws.upbound.io_coderepositories.yaml | 85 + .../sagemaker.aws.upbound.io_devicefleet.yaml | 77 + .../sagemaker.aws.upbound.io_devices.yaml | 78 + .../sagemaker.aws.upbound.io_domains.yaml | 490 + ...aws.upbound.io_endpointconfigurations.yaml | 160 + .../sagemaker.aws.upbound.io_endpoints.yaml | 303 +- ...agemaker.aws.upbound.io_featuregroups.yaml | 78 + .../crds/sagemaker.aws.upbound.io_images.yaml | 77 + ...agemaker.aws.upbound.io_imageversions.yaml | 76 + ....upbound.io_modelpackagegrouppolicies.yaml | 78 + .../crds/sagemaker.aws.upbound.io_models.yaml | 77 + ...aker.aws.upbound.io_notebookinstances.yaml | 314 + .../crds/sagemaker.aws.upbound.io_spaces.yaml | 76 + ...sagemaker.aws.upbound.io_userprofiles.yaml | 76 + .../sagemaker.aws.upbound.io_workforces.yaml | 164 + .../sagemaker.aws.upbound.io_workteams.yaml | 331 + .../scheduler.aws.upbound.io_schedules.yaml | 239 + .../schemas.aws.upbound.io_discoverers.yaml | 79 + .../crds/schemas.aws.upbound.io_schemas.yaml | 76 + ...manager.aws.upbound.io_secretpolicies.yaml | 78 + ...anager.aws.upbound.io_secretrotations.yaml | 159 + ...secretsmanager.aws.upbound.io_secrets.yaml | 83 + ...manager.aws.upbound.io_secretversions.yaml | 81 + ...ityhub.aws.upbound.io_inviteaccepters.yaml | 80 + ...upbound.io_budgetresourceassociations.yaml | 153 + ...icecatalog.aws.upbound.io_constraints.yaml | 156 + ...atalog.aws.upbound.io_portfolioshares.yaml | 78 + ...und.io_principalportfolioassociations.yaml | 152 + ...bound.io_productportfolioassociations.yaml | 152 + ....aws.upbound.io_provisioningartifacts.yaml | 78 + ...ound.io_tagoptionresourceassociations.yaml | 153 + ...y.aws.upbound.io_privatednsnamespaces.yaml | 77 + ...vicediscovery.aws.upbound.io_services.yaml | 81 + .../ses.aws.upbound.io_domainmailfroms.yaml | 79 + .../ses.aws.upbound.io_eventdestinations.yaml | 320 + ...upbound.io_identitynotificationtopics.yaml | 157 + .../ses.aws.upbound.io_identitypolicies.yaml | 78 + ....io_configurationseteventdestinations.yaml | 418 + .../sesv2.aws.upbound.io_emailidentities.yaml | 80 + .../sfn.aws.upbound.io_statemachines.yaml | 77 + .../signer.aws.upbound.io_signingjobs.yaml | 78 + ....upbound.io_signingprofilepermissions.yaml | 79 + ...s.aws.upbound.io_platformapplications.yaml | 156 + .../sns.aws.upbound.io_smspreferences.yaml | 77 + .../sns.aws.upbound.io_topicpolicies.yaml | 76 + package/crds/sns.aws.upbound.io_topics.yaml | 809 +- ...sns.aws.upbound.io_topicsubscriptions.yaml | 230 + .../sqs.aws.upbound.io_queuepolicies.yaml | 76 + ....upbound.io_queueredriveallowpolicies.yaml | 76 + ...s.aws.upbound.io_queueredrivepolicies.yaml | 76 + .../crds/ssm.aws.upbound.io_activations.yaml | 76 + .../crds/ssm.aws.upbound.io_associations.yaml | 76 + ....aws.upbound.io_defaultpatchbaselines.yaml | 158 + ...s.upbound.io_maintenancewindowtargets.yaml | 79 + ...aws.upbound.io_maintenancewindowtasks.yaml | 494 + .../crds/ssm.aws.upbound.io_patchgroups.yaml | 77 + .../ssm.aws.upbound.io_resourcedatasyncs.yaml | 80 + ...d.io_customermanagedpolicyattachments.yaml | 80 + ...und.io_permissionsboundaryattachments.yaml | 84 + ...estreamwrite.aws.upbound.io_databases.yaml | 80 + ...nscribe.aws.upbound.io_languagemodels.yaml | 79 + .../crds/transfer.aws.upbound.io_servers.yaml | 315 + .../crds/transfer.aws.upbound.io_sshkeys.yaml | 154 + .../crds/transfer.aws.upbound.io_tags.yaml | 77 + .../crds/transfer.aws.upbound.io_users.yaml | 154 + .../transfer.aws.upbound.io_workflows.yaml | 84 + .../waf.aws.upbound.io_ratebasedrules.yaml | 80 + .../waf.aws.upbound.io_regexmatchsets.yaml | 81 + package/crds/waf.aws.upbound.io_rules.yaml | 80 + package/crds/waf.aws.upbound.io_webacls.yaml | 162 + ...egional.aws.upbound.io_ratebasedrules.yaml | 82 + ...egional.aws.upbound.io_regexmatchsets.yaml | 81 + .../wafregional.aws.upbound.io_rules.yaml | 82 + .../wafregional.aws.upbound.io_webacls.yaml | 164 + ...workspaces.aws.upbound.io_directories.yaml | 244 + ...xray.aws.upbound.io_encryptionconfigs.yaml | 76 + 1497 files changed, 158105 insertions(+), 7442 deletions(-) diff --git a/apis/acm/v1beta1/zz_certificatevalidation_types.go b/apis/acm/v1beta1/zz_certificatevalidation_types.go index 8ebcab2a86..96a72d6b38 100755 --- a/apis/acm/v1beta1/zz_certificatevalidation_types.go +++ b/apis/acm/v1beta1/zz_certificatevalidation_types.go @@ -19,6 +19,18 @@ import ( type CertificateValidationInitParameters struct { + // ARN of the certificate that is being validated. + // +crossplane:generate:reference:type=Certificate + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a Certificate to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a Certificate to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` + // List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is set, the resource can implement additional sanity checks and has an explicit dependency on the resource that is implementing the validation // +listType=set ValidationRecordFqdns []*string `json:"validationRecordFqdns,omitempty" tf:"validation_record_fqdns,omitempty"` diff --git a/apis/acm/v1beta1/zz_generated.deepcopy.go b/apis/acm/v1beta1/zz_generated.deepcopy.go index ad2608e00b..3eb4afaf81 100644 --- a/apis/acm/v1beta1/zz_generated.deepcopy.go +++ b/apis/acm/v1beta1/zz_generated.deepcopy.go @@ -501,6 +501,21 @@ func (in *CertificateValidation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CertificateValidationInitParameters) DeepCopyInto(out *CertificateValidationInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ValidationRecordFqdns != nil { in, out := &in.ValidationRecordFqdns, &out.ValidationRecordFqdns *out = make([]*string, len(*in)) diff --git a/apis/acm/v1beta1/zz_generated.resolvers.go b/apis/acm/v1beta1/zz_generated.resolvers.go index c5d705c4d8..e4942ca14e 100644 --- a/apis/acm/v1beta1/zz_generated.resolvers.go +++ b/apis/acm/v1beta1/zz_generated.resolvers.go @@ -35,5 +35,21 @@ func (mg *CertificateValidation) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CertificateArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CertificateArnRef, + Selector: mg.Spec.InitProvider.CertificateArnSelector, + To: reference.To{ + List: &CertificateList{}, + Managed: &Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateArn") + } + mg.Spec.InitProvider.CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/acmpca/v1beta1/zz_certificate_types.go b/apis/acmpca/v1beta1/zz_certificate_types.go index 23868c1a68..d157144ea8 100755 --- a/apis/acmpca/v1beta1/zz_certificate_types.go +++ b/apis/acmpca/v1beta1/zz_certificate_types.go @@ -22,6 +22,18 @@ type CertificateInitParameters struct { // Specifies X.509 certificate information to be included in the issued certificate. To use with API Passthrough templates APIPassthrough *string `json:"apiPassthrough,omitempty" tf:"api_passthrough,omitempty"` + // ARN of the certificate authority. + // +crossplane:generate:reference:type=CertificateAuthority + CertificateAuthorityArn *string `json:"certificateAuthorityArn,omitempty" tf:"certificate_authority_arn,omitempty"` + + // Reference to a CertificateAuthority to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnRef *v1.Reference `json:"certificateAuthorityArnRef,omitempty" tf:"-"` + + // Selector for a CertificateAuthority to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnSelector *v1.Selector `json:"certificateAuthorityArnSelector,omitempty" tf:"-"` + // Algorithm to use to sign certificate requests. Valid values: SHA256WITHRSA, SHA256WITHECDSA, SHA384WITHRSA, SHA384WITHECDSA, SHA512WITHRSA, SHA512WITHECDSA. SigningAlgorithm *string `json:"signingAlgorithm,omitempty" tf:"signing_algorithm,omitempty"` diff --git a/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go b/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go index 8171cdd72e..744a0fc462 100755 --- a/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go +++ b/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go @@ -18,6 +18,18 @@ import ( ) type CertificateAuthorityCertificateInitParameters struct { + + // ARN of the Certificate Authority. + // +crossplane:generate:reference:type=CertificateAuthority + CertificateAuthorityArn *string `json:"certificateAuthorityArn,omitempty" tf:"certificate_authority_arn,omitempty"` + + // Reference to a CertificateAuthority to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnRef *v1.Reference `json:"certificateAuthorityArnRef,omitempty" tf:"-"` + + // Selector for a CertificateAuthority to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnSelector *v1.Selector `json:"certificateAuthorityArnSelector,omitempty" tf:"-"` } type CertificateAuthorityCertificateObservation struct { diff --git a/apis/acmpca/v1beta1/zz_generated.deepcopy.go b/apis/acmpca/v1beta1/zz_generated.deepcopy.go index 28682dc357..b27165a047 100644 --- a/apis/acmpca/v1beta1/zz_generated.deepcopy.go +++ b/apis/acmpca/v1beta1/zz_generated.deepcopy.go @@ -97,6 +97,21 @@ func (in *CertificateAuthorityCertificate) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CertificateAuthorityCertificateInitParameters) DeepCopyInto(out *CertificateAuthorityCertificateInitParameters) { *out = *in + if in.CertificateAuthorityArn != nil { + in, out := &in.CertificateAuthorityArn, &out.CertificateAuthorityArn + *out = new(string) + **out = **in + } + if in.CertificateAuthorityArnRef != nil { + in, out := &in.CertificateAuthorityArnRef, &out.CertificateAuthorityArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateAuthorityArnSelector != nil { + in, out := &in.CertificateAuthorityArnSelector, &out.CertificateAuthorityArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateAuthorityCertificateInitParameters. @@ -212,7 +227,7 @@ func (in *CertificateAuthorityCertificateSpec) DeepCopyInto(out *CertificateAuth *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 CertificateAuthorityCertificateSpec. @@ -684,6 +699,21 @@ func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters *out = new(string) **out = **in } + if in.CertificateAuthorityArn != nil { + in, out := &in.CertificateAuthorityArn, &out.CertificateAuthorityArn + *out = new(string) + **out = **in + } + if in.CertificateAuthorityArnRef != nil { + in, out := &in.CertificateAuthorityArnRef, &out.CertificateAuthorityArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateAuthorityArnSelector != nil { + in, out := &in.CertificateAuthorityArnSelector, &out.CertificateAuthorityArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SigningAlgorithm != nil { in, out := &in.SigningAlgorithm, &out.SigningAlgorithm *out = new(string) @@ -1136,6 +1166,21 @@ func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters) } } } + if in.CertificateAuthorityArn != nil { + in, out := &in.CertificateAuthorityArn, &out.CertificateAuthorityArn + *out = new(string) + **out = **in + } + if in.CertificateAuthorityArnRef != nil { + in, out := &in.CertificateAuthorityArnRef, &out.CertificateAuthorityArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateAuthorityArnSelector != nil { + in, out := &in.CertificateAuthorityArnSelector, &out.CertificateAuthorityArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Principal != nil { in, out := &in.Principal, &out.Principal *out = new(string) @@ -1367,6 +1412,21 @@ func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { *out = new(string) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters. diff --git a/apis/acmpca/v1beta1/zz_generated.resolvers.go b/apis/acmpca/v1beta1/zz_generated.resolvers.go index 157960250a..e4a826c9f6 100644 --- a/apis/acmpca/v1beta1/zz_generated.resolvers.go +++ b/apis/acmpca/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *Certificate) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateAuthorityArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CertificateAuthorityArnRef, + Selector: mg.Spec.InitProvider.CertificateAuthorityArnSelector, + To: reference.To{ + List: &CertificateAuthorityList{}, + Managed: &CertificateAuthority{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateAuthorityArn") + } + mg.Spec.InitProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + return nil } @@ -62,6 +78,22 @@ func (mg *CertificateAuthorityCertificate) ResolveReferences(ctx context.Context mg.Spec.ForProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateAuthorityArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CertificateAuthorityArnRef, + Selector: mg.Spec.InitProvider.CertificateAuthorityArnSelector, + To: reference.To{ + List: &CertificateAuthorityList{}, + Managed: &CertificateAuthority{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateAuthorityArn") + } + mg.Spec.InitProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + return nil } @@ -88,6 +120,22 @@ func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateAuthorityArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CertificateAuthorityArnRef, + Selector: mg.Spec.InitProvider.CertificateAuthorityArnSelector, + To: reference.To{ + List: &CertificateAuthorityList{}, + Managed: &CertificateAuthority{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateAuthorityArn") + } + mg.Spec.InitProvider.CertificateAuthorityArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateAuthorityArnRef = rsp.ResolvedReference + return nil } @@ -114,5 +162,21 @@ func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &CertificateAuthorityList{}, + Managed: &CertificateAuthority{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/acmpca/v1beta1/zz_permission_types.go b/apis/acmpca/v1beta1/zz_permission_types.go index 5ad9841a67..bd60670862 100755 --- a/apis/acmpca/v1beta1/zz_permission_types.go +++ b/apis/acmpca/v1beta1/zz_permission_types.go @@ -23,6 +23,19 @@ type PermissionInitParameters struct { // +listType=set Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"` + // ARN of the CA that grants the permissions. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acmpca/v1beta1.CertificateAuthority + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CertificateAuthorityArn *string `json:"certificateAuthorityArn,omitempty" tf:"certificate_authority_arn,omitempty"` + + // Reference to a CertificateAuthority in acmpca to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnRef *v1.Reference `json:"certificateAuthorityArnRef,omitempty" tf:"-"` + + // Selector for a CertificateAuthority in acmpca to populate certificateAuthorityArn. + // +kubebuilder:validation:Optional + CertificateAuthorityArnSelector *v1.Selector `json:"certificateAuthorityArnSelector,omitempty" tf:"-"` + // AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com. Principal *string `json:"principal,omitempty" tf:"principal,omitempty"` diff --git a/apis/acmpca/v1beta1/zz_policy_types.go b/apis/acmpca/v1beta1/zz_policy_types.go index 5937972ecf..416145c7d3 100755 --- a/apis/acmpca/v1beta1/zz_policy_types.go +++ b/apis/acmpca/v1beta1/zz_policy_types.go @@ -21,6 +21,19 @@ type PolicyInitParameters struct { // JSON-formatted IAM policy to attach to the specified private CA resource. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // ARN of the private CA to associate with the policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acmpca/v1beta1.CertificateAuthority + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a CertificateAuthority in acmpca to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a CertificateAuthority in acmpca to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type PolicyObservation struct { diff --git a/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go b/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go index 35107998f6..d8d0f56e06 100755 --- a/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go +++ b/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go @@ -21,6 +21,19 @@ type AlertManagerDefinitionInitParameters struct { // the alert manager definition that you want to be applied. See more in AWS Docs. Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // ID of the prometheus workspace the alert manager definition should be linked to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // Reference to a Workspace in amp to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` + + // Selector for a Workspace in amp to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } type AlertManagerDefinitionObservation struct { diff --git a/apis/amp/v1beta1/zz_generated.deepcopy.go b/apis/amp/v1beta1/zz_generated.deepcopy.go index 006e478f81..8db8c11df3 100644 --- a/apis/amp/v1beta1/zz_generated.deepcopy.go +++ b/apis/amp/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *AlertManagerDefinitionInitParameters) DeepCopyInto(out *AlertManagerDe *out = new(string) **out = **in } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceIDRef != nil { + in, out := &in.WorkspaceIDRef, &out.WorkspaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkspaceIDSelector != nil { + in, out := &in.WorkspaceIDSelector, &out.WorkspaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionInitParameters. diff --git a/apis/amp/v1beta1/zz_generated.resolvers.go b/apis/amp/v1beta1/zz_generated.resolvers.go index 1388cd0bd5..4c6243d144 100644 --- a/apis/amp/v1beta1/zz_generated.resolvers.go +++ b/apis/amp/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *AlertManagerDefinition) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkspaceIDRef, + Selector: mg.Spec.InitProvider.WorkspaceIDSelector, + To: reference.To{ + List: &WorkspaceList{}, + Managed: &Workspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceID") + } + mg.Spec.InitProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/amplify/v1beta1/zz_app_types.go b/apis/amplify/v1beta1/zz_app_types.go index 207cafb636..12906d9b2b 100755 --- a/apis/amplify/v1beta1/zz_app_types.go +++ b/apis/amplify/v1beta1/zz_app_types.go @@ -54,6 +54,19 @@ type AppInitParameters struct { // +mapType=granular EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"` + // AWS Identity and Access Management (IAM) service role for an Amplify app. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMServiceRoleArn *string `json:"iamServiceRoleArn,omitempty" tf:"iam_service_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamServiceRoleArn. + // +kubebuilder:validation:Optional + IAMServiceRoleArnRef *v1.Reference `json:"iamServiceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamServiceRoleArn. + // +kubebuilder:validation:Optional + IAMServiceRoleArnSelector *v1.Selector `json:"iamServiceRoleArnSelector,omitempty" tf:"-"` + // Name for an Amplify app. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/amplify/v1beta1/zz_generated.deepcopy.go b/apis/amplify/v1beta1/zz_generated.deepcopy.go index e73020ce23..565be4eb1a 100644 --- a/apis/amplify/v1beta1/zz_generated.deepcopy.go +++ b/apis/amplify/v1beta1/zz_generated.deepcopy.go @@ -119,6 +119,21 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { (*out)[key] = outVal } } + if in.IAMServiceRoleArn != nil { + in, out := &in.IAMServiceRoleArn, &out.IAMServiceRoleArn + *out = new(string) + **out = **in + } + if in.IAMServiceRoleArnRef != nil { + in, out := &in.IAMServiceRoleArnRef, &out.IAMServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMServiceRoleArnSelector != nil { + in, out := &in.IAMServiceRoleArnSelector, &out.IAMServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1676,6 +1691,36 @@ func (in *Webhook) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters) { *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + if in.AppIDRef != nil { + in, out := &in.AppIDRef, &out.AppIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AppIDSelector != nil { + in, out := &in.AppIDSelector, &out.AppIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.BranchName != nil { + in, out := &in.BranchName, &out.BranchName + *out = new(string) + **out = **in + } + if in.BranchNameRef != nil { + in, out := &in.BranchNameRef, &out.BranchNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BranchNameSelector != nil { + in, out := &in.BranchNameSelector, &out.BranchNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) diff --git a/apis/amplify/v1beta1/zz_generated.resolvers.go b/apis/amplify/v1beta1/zz_generated.resolvers.go index 51e76d7482..4bbb2d03e6 100644 --- a/apis/amplify/v1beta1/zz_generated.resolvers.go +++ b/apis/amplify/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *App) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.IAMServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IAMServiceRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMServiceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMServiceRoleArnRef, + Selector: mg.Spec.InitProvider.IAMServiceRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMServiceRoleArn") + } + mg.Spec.InitProvider.IAMServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMServiceRoleArnRef = rsp.ResolvedReference + return nil } @@ -132,5 +148,37 @@ func (mg *Webhook) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.BranchName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BranchNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AppID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AppIDRef, + Selector: mg.Spec.InitProvider.AppIDSelector, + To: reference.To{ + List: &AppList{}, + Managed: &App{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AppID") + } + mg.Spec.InitProvider.AppID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AppIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BranchName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BranchNameRef, + Selector: mg.Spec.InitProvider.BranchNameSelector, + To: reference.To{ + List: &BranchList{}, + Managed: &Branch{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BranchName") + } + mg.Spec.InitProvider.BranchName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BranchNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/amplify/v1beta1/zz_webhook_types.go b/apis/amplify/v1beta1/zz_webhook_types.go index d400b7ddd5..f50b40f241 100755 --- a/apis/amplify/v1beta1/zz_webhook_types.go +++ b/apis/amplify/v1beta1/zz_webhook_types.go @@ -19,6 +19,31 @@ import ( type WebhookInitParameters struct { + // Unique ID for an Amplify app. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta1.App + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"` + + // Reference to a App in amplify to populate appId. + // +kubebuilder:validation:Optional + AppIDRef *v1.Reference `json:"appIdRef,omitempty" tf:"-"` + + // Selector for a App in amplify to populate appId. + // +kubebuilder:validation:Optional + AppIDSelector *v1.Selector `json:"appIdSelector,omitempty" tf:"-"` + + // Name for a branch that is part of the Amplify app. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta1.Branch + BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"` + + // Reference to a Branch in amplify to populate branchName. + // +kubebuilder:validation:Optional + BranchNameRef *v1.Reference `json:"branchNameRef,omitempty" tf:"-"` + + // Selector for a Branch in amplify to populate branchName. + // +kubebuilder:validation:Optional + BranchNameSelector *v1.Selector `json:"branchNameSelector,omitempty" tf:"-"` + // Description for a webhook. Description *string `json:"description,omitempty" tf:"description,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_account_types.go b/apis/apigateway/v1beta1/zz_account_types.go index 039cec5827..afec19710e 100755 --- a/apis/apigateway/v1beta1/zz_account_types.go +++ b/apis/apigateway/v1beta1/zz_account_types.go @@ -18,6 +18,19 @@ import ( ) type AccountInitParameters struct { + + // ARN of an IAM role for CloudWatch (to allow logging & monitoring). See more in AWS Docs. Logging & monitoring can be enabled/disabled and otherwise tuned on the API Gateway Stage level. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CloudwatchRoleArn *string `json:"cloudwatchRoleArn,omitempty" tf:"cloudwatch_role_arn,omitempty"` + + // Reference to a Role in iam to populate cloudwatchRoleArn. + // +kubebuilder:validation:Optional + CloudwatchRoleArnRef *v1.Reference `json:"cloudwatchRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate cloudwatchRoleArn. + // +kubebuilder:validation:Optional + CloudwatchRoleArnSelector *v1.Selector `json:"cloudwatchRoleArnSelector,omitempty" tf:"-"` } type AccountObservation struct { diff --git a/apis/apigateway/v1beta1/zz_authorizer_types.go b/apis/apigateway/v1beta1/zz_authorizer_types.go index fe1186b61f..0f662607f2 100755 --- a/apis/apigateway/v1beta1/zz_authorizer_types.go +++ b/apis/apigateway/v1beta1/zz_authorizer_types.go @@ -19,9 +19,36 @@ import ( type AuthorizerInitParameters struct { + // Credentials required for the authorizer. To specify an IAM Role for API Gateway to assume, use the IAM Role ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + AuthorizerCredentials *string `json:"authorizerCredentials,omitempty" tf:"authorizer_credentials,omitempty"` + + // Reference to a Role in iam to populate authorizerCredentials. + // +kubebuilder:validation:Optional + AuthorizerCredentialsRef *v1.Reference `json:"authorizerCredentialsRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate authorizerCredentials. + // +kubebuilder:validation:Optional + AuthorizerCredentialsSelector *v1.Selector `json:"authorizerCredentialsSelector,omitempty" tf:"-"` + // TTL of cached authorizer results in seconds. Defaults to 300. AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"` + // Authorizer's Uniform Resource Identifier (URI). This must be a well-formed Lambda function URI in the form of arn:aws:apigateway:{region}:lambda:path/{service_api}, + // e.g., arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:012345678912:function:my-function/invocations + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("invoke_arn",true) + AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"` + + // Reference to a Function in lambda to populate authorizerUri. + // +kubebuilder:validation:Optional + AuthorizerURIRef *v1.Reference `json:"authorizerUriRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate authorizerUri. + // +kubebuilder:validation:Optional + AuthorizerURISelector *v1.Selector `json:"authorizerUriSelector,omitempty" tf:"-"` + // Source of the identity in an incoming request. Defaults to method.request.header.Authorization. For REQUEST type, this may be a comma-separated list of values, including headers, query string parameters and stage variables - e.g., "method.request.header.SomeHeaderName,method.request.querystring.SomeQueryStringName,stageVariables.SomeStageVariableName" IdentitySource *string `json:"identitySource,omitempty" tf:"identity_source,omitempty"` @@ -35,6 +62,19 @@ type AuthorizerInitParameters struct { // +listType=set ProviderArns []*string `json:"providerArns,omitempty" tf:"provider_arns,omitempty"` + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Type of the authorizer. Possible values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, or COGNITO_USER_POOLS for using an Amazon Cognito user pool. Defaults to TOKEN. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_basepathmapping_types.go b/apis/apigateway/v1beta1/zz_basepathmapping_types.go index 3b2970b49f..f1c4ec2204 100755 --- a/apis/apigateway/v1beta1/zz_basepathmapping_types.go +++ b/apis/apigateway/v1beta1/zz_basepathmapping_types.go @@ -19,8 +19,47 @@ import ( type BasePathMappingInitParameters struct { + // ID of the API to connect. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // Path segment that must be prepended to the path when accessing the API via this mapping. If omitted, the API is exposed at the root of the given domain. BasePath *string `json:"basePath,omitempty" tf:"base_path,omitempty"` + + // Already-registered domain name to connect the API to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.DomainName + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain_name",false) + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a DomainName in apigateway to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a DomainName in apigateway to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` + + // Name of a specific deployment stage to expose at the given path. If omitted, callers may select any stage by including its name as a path element after the base path. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Stage + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("stage_name",false) + StageName *string `json:"stageName,omitempty" tf:"stage_name,omitempty"` + + // Reference to a Stage in apigateway to populate stageName. + // +kubebuilder:validation:Optional + StageNameRef *v1.Reference `json:"stageNameRef,omitempty" tf:"-"` + + // Selector for a Stage in apigateway to populate stageName. + // +kubebuilder:validation:Optional + StageNameSelector *v1.Selector `json:"stageNameSelector,omitempty" tf:"-"` } type BasePathMappingObservation struct { diff --git a/apis/apigateway/v1beta1/zz_deployment_types.go b/apis/apigateway/v1beta1/zz_deployment_types.go index 8d952e8616..546780141f 100755 --- a/apis/apigateway/v1beta1/zz_deployment_types.go +++ b/apis/apigateway/v1beta1/zz_deployment_types.go @@ -22,6 +22,19 @@ type DeploymentInitParameters struct { // Description of the deployment Description *string `json:"description,omitempty" tf:"description,omitempty"` + // REST API identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Description to set on the stage managed by the stage_name argument. StageDescription *string `json:"stageDescription,omitempty" tf:"stage_description,omitempty"` diff --git a/apis/apigateway/v1beta1/zz_documentationpart_types.go b/apis/apigateway/v1beta1/zz_documentationpart_types.go index 2b09327a63..39c0e03b12 100755 --- a/apis/apigateway/v1beta1/zz_documentationpart_types.go +++ b/apis/apigateway/v1beta1/zz_documentationpart_types.go @@ -24,6 +24,19 @@ type DocumentationPartInitParameters struct { // Content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ "description": "The API does ..." }". Only Swagger-compliant key-value pairs can be exported and, hence, published. Properties *string `json:"properties,omitempty" tf:"properties,omitempty"` + + // ID of the associated Rest API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` } type DocumentationPartObservation struct { diff --git a/apis/apigateway/v1beta1/zz_documentationversion_types.go b/apis/apigateway/v1beta1/zz_documentationversion_types.go index 2690252e0a..4977ad9b0a 100755 --- a/apis/apigateway/v1beta1/zz_documentationversion_types.go +++ b/apis/apigateway/v1beta1/zz_documentationversion_types.go @@ -22,6 +22,19 @@ type DocumentationVersionInitParameters struct { // Description of the API documentation version. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // ID of the associated Rest API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Version identifier of the API documentation snapshot. Version *string `json:"version,omitempty" tf:"version,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_domainname_types.go b/apis/apigateway/v1beta1/zz_domainname_types.go index 4d7fb63113..0caf344d26 100755 --- a/apis/apigateway/v1beta1/zz_domainname_types.go +++ b/apis/apigateway/v1beta1/zz_domainname_types.go @@ -19,6 +19,19 @@ import ( type DomainNameInitParameters struct { + // ARN for an AWS-managed certificate. AWS Certificate Manager is the only supported source. Used when an edge-optimized domain name is desired. Conflicts with certificate_name, certificate_body, certificate_chain, certificate_private_key, regional_certificate_arn, and regional_certificate_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.CertificateValidation + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("certificate_arn",false) + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a CertificateValidation in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a CertificateValidation in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` + // Certificate issued for the domain name being registered, in PEM format. Only valid for EDGE endpoint configuration type. Conflicts with certificate_arn, regional_certificate_arn, and regional_certificate_name. CertificateBody *string `json:"certificateBody,omitempty" tf:"certificate_body,omitempty"` @@ -40,6 +53,19 @@ type DomainNameInitParameters struct { // ARN of the AWS-issued certificate used to validate custom domain ownership (when certificate_arn is issued via an ACM Private CA or mutual_tls_authentication is configured with an ACM-imported certificate.) OwnershipVerificationCertificateArn *string `json:"ownershipVerificationCertificateArn,omitempty" tf:"ownership_verification_certificate_arn,omitempty"` + // ARN for an AWS-managed certificate. AWS Certificate Manager is the only supported source. Used when a regional domain name is desired. Conflicts with certificate_arn, certificate_name, certificate_body, certificate_chain, and certificate_private_key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.CertificateValidation + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("certificate_arn",false) + RegionalCertificateArn *string `json:"regionalCertificateArn,omitempty" tf:"regional_certificate_arn,omitempty"` + + // Reference to a CertificateValidation in acm to populate regionalCertificateArn. + // +kubebuilder:validation:Optional + RegionalCertificateArnRef *v1.Reference `json:"regionalCertificateArnRef,omitempty" tf:"-"` + + // Selector for a CertificateValidation in acm to populate regionalCertificateArn. + // +kubebuilder:validation:Optional + RegionalCertificateArnSelector *v1.Selector `json:"regionalCertificateArnSelector,omitempty" tf:"-"` + // User-friendly name of the certificate that will be used by regional endpoint for this domain name. Conflicts with certificate_arn, certificate_name, certificate_body, certificate_chain, and certificate_private_key. RegionalCertificateName *string `json:"regionalCertificateName,omitempty" tf:"regional_certificate_name,omitempty"` diff --git a/apis/apigateway/v1beta1/zz_gatewayresponse_types.go b/apis/apigateway/v1beta1/zz_gatewayresponse_types.go index 42180660a7..f810e579e5 100755 --- a/apis/apigateway/v1beta1/zz_gatewayresponse_types.go +++ b/apis/apigateway/v1beta1/zz_gatewayresponse_types.go @@ -30,6 +30,19 @@ type GatewayResponseInitParameters struct { // Response type of the associated GatewayResponse. ResponseType *string `json:"responseType,omitempty" tf:"response_type,omitempty"` + // String identifier of the associated REST API. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // HTTP status code of the Gateway Response. StatusCode *string `json:"statusCode,omitempty" tf:"status_code,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_generated.deepcopy.go b/apis/apigateway/v1beta1/zz_generated.deepcopy.go index ef165287dc..90f280a4e1 100644 --- a/apis/apigateway/v1beta1/zz_generated.deepcopy.go +++ b/apis/apigateway/v1beta1/zz_generated.deepcopy.go @@ -309,6 +309,36 @@ func (in *APIKeyStatus) DeepCopy() *APIKeyStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *APIStagesInitParameters) DeepCopyInto(out *APIStagesInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Stage != nil { + in, out := &in.Stage, &out.Stage + *out = new(string) + **out = **in + } + if in.StageRef != nil { + in, out := &in.StageRef, &out.StageRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StageSelector != nil { + in, out := &in.StageSelector, &out.StageSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Throttle != nil { in, out := &in.Throttle, &out.Throttle *out = make([]ThrottleInitParameters, len(*in)) @@ -517,6 +547,21 @@ func (in *Account) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AccountInitParameters) DeepCopyInto(out *AccountInitParameters) { *out = *in + if in.CloudwatchRoleArn != nil { + in, out := &in.CloudwatchRoleArn, &out.CloudwatchRoleArn + *out = new(string) + **out = **in + } + if in.CloudwatchRoleArnRef != nil { + in, out := &in.CloudwatchRoleArnRef, &out.CloudwatchRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchRoleArnSelector != nil { + in, out := &in.CloudwatchRoleArnSelector, &out.CloudwatchRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInitParameters. @@ -649,7 +694,7 @@ func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { *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 AccountSpec. @@ -709,11 +754,41 @@ func (in *Authorizer) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthorizerInitParameters) DeepCopyInto(out *AuthorizerInitParameters) { *out = *in + if in.AuthorizerCredentials != nil { + in, out := &in.AuthorizerCredentials, &out.AuthorizerCredentials + *out = new(string) + **out = **in + } + if in.AuthorizerCredentialsRef != nil { + in, out := &in.AuthorizerCredentialsRef, &out.AuthorizerCredentialsRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerCredentialsSelector != nil { + in, out := &in.AuthorizerCredentialsSelector, &out.AuthorizerCredentialsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AuthorizerResultTTLInSeconds != nil { in, out := &in.AuthorizerResultTTLInSeconds, &out.AuthorizerResultTTLInSeconds *out = new(float64) **out = **in } + if in.AuthorizerURI != nil { + in, out := &in.AuthorizerURI, &out.AuthorizerURI + *out = new(string) + **out = **in + } + if in.AuthorizerURIRef != nil { + in, out := &in.AuthorizerURIRef, &out.AuthorizerURIRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerURISelector != nil { + in, out := &in.AuthorizerURISelector, &out.AuthorizerURISelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IdentitySource != nil { in, out := &in.IdentitySource, &out.IdentitySource *out = new(string) @@ -740,6 +815,21 @@ func (in *AuthorizerInitParameters) DeepCopyInto(out *AuthorizerInitParameters) } } } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1031,11 +1121,56 @@ func (in *BasePathMapping) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BasePathMappingInitParameters) DeepCopyInto(out *BasePathMappingInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BasePath != nil { in, out := &in.BasePath, &out.BasePath *out = new(string) **out = **in } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StageName != nil { + in, out := &in.StageName, &out.StageName + *out = new(string) + **out = **in + } + if in.StageNameRef != nil { + in, out := &in.StageNameRef, &out.StageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StageNameSelector != nil { + in, out := &in.StageNameSelector, &out.StageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasePathMappingInitParameters. @@ -1631,6 +1766,21 @@ func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StageDescription != nil { in, out := &in.StageDescription, &out.StageDescription *out = new(string) @@ -1963,6 +2113,21 @@ func (in *DocumentationPartInitParameters) DeepCopyInto(out *DocumentationPartIn *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentationPartInitParameters. @@ -2161,6 +2326,21 @@ func (in *DocumentationVersionInitParameters) DeepCopyInto(out *DocumentationVer *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Version != nil { in, out := &in.Version, &out.Version *out = new(string) @@ -2355,6 +2535,21 @@ func (in *DomainName) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DomainNameInitParameters) DeepCopyInto(out *DomainNameInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CertificateBody != nil { in, out := &in.CertificateBody, &out.CertificateBody *out = new(string) @@ -2394,6 +2589,21 @@ func (in *DomainNameInitParameters) DeepCopyInto(out *DomainNameInitParameters) *out = new(string) **out = **in } + if in.RegionalCertificateArn != nil { + in, out := &in.RegionalCertificateArn, &out.RegionalCertificateArn + *out = new(string) + **out = **in + } + if in.RegionalCertificateArnRef != nil { + in, out := &in.RegionalCertificateArnRef, &out.RegionalCertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RegionalCertificateArnSelector != nil { + in, out := &in.RegionalCertificateArnSelector, &out.RegionalCertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RegionalCertificateName != nil { in, out := &in.RegionalCertificateName, &out.RegionalCertificateName *out = new(string) @@ -2905,6 +3115,21 @@ func (in *GatewayResponseInitParameters) DeepCopyInto(out *GatewayResponseInitPa *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StatusCode != nil { in, out := &in.StatusCode, &out.StatusCode *out = new(string) @@ -3179,6 +3404,21 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConnectionType != nil { in, out := &in.ConnectionType, &out.ConnectionType *out = new(string) @@ -3194,6 +3434,21 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters *out = new(string) **out = **in } + if in.HTTPMethod != nil { + in, out := &in.HTTPMethod, &out.HTTPMethod + *out = new(string) + **out = **in + } + if in.HTTPMethodRef != nil { + in, out := &in.HTTPMethodRef, &out.HTTPMethodRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HTTPMethodSelector != nil { + in, out := &in.HTTPMethodSelector, &out.HTTPMethodSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IntegrationHTTPMethod != nil { in, out := &in.IntegrationHTTPMethod, &out.IntegrationHTTPMethod *out = new(string) @@ -3236,6 +3491,36 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters (*out)[key] = outVal } } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TLSConfig != nil { in, out := &in.TLSConfig, &out.TLSConfig *out = make([]TLSConfigInitParameters, len(*in)) @@ -3253,6 +3538,21 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters *out = new(string) **out = **in } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } + if in.URIRef != nil { + in, out := &in.URIRef, &out.URIRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.URISelector != nil { + in, out := &in.URISelector, &out.URISelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationInitParameters. @@ -3652,6 +3952,36 @@ func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationRespon *out = new(string) **out = **in } + if in.HTTPMethod != nil { + in, out := &in.HTTPMethod, &out.HTTPMethod + *out = new(string) + **out = **in + } + if in.HTTPMethodRef != nil { + in, out := &in.HTTPMethodRef, &out.HTTPMethodRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HTTPMethodSelector != nil { + in, out := &in.HTTPMethodSelector, &out.HTTPMethodSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ResponseParameters != nil { in, out := &in.ResponseParameters, &out.ResponseParameters *out = make(map[string]*string, len(*in)) @@ -3684,11 +4014,41 @@ func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationRespon (*out)[key] = outVal } } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SelectionPattern != nil { in, out := &in.SelectionPattern, &out.SelectionPattern *out = new(string) **out = **in } + if in.StatusCode != nil { + in, out := &in.StatusCode, &out.StatusCode + *out = new(string) + **out = **in + } + if in.StatusCodeRef != nil { + in, out := &in.StatusCodeRef, &out.StatusCodeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StatusCodeSelector != nil { + in, out := &in.StatusCodeSelector, &out.StatusCodeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationResponseInitParameters. @@ -4178,6 +4538,21 @@ func (in *MethodInitParameters) DeepCopyInto(out *MethodInitParameters) { } } } + if in.AuthorizerID != nil { + in, out := &in.AuthorizerID, &out.AuthorizerID + *out = new(string) + **out = **in + } + if in.AuthorizerIDRef != nil { + in, out := &in.AuthorizerIDRef, &out.AuthorizerIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerIDSelector != nil { + in, out := &in.AuthorizerIDSelector, &out.AuthorizerIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.HTTPMethod != nil { in, out := &in.HTTPMethod, &out.HTTPMethod *out = new(string) @@ -4220,11 +4595,41 @@ func (in *MethodInitParameters) DeepCopyInto(out *MethodInitParameters) { (*out)[key] = outVal } } - if in.RequestValidatorID != nil { - in, out := &in.RequestValidatorID, &out.RequestValidatorID + if in.RequestValidatorID != nil { + in, out := &in.RequestValidatorID, &out.RequestValidatorID + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID *out = new(string) **out = **in } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MethodInitParameters. @@ -4535,6 +4940,36 @@ func (in *MethodResponse) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MethodResponseInitParameters) DeepCopyInto(out *MethodResponseInitParameters) { *out = *in + if in.HTTPMethod != nil { + in, out := &in.HTTPMethod, &out.HTTPMethod + *out = new(string) + **out = **in + } + if in.HTTPMethodRef != nil { + in, out := &in.HTTPMethodRef, &out.HTTPMethodRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HTTPMethodSelector != nil { + in, out := &in.HTTPMethodSelector, &out.HTTPMethodSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ResponseModels != nil { in, out := &in.ResponseModels, &out.ResponseModels *out = make(map[string]*string, len(*in)) @@ -4567,6 +5002,21 @@ func (in *MethodResponseInitParameters) DeepCopyInto(out *MethodResponseInitPara (*out)[key] = outVal } } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StatusCode != nil { in, out := &in.StatusCode, &out.StatusCode *out = new(string) @@ -4860,6 +5310,21 @@ func (in *MethodSettingsInitParameters) DeepCopyInto(out *MethodSettingsInitPara *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Settings != nil { in, out := &in.Settings, &out.Settings *out = make([]SettingsInitParameters, len(*in)) @@ -4867,6 +5332,21 @@ func (in *MethodSettingsInitParameters) DeepCopyInto(out *MethodSettingsInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.StageName != nil { + in, out := &in.StageName, &out.StageName + *out = new(string) + **out = **in + } + if in.StageNameRef != nil { + in, out := &in.StageNameRef, &out.StageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StageNameSelector != nil { + in, out := &in.StageNameSelector, &out.StageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MethodSettingsInitParameters. @@ -5130,6 +5610,21 @@ func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Schema != nil { in, out := &in.Schema, &out.Schema *out = new(string) @@ -5514,6 +6009,21 @@ func (in *RequestValidatorInitParameters) DeepCopyInto(out *RequestValidatorInit *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ValidateRequestBody != nil { in, out := &in.ValidateRequestBody, &out.ValidateRequestBody *out = new(bool) @@ -5723,11 +6233,41 @@ func (in *Resource) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters) { *out = *in + if in.ParentID != nil { + in, out := &in.ParentID, &out.ParentID + *out = new(string) + **out = **in + } + if in.ParentIDRef != nil { + in, out := &in.ParentIDRef, &out.ParentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ParentIDSelector != nil { + in, out := &in.ParentIDSelector, &out.ParentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PathPart != nil { in, out := &in.PathPart, &out.PathPart *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. @@ -6473,6 +7013,21 @@ func (in *RestAPIPolicyInitParameters) DeepCopyInto(out *RestAPIPolicyInitParame *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestAPIPolicyInitParameters. @@ -6911,6 +7466,21 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { *out = new(string) **out = **in } + if in.DeploymentID != nil { + in, out := &in.DeploymentID, &out.DeploymentID + *out = new(string) + **out = **in + } + if in.DeploymentIDRef != nil { + in, out := &in.DeploymentIDRef, &out.DeploymentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeploymentIDSelector != nil { + in, out := &in.DeploymentIDSelector, &out.DeploymentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -6921,6 +7491,21 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { *out = new(string) **out = **in } + if in.RestAPIID != nil { + in, out := &in.RestAPIID, &out.RestAPIID + *out = new(string) + **out = **in + } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StageName != nil { in, out := &in.StageName, &out.StageName *out = new(string) @@ -7649,11 +8234,41 @@ func (in *UsagePlanKey) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UsagePlanKeyInitParameters) DeepCopyInto(out *UsagePlanKeyInitParameters) { *out = *in + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.KeyType != nil { in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } + if in.UsagePlanID != nil { + in, out := &in.UsagePlanID, &out.UsagePlanID + *out = new(string) + **out = **in + } + if in.UsagePlanIDRef != nil { + in, out := &in.UsagePlanIDRef, &out.UsagePlanIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UsagePlanIDSelector != nil { + in, out := &in.UsagePlanIDSelector, &out.UsagePlanIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsagePlanKeyInitParameters. @@ -8196,6 +8811,29 @@ func (in *VPCLinkInitParameters) DeepCopyInto(out *VPCLinkInitParameters) { (*out)[key] = outVal } } + if in.TargetArnRefs != nil { + in, out := &in.TargetArnRefs, &out.TargetArnRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TargetArns != nil { + in, out := &in.TargetArns, &out.TargetArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCLinkInitParameters. diff --git a/apis/apigateway/v1beta1/zz_generated.resolvers.go b/apis/apigateway/v1beta1/zz_generated.resolvers.go index fca7e9a586..41984586bf 100644 --- a/apis/apigateway/v1beta1/zz_generated.resolvers.go +++ b/apis/apigateway/v1beta1/zz_generated.resolvers.go @@ -41,6 +41,22 @@ func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.CloudwatchRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CloudwatchRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.CloudwatchRoleArnRef, + Selector: mg.Spec.InitProvider.CloudwatchRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchRoleArn") + } + mg.Spec.InitProvider.CloudwatchRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchRoleArnRef = rsp.ResolvedReference + return nil } @@ -99,6 +115,54 @@ func (mg *Authorizer) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AuthorizerCredentials), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.AuthorizerCredentialsRef, + Selector: mg.Spec.InitProvider.AuthorizerCredentialsSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AuthorizerCredentials") + } + mg.Spec.InitProvider.AuthorizerCredentials = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AuthorizerCredentialsRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AuthorizerURI), + Extract: resource.ExtractParamPath("invoke_arn", true), + Reference: mg.Spec.InitProvider.AuthorizerURIRef, + Selector: mg.Spec.InitProvider.AuthorizerURISelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AuthorizerURI") + } + mg.Spec.InitProvider.AuthorizerURI = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AuthorizerURIRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -157,6 +221,54 @@ func (mg *BasePathMapping) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.StageName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StageNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: resource.ExtractParamPath("domain_name", false), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainNameList{}, + Managed: &DomainName{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StageName), + Extract: resource.ExtractParamPath("stage_name", false), + Reference: mg.Spec.InitProvider.StageNameRef, + Selector: mg.Spec.InitProvider.StageNameSelector, + To: reference.To{ + List: &StageList{}, + Managed: &Stage{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StageName") + } + mg.Spec.InitProvider.StageName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StageNameRef = rsp.ResolvedReference + return nil } @@ -183,6 +295,22 @@ func (mg *Deployment) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -209,6 +337,22 @@ func (mg *DocumentationPart) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -235,6 +379,22 @@ func (mg *DocumentationVersion) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -277,6 +437,38 @@ func (mg *DomainName) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.RegionalCertificateArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RegionalCertificateArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateArn), + Extract: resource.ExtractParamPath("certificate_arn", false), + Reference: mg.Spec.InitProvider.CertificateArnRef, + Selector: mg.Spec.InitProvider.CertificateArnSelector, + To: reference.To{ + List: &v1beta12.CertificateValidationList{}, + Managed: &v1beta12.CertificateValidation{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateArn") + } + mg.Spec.InitProvider.CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegionalCertificateArn), + Extract: resource.ExtractParamPath("certificate_arn", false), + Reference: mg.Spec.InitProvider.RegionalCertificateArnRef, + Selector: mg.Spec.InitProvider.RegionalCertificateArnSelector, + To: reference.To{ + List: &v1beta12.CertificateValidationList{}, + Managed: &v1beta12.CertificateValidation{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RegionalCertificateArn") + } + mg.Spec.InitProvider.RegionalCertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RegionalCertificateArnRef = rsp.ResolvedReference + return nil } @@ -303,6 +495,22 @@ func (mg *GatewayResponse) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -393,6 +601,86 @@ func (mg *Integration) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.URI = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.URIRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &VPCLinkList{}, + Managed: &VPCLink{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPMethod), + Extract: resource.ExtractParamPath("http_method", false), + Reference: mg.Spec.InitProvider.HTTPMethodRef, + Selector: mg.Spec.InitProvider.HTTPMethodSelector, + To: reference.To{ + List: &MethodList{}, + Managed: &Method{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPMethod") + } + mg.Spec.InitProvider.HTTPMethod = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPMethodRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ResourceList{}, + Managed: &Resource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.URI), + Extract: resource.ExtractParamPath("invoke_arn", true), + Reference: mg.Spec.InitProvider.URIRef, + Selector: mg.Spec.InitProvider.URISelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.URI") + } + mg.Spec.InitProvider.URI = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.URIRef = rsp.ResolvedReference + return nil } @@ -467,6 +755,70 @@ func (mg *IntegrationResponse) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.StatusCode = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StatusCodeRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPMethod), + Extract: resource.ExtractParamPath("http_method", false), + Reference: mg.Spec.InitProvider.HTTPMethodRef, + Selector: mg.Spec.InitProvider.HTTPMethodSelector, + To: reference.To{ + List: &MethodList{}, + Managed: &Method{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPMethod") + } + mg.Spec.InitProvider.HTTPMethod = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPMethodRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ResourceList{}, + Managed: &Resource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StatusCode), + Extract: resource.ExtractParamPath("status_code", false), + Reference: mg.Spec.InitProvider.StatusCodeRef, + Selector: mg.Spec.InitProvider.StatusCodeSelector, + To: reference.To{ + List: &MethodResponseList{}, + Managed: &MethodResponse{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StatusCode") + } + mg.Spec.InitProvider.StatusCode = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StatusCodeRef = rsp.ResolvedReference + return nil } @@ -525,6 +877,54 @@ func (mg *Method) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AuthorizerID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AuthorizerIDRef, + Selector: mg.Spec.InitProvider.AuthorizerIDSelector, + To: reference.To{ + List: &AuthorizerList{}, + Managed: &Authorizer{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AuthorizerID") + } + mg.Spec.InitProvider.AuthorizerID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AuthorizerIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ResourceList{}, + Managed: &Resource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -583,6 +983,54 @@ func (mg *MethodResponse) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPMethod), + Extract: resource.ExtractParamPath("http_method", false), + Reference: mg.Spec.InitProvider.HTTPMethodRef, + Selector: mg.Spec.InitProvider.HTTPMethodSelector, + To: reference.To{ + List: &MethodList{}, + Managed: &Method{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPMethod") + } + mg.Spec.InitProvider.HTTPMethod = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPMethodRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ResourceList{}, + Managed: &Resource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -625,6 +1073,38 @@ func (mg *MethodSettings) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.StageName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StageNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StageName), + Extract: resource.ExtractParamPath("stage_name", false), + Reference: mg.Spec.InitProvider.StageNameRef, + Selector: mg.Spec.InitProvider.StageNameSelector, + To: reference.To{ + List: &StageList{}, + Managed: &Stage{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StageName") + } + mg.Spec.InitProvider.StageName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StageNameRef = rsp.ResolvedReference + return nil } @@ -651,6 +1131,22 @@ func (mg *Model) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -677,6 +1173,22 @@ func (mg *RequestValidator) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -719,6 +1231,38 @@ func (mg *Resource) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ParentID), + Extract: resource.ExtractParamPath("root_resource_id", true), + Reference: mg.Spec.InitProvider.ParentIDRef, + Selector: mg.Spec.InitProvider.ParentIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ParentID") + } + mg.Spec.InitProvider.ParentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ParentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -745,6 +1289,22 @@ func (mg *RestAPIPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -787,6 +1347,38 @@ func (mg *Stage) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RestAPIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeploymentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DeploymentIDRef, + Selector: mg.Spec.InitProvider.DeploymentIDSelector, + To: reference.To{ + List: &DeploymentList{}, + Managed: &Deployment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeploymentID") + } + mg.Spec.InitProvider.DeploymentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeploymentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestAPIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RestAPIIDRef, + Selector: mg.Spec.InitProvider.RestAPIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestAPIID") + } + mg.Spec.InitProvider.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestAPIIDRef = rsp.ResolvedReference + return nil } @@ -832,6 +1424,42 @@ func (mg *UsagePlan) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.APIStages[i3].Stage = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIStages[i3].StageRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.APIStages); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIStages[i3].APIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.APIStages[i3].APIIDRef, + Selector: mg.Spec.InitProvider.APIStages[i3].APIIDSelector, + To: reference.To{ + List: &RestAPIList{}, + Managed: &RestAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIStages[i3].APIID") + } + mg.Spec.InitProvider.APIStages[i3].APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIStages[i3].APIIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.APIStages); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIStages[i3].Stage), + Extract: resource.ExtractParamPath("stage_name", false), + Reference: mg.Spec.InitProvider.APIStages[i3].StageRef, + Selector: mg.Spec.InitProvider.APIStages[i3].StageSelector, + To: reference.To{ + List: &StageList{}, + Managed: &Stage{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIStages[i3].Stage") + } + mg.Spec.InitProvider.APIStages[i3].Stage = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIStages[i3].StageRef = rsp.ResolvedReference + } return nil @@ -876,6 +1504,38 @@ func (mg *UsagePlanKey) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.UsagePlanID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UsagePlanIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.KeyIDRef, + Selector: mg.Spec.InitProvider.KeyIDSelector, + To: reference.To{ + List: &APIKeyList{}, + Managed: &APIKey{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyID") + } + mg.Spec.InitProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UsagePlanID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.UsagePlanIDRef, + Selector: mg.Spec.InitProvider.UsagePlanIDSelector, + To: reference.To{ + List: &UsagePlanList{}, + Managed: &UsagePlan{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UsagePlanID") + } + mg.Spec.InitProvider.UsagePlanID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UsagePlanIDRef = rsp.ResolvedReference + return nil } @@ -902,5 +1562,21 @@ func (mg *VPCLink) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.TargetArns = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.TargetArnRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.TargetArns), + Extract: common.ARNExtractor(), + References: mg.Spec.InitProvider.TargetArnRefs, + Selector: mg.Spec.InitProvider.TargetArnSelector, + To: reference.To{ + List: &v1beta13.LBList{}, + Managed: &v1beta13.LB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetArns") + } + mg.Spec.InitProvider.TargetArns = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.TargetArnRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/apigateway/v1beta1/zz_integration_types.go b/apis/apigateway/v1beta1/zz_integration_types.go index 83c9710deb..37e9a30f2a 100755 --- a/apis/apigateway/v1beta1/zz_integration_types.go +++ b/apis/apigateway/v1beta1/zz_integration_types.go @@ -26,6 +26,19 @@ type IntegrationInitParameters struct { // Integration's cache namespace. CacheNamespace *string `json:"cacheNamespace,omitempty" tf:"cache_namespace,omitempty"` + // ID of the VpcLink used for the integration. Required if connection_type is VPC_LINK + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.VPCLink + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a VPCLink in apigateway to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a VPCLink in apigateway to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // Integration input's connectionType. Valid values are INTERNET (default for connections through the public routable internet), and VPC_LINK (for private connections between API Gateway and a network load balancer in a VPC). ConnectionType *string `json:"connectionType,omitempty" tf:"connection_type,omitempty"` @@ -35,6 +48,20 @@ type IntegrationInitParameters struct { // Credentials required for the integration. For AWS integrations, 2 options are available. To specify an IAM Role for Amazon API Gateway to assume, use the role's ARN. To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. Credentials *string `json:"credentials,omitempty" tf:"credentials,omitempty"` + // HTTP method (GET, POST, PUT, DELETE, HEAD, OPTION, ANY) + // when calling the associated resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Method + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("http_method",false) + HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` + + // Reference to a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodRef *v1.Reference `json:"httpMethodRef,omitempty" tf:"-"` + + // Selector for a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodSelector *v1.Selector `json:"httpMethodSelector,omitempty" tf:"-"` + // Integration HTTP method // (GET, POST, PUT, DELETE, HEAD, OPTIONs, ANY, PATCH) specifying how API Gateway will interact with the back end. // Required if type is AWS, AWS_PROXY, HTTP or HTTP_PROXY. @@ -54,6 +81,32 @@ type IntegrationInitParameters struct { // +mapType=granular RequestTemplates map[string]*string `json:"requestTemplates,omitempty" tf:"request_templates,omitempty"` + // API resource ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Resource + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + + // ID of the associated REST API. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // TLS configuration. See below. TLSConfig []TLSConfigInitParameters `json:"tlsConfig,omitempty" tf:"tls_config,omitempty"` @@ -62,6 +115,21 @@ type IntegrationInitParameters struct { // Integration input's type. Valid values are HTTP (for HTTP backends), MOCK (not calling any real backend), AWS (for AWS services), AWS_PROXY (for Lambda proxy integration) and HTTP_PROXY (for HTTP proxy integration). An HTTP or HTTP_PROXY integration with a connection_type of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Input's URI. Required if type is AWS, AWS_PROXY, HTTP or HTTP_PROXY. + // For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification . For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. region, subdomain and service are used to determine the right endpoint. + // e.g., arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:012345678901:function:my-func/invocations. For private integrations, the URI parameter is not used for routing requests to your endpoint, but is used for setting the Host header and for certificate validation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("invoke_arn",true) + URI *string `json:"uri,omitempty" tf:"uri,omitempty"` + + // Reference to a Function in lambda to populate uri. + // +kubebuilder:validation:Optional + URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate uri. + // +kubebuilder:validation:Optional + URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"` } type IntegrationObservation struct { diff --git a/apis/apigateway/v1beta1/zz_integrationresponse_types.go b/apis/apigateway/v1beta1/zz_integrationresponse_types.go index 264f5d51ee..5c046eab9d 100755 --- a/apis/apigateway/v1beta1/zz_integrationresponse_types.go +++ b/apis/apigateway/v1beta1/zz_integrationresponse_types.go @@ -22,6 +22,32 @@ type IntegrationResponseInitParameters struct { // How to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. ContentHandling *string `json:"contentHandling,omitempty" tf:"content_handling,omitempty"` + // HTTP method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Method + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("http_method",false) + HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` + + // Reference to a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodRef *v1.Reference `json:"httpMethodRef,omitempty" tf:"-"` + + // Selector for a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodSelector *v1.Selector `json:"httpMethodSelector,omitempty" tf:"-"` + + // API resource ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Resource + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + // Map of response parameters that can be read from the backend response. For example: response_parameters = { "method.response.header.X-Some-Header" = "integration.response.header.X-Some-Other-Header" }. // +mapType=granular ResponseParameters map[string]*string `json:"responseParameters,omitempty" tf:"response_parameters,omitempty"` @@ -30,8 +56,34 @@ type IntegrationResponseInitParameters struct { // +mapType=granular ResponseTemplates map[string]*string `json:"responseTemplates,omitempty" tf:"response_templates,omitempty"` + // ID of the associated REST API. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Regular expression pattern used to choose an integration response based on the response from the backend. Omit configuring this to make the integration the default one. If the backend is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS backends, the HTTP status code is matched. SelectionPattern *string `json:"selectionPattern,omitempty" tf:"selection_pattern,omitempty"` + + // HTTP status code. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.MethodResponse + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("status_code",false) + StatusCode *string `json:"statusCode,omitempty" tf:"status_code,omitempty"` + + // Reference to a MethodResponse in apigateway to populate statusCode. + // +kubebuilder:validation:Optional + StatusCodeRef *v1.Reference `json:"statusCodeRef,omitempty" tf:"-"` + + // Selector for a MethodResponse in apigateway to populate statusCode. + // +kubebuilder:validation:Optional + StatusCodeSelector *v1.Selector `json:"statusCodeSelector,omitempty" tf:"-"` } type IntegrationResponseObservation struct { diff --git a/apis/apigateway/v1beta1/zz_method_types.go b/apis/apigateway/v1beta1/zz_method_types.go index eeb3672397..8de4451417 100755 --- a/apis/apigateway/v1beta1/zz_method_types.go +++ b/apis/apigateway/v1beta1/zz_method_types.go @@ -29,6 +29,19 @@ type MethodInitParameters struct { // +listType=set AuthorizationScopes []*string `json:"authorizationScopes,omitempty" tf:"authorization_scopes,omitempty"` + // Authorizer id to be used when the authorization is CUSTOM or COGNITO_USER_POOLS + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Authorizer + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AuthorizerID *string `json:"authorizerId,omitempty" tf:"authorizer_id,omitempty"` + + // Reference to a Authorizer in apigateway to populate authorizerId. + // +kubebuilder:validation:Optional + AuthorizerIDRef *v1.Reference `json:"authorizerIdRef,omitempty" tf:"-"` + + // Selector for a Authorizer in apigateway to populate authorizerId. + // +kubebuilder:validation:Optional + AuthorizerIDSelector *v1.Selector `json:"authorizerIdSelector,omitempty" tf:"-"` + // HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY) HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` @@ -48,6 +61,32 @@ type MethodInitParameters struct { // ID of a aws_api_gateway_request_validator RequestValidatorID *string `json:"requestValidatorId,omitempty" tf:"request_validator_id,omitempty"` + + // API resource ID + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Resource + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` } type MethodObservation struct { diff --git a/apis/apigateway/v1beta1/zz_methodresponse_types.go b/apis/apigateway/v1beta1/zz_methodresponse_types.go index a4190751a9..512cb71675 100755 --- a/apis/apigateway/v1beta1/zz_methodresponse_types.go +++ b/apis/apigateway/v1beta1/zz_methodresponse_types.go @@ -19,6 +19,32 @@ import ( type MethodResponseInitParameters struct { + // HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY) + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Method + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("http_method",false) + HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"` + + // Reference to a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodRef *v1.Reference `json:"httpMethodRef,omitempty" tf:"-"` + + // Selector for a Method in apigateway to populate httpMethod. + // +kubebuilder:validation:Optional + HTTPMethodSelector *v1.Selector `json:"httpMethodSelector,omitempty" tf:"-"` + + // API resource ID + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Resource + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Resource in apigateway to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + // Map of the API models used for the response's content type // +mapType=granular ResponseModels map[string]*string `json:"responseModels,omitempty" tf:"response_models,omitempty"` @@ -29,6 +55,19 @@ type MethodResponseInitParameters struct { // +mapType=granular ResponseParameters map[string]*bool `json:"responseParameters,omitempty" tf:"response_parameters,omitempty"` + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // HTTP status code StatusCode *string `json:"statusCode,omitempty" tf:"status_code,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_methodsettings_types.go b/apis/apigateway/v1beta1/zz_methodsettings_types.go index 632b8a5b40..8565658260 100755 --- a/apis/apigateway/v1beta1/zz_methodsettings_types.go +++ b/apis/apigateway/v1beta1/zz_methodsettings_types.go @@ -22,8 +22,34 @@ type MethodSettingsInitParameters struct { // Method path defined as {resource_path}/{http_method} for an individual method override, or */* for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., trimprefix(aws_api_gateway_resource.example.path, "/")). MethodPath *string `json:"methodPath,omitempty" tf:"method_path,omitempty"` + // ID of the REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Settings block, see below. Settings []SettingsInitParameters `json:"settings,omitempty" tf:"settings,omitempty"` + + // Name of the stage + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Stage + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("stage_name",false) + StageName *string `json:"stageName,omitempty" tf:"stage_name,omitempty"` + + // Reference to a Stage in apigateway to populate stageName. + // +kubebuilder:validation:Optional + StageNameRef *v1.Reference `json:"stageNameRef,omitempty" tf:"-"` + + // Selector for a Stage in apigateway to populate stageName. + // +kubebuilder:validation:Optional + StageNameSelector *v1.Selector `json:"stageNameSelector,omitempty" tf:"-"` } type MethodSettingsObservation struct { diff --git a/apis/apigateway/v1beta1/zz_model_types.go b/apis/apigateway/v1beta1/zz_model_types.go index c18fd63db1..5c8194ac88 100755 --- a/apis/apigateway/v1beta1/zz_model_types.go +++ b/apis/apigateway/v1beta1/zz_model_types.go @@ -28,6 +28,19 @@ type ModelInitParameters struct { // Name of the model Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Schema of the model in a JSON form Schema *string `json:"schema,omitempty" tf:"schema,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_requestvalidator_types.go b/apis/apigateway/v1beta1/zz_requestvalidator_types.go index 6be2658cc8..152af635b0 100755 --- a/apis/apigateway/v1beta1/zz_requestvalidator_types.go +++ b/apis/apigateway/v1beta1/zz_requestvalidator_types.go @@ -22,6 +22,19 @@ type RequestValidatorInitParameters struct { // Name of the request validator Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the associated Rest API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Boolean whether to validate request body. Defaults to false. ValidateRequestBody *bool `json:"validateRequestBody,omitempty" tf:"validate_request_body,omitempty"` diff --git a/apis/apigateway/v1beta1/zz_resource_types.go b/apis/apigateway/v1beta1/zz_resource_types.go index 08b5c7686a..48699579e1 100755 --- a/apis/apigateway/v1beta1/zz_resource_types.go +++ b/apis/apigateway/v1beta1/zz_resource_types.go @@ -19,8 +19,34 @@ import ( type ResourceInitParameters struct { + // ID of the parent API resource + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("root_resource_id",true) + ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate parentId. + // +kubebuilder:validation:Optional + ParentIDRef *v1.Reference `json:"parentIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate parentId. + // +kubebuilder:validation:Optional + ParentIDSelector *v1.Selector `json:"parentIdSelector,omitempty" tf:"-"` + // Last path segment of this API resource. PathPart *string `json:"pathPart,omitempty" tf:"path_part,omitempty"` + + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` } type ResourceObservation struct { diff --git a/apis/apigateway/v1beta1/zz_restapipolicy_types.go b/apis/apigateway/v1beta1/zz_restapipolicy_types.go index 79ab6591aa..34d6a7adef 100755 --- a/apis/apigateway/v1beta1/zz_restapipolicy_types.go +++ b/apis/apigateway/v1beta1/zz_restapipolicy_types.go @@ -21,6 +21,19 @@ type RestAPIPolicyInitParameters struct { // JSON formatted policy document that controls access to the API Gateway Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // ID of the REST API. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` } type RestAPIPolicyObservation struct { diff --git a/apis/apigateway/v1beta1/zz_stage_types.go b/apis/apigateway/v1beta1/zz_stage_types.go index 73722e82db..9f5e610aaf 100755 --- a/apis/apigateway/v1beta1/zz_stage_types.go +++ b/apis/apigateway/v1beta1/zz_stage_types.go @@ -108,12 +108,38 @@ type StageInitParameters struct { // Identifier of a client certificate for the stage. ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"` + // ID of the deployment that the stage points to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Deployment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` + + // Reference to a Deployment in apigateway to populate deploymentId. + // +kubebuilder:validation:Optional + DeploymentIDRef *v1.Reference `json:"deploymentIdRef,omitempty" tf:"-"` + + // Selector for a Deployment in apigateway to populate deploymentId. + // +kubebuilder:validation:Optional + DeploymentIDSelector *v1.Selector `json:"deploymentIdSelector,omitempty" tf:"-"` + // Description of the stage. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Version of the associated API documentation DocumentationVersion *string `json:"documentationVersion,omitempty" tf:"documentation_version,omitempty"` + // ID of the associated REST API + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.Reference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.Selector `json:"restApiIdSelector,omitempty" tf:"-"` + // Name of the stage StageName *string `json:"stageName,omitempty" tf:"stage_name,omitempty"` diff --git a/apis/apigateway/v1beta1/zz_usageplan_types.go b/apis/apigateway/v1beta1/zz_usageplan_types.go index 182cbfd6a9..5fae999895 100755 --- a/apis/apigateway/v1beta1/zz_usageplan_types.go +++ b/apis/apigateway/v1beta1/zz_usageplan_types.go @@ -19,6 +19,32 @@ import ( type APIStagesInitParameters struct { + // API Id of the associated API stage in a usage plan. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + + // API stage name of the associated API stage in a usage plan. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.Stage + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("stage_name",false) + Stage *string `json:"stage,omitempty" tf:"stage,omitempty"` + + // Reference to a Stage in apigateway to populate stage. + // +kubebuilder:validation:Optional + StageRef *v1.Reference `json:"stageRef,omitempty" tf:"-"` + + // Selector for a Stage in apigateway to populate stage. + // +kubebuilder:validation:Optional + StageSelector *v1.Selector `json:"stageSelector,omitempty" tf:"-"` + // The throttling limits of the usage plan. Throttle []ThrottleInitParameters `json:"throttle,omitempty" tf:"throttle,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_usageplankey_types.go b/apis/apigateway/v1beta1/zz_usageplankey_types.go index 2d575fe069..454051f79f 100755 --- a/apis/apigateway/v1beta1/zz_usageplankey_types.go +++ b/apis/apigateway/v1beta1/zz_usageplankey_types.go @@ -19,8 +19,34 @@ import ( type UsagePlanKeyInitParameters struct { + // Identifier of the API key resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.APIKey + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a APIKey in apigateway to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a APIKey in apigateway to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` + // Type of the API key resource. Currently, the valid key type is API_KEY. KeyType *string `json:"keyType,omitempty" tf:"key_type,omitempty"` + + // Id of the usage plan resource representing to associate the key to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigateway/v1beta1.UsagePlan + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UsagePlanID *string `json:"usagePlanId,omitempty" tf:"usage_plan_id,omitempty"` + + // Reference to a UsagePlan in apigateway to populate usagePlanId. + // +kubebuilder:validation:Optional + UsagePlanIDRef *v1.Reference `json:"usagePlanIdRef,omitempty" tf:"-"` + + // Selector for a UsagePlan in apigateway to populate usagePlanId. + // +kubebuilder:validation:Optional + UsagePlanIDSelector *v1.Selector `json:"usagePlanIdSelector,omitempty" tf:"-"` } type UsagePlanKeyObservation struct { diff --git a/apis/apigateway/v1beta1/zz_vpclink_types.go b/apis/apigateway/v1beta1/zz_vpclink_types.go index 4ac7072159..761a28e14f 100755 --- a/apis/apigateway/v1beta1/zz_vpclink_types.go +++ b/apis/apigateway/v1beta1/zz_vpclink_types.go @@ -28,6 +28,21 @@ type VPCLinkInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to LB in elbv2 to populate targetArns. + // +kubebuilder:validation:Optional + TargetArnRefs []v1.Reference `json:"targetArnRefs,omitempty" tf:"-"` + + // Selector for a list of LB in elbv2 to populate targetArns. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` + + // List of network load balancer arns in the VPC targeted by the VPC link. Currently AWS only supports 1 target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LB + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + // +crossplane:generate:reference:refFieldName=TargetArnRefs + // +crossplane:generate:reference:selectorFieldName=TargetArnSelector + TargetArns []*string `json:"targetArns,omitempty" tf:"target_arns,omitempty"` } type VPCLinkObservation struct { diff --git a/apis/apigatewayv2/v1beta1/zz_apimapping_types.go b/apis/apigatewayv2/v1beta1/zz_apimapping_types.go index f608c0c587..2f7e5300da 100755 --- a/apis/apigatewayv2/v1beta1/zz_apimapping_types.go +++ b/apis/apigatewayv2/v1beta1/zz_apimapping_types.go @@ -19,8 +19,45 @@ import ( type APIMappingInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // The API mapping key. Refer to REST API, HTTP API or WebSocket API. APIMappingKey *string `json:"apiMappingKey,omitempty" tf:"api_mapping_key,omitempty"` + + // Domain name. Use the aws_apigatewayv2_domain_name resource to configure a domain name. + // +crossplane:generate:reference:type=DomainName + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a DomainName to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a DomainName to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` + + // API stage. Use the aws_apigatewayv2_stage resource to configure an API stage. + // +crossplane:generate:reference:type=Stage + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + Stage *string `json:"stage,omitempty" tf:"stage,omitempty"` + + // Reference to a Stage to populate stage. + // +kubebuilder:validation:Optional + StageRef *v1.Reference `json:"stageRef,omitempty" tf:"-"` + + // Selector for a Stage to populate stage. + // +kubebuilder:validation:Optional + StageSelector *v1.Selector `json:"stageSelector,omitempty" tf:"-"` } type APIMappingObservation struct { diff --git a/apis/apigatewayv2/v1beta1/zz_authorizer_types.go b/apis/apigatewayv2/v1beta1/zz_authorizer_types.go index 350534bd72..73e5d5177d 100755 --- a/apis/apigatewayv2/v1beta1/zz_authorizer_types.go +++ b/apis/apigatewayv2/v1beta1/zz_authorizer_types.go @@ -19,6 +19,18 @@ import ( type AuthorizerInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // Required credentials as an IAM role for API Gateway to invoke the authorizer. // Supported only for REQUEST authorizers. AuthorizerCredentialsArn *string `json:"authorizerCredentialsArn,omitempty" tf:"authorizer_credentials_arn,omitempty"` @@ -37,6 +49,21 @@ type AuthorizerInitParameters struct { // For HTTP APIs, specify JWT to use JSON Web Tokens. AuthorizerType *string `json:"authorizerType,omitempty" tf:"authorizer_type,omitempty"` + // Authorizer's Uniform Resource Identifier (URI). + // For REQUEST authorizers this must be a well-formed Lambda function URI, such as the invoke_arn attribute of the aws_lambda_function resource. + // Supported only for REQUEST authorizers. Must be between 1 and 2048 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/apis/lambda/v1beta1.LambdaFunctionInvokeARN() + AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"` + + // Reference to a Function in lambda to populate authorizerUri. + // +kubebuilder:validation:Optional + AuthorizerURIRef *v1.Reference `json:"authorizerUriRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate authorizerUri. + // +kubebuilder:validation:Optional + AuthorizerURISelector *v1.Selector `json:"authorizerUriSelector,omitempty" tf:"-"` + // Whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. // Supported only for HTTP APIs. EnableSimpleResponses *bool `json:"enableSimpleResponses,omitempty" tf:"enable_simple_responses,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_deployment_types.go b/apis/apigatewayv2/v1beta1/zz_deployment_types.go index 3aa031c2a1..807cf44c5d 100755 --- a/apis/apigatewayv2/v1beta1/zz_deployment_types.go +++ b/apis/apigatewayv2/v1beta1/zz_deployment_types.go @@ -19,6 +19,18 @@ import ( type DeploymentInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // Description for the deployment resource. Must be less than or equal to 1024 characters in length. Description *string `json:"description,omitempty" tf:"description,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_domainname_types.go b/apis/apigatewayv2/v1beta1/zz_domainname_types.go index 6e83650522..2d37d5a533 100755 --- a/apis/apigatewayv2/v1beta1/zz_domainname_types.go +++ b/apis/apigatewayv2/v1beta1/zz_domainname_types.go @@ -19,6 +19,19 @@ import ( type DomainNameConfigurationInitParameters struct { + // ARN of an AWS-managed certificate that will be used by the endpoint for the domain name. AWS Certificate Manager is the only supported source. Use the aws_acm_certificate resource to configure an ACM certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` + // Endpoint type. Valid values: REGIONAL. EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go b/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go index 38e9c518d7..a16c2695c1 100644 --- a/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go @@ -200,11 +200,56 @@ func (in *APIMapping) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *APIMappingInitParameters) DeepCopyInto(out *APIMappingInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.APIMappingKey != nil { in, out := &in.APIMappingKey, &out.APIMappingKey *out = new(string) **out = **in } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Stage != nil { + in, out := &in.Stage, &out.Stage + *out = new(string) + **out = **in + } + if in.StageRef != nil { + in, out := &in.StageRef, &out.StageRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StageSelector != nil { + in, out := &in.StageSelector, &out.StageSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIMappingInitParameters. @@ -771,6 +816,21 @@ func (in *Authorizer) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthorizerInitParameters) DeepCopyInto(out *AuthorizerInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AuthorizerCredentialsArn != nil { in, out := &in.AuthorizerCredentialsArn, &out.AuthorizerCredentialsArn *out = new(string) @@ -791,6 +851,21 @@ func (in *AuthorizerInitParameters) DeepCopyInto(out *AuthorizerInitParameters) *out = new(string) **out = **in } + if in.AuthorizerURI != nil { + in, out := &in.AuthorizerURI, &out.AuthorizerURI + *out = new(string) + **out = **in + } + if in.AuthorizerURIRef != nil { + in, out := &in.AuthorizerURIRef, &out.AuthorizerURIRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerURISelector != nil { + in, out := &in.AuthorizerURISelector, &out.AuthorizerURISelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EnableSimpleResponses != nil { in, out := &in.EnableSimpleResponses, &out.EnableSimpleResponses *out = new(bool) @@ -1431,6 +1506,21 @@ func (in *Deployment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -1620,6 +1710,21 @@ func (in *DomainName) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DomainNameConfigurationInitParameters) DeepCopyInto(out *DomainNameConfigurationInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EndpointType != nil { in, out := &in.EndpointType, &out.EndpointType *out = new(string) @@ -2005,6 +2110,36 @@ func (in *Integration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConnectionType != nil { in, out := &in.ConnectionType, &out.ConnectionType *out = new(string) @@ -2015,6 +2150,21 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters *out = new(string) **out = **in } + if in.CredentialsArn != nil { + in, out := &in.CredentialsArn, &out.CredentialsArn + *out = new(string) + **out = **in + } + if in.CredentialsArnRef != nil { + in, out := &in.CredentialsArnRef, &out.CredentialsArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CredentialsArnSelector != nil { + in, out := &in.CredentialsArnSelector, &out.CredentialsArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -2035,6 +2185,21 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters *out = new(string) **out = **in } + if in.IntegrationURI != nil { + in, out := &in.IntegrationURI, &out.IntegrationURI + *out = new(string) + **out = **in + } + if in.IntegrationURIRef != nil { + in, out := &in.IntegrationURIRef, &out.IntegrationURIRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IntegrationURISelector != nil { + in, out := &in.IntegrationURISelector, &out.IntegrationURISelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PassthroughBehavior != nil { in, out := &in.PassthroughBehavior, &out.PassthroughBehavior *out = new(string) @@ -2492,11 +2657,41 @@ func (in *IntegrationResponse) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationResponseInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ContentHandlingStrategy != nil { in, out := &in.ContentHandlingStrategy, &out.ContentHandlingStrategy *out = new(string) **out = **in } + if in.IntegrationID != nil { + in, out := &in.IntegrationID, &out.IntegrationID + *out = new(string) + **out = **in + } + if in.IntegrationIDRef != nil { + in, out := &in.IntegrationIDRef, &out.IntegrationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IntegrationIDSelector != nil { + in, out := &in.IntegrationIDSelector, &out.IntegrationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IntegrationResponseKey != nil { in, out := &in.IntegrationResponseKey, &out.IntegrationResponseKey *out = new(string) @@ -2902,6 +3097,21 @@ func (in *Model) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ContentType != nil { in, out := &in.ContentType, &out.ContentType *out = new(string) @@ -3389,6 +3599,21 @@ func (in *Route) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.APIKeyRequired != nil { in, out := &in.APIKeyRequired, &out.APIKeyRequired *out = new(bool) @@ -3410,6 +3635,21 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { *out = new(string) **out = **in } + if in.AuthorizerID != nil { + in, out := &in.AuthorizerID, &out.AuthorizerID + *out = new(string) + **out = **in + } + if in.AuthorizerIDRef != nil { + in, out := &in.AuthorizerIDRef, &out.AuthorizerIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerIDSelector != nil { + in, out := &in.AuthorizerIDSelector, &out.AuthorizerIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ModelSelectionExpression != nil { in, out := &in.ModelSelectionExpression, &out.ModelSelectionExpression *out = new(string) @@ -3453,6 +3693,21 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { *out = new(string) **out = **in } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.TargetRef != nil { + in, out := &in.TargetRef, &out.TargetRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetSelector != nil { + in, out := &in.TargetSelector, &out.TargetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteInitParameters. @@ -3755,6 +4010,21 @@ func (in *RouteResponse) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RouteResponseInitParameters) DeepCopyInto(out *RouteResponseInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ModelSelectionExpression != nil { in, out := &in.ModelSelectionExpression, &out.ModelSelectionExpression *out = new(string) @@ -3776,6 +4046,21 @@ func (in *RouteResponseInitParameters) DeepCopyInto(out *RouteResponseInitParame (*out)[key] = outVal } } + if in.RouteID != nil { + in, out := &in.RouteID, &out.RouteID + *out = new(string) + **out = **in + } + if in.RouteIDRef != nil { + in, out := &in.RouteIDRef, &out.RouteIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RouteIDSelector != nil { + in, out := &in.RouteIDSelector, &out.RouteIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RouteResponseKey != nil { in, out := &in.RouteResponseKey, &out.RouteResponseKey *out = new(string) @@ -4192,6 +4477,21 @@ func (in *Stage) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AccessLogSettings != nil { in, out := &in.AccessLogSettings, &out.AccessLogSettings *out = make([]AccessLogSettingsInitParameters, len(*in)) @@ -4216,6 +4516,21 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DeploymentID != nil { + in, out := &in.DeploymentID, &out.DeploymentID + *out = new(string) + **out = **in + } + if in.DeploymentIDRef != nil { + in, out := &in.DeploymentIDRef, &out.DeploymentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeploymentIDSelector != nil { + in, out := &in.DeploymentIDSelector, &out.DeploymentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -4681,6 +4996,52 @@ func (in *VPCLinkInitParameters) DeepCopyInto(out *VPCLinkInitParameters) { *out = new(string) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/apigatewayv2/v1beta1/zz_generated.resolvers.go b/apis/apigatewayv2/v1beta1/zz_generated.resolvers.go index 25024bfb8f..6a682ff61c 100644 --- a/apis/apigatewayv2/v1beta1/zz_generated.resolvers.go +++ b/apis/apigatewayv2/v1beta1/zz_generated.resolvers.go @@ -73,6 +73,54 @@ func (mg *APIMapping) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Stage = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StageRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainNameList{}, + Managed: &DomainName{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Stage), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.StageRef, + Selector: mg.Spec.InitProvider.StageSelector, + To: reference.To{ + List: &StageList{}, + Managed: &Stage{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Stage") + } + mg.Spec.InitProvider.Stage = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StageRef = rsp.ResolvedReference + return nil } @@ -115,6 +163,38 @@ func (mg *Authorizer) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.AuthorizerURI = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AuthorizerURIRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AuthorizerURI), + Extract: v1beta1.LambdaFunctionInvokeARN(), + Reference: mg.Spec.InitProvider.AuthorizerURIRef, + Selector: mg.Spec.InitProvider.AuthorizerURISelector, + To: reference.To{ + List: &v1beta1.FunctionList{}, + Managed: &v1beta1.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AuthorizerURI") + } + mg.Spec.InitProvider.AuthorizerURI = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AuthorizerURIRef = rsp.ResolvedReference + return nil } @@ -141,6 +221,22 @@ func (mg *Deployment) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + return nil } @@ -168,6 +264,24 @@ func (mg *DomainName) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.DomainNameConfiguration[i3].CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainNameConfiguration[i3].CertificateArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DomainNameConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArnRef, + Selector: mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArnSelector, + To: reference.To{ + List: &v1beta11.CertificateList{}, + Managed: &v1beta11.Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArn") + } + mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameConfiguration[i3].CertificateArnRef = rsp.ResolvedReference + } return nil @@ -244,6 +358,70 @@ func (mg *Integration) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.IntegrationURI = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IntegrationURIRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &VPCLinkList{}, + Managed: &VPCLink{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CredentialsArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CredentialsArnRef, + Selector: mg.Spec.InitProvider.CredentialsArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CredentialsArn") + } + mg.Spec.InitProvider.CredentialsArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CredentialsArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IntegrationURI), + Extract: resource.ExtractParamPath("invoke_arn", true), + Reference: mg.Spec.InitProvider.IntegrationURIRef, + Selector: mg.Spec.InitProvider.IntegrationURISelector, + To: reference.To{ + List: &v1beta1.FunctionList{}, + Managed: &v1beta1.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IntegrationURI") + } + mg.Spec.InitProvider.IntegrationURI = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IntegrationURIRef = rsp.ResolvedReference + return nil } @@ -286,6 +464,38 @@ func (mg *IntegrationResponse) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.IntegrationID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IntegrationIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IntegrationID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.IntegrationIDRef, + Selector: mg.Spec.InitProvider.IntegrationIDSelector, + To: reference.To{ + List: &IntegrationList{}, + Managed: &Integration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IntegrationID") + } + mg.Spec.InitProvider.IntegrationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IntegrationIDRef = rsp.ResolvedReference + return nil } @@ -312,6 +522,22 @@ func (mg *Model) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + return nil } @@ -370,6 +596,54 @@ func (mg *Route) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Target = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AuthorizerID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AuthorizerIDRef, + Selector: mg.Spec.InitProvider.AuthorizerIDSelector, + To: reference.To{ + List: &AuthorizerList{}, + Managed: &Authorizer{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AuthorizerID") + } + mg.Spec.InitProvider.AuthorizerID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AuthorizerIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Target), + Extract: IntegrationIDPrefixed(), + Reference: mg.Spec.InitProvider.TargetRef, + Selector: mg.Spec.InitProvider.TargetSelector, + To: reference.To{ + List: &IntegrationList{}, + Managed: &Integration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Target") + } + mg.Spec.InitProvider.Target = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetRef = rsp.ResolvedReference + return nil } @@ -412,6 +686,38 @@ func (mg *RouteResponse) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RouteID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RouteIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RouteIDRef, + Selector: mg.Spec.InitProvider.RouteIDSelector, + To: reference.To{ + List: &RouteList{}, + Managed: &Route{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteID") + } + mg.Spec.InitProvider.RouteID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteIDRef = rsp.ResolvedReference + return nil } @@ -454,6 +760,38 @@ func (mg *Stage) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.DeploymentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DeploymentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &APIList{}, + Managed: &API{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeploymentID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DeploymentIDRef, + Selector: mg.Spec.InitProvider.DeploymentIDSelector, + To: reference.To{ + List: &DeploymentList{}, + Managed: &Deployment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeploymentID") + } + mg.Spec.InitProvider.DeploymentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeploymentIDRef = rsp.ResolvedReference + return nil } @@ -496,5 +834,37 @@ func (mg *VPCLink) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/apigatewayv2/v1beta1/zz_integration_types.go b/apis/apigatewayv2/v1beta1/zz_integration_types.go index 354c47f51e..d440209a25 100755 --- a/apis/apigatewayv2/v1beta1/zz_integration_types.go +++ b/apis/apigatewayv2/v1beta1/zz_integration_types.go @@ -19,12 +19,50 @@ import ( type IntegrationInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + + // ID of the VPC link for a private integration. Supported only for HTTP APIs. Must be between 1 and 1024 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.VPCLink + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a VPCLink in apigatewayv2 to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a VPCLink in apigatewayv2 to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // Type of the network connection to the integration endpoint. Valid values: INTERNET, VPC_LINK. Default is INTERNET. ConnectionType *string `json:"connectionType,omitempty" tf:"connection_type,omitempty"` // How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. Supported only for WebSocket APIs. ContentHandlingStrategy *string `json:"contentHandlingStrategy,omitempty" tf:"content_handling_strategy,omitempty"` + // Credentials required for the integration, if any. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"` + + // Reference to a Role in iam to populate credentialsArn. + // +kubebuilder:validation:Optional + CredentialsArnRef *v1.Reference `json:"credentialsArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate credentialsArn. + // +kubebuilder:validation:Optional + CredentialsArnSelector *v1.Selector `json:"credentialsArnSelector,omitempty" tf:"-"` + // Description of the integration. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -38,6 +76,20 @@ type IntegrationInitParameters struct { // Valid values: AWS (supported only for WebSocket APIs), AWS_PROXY, HTTP (supported only for WebSocket APIs), HTTP_PROXY, MOCK (supported only for WebSocket APIs). For an HTTP API private integration, use HTTP_PROXY. IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"` + // URI of the Lambda function for a Lambda proxy integration, when integration_type is AWS_PROXY. + // For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("invoke_arn",true) + IntegrationURI *string `json:"integrationUri,omitempty" tf:"integration_uri,omitempty"` + + // Reference to a Function in lambda to populate integrationUri. + // +kubebuilder:validation:Optional + IntegrationURIRef *v1.Reference `json:"integrationUriRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate integrationUri. + // +kubebuilder:validation:Optional + IntegrationURISelector *v1.Selector `json:"integrationUriSelector,omitempty" tf:"-"` + // Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the request_templates attribute. // Valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, NEVER. Default is WHEN_NO_MATCH. Supported only for WebSocket APIs. PassthroughBehavior *string `json:"passthroughBehavior,omitempty" tf:"passthrough_behavior,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go b/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go index 3e5c06ee4c..474f880705 100755 --- a/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go +++ b/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go @@ -19,9 +19,33 @@ import ( type IntegrationResponseInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. ContentHandlingStrategy *string `json:"contentHandlingStrategy,omitempty" tf:"content_handling_strategy,omitempty"` + // Identifier of the aws_apigatewayv2_integration. + // +crossplane:generate:reference:type=Integration + IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"` + + // Reference to a Integration to populate integrationId. + // +kubebuilder:validation:Optional + IntegrationIDRef *v1.Reference `json:"integrationIdRef,omitempty" tf:"-"` + + // Selector for a Integration to populate integrationId. + // +kubebuilder:validation:Optional + IntegrationIDSelector *v1.Selector `json:"integrationIdSelector,omitempty" tf:"-"` + // Integration response key. IntegrationResponseKey *string `json:"integrationResponseKey,omitempty" tf:"integration_response_key,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_model_types.go b/apis/apigatewayv2/v1beta1/zz_model_types.go index 6e46a442ba..2bebf1066d 100755 --- a/apis/apigatewayv2/v1beta1/zz_model_types.go +++ b/apis/apigatewayv2/v1beta1/zz_model_types.go @@ -19,6 +19,18 @@ import ( type ModelInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // The content-type for the model, for example, application/json. Must be between 1 and 256 characters in length. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_route_types.go b/apis/apigatewayv2/v1beta1/zz_route_types.go index 500632bfae..d474f1089e 100755 --- a/apis/apigatewayv2/v1beta1/zz_route_types.go +++ b/apis/apigatewayv2/v1beta1/zz_route_types.go @@ -48,6 +48,18 @@ type RequestParameterParameters struct { type RouteInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // Boolean whether an API key is required for the route. Defaults to false. Supported only for WebSocket APIs. APIKeyRequired *bool `json:"apiKeyRequired,omitempty" tf:"api_key_required,omitempty"` @@ -61,6 +73,18 @@ type RouteInitParameters struct { // Defaults to NONE. AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"` + // Identifier of the aws_apigatewayv2_authorizer resource to be associated with this route. + // +crossplane:generate:reference:type=Authorizer + AuthorizerID *string `json:"authorizerId,omitempty" tf:"authorizer_id,omitempty"` + + // Reference to a Authorizer to populate authorizerId. + // +kubebuilder:validation:Optional + AuthorizerIDRef *v1.Reference `json:"authorizerIdRef,omitempty" tf:"-"` + + // Selector for a Authorizer to populate authorizerId. + // +kubebuilder:validation:Optional + AuthorizerIDSelector *v1.Selector `json:"authorizerIdSelector,omitempty" tf:"-"` + // The model selection expression for the route. Supported only for WebSocket APIs. ModelSelectionExpression *string `json:"modelSelectionExpression,omitempty" tf:"model_selection_expression,omitempty"` @@ -79,6 +103,19 @@ type RouteInitParameters struct { // The route response selection expression for the route. Supported only for WebSocket APIs. RouteResponseSelectionExpression *string `json:"routeResponseSelectionExpression,omitempty" tf:"route_response_selection_expression,omitempty"` + + // Target for the route, of the form integrations/IntegrationID, where IntegrationID is the identifier of an aws_apigatewayv2_integration resource. + // +crossplane:generate:reference:type=Integration + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.IntegrationIDPrefixed() + Target *string `json:"target,omitempty" tf:"target,omitempty"` + + // Reference to a Integration to populate target. + // +kubebuilder:validation:Optional + TargetRef *v1.Reference `json:"targetRef,omitempty" tf:"-"` + + // Selector for a Integration to populate target. + // +kubebuilder:validation:Optional + TargetSelector *v1.Selector `json:"targetSelector,omitempty" tf:"-"` } type RouteObservation struct { diff --git a/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go b/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go index 48e55a7da6..195cd861d2 100755 --- a/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go +++ b/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go @@ -19,6 +19,18 @@ import ( type RouteResponseInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // The model selection expression for the route response. ModelSelectionExpression *string `json:"modelSelectionExpression,omitempty" tf:"model_selection_expression,omitempty"` @@ -26,6 +38,18 @@ type RouteResponseInitParameters struct { // +mapType=granular ResponseModels map[string]*string `json:"responseModels,omitempty" tf:"response_models,omitempty"` + // Identifier of the aws_apigatewayv2_route. + // +crossplane:generate:reference:type=Route + RouteID *string `json:"routeId,omitempty" tf:"route_id,omitempty"` + + // Reference to a Route to populate routeId. + // +kubebuilder:validation:Optional + RouteIDRef *v1.Reference `json:"routeIdRef,omitempty" tf:"-"` + + // Selector for a Route to populate routeId. + // +kubebuilder:validation:Optional + RouteIDSelector *v1.Selector `json:"routeIdSelector,omitempty" tf:"-"` + // Route response key. RouteResponseKey *string `json:"routeResponseKey,omitempty" tf:"route_response_key,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_stage_types.go b/apis/apigatewayv2/v1beta1/zz_stage_types.go index 8989e4df7a..a8fd48cc4d 100755 --- a/apis/apigatewayv2/v1beta1/zz_stage_types.go +++ b/apis/apigatewayv2/v1beta1/zz_stage_types.go @@ -188,6 +188,18 @@ type RouteSettingsParameters struct { type StageInitParameters struct { + // API identifier. + // +crossplane:generate:reference:type=API + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a API to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // Settings for logging access in this stage. // Use the aws_api_gateway_account resource to configure permissions for CloudWatch Logging. AccessLogSettings []AccessLogSettingsInitParameters `json:"accessLogSettings,omitempty" tf:"access_log_settings,omitempty"` @@ -202,6 +214,18 @@ type StageInitParameters struct { // Default route settings for the stage. DefaultRouteSettings []DefaultRouteSettingsInitParameters `json:"defaultRouteSettings,omitempty" tf:"default_route_settings,omitempty"` + // Deployment identifier of the stage. Use the aws_apigatewayv2_deployment resource to configure a deployment. + // +crossplane:generate:reference:type=Deployment + DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` + + // Reference to a Deployment to populate deploymentId. + // +kubebuilder:validation:Optional + DeploymentIDRef *v1.Reference `json:"deploymentIdRef,omitempty" tf:"-"` + + // Selector for a Deployment to populate deploymentId. + // +kubebuilder:validation:Optional + DeploymentIDSelector *v1.Selector `json:"deploymentIdSelector,omitempty" tf:"-"` + // Description for the stage. Must be less than or equal to 1024 characters in length. Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/apigatewayv2/v1beta1/zz_vpclink_types.go b/apis/apigatewayv2/v1beta1/zz_vpclink_types.go index 2d2fad2353..58c9d7e652 100755 --- a/apis/apigatewayv2/v1beta1/zz_vpclink_types.go +++ b/apis/apigatewayv2/v1beta1/zz_vpclink_types.go @@ -22,6 +22,36 @@ type VPCLinkInitParameters struct { // Name of the VPC Link. Must be between 1 and 128 characters in length. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Security group IDs for the VPC Link. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Subnet IDs for the VPC Link. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go b/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go index 83170f4687..ee2c7fafae 100644 --- a/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go +++ b/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go @@ -1100,6 +1100,36 @@ func (in *ScheduledActionInitParameters) DeepCopyInto(out *ScheduledActionInitPa *out = new(string) **out = **in } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ScalableDimension != nil { + in, out := &in.ScalableDimension, &out.ScalableDimension + *out = new(string) + **out = **in + } + if in.ScalableDimensionRef != nil { + in, out := &in.ScalableDimensionRef, &out.ScalableDimensionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ScalableDimensionSelector != nil { + in, out := &in.ScalableDimensionSelector, &out.ScalableDimensionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ScalableTargetAction != nil { in, out := &in.ScalableTargetAction, &out.ScalableTargetAction *out = make([]ScalableTargetActionInitParameters, len(*in)) @@ -1112,6 +1142,21 @@ func (in *ScheduledActionInitParameters) DeepCopyInto(out *ScheduledActionInitPa *out = new(string) **out = **in } + if in.ServiceNamespace != nil { + in, out := &in.ServiceNamespace, &out.ServiceNamespace + *out = new(string) + **out = **in + } + if in.ServiceNamespaceRef != nil { + in, out := &in.ServiceNamespaceRef, &out.ServiceNamespaceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceNamespaceSelector != nil { + in, out := &in.ServiceNamespaceSelector, &out.ServiceNamespaceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(string) @@ -1631,6 +1676,21 @@ func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ScalableDimension != nil { in, out := &in.ScalableDimension, &out.ScalableDimension *out = new(string) diff --git a/apis/appautoscaling/v1beta1/zz_generated.resolvers.go b/apis/appautoscaling/v1beta1/zz_generated.resolvers.go index fc2ac2a645..12a3a17fa2 100644 --- a/apis/appautoscaling/v1beta1/zz_generated.resolvers.go +++ b/apis/appautoscaling/v1beta1/zz_generated.resolvers.go @@ -128,6 +128,54 @@ func (mg *ScheduledAction) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ServiceNamespace = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceNamespaceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractParamPath("resource_id", false), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &TargetList{}, + Managed: &Target{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ScalableDimension), + Extract: resource.ExtractParamPath("scalable_dimension", false), + Reference: mg.Spec.InitProvider.ScalableDimensionRef, + Selector: mg.Spec.InitProvider.ScalableDimensionSelector, + To: reference.To{ + List: &TargetList{}, + Managed: &Target{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ScalableDimension") + } + mg.Spec.InitProvider.ScalableDimension = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ScalableDimensionRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceNamespace), + Extract: resource.ExtractParamPath("service_namespace", false), + Reference: mg.Spec.InitProvider.ServiceNamespaceRef, + Selector: mg.Spec.InitProvider.ServiceNamespaceSelector, + To: reference.To{ + List: &TargetList{}, + Managed: &Target{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceNamespace") + } + mg.Spec.InitProvider.ServiceNamespace = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceNamespaceRef = rsp.ResolvedReference + return nil } @@ -154,5 +202,21 @@ func (mg *Target) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go b/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go index 2265477c93..99e35402c8 100755 --- a/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go +++ b/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go @@ -54,12 +54,51 @@ type ScheduledActionInitParameters struct { // Name of the scheduled action. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // Identifier of the resource associated with the scheduled action. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appautoscaling/v1beta1.Target + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_id",false) + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Target in appautoscaling to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Target in appautoscaling to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + + // Scalable dimension. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference Example: ecs:service:DesiredCount + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appautoscaling/v1beta1.Target + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("scalable_dimension",false) + ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` + + // Reference to a Target in appautoscaling to populate scalableDimension. + // +kubebuilder:validation:Optional + ScalableDimensionRef *v1.Reference `json:"scalableDimensionRef,omitempty" tf:"-"` + + // Selector for a Target in appautoscaling to populate scalableDimension. + // +kubebuilder:validation:Optional + ScalableDimensionSelector *v1.Selector `json:"scalableDimensionSelector,omitempty" tf:"-"` + // New minimum and maximum capacity. You can set both values or just one. See below ScalableTargetAction []ScalableTargetActionInitParameters `json:"scalableTargetAction,omitempty" tf:"scalable_target_action,omitempty"` // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in timezone. Documentation can be found in the Timezone parameter at: AWS Application Auto Scaling API Reference Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"` + // Namespace of the AWS service. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference Example: ecs + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appautoscaling/v1beta1.Target + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("service_namespace",false) + ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` + + // Reference to a Target in appautoscaling to populate serviceNamespace. + // +kubebuilder:validation:Optional + ServiceNamespaceRef *v1.Reference `json:"serviceNamespaceRef,omitempty" tf:"-"` + + // Selector for a Target in appautoscaling to populate serviceNamespace. + // +kubebuilder:validation:Optional + ServiceNamespaceSelector *v1.Selector `json:"serviceNamespaceSelector,omitempty" tf:"-"` + // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of timezone. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` diff --git a/apis/appautoscaling/v1beta1/zz_target_types.go b/apis/appautoscaling/v1beta1/zz_target_types.go index c1f400d547..0f1ed233b1 100755 --- a/apis/appautoscaling/v1beta1/zz_target_types.go +++ b/apis/appautoscaling/v1beta1/zz_target_types.go @@ -28,6 +28,19 @@ type TargetInitParameters struct { // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the AWS Application Auto Scaling documentation for more information about how this service interacts with IAM. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` diff --git a/apis/appconfig/v1beta1/zz_configurationprofile_types.go b/apis/appconfig/v1beta1/zz_configurationprofile_types.go index b23e4b3b03..bfd3c408df 100755 --- a/apis/appconfig/v1beta1/zz_configurationprofile_types.go +++ b/apis/appconfig/v1beta1/zz_configurationprofile_types.go @@ -19,6 +19,19 @@ import ( type ConfigurationProfileInitParameters struct { + // Application ID. Must be between 4 and 7 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Application + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + // Description of the configuration profile. Can be at most 1024 characters. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -31,6 +44,19 @@ type ConfigurationProfileInitParameters struct { // Name for the configuration profile. Must be between 1 and 64 characters in length. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ARN of an IAM role with permission to access the configuration at the specified location_uri. A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RetrievalRoleArn *string `json:"retrievalRoleArn,omitempty" tf:"retrieval_role_arn,omitempty"` + + // Reference to a Role in iam to populate retrievalRoleArn. + // +kubebuilder:validation:Optional + RetrievalRoleArnRef *v1.Reference `json:"retrievalRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate retrievalRoleArn. + // +kubebuilder:validation:Optional + RetrievalRoleArnSelector *v1.Selector `json:"retrievalRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/appconfig/v1beta1/zz_deployment_types.go b/apis/appconfig/v1beta1/zz_deployment_types.go index c37e15dad2..d105325280 100755 --- a/apis/appconfig/v1beta1/zz_deployment_types.go +++ b/apis/appconfig/v1beta1/zz_deployment_types.go @@ -19,9 +19,87 @@ import ( type DeploymentInitParameters struct { + // Application ID. Must be between 4 and 7 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Application + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + + // Configuration profile ID. Must be between 4 and 7 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.ConfigurationProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("configuration_profile_id",true) + ConfigurationProfileID *string `json:"configurationProfileId,omitempty" tf:"configuration_profile_id,omitempty"` + + // Reference to a ConfigurationProfile in appconfig to populate configurationProfileId. + // +kubebuilder:validation:Optional + ConfigurationProfileIDRef *v1.Reference `json:"configurationProfileIdRef,omitempty" tf:"-"` + + // Selector for a ConfigurationProfile in appconfig to populate configurationProfileId. + // +kubebuilder:validation:Optional + ConfigurationProfileIDSelector *v1.Selector `json:"configurationProfileIdSelector,omitempty" tf:"-"` + + // Configuration version to deploy. Can be at most 1024 characters. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.HostedConfigurationVersion + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("version_number",true) + ConfigurationVersion *string `json:"configurationVersion,omitempty" tf:"configuration_version,omitempty"` + + // Reference to a HostedConfigurationVersion in appconfig to populate configurationVersion. + // +kubebuilder:validation:Optional + ConfigurationVersionRef *v1.Reference `json:"configurationVersionRef,omitempty" tf:"-"` + + // Selector for a HostedConfigurationVersion in appconfig to populate configurationVersion. + // +kubebuilder:validation:Optional + ConfigurationVersionSelector *v1.Selector `json:"configurationVersionSelector,omitempty" tf:"-"` + + // Deployment strategy ID or name of a predefined deployment strategy. See Predefined Deployment Strategies for more details. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.DeploymentStrategy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DeploymentStrategyID *string `json:"deploymentStrategyId,omitempty" tf:"deployment_strategy_id,omitempty"` + + // Reference to a DeploymentStrategy in appconfig to populate deploymentStrategyId. + // +kubebuilder:validation:Optional + DeploymentStrategyIDRef *v1.Reference `json:"deploymentStrategyIdRef,omitempty" tf:"-"` + + // Selector for a DeploymentStrategy in appconfig to populate deploymentStrategyId. + // +kubebuilder:validation:Optional + DeploymentStrategyIDSelector *v1.Selector `json:"deploymentStrategyIdSelector,omitempty" tf:"-"` + // Description of the deployment. Can be at most 1024 characters. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Environment ID. Must be between 4 and 7 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Environment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("environment_id",true) + EnvironmentID *string `json:"environmentId,omitempty" tf:"environment_id,omitempty"` + + // Reference to a Environment in appconfig to populate environmentId. + // +kubebuilder:validation:Optional + EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"` + + // Selector for a Environment in appconfig to populate environmentId. + // +kubebuilder:validation:Optional + EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"` + + // The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this to encrypt the configuration data using a customer managed key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KMSKeyIdentifier *string `json:"kmsKeyIdentifier,omitempty" tf:"kms_key_identifier,omitempty"` + + // Reference to a Key in kms to populate kmsKeyIdentifier. + // +kubebuilder:validation:Optional + KMSKeyIdentifierRef *v1.Reference `json:"kmsKeyIdentifierRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyIdentifier. + // +kubebuilder:validation:Optional + KMSKeyIdentifierSelector *v1.Selector `json:"kmsKeyIdentifierSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/appconfig/v1beta1/zz_environment_types.go b/apis/appconfig/v1beta1/zz_environment_types.go index 74ecffd0eb..bc8a9cde8b 100755 --- a/apis/appconfig/v1beta1/zz_environment_types.go +++ b/apis/appconfig/v1beta1/zz_environment_types.go @@ -19,6 +19,19 @@ import ( type EnvironmentInitParameters struct { + // AppConfig application ID. Must be between 4 and 7 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Application + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + // Description of the environment. Can be at most 1024 characters. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -109,6 +122,32 @@ type EnvironmentParameters struct { } type MonitorInitParameters struct { + + // ARN of the Amazon CloudWatch alarm. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatch/v1beta1.MetricAlarm + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + AlarmArn *string `json:"alarmArn,omitempty" tf:"alarm_arn,omitempty"` + + // Reference to a MetricAlarm in cloudwatch to populate alarmArn. + // +kubebuilder:validation:Optional + AlarmArnRef *v1.Reference `json:"alarmArnRef,omitempty" tf:"-"` + + // Selector for a MetricAlarm in cloudwatch to populate alarmArn. + // +kubebuilder:validation:Optional + AlarmArnSelector *v1.Selector `json:"alarmArnSelector,omitempty" tf:"-"` + + // ARN of an IAM role for AWS AppConfig to monitor alarm_arn. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + AlarmRoleArn *string `json:"alarmRoleArn,omitempty" tf:"alarm_role_arn,omitempty"` + + // Reference to a Role in iam to populate alarmRoleArn. + // +kubebuilder:validation:Optional + AlarmRoleArnRef *v1.Reference `json:"alarmRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate alarmRoleArn. + // +kubebuilder:validation:Optional + AlarmRoleArnSelector *v1.Selector `json:"alarmRoleArnSelector,omitempty" tf:"-"` } type MonitorObservation struct { diff --git a/apis/appconfig/v1beta1/zz_extension_types.go b/apis/appconfig/v1beta1/zz_extension_types.go index edf0d90b82..8e51a51238 100755 --- a/apis/appconfig/v1beta1/zz_extension_types.go +++ b/apis/appconfig/v1beta1/zz_extension_types.go @@ -24,6 +24,32 @@ type ActionInitParameters struct { // The action name. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // An Amazon Resource Name (ARN) for an Identity and Access Management assume role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + URI *string `json:"uri,omitempty" tf:"uri,omitempty"` + + // Reference to a Topic in sns to populate uri. + // +kubebuilder:validation:Optional + URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate uri. + // +kubebuilder:validation:Optional + URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"` } type ActionObservation struct { diff --git a/apis/appconfig/v1beta1/zz_extensionassociation_types.go b/apis/appconfig/v1beta1/zz_extensionassociation_types.go index 57c8f6d54a..35220b1efb 100755 --- a/apis/appconfig/v1beta1/zz_extensionassociation_types.go +++ b/apis/appconfig/v1beta1/zz_extensionassociation_types.go @@ -19,9 +19,35 @@ import ( type ExtensionAssociationInitParameters struct { + // The ARN of the extension defined in the association. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Extension + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ExtensionArn *string `json:"extensionArn,omitempty" tf:"extension_arn,omitempty"` + + // Reference to a Extension in appconfig to populate extensionArn. + // +kubebuilder:validation:Optional + ExtensionArnRef *v1.Reference `json:"extensionArnRef,omitempty" tf:"-"` + + // Selector for a Extension in appconfig to populate extensionArn. + // +kubebuilder:validation:Optional + ExtensionArnSelector *v1.Selector `json:"extensionArnSelector,omitempty" tf:"-"` + // The parameter names and values defined for the association. // +mapType=granular Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // The ARN of the application, configuration profile, or environment to associate with the extension. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Application + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Application in appconfig to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Application in appconfig to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type ExtensionAssociationObservation struct { diff --git a/apis/appconfig/v1beta1/zz_generated.deepcopy.go b/apis/appconfig/v1beta1/zz_generated.deepcopy.go index fa0413194d..f2afc478a0 100644 --- a/apis/appconfig/v1beta1/zz_generated.deepcopy.go +++ b/apis/appconfig/v1beta1/zz_generated.deepcopy.go @@ -26,6 +26,36 @@ func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } + if in.URIRef != nil { + in, out := &in.URIRef, &out.URIRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.URISelector != nil { + in, out := &in.URISelector, &out.URISelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionInitParameters. @@ -487,6 +517,21 @@ func (in *ConfigurationProfile) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigurationProfileInitParameters) DeepCopyInto(out *ConfigurationProfileInitParameters) { *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -507,6 +552,21 @@ func (in *ConfigurationProfileInitParameters) DeepCopyInto(out *ConfigurationPro *out = new(string) **out = **in } + if in.RetrievalRoleArn != nil { + in, out := &in.RetrievalRoleArn, &out.RetrievalRoleArn + *out = new(string) + **out = **in + } + if in.RetrievalRoleArnRef != nil { + in, out := &in.RetrievalRoleArnRef, &out.RetrievalRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RetrievalRoleArnSelector != nil { + in, out := &in.RetrievalRoleArnSelector, &out.RetrievalRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -846,11 +906,101 @@ func (in *Deployment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) { *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationProfileID != nil { + in, out := &in.ConfigurationProfileID, &out.ConfigurationProfileID + *out = new(string) + **out = **in + } + if in.ConfigurationProfileIDRef != nil { + in, out := &in.ConfigurationProfileIDRef, &out.ConfigurationProfileIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationProfileIDSelector != nil { + in, out := &in.ConfigurationProfileIDSelector, &out.ConfigurationProfileIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationVersion != nil { + in, out := &in.ConfigurationVersion, &out.ConfigurationVersion + *out = new(string) + **out = **in + } + if in.ConfigurationVersionRef != nil { + in, out := &in.ConfigurationVersionRef, &out.ConfigurationVersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationVersionSelector != nil { + in, out := &in.ConfigurationVersionSelector, &out.ConfigurationVersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DeploymentStrategyID != nil { + in, out := &in.DeploymentStrategyID, &out.DeploymentStrategyID + *out = new(string) + **out = **in + } + if in.DeploymentStrategyIDRef != nil { + in, out := &in.DeploymentStrategyIDRef, &out.DeploymentStrategyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeploymentStrategyIDSelector != nil { + in, out := &in.DeploymentStrategyIDSelector, &out.DeploymentStrategyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } + if in.EnvironmentID != nil { + in, out := &in.EnvironmentID, &out.EnvironmentID + *out = new(string) + **out = **in + } + if in.EnvironmentIDRef != nil { + in, out := &in.EnvironmentIDRef, &out.EnvironmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentIDSelector != nil { + in, out := &in.EnvironmentIDSelector, &out.EnvironmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIdentifier != nil { + in, out := &in.KMSKeyIdentifier, &out.KMSKeyIdentifier + *out = new(string) + **out = **in + } + if in.KMSKeyIdentifierRef != nil { + in, out := &in.KMSKeyIdentifierRef, &out.KMSKeyIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIdentifierSelector != nil { + in, out := &in.KMSKeyIdentifierSelector, &out.KMSKeyIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1537,6 +1687,21 @@ func (in *Environment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EnvironmentInitParameters) DeepCopyInto(out *EnvironmentInitParameters) { *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -1545,7 +1710,9 @@ func (in *EnvironmentInitParameters) DeepCopyInto(out *EnvironmentInitParameters if in.Monitor != nil { in, out := &in.Monitor, &out.Monitor *out = make([]MonitorInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Name != nil { in, out := &in.Name, &out.Name @@ -1861,6 +2028,21 @@ func (in *ExtensionAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExtensionAssociationInitParameters) DeepCopyInto(out *ExtensionAssociationInitParameters) { *out = *in + if in.ExtensionArn != nil { + in, out := &in.ExtensionArn, &out.ExtensionArn + *out = new(string) + **out = **in + } + if in.ExtensionArnRef != nil { + in, out := &in.ExtensionArnRef, &out.ExtensionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExtensionArnSelector != nil { + in, out := &in.ExtensionArnSelector, &out.ExtensionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Parameters != nil { in, out := &in.Parameters, &out.Parameters *out = make(map[string]*string, len(*in)) @@ -1877,6 +2059,21 @@ func (in *ExtensionAssociationInitParameters) DeepCopyInto(out *ExtensionAssocia (*out)[key] = outVal } } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionAssociationInitParameters. @@ -2376,6 +2573,36 @@ func (in *HostedConfigurationVersion) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HostedConfigurationVersionInitParameters) DeepCopyInto(out *HostedConfigurationVersionInitParameters) { *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationProfileID != nil { + in, out := &in.ConfigurationProfileID, &out.ConfigurationProfileID + *out = new(string) + **out = **in + } + if in.ConfigurationProfileIDRef != nil { + in, out := &in.ConfigurationProfileIDRef, &out.ConfigurationProfileIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationProfileIDSelector != nil { + in, out := &in.ConfigurationProfileIDSelector, &out.ConfigurationProfileIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ContentType != nil { in, out := &in.ContentType, &out.ContentType *out = new(string) @@ -2579,6 +2806,36 @@ func (in *HostedConfigurationVersionStatus) DeepCopy() *HostedConfigurationVersi // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MonitorInitParameters) DeepCopyInto(out *MonitorInitParameters) { *out = *in + if in.AlarmArn != nil { + in, out := &in.AlarmArn, &out.AlarmArn + *out = new(string) + **out = **in + } + if in.AlarmArnRef != nil { + in, out := &in.AlarmArnRef, &out.AlarmArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AlarmArnSelector != nil { + in, out := &in.AlarmArnSelector, &out.AlarmArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.AlarmRoleArn != nil { + in, out := &in.AlarmRoleArn, &out.AlarmRoleArn + *out = new(string) + **out = **in + } + if in.AlarmRoleArnRef != nil { + in, out := &in.AlarmRoleArnRef, &out.AlarmRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AlarmRoleArnSelector != nil { + in, out := &in.AlarmRoleArnSelector, &out.AlarmRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorInitParameters. diff --git a/apis/appconfig/v1beta1/zz_generated.resolvers.go b/apis/appconfig/v1beta1/zz_generated.resolvers.go index 8346b9f40f..7535b080dc 100644 --- a/apis/appconfig/v1beta1/zz_generated.resolvers.go +++ b/apis/appconfig/v1beta1/zz_generated.resolvers.go @@ -57,6 +57,38 @@ func (mg *ConfigurationProfile) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.RetrievalRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RetrievalRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ApplicationIDRef, + Selector: mg.Spec.InitProvider.ApplicationIDSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationID") + } + mg.Spec.InitProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RetrievalRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RetrievalRoleArnRef, + Selector: mg.Spec.InitProvider.RetrievalRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RetrievalRoleArn") + } + mg.Spec.InitProvider.RetrievalRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RetrievalRoleArnRef = rsp.ResolvedReference + return nil } @@ -163,6 +195,102 @@ func (mg *Deployment) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.KMSKeyIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ApplicationIDRef, + Selector: mg.Spec.InitProvider.ApplicationIDSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationID") + } + mg.Spec.InitProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationProfileID), + Extract: resource.ExtractParamPath("configuration_profile_id", true), + Reference: mg.Spec.InitProvider.ConfigurationProfileIDRef, + Selector: mg.Spec.InitProvider.ConfigurationProfileIDSelector, + To: reference.To{ + List: &ConfigurationProfileList{}, + Managed: &ConfigurationProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationProfileID") + } + mg.Spec.InitProvider.ConfigurationProfileID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationProfileIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationVersion), + Extract: resource.ExtractParamPath("version_number", true), + Reference: mg.Spec.InitProvider.ConfigurationVersionRef, + Selector: mg.Spec.InitProvider.ConfigurationVersionSelector, + To: reference.To{ + List: &HostedConfigurationVersionList{}, + Managed: &HostedConfigurationVersion{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationVersion") + } + mg.Spec.InitProvider.ConfigurationVersion = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationVersionRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeploymentStrategyID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DeploymentStrategyIDRef, + Selector: mg.Spec.InitProvider.DeploymentStrategyIDSelector, + To: reference.To{ + List: &DeploymentStrategyList{}, + Managed: &DeploymentStrategy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeploymentStrategyID") + } + mg.Spec.InitProvider.DeploymentStrategyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeploymentStrategyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EnvironmentID), + Extract: resource.ExtractParamPath("environment_id", true), + Reference: mg.Spec.InitProvider.EnvironmentIDRef, + Selector: mg.Spec.InitProvider.EnvironmentIDSelector, + To: reference.To{ + List: &EnvironmentList{}, + Managed: &Environment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EnvironmentID") + } + mg.Spec.InitProvider.EnvironmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EnvironmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyIdentifier), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.KMSKeyIdentifierRef, + Selector: mg.Spec.InitProvider.KMSKeyIdentifierSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyIdentifier") + } + mg.Spec.InitProvider.KMSKeyIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIdentifierRef = rsp.ResolvedReference + return nil } @@ -224,6 +352,58 @@ func (mg *Environment) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Monitor[i3].AlarmRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Monitor[i3].AlarmRoleArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ApplicationIDRef, + Selector: mg.Spec.InitProvider.ApplicationIDSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationID") + } + mg.Spec.InitProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Monitor); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Monitor[i3].AlarmArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Monitor[i3].AlarmArnRef, + Selector: mg.Spec.InitProvider.Monitor[i3].AlarmArnSelector, + To: reference.To{ + List: &v1beta12.MetricAlarmList{}, + Managed: &v1beta12.MetricAlarm{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Monitor[i3].AlarmArn") + } + mg.Spec.InitProvider.Monitor[i3].AlarmArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Monitor[i3].AlarmArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Monitor); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Monitor[i3].AlarmRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Monitor[i3].AlarmRoleArnRef, + Selector: mg.Spec.InitProvider.Monitor[i3].AlarmRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Monitor[i3].AlarmRoleArn") + } + mg.Spec.InitProvider.Monitor[i3].AlarmRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Monitor[i3].AlarmRoleArnRef = rsp.ResolvedReference + } return nil @@ -276,6 +456,46 @@ func (mg *Extension) ResolveReferences(ctx context.Context, c client.Reader) err } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ActionPoint); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ActionPoint[i3].Action); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArn") + } + mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ActionPoint[i3].Action[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ActionPoint); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ActionPoint[i3].Action); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URI), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URIRef, + Selector: mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URISelector, + To: reference.To{ + List: &v1beta13.TopicList{}, + Managed: &v1beta13.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URI") + } + mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URI = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ActionPoint[i3].Action[i4].URIRef = rsp.ResolvedReference + + } + } return nil } @@ -319,6 +539,38 @@ func (mg *ExtensionAssociation) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExtensionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ExtensionArnRef, + Selector: mg.Spec.InitProvider.ExtensionArnSelector, + To: reference.To{ + List: &ExtensionList{}, + Managed: &Extension{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExtensionArn") + } + mg.Spec.InitProvider.ExtensionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExtensionArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } @@ -361,5 +613,37 @@ func (mg *HostedConfigurationVersion) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.ConfigurationProfileID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConfigurationProfileIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ApplicationIDRef, + Selector: mg.Spec.InitProvider.ApplicationIDSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationID") + } + mg.Spec.InitProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationProfileID), + Extract: resource.ExtractParamPath("configuration_profile_id", true), + Reference: mg.Spec.InitProvider.ConfigurationProfileIDRef, + Selector: mg.Spec.InitProvider.ConfigurationProfileIDSelector, + To: reference.To{ + List: &ConfigurationProfileList{}, + Managed: &ConfigurationProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationProfileID") + } + mg.Spec.InitProvider.ConfigurationProfileID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationProfileIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go b/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go index d68358295c..21de36dea7 100755 --- a/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go +++ b/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go @@ -19,6 +19,32 @@ import ( type HostedConfigurationVersionInitParameters struct { + // Application ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.Application + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a Application in appconfig to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + + // Configuration profile ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appconfig/v1beta1.ConfigurationProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("configuration_profile_id",true) + ConfigurationProfileID *string `json:"configurationProfileId,omitempty" tf:"configuration_profile_id,omitempty"` + + // Reference to a ConfigurationProfile in appconfig to populate configurationProfileId. + // +kubebuilder:validation:Optional + ConfigurationProfileIDRef *v1.Reference `json:"configurationProfileIdRef,omitempty" tf:"-"` + + // Selector for a ConfigurationProfile in appconfig to populate configurationProfileId. + // +kubebuilder:validation:Optional + ConfigurationProfileIDSelector *v1.Selector `json:"configurationProfileIdSelector,omitempty" tf:"-"` + // Standard MIME type describing the format of the configuration content. For more information, see Content-Type. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` diff --git a/apis/appflow/v1beta1/zz_flow_types.go b/apis/appflow/v1beta1/zz_flow_types.go index b6078ddc04..c834b4b520 100755 --- a/apis/appflow/v1beta1/zz_flow_types.go +++ b/apis/appflow/v1beta1/zz_flow_types.go @@ -1062,6 +1062,19 @@ type RedshiftParameters struct { type S3InitParameters struct { + // Amazon S3 bucket name in which Amazon AppFlow places the transferred data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.BucketPolicy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("bucket",false) + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a BucketPolicy in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a BucketPolicy in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // Object key for the bucket in which Amazon AppFlow places the destination files. BucketPrefix *string `json:"bucketPrefix,omitempty" tf:"bucket_prefix,omitempty"` @@ -1854,6 +1867,19 @@ type SourceConnectorPropertiesParameters struct { type SourceConnectorPropertiesS3InitParameters struct { + // Amazon S3 bucket name in which Amazon AppFlow places the transferred data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.BucketPolicy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("bucket",false) + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a BucketPolicy in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a BucketPolicy in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // Object key for the bucket in which Amazon AppFlow places the destination files. BucketPrefix *string `json:"bucketPrefix,omitempty" tf:"bucket_prefix,omitempty"` diff --git a/apis/appflow/v1beta1/zz_generated.deepcopy.go b/apis/appflow/v1beta1/zz_generated.deepcopy.go index 9d47bfe0ef..3bd8651c98 100644 --- a/apis/appflow/v1beta1/zz_generated.deepcopy.go +++ b/apis/appflow/v1beta1/zz_generated.deepcopy.go @@ -2652,6 +2652,21 @@ func (in *RedshiftParameters) DeepCopy() *RedshiftParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3InitParameters) DeepCopyInto(out *S3InitParameters) { *out = *in + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BucketPrefix != nil { in, out := &in.BucketPrefix, &out.BucketPrefix *out = new(string) @@ -4604,6 +4619,21 @@ func (in *SourceConnectorPropertiesParameters) DeepCopy() *SourceConnectorProper // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SourceConnectorPropertiesS3InitParameters) DeepCopyInto(out *SourceConnectorPropertiesS3InitParameters) { *out = *in + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BucketPrefix != nil { in, out := &in.BucketPrefix, &out.BucketPrefix *out = new(string) diff --git a/apis/appflow/v1beta1/zz_generated.resolvers.go b/apis/appflow/v1beta1/zz_generated.resolvers.go index 76cb08e41f..0b9a4886ea 100644 --- a/apis/appflow/v1beta1/zz_generated.resolvers.go +++ b/apis/appflow/v1beta1/zz_generated.resolvers.go @@ -65,6 +65,50 @@ func (mg *Flow) ResolveReferences(ctx context.Context, c client.Reader) error { } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DestinationFlowConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketName), + Extract: resource.ExtractParamPath("bucket", false), + Reference: mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketNameRef, + Selector: mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketNameSelector, + To: reference.To{ + List: &v1beta1.BucketPolicyList{}, + Managed: &v1beta1.BucketPolicy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketName") + } + mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationFlowConfig[i3].DestinationConnectorProperties[i4].S3[i5].BucketNameRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SourceFlowConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketName), + Extract: resource.ExtractParamPath("bucket", false), + Reference: mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketNameRef, + Selector: mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketNameSelector, + To: reference.To{ + List: &v1beta1.BucketPolicyList{}, + Managed: &v1beta1.BucketPolicy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketName") + } + mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceFlowConfig[i3].SourceConnectorProperties[i4].S3[i5].BucketNameRef = rsp.ResolvedReference + + } + } + } return nil } diff --git a/apis/appmesh/v1beta1/zz_gatewayroute_types.go b/apis/appmesh/v1beta1/zz_gatewayroute_types.go index 165028730e..1ae5f86da8 100755 --- a/apis/appmesh/v1beta1/zz_gatewayroute_types.go +++ b/apis/appmesh/v1beta1/zz_gatewayroute_types.go @@ -105,6 +105,19 @@ type ActionTargetParameters struct { } type ActionTargetVirtualServiceInitParameters struct { + + // Name of the virtual service that traffic is routed to. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualService + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualServiceName *string `json:"virtualServiceName,omitempty" tf:"virtual_service_name,omitempty"` + + // Reference to a VirtualService in appmesh to populate virtualServiceName. + // +kubebuilder:validation:Optional + VirtualServiceNameRef *v1.Reference `json:"virtualServiceNameRef,omitempty" tf:"-"` + + // Selector for a VirtualService in appmesh to populate virtualServiceName. + // +kubebuilder:validation:Optional + VirtualServiceNameSelector *v1.Selector `json:"virtualServiceNameSelector,omitempty" tf:"-"` } type ActionTargetVirtualServiceObservation struct { @@ -176,6 +189,19 @@ type GatewayRouteInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualGatewayName *string `json:"virtualGatewayName,omitempty" tf:"virtual_gateway_name,omitempty"` + + // Reference to a VirtualGateway in appmesh to populate virtualGatewayName. + // +kubebuilder:validation:Optional + VirtualGatewayNameRef *v1.Reference `json:"virtualGatewayNameRef,omitempty" tf:"-"` + + // Selector for a VirtualGateway in appmesh to populate virtualGatewayName. + // +kubebuilder:validation:Optional + VirtualGatewayNameSelector *v1.Selector `json:"virtualGatewayNameSelector,omitempty" tf:"-"` } type GatewayRouteObservation struct { diff --git a/apis/appmesh/v1beta1/zz_generated.deepcopy.go b/apis/appmesh/v1beta1/zz_generated.deepcopy.go index 4f414efa73..4844050946 100644 --- a/apis/appmesh/v1beta1/zz_generated.deepcopy.go +++ b/apis/appmesh/v1beta1/zz_generated.deepcopy.go @@ -496,6 +496,21 @@ func (in *ActionTargetParameters) DeepCopy() *ActionTargetParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ActionTargetVirtualServiceInitParameters) DeepCopyInto(out *ActionTargetVirtualServiceInitParameters) { *out = *in + if in.VirtualServiceName != nil { + in, out := &in.VirtualServiceName, &out.VirtualServiceName + *out = new(string) + **out = **in + } + if in.VirtualServiceNameRef != nil { + in, out := &in.VirtualServiceNameRef, &out.VirtualServiceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualServiceNameSelector != nil { + in, out := &in.VirtualServiceNameSelector, &out.VirtualServiceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionTargetVirtualServiceInitParameters. @@ -667,6 +682,21 @@ func (in *AwsCloudMapInitParameters) DeepCopyInto(out *AwsCloudMapInitParameters (*out)[key] = outVal } } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.NamespaceNameRef != nil { + in, out := &in.NamespaceNameRef, &out.NamespaceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NamespaceNameSelector != nil { + in, out := &in.NamespaceNameSelector, &out.NamespaceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ServiceName != nil { in, out := &in.ServiceName, &out.ServiceName *out = new(string) @@ -1442,6 +1472,21 @@ func (in *BaseEjectionDurationParameters) DeepCopy() *BaseEjectionDurationParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CertificateAcmInitParameters) DeepCopyInto(out *CertificateAcmInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateAcmInitParameters. @@ -3930,6 +3975,21 @@ func (in *GatewayRouteInitParameters) DeepCopyInto(out *GatewayRouteInitParamete (*out)[key] = outVal } } + if in.VirtualGatewayName != nil { + in, out := &in.VirtualGatewayName, &out.VirtualGatewayName + *out = new(string) + **out = **in + } + if in.VirtualGatewayNameRef != nil { + in, out := &in.VirtualGatewayNameRef, &out.VirtualGatewayNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualGatewayNameSelector != nil { + in, out := &in.VirtualGatewayNameSelector, &out.VirtualGatewayNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayRouteInitParameters. @@ -4504,7 +4564,9 @@ func (in *HTTPRouteActionTargetInitParameters) DeepCopyInto(out *HTTPRouteAction if in.VirtualService != nil { in, out := &in.VirtualService, &out.VirtualService *out = make([]ActionTargetVirtualServiceInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -4580,6 +4642,21 @@ func (in *HTTPRouteActionWeightedTargetInitParameters) DeepCopyInto(out *HTTPRou *out = new(float64) **out = **in } + if in.VirtualNode != nil { + in, out := &in.VirtualNode, &out.VirtualNode + *out = new(string) + **out = **in + } + if in.VirtualNodeRef != nil { + in, out := &in.VirtualNodeRef, &out.VirtualNodeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualNodeSelector != nil { + in, out := &in.VirtualNodeSelector, &out.VirtualNodeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(float64) @@ -11283,12 +11360,16 @@ func (in *ProviderInitParameters) DeepCopyInto(out *ProviderInitParameters) { if in.VirtualNode != nil { in, out := &in.VirtualNode, &out.VirtualNode *out = make([]ProviderVirtualNodeInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.VirtualRouter != nil { in, out := &in.VirtualRouter, &out.VirtualRouter *out = make([]ProviderVirtualRouterInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -11363,6 +11444,21 @@ func (in *ProviderParameters) DeepCopy() *ProviderParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProviderVirtualNodeInitParameters) DeepCopyInto(out *ProviderVirtualNodeInitParameters) { *out = *in + if in.VirtualNodeName != nil { + in, out := &in.VirtualNodeName, &out.VirtualNodeName + *out = new(string) + **out = **in + } + if in.VirtualNodeNameRef != nil { + in, out := &in.VirtualNodeNameRef, &out.VirtualNodeNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualNodeNameSelector != nil { + in, out := &in.VirtualNodeNameSelector, &out.VirtualNodeNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderVirtualNodeInitParameters. @@ -11428,6 +11524,21 @@ func (in *ProviderVirtualNodeParameters) DeepCopy() *ProviderVirtualNodeParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProviderVirtualRouterInitParameters) DeepCopyInto(out *ProviderVirtualRouterInitParameters) { *out = *in + if in.VirtualRouterName != nil { + in, out := &in.VirtualRouterName, &out.VirtualRouterName + *out = new(string) + **out = **in + } + if in.VirtualRouterNameRef != nil { + in, out := &in.VirtualRouterNameRef, &out.VirtualRouterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualRouterNameSelector != nil { + in, out := &in.VirtualRouterNameSelector, &out.VirtualRouterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderVirtualRouterInitParameters. @@ -12294,6 +12405,21 @@ func (in *Route) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { *out = *in + if in.MeshName != nil { + in, out := &in.MeshName, &out.MeshName + *out = new(string) + **out = **in + } + if in.MeshNameRef != nil { + in, out := &in.MeshNameRef, &out.MeshNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MeshNameSelector != nil { + in, out := &in.MeshNameSelector, &out.MeshNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MeshOwner != nil { in, out := &in.MeshOwner, &out.MeshOwner *out = new(string) @@ -12327,6 +12453,21 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { (*out)[key] = outVal } } + if in.VirtualRouterName != nil { + in, out := &in.VirtualRouterName, &out.VirtualRouterName + *out = new(string) + **out = **in + } + if in.VirtualRouterNameRef != nil { + in, out := &in.VirtualRouterNameRef, &out.VirtualRouterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualRouterNameSelector != nil { + in, out := &in.VirtualRouterNameSelector, &out.VirtualRouterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteInitParameters. @@ -14765,6 +14906,21 @@ func (in *TCPRouteActionWeightedTargetInitParameters) DeepCopyInto(out *TCPRoute *out = new(float64) **out = **in } + if in.VirtualNode != nil { + in, out := &in.VirtualNode, &out.VirtualNode + *out = new(string) + **out = **in + } + if in.VirtualNodeRef != nil { + in, out := &in.VirtualNodeRef, &out.VirtualNodeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualNodeSelector != nil { + in, out := &in.VirtualNodeSelector, &out.VirtualNodeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(float64) @@ -15302,7 +15458,9 @@ func (in *TLSCertificateInitParameters) DeepCopyInto(out *TLSCertificateInitPara if in.Acm != nil { in, out := &in.Acm, &out.Acm *out = make([]CertificateAcmInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.File != nil { in, out := &in.File, &out.File @@ -18020,6 +18178,21 @@ func (in *VirtualNode) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VirtualNodeInitParameters) DeepCopyInto(out *VirtualNodeInitParameters) { *out = *in + if in.MeshName != nil { + in, out := &in.MeshName, &out.MeshName + *out = new(string) + **out = **in + } + if in.MeshNameRef != nil { + in, out := &in.MeshNameRef, &out.MeshNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MeshNameSelector != nil { + in, out := &in.MeshNameSelector, &out.MeshNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MeshOwner != nil { in, out := &in.MeshOwner, &out.MeshOwner *out = new(string) @@ -18474,6 +18647,21 @@ func (in *VirtualRouter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VirtualRouterInitParameters) DeepCopyInto(out *VirtualRouterInitParameters) { *out = *in + if in.MeshName != nil { + in, out := &in.MeshName, &out.MeshName + *out = new(string) + **out = **in + } + if in.MeshNameRef != nil { + in, out := &in.MeshNameRef, &out.MeshNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MeshNameSelector != nil { + in, out := &in.MeshNameSelector, &out.MeshNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MeshOwner != nil { in, out := &in.MeshOwner, &out.MeshOwner *out = new(string) @@ -18996,6 +19184,21 @@ func (in *VirtualServiceInitParameters) DeepCopy() *VirtualServiceInitParameters // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VirtualServiceInitParameters_2) DeepCopyInto(out *VirtualServiceInitParameters_2) { *out = *in + if in.MeshName != nil { + in, out := &in.MeshName, &out.MeshName + *out = new(string) + **out = **in + } + if in.MeshNameRef != nil { + in, out := &in.MeshNameRef, &out.MeshNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MeshNameSelector != nil { + in, out := &in.MeshNameSelector, &out.MeshNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MeshOwner != nil { in, out := &in.MeshOwner, &out.MeshOwner *out = new(string) diff --git a/apis/appmesh/v1beta1/zz_generated.resolvers.go b/apis/appmesh/v1beta1/zz_generated.resolvers.go index 67f2f163ac..73347bf51b 100644 --- a/apis/appmesh/v1beta1/zz_generated.resolvers.go +++ b/apis/appmesh/v1beta1/zz_generated.resolvers.go @@ -64,6 +64,48 @@ func (mg *GatewayRoute) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VirtualGatewayName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualGatewayNameRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target); i6++ { + for i7 := 0; i7 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService); i7++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceNameRef, + Selector: mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceNameSelector, + To: reference.To{ + List: &VirtualServiceList{}, + Managed: &VirtualService{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceName") + } + mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].Target[i6].VirtualService[i7].VirtualServiceNameRef = rsp.ResolvedReference + + } + } + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualGatewayName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.VirtualGatewayNameRef, + Selector: mg.Spec.InitProvider.VirtualGatewayNameSelector, + To: reference.To{ + List: &VirtualGatewayList{}, + Managed: &VirtualGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualGatewayName") + } + mg.Spec.InitProvider.VirtualGatewayName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualGatewayNameRef = rsp.ResolvedReference + return nil } @@ -154,6 +196,86 @@ func (mg *Route) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VirtualRouterName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualRouterNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MeshName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MeshNameRef, + Selector: mg.Spec.InitProvider.MeshNameSelector, + To: reference.To{ + List: &MeshList{}, + Managed: &Mesh{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MeshName") + } + mg.Spec.InitProvider.MeshName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MeshNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeRef, + Selector: mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeSelector, + To: reference.To{ + List: &VirtualNodeList{}, + Managed: &VirtualNode{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode") + } + mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].HTTPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].TCPRoute); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeRef, + Selector: mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeSelector, + To: reference.To{ + List: &VirtualNodeList{}, + Managed: &VirtualNode{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode") + } + mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNode = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].TCPRoute[i4].Action[i5].WeightedTarget[i6].VirtualNodeRef = rsp.ResolvedReference + + } + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualRouterName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.VirtualRouterNameRef, + Selector: mg.Spec.InitProvider.VirtualRouterNameSelector, + To: reference.To{ + List: &VirtualRouterList{}, + Managed: &VirtualRouter{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualRouterName") + } + mg.Spec.InitProvider.VirtualRouterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualRouterNameRef = rsp.ResolvedReference + return nil } @@ -190,6 +312,32 @@ func (mg *VirtualGateway) ResolveReferences(ctx context.Context, c client.Reader } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].Listener); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate); i6++ { + for i7 := 0; i7 < len(mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm); i7++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArnRef, + Selector: mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArnSelector, + To: reference.To{ + List: &v1beta1.CertificateList{}, + Managed: &v1beta1.Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArn") + } + mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].Listener[i4].TLS[i5].Certificate[i6].Acm[i7].CertificateArnRef = rsp.ResolvedReference + + } + } + } + } + } return nil } @@ -239,6 +387,44 @@ func (mg *VirtualNode) ResolveReferences(ctx context.Context, c client.Reader) e } } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MeshName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MeshNameRef, + Selector: mg.Spec.InitProvider.MeshNameSelector, + To: reference.To{ + List: &MeshList{}, + Managed: &Mesh{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MeshName") + } + mg.Spec.InitProvider.MeshName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MeshNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].ServiceDiscovery); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceNameRef, + Selector: mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceNameSelector, + To: reference.To{ + List: &v1beta11.HTTPNamespaceList{}, + Managed: &v1beta11.HTTPNamespace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceName") + } + mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].ServiceDiscovery[i4].AwsCloudMap[i5].NamespaceNameRef = rsp.ResolvedReference + + } + } + } return nil } @@ -266,6 +452,22 @@ func (mg *VirtualRouter) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.MeshName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.MeshNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MeshName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MeshNameRef, + Selector: mg.Spec.InitProvider.MeshNameSelector, + To: reference.To{ + List: &MeshList{}, + Managed: &Mesh{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MeshName") + } + mg.Spec.InitProvider.MeshName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MeshNameRef = rsp.ResolvedReference + return nil } @@ -336,6 +538,66 @@ func (mg *VirtualService) ResolveReferences(ctx context.Context, c client.Reader } } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MeshName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MeshNameRef, + Selector: mg.Spec.InitProvider.MeshNameSelector, + To: reference.To{ + List: &MeshList{}, + Managed: &Mesh{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MeshName") + } + mg.Spec.InitProvider.MeshName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MeshNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].Provider); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeNameRef, + Selector: mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeNameSelector, + To: reference.To{ + List: &VirtualNodeList{}, + Managed: &VirtualNode{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeName") + } + mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualNode[i5].VirtualNodeNameRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Spec); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Spec[i3].Provider); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterNameRef, + Selector: mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterNameSelector, + To: reference.To{ + List: &VirtualRouterList{}, + Managed: &VirtualRouter{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterName") + } + mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Spec[i3].Provider[i4].VirtualRouter[i5].VirtualRouterNameRef = rsp.ResolvedReference + + } + } + } return nil } diff --git a/apis/appmesh/v1beta1/zz_route_types.go b/apis/appmesh/v1beta1/zz_route_types.go index fb26f16075..79e5b34271 100755 --- a/apis/appmesh/v1beta1/zz_route_types.go +++ b/apis/appmesh/v1beta1/zz_route_types.go @@ -142,6 +142,19 @@ type HTTPRouteActionWeightedTargetInitParameters struct { // The port number to match from the request. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` + // Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualNode + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualNode *string `json:"virtualNode,omitempty" tf:"virtual_node,omitempty"` + + // Reference to a VirtualNode in appmesh to populate virtualNode. + // +kubebuilder:validation:Optional + VirtualNodeRef *v1.Reference `json:"virtualNodeRef,omitempty" tf:"-"` + + // Selector for a VirtualNode in appmesh to populate virtualNode. + // +kubebuilder:validation:Optional + VirtualNodeSelector *v1.Selector `json:"virtualNodeSelector,omitempty" tf:"-"` + // Relative weight of the weighted target. An integer between 0 and 100. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` } @@ -1142,6 +1155,19 @@ type RetryPolicyPerRetryTimeoutParameters struct { type RouteInitParameters struct { + // Name of the service mesh in which to create the route. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.Mesh + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + MeshName *string `json:"meshName,omitempty" tf:"mesh_name,omitempty"` + + // Reference to a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameRef *v1.Reference `json:"meshNameRef,omitempty" tf:"-"` + + // Selector for a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameSelector *v1.Selector `json:"meshNameSelector,omitempty" tf:"-"` + // AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. MeshOwner *string `json:"meshOwner,omitempty" tf:"mesh_owner,omitempty"` @@ -1154,6 +1180,19 @@ type RouteInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Name of the virtual router in which to create the route. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualRouter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualRouterName *string `json:"virtualRouterName,omitempty" tf:"virtual_router_name,omitempty"` + + // Reference to a VirtualRouter in appmesh to populate virtualRouterName. + // +kubebuilder:validation:Optional + VirtualRouterNameRef *v1.Reference `json:"virtualRouterNameRef,omitempty" tf:"-"` + + // Selector for a VirtualRouter in appmesh to populate virtualRouterName. + // +kubebuilder:validation:Optional + VirtualRouterNameSelector *v1.Selector `json:"virtualRouterNameSelector,omitempty" tf:"-"` } type RouteObservation struct { @@ -1717,6 +1756,19 @@ type TCPRouteActionWeightedTargetInitParameters struct { // The port number to match from the request. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` + // Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualNode + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualNode *string `json:"virtualNode,omitempty" tf:"virtual_node,omitempty"` + + // Reference to a VirtualNode in appmesh to populate virtualNode. + // +kubebuilder:validation:Optional + VirtualNodeRef *v1.Reference `json:"virtualNodeRef,omitempty" tf:"-"` + + // Selector for a VirtualNode in appmesh to populate virtualNode. + // +kubebuilder:validation:Optional + VirtualNodeSelector *v1.Selector `json:"virtualNodeSelector,omitempty" tf:"-"` + // Relative weight of the weighted target. An integer between 0 and 100. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_virtualgateway_types.go b/apis/appmesh/v1beta1/zz_virtualgateway_types.go index 8b43730f08..2cc005e866 100755 --- a/apis/appmesh/v1beta1/zz_virtualgateway_types.go +++ b/apis/appmesh/v1beta1/zz_virtualgateway_types.go @@ -107,6 +107,19 @@ type BackendDefaultsParameters struct { } type CertificateAcmInitParameters struct { + + // ARN for the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` } type CertificateAcmObservation struct { diff --git a/apis/appmesh/v1beta1/zz_virtualnode_types.go b/apis/appmesh/v1beta1/zz_virtualnode_types.go index 22dc56b9ea..63b7db54cb 100755 --- a/apis/appmesh/v1beta1/zz_virtualnode_types.go +++ b/apis/appmesh/v1beta1/zz_virtualnode_types.go @@ -23,6 +23,20 @@ type AwsCloudMapInitParameters struct { // +mapType=granular Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"` + // Name of the AWS Cloud Map namespace to use. + // Use the aws_service_discovery_http_namespace resource to configure a Cloud Map namespace. Must be between 1 and 1024 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicediscovery/v1beta1.HTTPNamespace + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` + + // Reference to a HTTPNamespace in servicediscovery to populate namespaceName. + // +kubebuilder:validation:Optional + NamespaceNameRef *v1.Reference `json:"namespaceNameRef,omitempty" tf:"-"` + + // Selector for a HTTPNamespace in servicediscovery to populate namespaceName. + // +kubebuilder:validation:Optional + NamespaceNameSelector *v1.Selector `json:"namespaceNameSelector,omitempty" tf:"-"` + // attribute of the dns object to hostname. ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` } @@ -2007,6 +2021,19 @@ type ValidationTrustAcmParameters struct { type VirtualNodeInitParameters struct { + // Name of the service mesh in which to create the virtual node. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.Mesh + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + MeshName *string `json:"meshName,omitempty" tf:"mesh_name,omitempty"` + + // Reference to a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameRef *v1.Reference `json:"meshNameRef,omitempty" tf:"-"` + + // Selector for a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameSelector *v1.Selector `json:"meshNameSelector,omitempty" tf:"-"` + // AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. MeshOwner *string `json:"meshOwner,omitempty" tf:"mesh_owner,omitempty"` diff --git a/apis/appmesh/v1beta1/zz_virtualrouter_types.go b/apis/appmesh/v1beta1/zz_virtualrouter_types.go index 9938462f14..83172ffe3b 100755 --- a/apis/appmesh/v1beta1/zz_virtualrouter_types.go +++ b/apis/appmesh/v1beta1/zz_virtualrouter_types.go @@ -48,6 +48,19 @@ type SpecListenerPortMappingParameters struct { type VirtualRouterInitParameters struct { + // Name of the service mesh in which to create the virtual router. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.Mesh + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + MeshName *string `json:"meshName,omitempty" tf:"mesh_name,omitempty"` + + // Reference to a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameRef *v1.Reference `json:"meshNameRef,omitempty" tf:"-"` + + // Selector for a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameSelector *v1.Selector `json:"meshNameSelector,omitempty" tf:"-"` + // AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. MeshOwner *string `json:"meshOwner,omitempty" tf:"mesh_owner,omitempty"` diff --git a/apis/appmesh/v1beta1/zz_virtualservice_types.go b/apis/appmesh/v1beta1/zz_virtualservice_types.go index 7f2ce51cb7..f98019b4cd 100755 --- a/apis/appmesh/v1beta1/zz_virtualservice_types.go +++ b/apis/appmesh/v1beta1/zz_virtualservice_types.go @@ -47,6 +47,19 @@ type ProviderParameters struct { } type ProviderVirtualNodeInitParameters struct { + + // Name of the virtual node that is acting as a service provider. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualNode + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualNodeName *string `json:"virtualNodeName,omitempty" tf:"virtual_node_name,omitempty"` + + // Reference to a VirtualNode in appmesh to populate virtualNodeName. + // +kubebuilder:validation:Optional + VirtualNodeNameRef *v1.Reference `json:"virtualNodeNameRef,omitempty" tf:"-"` + + // Selector for a VirtualNode in appmesh to populate virtualNodeName. + // +kubebuilder:validation:Optional + VirtualNodeNameSelector *v1.Selector `json:"virtualNodeNameSelector,omitempty" tf:"-"` } type ProviderVirtualNodeObservation struct { @@ -73,6 +86,19 @@ type ProviderVirtualNodeParameters struct { } type ProviderVirtualRouterInitParameters struct { + + // Name of the virtual router that is acting as a service provider. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.VirtualRouter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + VirtualRouterName *string `json:"virtualRouterName,omitempty" tf:"virtual_router_name,omitempty"` + + // Reference to a VirtualRouter in appmesh to populate virtualRouterName. + // +kubebuilder:validation:Optional + VirtualRouterNameRef *v1.Reference `json:"virtualRouterNameRef,omitempty" tf:"-"` + + // Selector for a VirtualRouter in appmesh to populate virtualRouterName. + // +kubebuilder:validation:Optional + VirtualRouterNameSelector *v1.Selector `json:"virtualRouterNameSelector,omitempty" tf:"-"` } type ProviderVirtualRouterObservation struct { @@ -100,6 +126,19 @@ type ProviderVirtualRouterParameters struct { type VirtualServiceInitParameters_2 struct { + // Name of the service mesh in which to create the virtual service. Must be between 1 and 255 characters in length. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appmesh/v1beta1.Mesh + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + MeshName *string `json:"meshName,omitempty" tf:"mesh_name,omitempty"` + + // Reference to a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameRef *v1.Reference `json:"meshNameRef,omitempty" tf:"-"` + + // Selector for a Mesh in appmesh to populate meshName. + // +kubebuilder:validation:Optional + MeshNameSelector *v1.Selector `json:"meshNameSelector,omitempty" tf:"-"` + // AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. MeshOwner *string `json:"meshOwner,omitempty" tf:"mesh_owner,omitempty"` diff --git a/apis/apprunner/v1beta1/zz_generated.deepcopy.go b/apis/apprunner/v1beta1/zz_generated.deepcopy.go index a7a2467952..c02ee10c2b 100644 --- a/apis/apprunner/v1beta1/zz_generated.deepcopy.go +++ b/apis/apprunner/v1beta1/zz_generated.deepcopy.go @@ -21,6 +21,21 @@ func (in *AuthenticationConfigurationInitParameters) DeepCopyInto(out *Authentic *out = new(string) **out = **in } + if in.ConnectionArn != nil { + in, out := &in.ConnectionArn, &out.ConnectionArn + *out = new(string) + **out = **in + } + if in.ConnectionArnRef != nil { + in, out := &in.ConnectionArnRef, &out.ConnectionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionArnSelector != nil { + in, out := &in.ConnectionArnSelector, &out.ConnectionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfigurationInitParameters. @@ -1041,6 +1056,21 @@ func (in *EgressConfigurationInitParameters) DeepCopyInto(out *EgressConfigurati *out = new(string) **out = **in } + if in.VPCConnectorArn != nil { + in, out := &in.VPCConnectorArn, &out.VPCConnectorArn + *out = new(string) + **out = **in + } + if in.VPCConnectorArnRef != nil { + in, out := &in.VPCConnectorArnRef, &out.VPCConnectorArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCConnectorArnSelector != nil { + in, out := &in.VPCConnectorArnSelector, &out.VPCConnectorArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressConfigurationInitParameters. @@ -2241,6 +2271,21 @@ func (in *ServiceList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServiceObservabilityConfigurationInitParameters) DeepCopyInto(out *ServiceObservabilityConfigurationInitParameters) { *out = *in + if in.ObservabilityConfigurationArn != nil { + in, out := &in.ObservabilityConfigurationArn, &out.ObservabilityConfigurationArn + *out = new(string) + **out = **in + } + if in.ObservabilityConfigurationArnRef != nil { + in, out := &in.ObservabilityConfigurationArnRef, &out.ObservabilityConfigurationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ObservabilityConfigurationArnSelector != nil { + in, out := &in.ObservabilityConfigurationArnSelector, &out.ObservabilityConfigurationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ObservabilityEnabled != nil { in, out := &in.ObservabilityEnabled, &out.ObservabilityEnabled *out = new(bool) @@ -2853,6 +2898,52 @@ func (in *VPCConnector) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConnectorInitParameters) DeepCopyInto(out *VPCConnectorInitParameters) { *out = *in + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SubnetRefs != nil { + in, out := &in.SubnetRefs, &out.SubnetRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetSelector != nil { + in, out := &in.SubnetSelector, &out.SubnetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *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)) diff --git a/apis/apprunner/v1beta1/zz_generated.resolvers.go b/apis/apprunner/v1beta1/zz_generated.resolvers.go index 532b9e9ae1..a29509b1a9 100644 --- a/apis/apprunner/v1beta1/zz_generated.resolvers.go +++ b/apis/apprunner/v1beta1/zz_generated.resolvers.go @@ -79,6 +79,64 @@ func (mg *Service) ResolveReferences(ctx context.Context, c client.Reader) error } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArnRef, + Selector: mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArnSelector, + To: reference.To{ + List: &VPCConnectorList{}, + Managed: &VPCConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArn") + } + mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkConfiguration[i3].EgressConfiguration[i4].VPCConnectorArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ObservabilityConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArnRef, + Selector: mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArnSelector, + To: reference.To{ + List: &ObservabilityConfigurationList{}, + Managed: &ObservabilityConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArn") + } + mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ObservabilityConfiguration[i3].ObservabilityConfigurationArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SourceConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArnRef, + Selector: mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArnSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArn") + } + mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceConfiguration[i3].AuthenticationConfiguration[i4].ConnectionArnRef = rsp.ResolvedReference + + } + } return nil } @@ -122,5 +180,37 @@ func (mg *VPCConnector) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupRefs, + Selector: mg.Spec.InitProvider.SecurityGroupSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroups") + } + mg.Spec.InitProvider.SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Subnets), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetRefs, + Selector: mg.Spec.InitProvider.SubnetSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Subnets") + } + mg.Spec.InitProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/apprunner/v1beta1/zz_service_types.go b/apis/apprunner/v1beta1/zz_service_types.go index de074ec136..e34c386221 100755 --- a/apis/apprunner/v1beta1/zz_service_types.go +++ b/apis/apprunner/v1beta1/zz_service_types.go @@ -21,6 +21,19 @@ type AuthenticationConfigurationInitParameters struct { // ARN of the IAM role that grants the App Runner service access to a source repository. Required for ECR image repositories (but not for ECR Public) AccessRoleArn *string `json:"accessRoleArn,omitempty" tf:"access_role_arn,omitempty"` + + // ARN of the App Runner connection that enables the App Runner service to connect to a source repository. Required for GitHub code repositories. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apprunner/v1beta1.Connection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ConnectionArn *string `json:"connectionArn,omitempty" tf:"connection_arn,omitempty"` + + // Reference to a Connection in apprunner to populate connectionArn. + // +kubebuilder:validation:Optional + ConnectionArnRef *v1.Reference `json:"connectionArnRef,omitempty" tf:"-"` + + // Selector for a Connection in apprunner to populate connectionArn. + // +kubebuilder:validation:Optional + ConnectionArnSelector *v1.Selector `json:"connectionArnSelector,omitempty" tf:"-"` } type AuthenticationConfigurationObservation struct { @@ -210,6 +223,19 @@ type EgressConfigurationInitParameters struct { // The type of egress configuration. Valid values are: DEFAULT and VPC. EgressType *string `json:"egressType,omitempty" tf:"egress_type,omitempty"` + + // The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apprunner/v1beta1.VPCConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + VPCConnectorArn *string `json:"vpcConnectorArn,omitempty" tf:"vpc_connector_arn,omitempty"` + + // Reference to a VPCConnector in apprunner to populate vpcConnectorArn. + // +kubebuilder:validation:Optional + VPCConnectorArnRef *v1.Reference `json:"vpcConnectorArnRef,omitempty" tf:"-"` + + // Selector for a VPCConnector in apprunner to populate vpcConnectorArn. + // +kubebuilder:validation:Optional + VPCConnectorArnSelector *v1.Selector `json:"vpcConnectorArnSelector,omitempty" tf:"-"` } type EgressConfigurationObservation struct { @@ -557,6 +583,19 @@ type ServiceInitParameters struct { type ServiceObservabilityConfigurationInitParameters struct { + // ARN of the observability configuration that is associated with the service. Specified only when observability_enabled is true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apprunner/v1beta1.ObservabilityConfiguration + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ObservabilityConfigurationArn *string `json:"observabilityConfigurationArn,omitempty" tf:"observability_configuration_arn,omitempty"` + + // Reference to a ObservabilityConfiguration in apprunner to populate observabilityConfigurationArn. + // +kubebuilder:validation:Optional + ObservabilityConfigurationArnRef *v1.Reference `json:"observabilityConfigurationArnRef,omitempty" tf:"-"` + + // Selector for a ObservabilityConfiguration in apprunner to populate observabilityConfigurationArn. + // +kubebuilder:validation:Optional + ObservabilityConfigurationArnSelector *v1.Selector `json:"observabilityConfigurationArnSelector,omitempty" tf:"-"` + // When true, an observability configuration resource is associated with the service. ObservabilityEnabled *bool `json:"observabilityEnabled,omitempty" tf:"observability_enabled,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_vpcconnector_types.go b/apis/apprunner/v1beta1/zz_vpcconnector_types.go index 30bc7cc9e2..3b95dfdea9 100755 --- a/apis/apprunner/v1beta1/zz_vpcconnector_types.go +++ b/apis/apprunner/v1beta1/zz_vpcconnector_types.go @@ -19,6 +19,36 @@ import ( type VPCConnectorInitParameters struct { + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // List of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // References to Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetRefs []v1.Reference `json:"subnetRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetSelector *v1.Selector `json:"subnetSelector,omitempty" tf:"-"` + + // List of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetRefs + // +crossplane:generate:reference:selectorFieldName=SubnetSelector + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/appstream/v1beta1/zz_fleet_types.go b/apis/appstream/v1beta1/zz_fleet_types.go index 0bc4bceb43..a6c005cecc 100755 --- a/apis/appstream/v1beta1/zz_fleet_types.go +++ b/apis/appstream/v1beta1/zz_fleet_types.go @@ -97,6 +97,19 @@ type FleetInitParameters struct { // Fleet type. Valid values are: ON_DEMAND, ALWAYS_ON FleetType *string `json:"fleetType,omitempty" tf:"fleet_type,omitempty"` + // ARN of the IAM role to apply to the fleet. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + // Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect_timeout_in_seconds time interval begins. IdleDisconnectTimeoutInSeconds *float64 `json:"idleDisconnectTimeoutInSeconds,omitempty" tf:"idle_disconnect_timeout_in_seconds,omitempty"` @@ -287,6 +300,20 @@ type VPCConfigInitParameters struct { // Identifiers of the security groups for the fleet or image builder. SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type VPCConfigObservation struct { diff --git a/apis/appstream/v1beta1/zz_generated.deepcopy.go b/apis/appstream/v1beta1/zz_generated.deepcopy.go index a271288064..1a9404d75f 100644 --- a/apis/appstream/v1beta1/zz_generated.deepcopy.go +++ b/apis/appstream/v1beta1/zz_generated.deepcopy.go @@ -680,6 +680,21 @@ func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { *out = new(string) **out = **in } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IdleDisconnectTimeoutInSeconds != nil { in, out := &in.IdleDisconnectTimeoutInSeconds, &out.IdleDisconnectTimeoutInSeconds *out = new(float64) @@ -1430,6 +1445,21 @@ func (in *ImageBuilderInitParameters) DeepCopyInto(out *ImageBuilderInitParamete *out = new(bool) **out = **in } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ImageArn != nil { in, out := &in.ImageArn, &out.ImageArn *out = new(string) @@ -1786,6 +1816,29 @@ func (in *ImageBuilderVPCConfigInitParameters) DeepCopyInto(out *ImageBuilderVPC } } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuilderVPCConfigInitParameters. @@ -3091,6 +3144,29 @@ func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { } } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigInitParameters. diff --git a/apis/appstream/v1beta1/zz_generated.resolvers.go b/apis/appstream/v1beta1/zz_generated.resolvers.go index 420a07ab7a..6e7a04dfeb 100644 --- a/apis/appstream/v1beta1/zz_generated.resolvers.go +++ b/apis/appstream/v1beta1/zz_generated.resolvers.go @@ -57,6 +57,40 @@ func (mg *Fleet) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } return nil @@ -145,6 +179,40 @@ func (mg *ImageBuilder) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } return nil diff --git a/apis/appstream/v1beta1/zz_imagebuilder_types.go b/apis/appstream/v1beta1/zz_imagebuilder_types.go index 571b002e20..8966a7120c 100755 --- a/apis/appstream/v1beta1/zz_imagebuilder_types.go +++ b/apis/appstream/v1beta1/zz_imagebuilder_types.go @@ -95,6 +95,19 @@ type ImageBuilderInitParameters struct { // Enables or disables default internet access for the image builder. EnableDefaultInternetAccess *bool `json:"enableDefaultInternetAccess,omitempty" tf:"enable_default_internet_access,omitempty"` + // ARN of the IAM role to apply to the image builder. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + // ARN of the public, private, or shared image to use. ImageArn *string `json:"imageArn,omitempty" tf:"image_arn,omitempty"` @@ -233,6 +246,21 @@ type ImageBuilderVPCConfigInitParameters struct { // Identifiers of the security groups for the image builder or image builder. // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Identifier of the subnet to which a network interface is attached from the image builder instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type ImageBuilderVPCConfigObservation struct { diff --git a/apis/appsync/v1beta1/zz_apicache_types.go b/apis/appsync/v1beta1/zz_apicache_types.go index dd28ed9462..fe5cbabd71 100755 --- a/apis/appsync/v1beta1/zz_apicache_types.go +++ b/apis/appsync/v1beta1/zz_apicache_types.go @@ -22,6 +22,19 @@ type APICacheInitParameters struct { // Caching behavior. Valid values are FULL_REQUEST_CACHING and PER_RESOLVER_CACHING. APICachingBehavior *string `json:"apiCachingBehavior,omitempty" tf:"api_caching_behavior,omitempty"` + // GraphQL API ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appsync/v1beta1.GraphQLAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a GraphQLAPI in appsync to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a GraphQLAPI in appsync to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // At-rest encryption flag for cache. You cannot update this setting after creation. AtRestEncryptionEnabled *bool `json:"atRestEncryptionEnabled,omitempty" tf:"at_rest_encryption_enabled,omitempty"` diff --git a/apis/appsync/v1beta1/zz_datasource_types.go b/apis/appsync/v1beta1/zz_datasource_types.go index bc8d47be6e..2adeea3a01 100755 --- a/apis/appsync/v1beta1/zz_datasource_types.go +++ b/apis/appsync/v1beta1/zz_datasource_types.go @@ -101,6 +101,19 @@ type DatasourceInitParameters struct { // AWS RDS settings. See Relational Database Config RelationalDatabaseConfig []RelationalDatabaseConfigInitParameters `json:"relationalDatabaseConfig,omitempty" tf:"relational_database_config,omitempty"` + // IAM service role ARN for the data source. Required if type is specified as AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, AMAZON_EVENTBRIDGE, or AMAZON_OPENSEARCH_SERVICE. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"` + // Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE, AMAZON_EVENTBRIDGE, AMAZON_OPENSEARCH_SERVICE. Type *string `json:"type,omitempty" tf:"type,omitempty"` } @@ -263,6 +276,18 @@ type DynamodbConfigInitParameters struct { // The DeltaSyncConfig for a versioned data source. See Delta Sync Config DeltaSyncConfig []DeltaSyncConfigInitParameters `json:"deltaSyncConfig,omitempty" tf:"delta_sync_config,omitempty"` + // Name of the DynamoDB table. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dynamodb/v1beta1.Table + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` + + // Reference to a Table in dynamodb to populate tableName. + // +kubebuilder:validation:Optional + TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"` + + // Selector for a Table in dynamodb to populate tableName. + // +kubebuilder:validation:Optional + TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"` + // Set to true to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `json:"useCallerCredentials,omitempty" tf:"use_caller_credentials,omitempty"` diff --git a/apis/appsync/v1beta1/zz_function_types.go b/apis/appsync/v1beta1/zz_function_types.go index 5a9afb315e..f6499e9fe2 100755 --- a/apis/appsync/v1beta1/zz_function_types.go +++ b/apis/appsync/v1beta1/zz_function_types.go @@ -19,9 +19,34 @@ import ( type FunctionInitParameters struct { + // ID of the associated AppSync API. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appsync/v1beta1.GraphQLAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // Reference to a GraphQLAPI in appsync to populate apiId. + // +kubebuilder:validation:Optional + APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"` + + // Selector for a GraphQLAPI in appsync to populate apiId. + // +kubebuilder:validation:Optional + APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` + // The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS. Code *string `json:"code,omitempty" tf:"code,omitempty"` + // Function data source name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appsync/v1beta1.Datasource + DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"` + + // Reference to a Datasource in appsync to populate dataSource. + // +kubebuilder:validation:Optional + DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"` + + // Selector for a Datasource in appsync to populate dataSource. + // +kubebuilder:validation:Optional + DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"` + // Function description. Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/appsync/v1beta1/zz_generated.deepcopy.go b/apis/appsync/v1beta1/zz_generated.deepcopy.go index f63b3f6f87..3f98250959 100644 --- a/apis/appsync/v1beta1/zz_generated.deepcopy.go +++ b/apis/appsync/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *APICacheInitParameters) DeepCopyInto(out *APICacheInitParameters) { *out = new(string) **out = **in } + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AtRestEncryptionEnabled != nil { in, out := &in.AtRestEncryptionEnabled, &out.AtRestEncryptionEnabled *out = new(bool) @@ -912,6 +927,21 @@ func (in *DatasourceInitParameters) DeepCopyInto(out *DatasourceInitParameters) (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ServiceRoleArn != nil { + in, out := &in.ServiceRoleArn, &out.ServiceRoleArn + *out = new(string) + **out = **in + } + if in.ServiceRoleArnRef != nil { + in, out := &in.ServiceRoleArnRef, &out.ServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleArnSelector != nil { + in, out := &in.ServiceRoleArnSelector, &out.ServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1299,6 +1329,21 @@ func (in *DynamodbConfigInitParameters) DeepCopyInto(out *DynamodbConfigInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } + if in.TableNameRef != nil { + in, out := &in.TableNameRef, &out.TableNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TableNameSelector != nil { + in, out := &in.TableNameSelector, &out.TableNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.UseCallerCredentials != nil { in, out := &in.UseCallerCredentials, &out.UseCallerCredentials *out = new(bool) @@ -1575,11 +1620,41 @@ func (in *Function) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters) { *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIIDRef != nil { + in, out := &in.APIIDRef, &out.APIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIIDSelector != nil { + in, out := &in.APIIDSelector, &out.APIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Code != nil { in, out := &in.Code, &out.Code *out = new(string) **out = **in } + if in.DataSource != nil { + in, out := &in.DataSource, &out.DataSource + *out = new(string) + **out = **in + } + if in.DataSourceRef != nil { + in, out := &in.DataSourceRef, &out.DataSourceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataSourceSelector != nil { + in, out := &in.DataSourceSelector, &out.DataSourceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -2518,6 +2593,21 @@ func (in *GraphQLAPIUserPoolConfigInitParameters) DeepCopyInto(out *GraphQLAPIUs *out = new(string) **out = **in } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphQLAPIUserPoolConfigInitParameters. @@ -3019,6 +3109,21 @@ func (in *LambdaConflictHandlerConfigParameters) DeepCopy() *LambdaConflictHandl // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LogConfigInitParameters) DeepCopyInto(out *LogConfigInitParameters) { *out = *in + if in.CloudwatchLogsRoleArn != nil { + in, out := &in.CloudwatchLogsRoleArn, &out.CloudwatchLogsRoleArn + *out = new(string) + **out = **in + } + if in.CloudwatchLogsRoleArnRef != nil { + in, out := &in.CloudwatchLogsRoleArnRef, &out.CloudwatchLogsRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchLogsRoleArnSelector != nil { + in, out := &in.CloudwatchLogsRoleArnSelector, &out.CloudwatchLogsRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExcludeVerboseContent != nil { in, out := &in.ExcludeVerboseContent, &out.ExcludeVerboseContent *out = new(bool) @@ -3487,6 +3592,21 @@ func (in *ResolverInitParameters) DeepCopyInto(out *ResolverInitParameters) { *out = new(string) **out = **in } + if in.DataSource != nil { + in, out := &in.DataSource, &out.DataSource + *out = new(string) + **out = **in + } + if in.DataSourceRef != nil { + in, out := &in.DataSourceRef, &out.DataSourceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataSourceSelector != nil { + in, out := &in.DataSourceSelector, &out.DataSourceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Kind != nil { in, out := &in.Kind, &out.Kind *out = new(string) diff --git a/apis/appsync/v1beta1/zz_generated.resolvers.go b/apis/appsync/v1beta1/zz_generated.resolvers.go index 04c1b6aa9e..41f379d98d 100644 --- a/apis/appsync/v1beta1/zz_generated.resolvers.go +++ b/apis/appsync/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *APICache) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &GraphQLAPIList{}, + Managed: &GraphQLAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + return nil } @@ -126,6 +142,40 @@ func (mg *Datasource) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceRoleArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.DynamodbConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DynamodbConfig[i3].TableName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DynamodbConfig[i3].TableNameRef, + Selector: mg.Spec.InitProvider.DynamodbConfig[i3].TableNameSelector, + To: reference.To{ + List: &v1beta1.TableList{}, + Managed: &v1beta1.Table{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DynamodbConfig[i3].TableName") + } + mg.Spec.InitProvider.DynamodbConfig[i3].TableName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DynamodbConfig[i3].TableNameRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceRoleArn") + } + mg.Spec.InitProvider.ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceRoleArnRef = rsp.ResolvedReference + return nil } @@ -168,6 +218,38 @@ func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.DataSource = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DataSourceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.APIIDRef, + Selector: mg.Spec.InitProvider.APIIDSelector, + To: reference.To{ + List: &GraphQLAPIList{}, + Managed: &GraphQLAPI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.APIID") + } + mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataSource), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DataSourceRef, + Selector: mg.Spec.InitProvider.DataSourceSelector, + To: reference.To{ + List: &DatasourceList{}, + Managed: &Datasource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataSource") + } + mg.Spec.InitProvider.DataSource = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataSourceRef = rsp.ResolvedReference + return nil } @@ -213,6 +295,42 @@ func (mg *GraphQLAPI) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.UserPoolConfig[i3].UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolConfig[i3].UserPoolIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LogConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArnRef, + Selector: mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArn") + } + mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogConfig[i3].CloudwatchLogsRoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.UserPoolConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolIDSelector, + To: reference.To{ + List: &v1beta12.UserPoolList{}, + Managed: &v1beta12.UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolID") + } + mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolConfig[i3].UserPoolIDRef = rsp.ResolvedReference + } return nil @@ -257,5 +375,21 @@ func (mg *Resolver) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.DataSource = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DataSourceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataSource), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DataSourceRef, + Selector: mg.Spec.InitProvider.DataSourceSelector, + To: reference.To{ + List: &DatasourceList{}, + Managed: &Datasource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataSource") + } + mg.Spec.InitProvider.DataSource = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataSourceRef = rsp.ResolvedReference + return nil } diff --git a/apis/appsync/v1beta1/zz_graphqlapi_types.go b/apis/appsync/v1beta1/zz_graphqlapi_types.go index a5bd66f9ef..9d1228ed13 100755 --- a/apis/appsync/v1beta1/zz_graphqlapi_types.go +++ b/apis/appsync/v1beta1/zz_graphqlapi_types.go @@ -305,6 +305,19 @@ type GraphQLAPIUserPoolConfigInitParameters struct { // Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOW and DENY DefaultAction *string `json:"defaultAction,omitempty" tf:"default_action,omitempty"` + + // User pool ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type GraphQLAPIUserPoolConfigObservation struct { @@ -392,6 +405,19 @@ type LambdaAuthorizerConfigParameters struct { type LogConfigInitParameters struct { + // Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CloudwatchLogsRoleArn *string `json:"cloudwatchLogsRoleArn,omitempty" tf:"cloudwatch_logs_role_arn,omitempty"` + + // Reference to a Role in iam to populate cloudwatchLogsRoleArn. + // +kubebuilder:validation:Optional + CloudwatchLogsRoleArnRef *v1.Reference `json:"cloudwatchLogsRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate cloudwatchLogsRoleArn. + // +kubebuilder:validation:Optional + CloudwatchLogsRoleArnSelector *v1.Selector `json:"cloudwatchLogsRoleArnSelector,omitempty" tf:"-"` + // Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: true, false. Default value: false ExcludeVerboseContent *bool `json:"excludeVerboseContent,omitempty" tf:"exclude_verbose_content,omitempty"` diff --git a/apis/appsync/v1beta1/zz_resolver_types.go b/apis/appsync/v1beta1/zz_resolver_types.go index 3e8a90b6bc..d4306aa6d0 100755 --- a/apis/appsync/v1beta1/zz_resolver_types.go +++ b/apis/appsync/v1beta1/zz_resolver_types.go @@ -76,6 +76,18 @@ type ResolverInitParameters struct { // The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS. Code *string `json:"code,omitempty" tf:"code,omitempty"` + // Data source name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appsync/v1beta1.Datasource + DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"` + + // Reference to a Datasource in appsync to populate dataSource. + // +kubebuilder:validation:Optional + DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"` + + // Selector for a Datasource in appsync to populate dataSource. + // +kubebuilder:validation:Optional + DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"` + // Resolver type. Valid values are UNIT and PIPELINE. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` diff --git a/apis/athena/v1beta1/zz_database_types.go b/apis/athena/v1beta1/zz_database_types.go index a92b3826b0..163b0d7cc9 100755 --- a/apis/athena/v1beta1/zz_database_types.go +++ b/apis/athena/v1beta1/zz_database_types.go @@ -41,6 +41,19 @@ type DatabaseInitParameters struct { // That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below. ACLConfiguration []ACLConfigurationInitParameters `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"` + // Name of S3 bucket to save the results of the query execution. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Description of the database. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` diff --git a/apis/athena/v1beta1/zz_generated.deepcopy.go b/apis/athena/v1beta1/zz_generated.deepcopy.go index 42db43da44..0fc15cf902 100644 --- a/apis/athena/v1beta1/zz_generated.deepcopy.go +++ b/apis/athena/v1beta1/zz_generated.deepcopy.go @@ -568,6 +568,21 @@ func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Comment != nil { in, out := &in.Comment, &out.Comment *out = new(string) @@ -1005,6 +1020,21 @@ func (in *NamedQuery) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NamedQueryInitParameters) DeepCopyInto(out *NamedQueryInitParameters) { *out = *in + if in.Database != nil { + in, out := &in.Database, &out.Database + *out = new(string) + **out = **in + } + if in.DatabaseRef != nil { + in, out := &in.DatabaseRef, &out.DatabaseRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DatabaseSelector != nil { + in, out := &in.DatabaseSelector, &out.DatabaseSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -1020,6 +1050,21 @@ func (in *NamedQueryInitParameters) DeepCopyInto(out *NamedQueryInitParameters) *out = new(string) **out = **in } + if in.Workgroup != nil { + in, out := &in.Workgroup, &out.Workgroup + *out = new(string) + **out = **in + } + if in.WorkgroupRef != nil { + in, out := &in.WorkgroupRef, &out.WorkgroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkgroupSelector != nil { + in, out := &in.WorkgroupSelector, &out.WorkgroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedQueryInitParameters. @@ -1277,6 +1322,21 @@ func (in *ResultConfigurationEncryptionConfigurationInitParameters) DeepCopyInto *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultConfigurationEncryptionConfigurationInitParameters. diff --git a/apis/athena/v1beta1/zz_generated.resolvers.go b/apis/athena/v1beta1/zz_generated.resolvers.go index f36aa958b5..36f20f13bb 100644 --- a/apis/athena/v1beta1/zz_generated.resolvers.go +++ b/apis/athena/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,22 @@ func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -81,6 +97,38 @@ func (mg *NamedQuery) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Workgroup = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkgroupRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Database), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DatabaseRef, + Selector: mg.Spec.InitProvider.DatabaseSelector, + To: reference.To{ + List: &DatabaseList{}, + Managed: &Database{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Database") + } + mg.Spec.InitProvider.Database = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DatabaseRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Workgroup), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkgroupRef, + Selector: mg.Spec.InitProvider.WorkgroupSelector, + To: reference.To{ + List: &WorkgroupList{}, + Managed: &Workgroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Workgroup") + } + mg.Spec.InitProvider.Workgroup = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkgroupRef = rsp.ResolvedReference + return nil } @@ -113,6 +161,28 @@ func (mg *Workgroup) ResolveReferences(ctx context.Context, c client.Reader) err } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Configuration[i3].ResultConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArnRef, + Selector: mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArn") + } + mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].ResultConfiguration[i4].EncryptionConfiguration[i5].KMSKeyArnRef = rsp.ResolvedReference + + } + } + } return nil } diff --git a/apis/athena/v1beta1/zz_namedquery_types.go b/apis/athena/v1beta1/zz_namedquery_types.go index 69f3e44a01..1a149adb6e 100755 --- a/apis/athena/v1beta1/zz_namedquery_types.go +++ b/apis/athena/v1beta1/zz_namedquery_types.go @@ -19,6 +19,18 @@ import ( type NamedQueryInitParameters struct { + // Database to which the query belongs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/athena/v1beta1.Database + Database *string `json:"database,omitempty" tf:"database,omitempty"` + + // Reference to a Database in athena to populate database. + // +kubebuilder:validation:Optional + DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"` + + // Selector for a Database in athena to populate database. + // +kubebuilder:validation:Optional + DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"` + // Brief explanation of the query. Maximum length of 1024. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -27,6 +39,19 @@ type NamedQueryInitParameters struct { // Text of the query itself. In other words, all query statements. Maximum length of 262144. Query *string `json:"query,omitempty" tf:"query,omitempty"` + + // Workgroup to which the query belongs. Defaults to primary + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/athena/v1beta1.Workgroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Workgroup *string `json:"workgroup,omitempty" tf:"workgroup,omitempty"` + + // Reference to a Workgroup in athena to populate workgroup. + // +kubebuilder:validation:Optional + WorkgroupRef *v1.Reference `json:"workgroupRef,omitempty" tf:"-"` + + // Selector for a Workgroup in athena to populate workgroup. + // +kubebuilder:validation:Optional + WorkgroupSelector *v1.Selector `json:"workgroupSelector,omitempty" tf:"-"` } type NamedQueryObservation struct { diff --git a/apis/athena/v1beta1/zz_workgroup_types.go b/apis/athena/v1beta1/zz_workgroup_types.go index 4971b8a07e..e528f828fe 100755 --- a/apis/athena/v1beta1/zz_workgroup_types.go +++ b/apis/athena/v1beta1/zz_workgroup_types.go @@ -141,6 +141,19 @@ type ResultConfigurationEncryptionConfigurationInitParameters struct { // Whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup. EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"` + + // For SSE_KMS and CSE_KMS, this is the KMS key ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` } type ResultConfigurationEncryptionConfigurationObservation struct { diff --git a/apis/autoscaling/v1beta1/zz_attachment_types.go b/apis/autoscaling/v1beta1/zz_attachment_types.go index 61b390962e..c7cd45cfad 100755 --- a/apis/autoscaling/v1beta1/zz_attachment_types.go +++ b/apis/autoscaling/v1beta1/zz_attachment_types.go @@ -18,6 +18,44 @@ import ( ) type AttachmentInitParameters struct { + + // Name of ASG to associate with the ELB. + // +crossplane:generate:reference:type=AutoscalingGroup + AutoscalingGroupName *string `json:"autoscalingGroupName,omitempty" tf:"autoscaling_group_name,omitempty"` + + // Reference to a AutoscalingGroup to populate autoscalingGroupName. + // +kubebuilder:validation:Optional + AutoscalingGroupNameRef *v1.Reference `json:"autoscalingGroupNameRef,omitempty" tf:"-"` + + // Selector for a AutoscalingGroup to populate autoscalingGroupName. + // +kubebuilder:validation:Optional + AutoscalingGroupNameSelector *v1.Selector `json:"autoscalingGroupNameSelector,omitempty" tf:"-"` + + // Name of the ELB. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ELB *string `json:"elb,omitempty" tf:"elb,omitempty"` + + // Reference to a ELB in elb to populate elb. + // +kubebuilder:validation:Optional + ELBRef *v1.Reference `json:"elbRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate elb. + // +kubebuilder:validation:Optional + ELBSelector *v1.Selector `json:"elbSelector,omitempty" tf:"-"` + + // ARN of a load balancer target group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBTargetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + LBTargetGroupArn *string `json:"lbTargetGroupArn,omitempty" tf:"lb_target_group_arn,omitempty"` + + // Reference to a LBTargetGroup in elbv2 to populate lbTargetGroupArn. + // +kubebuilder:validation:Optional + LBTargetGroupArnRef *v1.Reference `json:"lbTargetGroupArnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup in elbv2 to populate lbTargetGroupArn. + // +kubebuilder:validation:Optional + LBTargetGroupArnSelector *v1.Selector `json:"lbTargetGroupArnSelector,omitempty" tf:"-"` } type AttachmentObservation struct { diff --git a/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go b/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go index 7e0c60ffac..3c16b5c99b 100755 --- a/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go +++ b/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go @@ -140,6 +140,18 @@ type AutoscalingGroupInitParameters struct { // when this Auto Scaling Group is updated. Defined below. InstanceRefresh []InstanceRefreshInitParameters `json:"instanceRefresh,omitempty" tf:"instance_refresh,omitempty"` + // Name of the launch configuration to use. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/autoscaling/v1beta1.LaunchConfiguration + LaunchConfiguration *string `json:"launchConfiguration,omitempty" tf:"launch_configuration,omitempty"` + + // Reference to a LaunchConfiguration in autoscaling to populate launchConfiguration. + // +kubebuilder:validation:Optional + LaunchConfigurationRef *v1.Reference `json:"launchConfigurationRef,omitempty" tf:"-"` + + // Selector for a LaunchConfiguration in autoscaling to populate launchConfiguration. + // +kubebuilder:validation:Optional + LaunchConfigurationSelector *v1.Selector `json:"launchConfigurationSelector,omitempty" tf:"-"` + // Nested argument with Launch template specification to use to launch instances. See Launch Template below for more details. LaunchTemplate []LaunchTemplateInitParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"` @@ -163,6 +175,19 @@ type AutoscalingGroupInitParameters struct { // Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details. MixedInstancesPolicy []MixedInstancesPolicyInitParameters `json:"mixedInstancesPolicy,omitempty" tf:"mixed_instances_policy,omitempty"` + // Name of the placement group into which you'll launch your instances, if any. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.PlacementGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"` + + // Reference to a PlacementGroup in ec2 to populate placementGroup. + // +kubebuilder:validation:Optional + PlacementGroupRef *v1.Reference `json:"placementGroupRef,omitempty" tf:"-"` + + // Selector for a PlacementGroup in ec2 to populate placementGroup. + // +kubebuilder:validation:Optional + PlacementGroupSelector *v1.Selector `json:"placementGroupSelector,omitempty" tf:"-"` + // Whether newly launched instances // are automatically protected from termination by Amazon EC2 Auto Scaling when // scaling in. For more information about preventing instances from terminating @@ -170,6 +195,19 @@ type AutoscalingGroupInitParameters struct { // in the Amazon EC2 Auto Scaling User Guide. ProtectFromScaleIn *bool `json:"protectFromScaleIn,omitempty" tf:"protect_from_scale_in,omitempty"` + // ARN of the service-linked role that the ASG will use to call other AWS services + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceLinkedRoleArn *string `json:"serviceLinkedRoleArn,omitempty" tf:"service_linked_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceLinkedRoleArn. + // +kubebuilder:validation:Optional + ServiceLinkedRoleArnRef *v1.Reference `json:"serviceLinkedRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceLinkedRoleArn. + // +kubebuilder:validation:Optional + ServiceLinkedRoleArnSelector *v1.Selector `json:"serviceLinkedRoleArnSelector,omitempty" tf:"-"` + // List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer, InstanceRefresh. // Note that if you suspend either the Launch or Terminate process types, it can prevent your Auto Scaling Group from functioning properly. // +listType=set @@ -184,6 +222,19 @@ type AutoscalingGroupInitParameters struct { // Attaches one or more traffic sources to the specified Auto Scaling group. TrafficSource []TrafficSourceInitParameters `json:"trafficSource,omitempty" tf:"traffic_source,omitempty"` + // List of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with availability_zones. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + VPCZoneIdentifier []*string `json:"vpcZoneIdentifier,omitempty" tf:"vpc_zone_identifier,omitempty"` + + // References to Subnet in ec2 to populate vpcZoneIdentifier. + // +kubebuilder:validation:Optional + VPCZoneIdentifierRefs []v1.Reference `json:"vpcZoneIdentifierRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate vpcZoneIdentifier. + // +kubebuilder:validation:Optional + VPCZoneIdentifierSelector *v1.Selector `json:"vpcZoneIdentifierSelector,omitempty" tf:"-"` + // (See also Waiting // for Capacity below. WaitForCapacityTimeout *string `json:"waitForCapacityTimeout,omitempty" tf:"wait_for_capacity_timeout,omitempty"` @@ -1087,6 +1138,19 @@ type InstancesDistributionParameters struct { type LaunchTemplateInitParameters struct { + // ID of the launch template. Conflicts with name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate id. + // +kubebuilder:validation:Optional + IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate id. + // +kubebuilder:validation:Optional + IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` + // Name of the launch template. Conflicts with id. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -1133,6 +1197,19 @@ type LaunchTemplateParameters struct { type LaunchTemplateSpecificationInitParameters struct { + // ID of the launch template. Conflicts with launch_template_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDRef *v1.Reference `json:"launchTemplateIdRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDSelector *v1.Selector `json:"launchTemplateIdSelector,omitempty" tf:"-"` + // Name of the launch template. Conflicts with launch_template_id. LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"` @@ -1368,6 +1445,19 @@ type OverrideInitParameters struct { type OverrideLaunchTemplateSpecificationInitParameters struct { + // ID of the launch template. Conflicts with launch_template_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDRef *v1.Reference `json:"launchTemplateIdRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDSelector *v1.Selector `json:"launchTemplateIdSelector,omitempty" tf:"-"` + // Name of the launch template. Conflicts with launch_template_id. LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"` diff --git a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go index f196c3179f..f89a9908c2 100644 --- a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go +++ b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go @@ -193,6 +193,51 @@ func (in *Attachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AttachmentInitParameters) DeepCopyInto(out *AttachmentInitParameters) { *out = *in + if in.AutoscalingGroupName != nil { + in, out := &in.AutoscalingGroupName, &out.AutoscalingGroupName + *out = new(string) + **out = **in + } + if in.AutoscalingGroupNameRef != nil { + in, out := &in.AutoscalingGroupNameRef, &out.AutoscalingGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AutoscalingGroupNameSelector != nil { + in, out := &in.AutoscalingGroupNameSelector, &out.AutoscalingGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ELB != nil { + in, out := &in.ELB, &out.ELB + *out = new(string) + **out = **in + } + if in.ELBRef != nil { + in, out := &in.ELBRef, &out.ELBRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ELBSelector != nil { + in, out := &in.ELBSelector, &out.ELBSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LBTargetGroupArn != nil { + in, out := &in.LBTargetGroupArn, &out.LBTargetGroupArn + *out = new(string) + **out = **in + } + if in.LBTargetGroupArnRef != nil { + in, out := &in.LBTargetGroupArnRef, &out.LBTargetGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LBTargetGroupArnSelector != nil { + in, out := &in.LBTargetGroupArnSelector, &out.LBTargetGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachmentInitParameters. @@ -342,7 +387,7 @@ func (in *AttachmentSpec) DeepCopyInto(out *AttachmentSpec) { *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 AttachmentSpec. @@ -500,6 +545,21 @@ func (in *AutoscalingGroupInitParameters) DeepCopyInto(out *AutoscalingGroupInit (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LaunchConfiguration != nil { + in, out := &in.LaunchConfiguration, &out.LaunchConfiguration + *out = new(string) + **out = **in + } + if in.LaunchConfigurationRef != nil { + in, out := &in.LaunchConfigurationRef, &out.LaunchConfigurationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LaunchConfigurationSelector != nil { + in, out := &in.LaunchConfigurationSelector, &out.LaunchConfigurationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LaunchTemplate != nil { in, out := &in.LaunchTemplate, &out.LaunchTemplate *out = make([]LaunchTemplateInitParameters, len(*in)) @@ -539,11 +599,41 @@ func (in *AutoscalingGroupInitParameters) DeepCopyInto(out *AutoscalingGroupInit (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.PlacementGroup != nil { + in, out := &in.PlacementGroup, &out.PlacementGroup + *out = new(string) + **out = **in + } + if in.PlacementGroupRef != nil { + in, out := &in.PlacementGroupRef, &out.PlacementGroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PlacementGroupSelector != nil { + in, out := &in.PlacementGroupSelector, &out.PlacementGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ProtectFromScaleIn != nil { in, out := &in.ProtectFromScaleIn, &out.ProtectFromScaleIn *out = new(bool) **out = **in } + if in.ServiceLinkedRoleArn != nil { + in, out := &in.ServiceLinkedRoleArn, &out.ServiceLinkedRoleArn + *out = new(string) + **out = **in + } + if in.ServiceLinkedRoleArnRef != nil { + in, out := &in.ServiceLinkedRoleArnRef, &out.ServiceLinkedRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceLinkedRoleArnSelector != nil { + in, out := &in.ServiceLinkedRoleArnSelector, &out.ServiceLinkedRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SuspendedProcesses != nil { in, out := &in.SuspendedProcesses, &out.SuspendedProcesses *out = make([]*string, len(*in)) @@ -580,6 +670,29 @@ func (in *AutoscalingGroupInitParameters) DeepCopyInto(out *AutoscalingGroupInit (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.VPCZoneIdentifier != nil { + in, out := &in.VPCZoneIdentifier, &out.VPCZoneIdentifier + *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.VPCZoneIdentifierRefs != nil { + in, out := &in.VPCZoneIdentifierRefs, &out.VPCZoneIdentifierRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCZoneIdentifierSelector != nil { + in, out := &in.VPCZoneIdentifierSelector, &out.VPCZoneIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.WaitForCapacityTimeout != nil { in, out := &in.WaitForCapacityTimeout, &out.WaitForCapacityTimeout *out = new(string) @@ -2380,6 +2493,21 @@ func (in *GroupTag) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GroupTagInitParameters) DeepCopyInto(out *GroupTagInitParameters) { *out = *in + if in.AutoscalingGroupName != nil { + in, out := &in.AutoscalingGroupName, &out.AutoscalingGroupName + *out = new(string) + **out = **in + } + if in.AutoscalingGroupNameRef != nil { + in, out := &in.AutoscalingGroupNameRef, &out.AutoscalingGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AutoscalingGroupNameSelector != nil { + in, out := &in.AutoscalingGroupNameSelector, &out.AutoscalingGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tag != nil { in, out := &in.Tag, &out.Tag *out = make([]GroupTagTagInitParameters, len(*in)) @@ -4191,6 +4319,21 @@ func (in *LaunchConfigurationStatus) DeepCopy() *LaunchConfigurationStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplateInitParameters) DeepCopyInto(out *LaunchTemplateInitParameters) { *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IDRef != nil { + in, out := &in.IDRef, &out.IDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IDSelector != nil { + in, out := &in.IDSelector, &out.IDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -4286,6 +4429,21 @@ func (in *LaunchTemplateParameters) DeepCopy() *LaunchTemplateParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplateSpecificationInitParameters) DeepCopyInto(out *LaunchTemplateSpecificationInitParameters) { *out = *in + if in.LaunchTemplateID != nil { + in, out := &in.LaunchTemplateID, &out.LaunchTemplateID + *out = new(string) + **out = **in + } + if in.LaunchTemplateIDRef != nil { + in, out := &in.LaunchTemplateIDRef, &out.LaunchTemplateIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateIDSelector != nil { + in, out := &in.LaunchTemplateIDSelector, &out.LaunchTemplateIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LaunchTemplateName != nil { in, out := &in.LaunchTemplateName, &out.LaunchTemplateName *out = new(string) @@ -4433,6 +4591,21 @@ func (in *LifecycleHookInitParameters) DeepCopyInto(out *LifecycleHookInitParame *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleHookInitParameters. @@ -6668,6 +6841,21 @@ func (in *NotificationInitParameters) DeepCopyInto(out *NotificationInitParamete } } } + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationInitParameters. @@ -6893,6 +7081,21 @@ func (in *OverrideInitParameters) DeepCopy() *OverrideInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OverrideLaunchTemplateSpecificationInitParameters) DeepCopyInto(out *OverrideLaunchTemplateSpecificationInitParameters) { *out = *in + if in.LaunchTemplateID != nil { + in, out := &in.LaunchTemplateID, &out.LaunchTemplateID + *out = new(string) + **out = **in + } + if in.LaunchTemplateIDRef != nil { + in, out := &in.LaunchTemplateIDRef, &out.LaunchTemplateIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateIDSelector != nil { + in, out := &in.LaunchTemplateIDSelector, &out.LaunchTemplateIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LaunchTemplateName != nil { in, out := &in.LaunchTemplateName, &out.LaunchTemplateName *out = new(string) diff --git a/apis/autoscaling/v1beta1/zz_generated.resolvers.go b/apis/autoscaling/v1beta1/zz_generated.resolvers.go index 3b6fa111e3..9c93dcb815 100644 --- a/apis/autoscaling/v1beta1/zz_generated.resolvers.go +++ b/apis/autoscaling/v1beta1/zz_generated.resolvers.go @@ -74,6 +74,54 @@ func (mg *Attachment) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.LBTargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LBTargetGroupArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AutoscalingGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AutoscalingGroupNameRef, + Selector: mg.Spec.InitProvider.AutoscalingGroupNameSelector, + To: reference.To{ + List: &AutoscalingGroupList{}, + Managed: &AutoscalingGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AutoscalingGroupName") + } + mg.Spec.InitProvider.AutoscalingGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AutoscalingGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ELB), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ELBRef, + Selector: mg.Spec.InitProvider.ELBSelector, + To: reference.To{ + List: &v1beta1.ELBList{}, + Managed: &v1beta1.ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ELB") + } + mg.Spec.InitProvider.ELB = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ELBRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LBTargetGroupArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LBTargetGroupArnRef, + Selector: mg.Spec.InitProvider.LBTargetGroupArnSelector, + To: reference.To{ + List: &v1beta11.LBTargetGroupList{}, + Managed: &v1beta11.LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LBTargetGroupArn") + } + mg.Spec.InitProvider.LBTargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LBTargetGroupArnRef = rsp.ResolvedReference + return nil } @@ -213,6 +261,134 @@ func (mg *AutoscalingGroup) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.VPCZoneIdentifier = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCZoneIdentifierRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchConfiguration), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LaunchConfigurationRef, + Selector: mg.Spec.InitProvider.LaunchConfigurationSelector, + To: reference.To{ + List: &LaunchConfigurationList{}, + Managed: &LaunchConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchConfiguration") + } + mg.Spec.InitProvider.LaunchConfiguration = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchConfigurationRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchTemplate); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchTemplate[i3].ID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LaunchTemplate[i3].IDRef, + Selector: mg.Spec.InitProvider.LaunchTemplate[i3].IDSelector, + To: reference.To{ + List: &v1beta12.LaunchTemplateList{}, + Managed: &v1beta12.LaunchTemplate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchTemplate[i3].ID") + } + mg.Spec.InitProvider.LaunchTemplate[i3].ID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchTemplate[i3].IDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.MixedInstancesPolicy); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateIDRef, + Selector: mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateIDSelector, + To: reference.To{ + List: &v1beta12.LaunchTemplateList{}, + Managed: &v1beta12.LaunchTemplate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateID") + } + mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].LaunchTemplateSpecification[i5].LaunchTemplateIDRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.MixedInstancesPolicy); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateIDRef, + Selector: mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateIDSelector, + To: reference.To{ + List: &v1beta12.LaunchTemplateList{}, + Managed: &v1beta12.LaunchTemplate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateID") + } + mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MixedInstancesPolicy[i3].LaunchTemplate[i4].Override[i5].LaunchTemplateSpecification[i6].LaunchTemplateIDRef = rsp.ResolvedReference + + } + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PlacementGroup), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PlacementGroupRef, + Selector: mg.Spec.InitProvider.PlacementGroupSelector, + To: reference.To{ + List: &v1beta12.PlacementGroupList{}, + Managed: &v1beta12.PlacementGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PlacementGroup") + } + mg.Spec.InitProvider.PlacementGroup = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PlacementGroupRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceLinkedRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceLinkedRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceLinkedRoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceLinkedRoleArn") + } + mg.Spec.InitProvider.ServiceLinkedRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceLinkedRoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCZoneIdentifier), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCZoneIdentifierRefs, + Selector: mg.Spec.InitProvider.VPCZoneIdentifierSelector, + To: reference.To{ + List: &v1beta12.SubnetList{}, + Managed: &v1beta12.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCZoneIdentifier") + } + mg.Spec.InitProvider.VPCZoneIdentifier = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCZoneIdentifierRefs = mrsp.ResolvedReferences + return nil } @@ -239,6 +415,22 @@ func (mg *GroupTag) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.AutoscalingGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AutoscalingGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AutoscalingGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AutoscalingGroupNameRef, + Selector: mg.Spec.InitProvider.AutoscalingGroupNameSelector, + To: reference.To{ + List: &AutoscalingGroupList{}, + Managed: &AutoscalingGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AutoscalingGroupName") + } + mg.Spec.InitProvider.AutoscalingGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AutoscalingGroupNameRef = rsp.ResolvedReference + return nil } @@ -281,6 +473,22 @@ func (mg *LifecycleHook) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -307,6 +515,22 @@ func (mg *Notification) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TopicArnRef, + Selector: mg.Spec.InitProvider.TopicArnSelector, + To: reference.To{ + List: &v1beta14.TopicList{}, + Managed: &v1beta14.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TopicArn") + } + mg.Spec.InitProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TopicArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/autoscaling/v1beta1/zz_grouptag_types.go b/apis/autoscaling/v1beta1/zz_grouptag_types.go index 7385c49d49..ea655f02d8 100755 --- a/apis/autoscaling/v1beta1/zz_grouptag_types.go +++ b/apis/autoscaling/v1beta1/zz_grouptag_types.go @@ -19,6 +19,18 @@ import ( type GroupTagInitParameters struct { + // Name of the Autoscaling Group to apply the tag to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/autoscaling/v1beta1.AutoscalingGroup + AutoscalingGroupName *string `json:"autoscalingGroupName,omitempty" tf:"autoscaling_group_name,omitempty"` + + // Reference to a AutoscalingGroup in autoscaling to populate autoscalingGroupName. + // +kubebuilder:validation:Optional + AutoscalingGroupNameRef *v1.Reference `json:"autoscalingGroupNameRef,omitempty" tf:"-"` + + // Selector for a AutoscalingGroup in autoscaling to populate autoscalingGroupName. + // +kubebuilder:validation:Optional + AutoscalingGroupNameSelector *v1.Selector `json:"autoscalingGroupNameSelector,omitempty" tf:"-"` + // Tag to create. The tag block is documented below. Tag []GroupTagTagInitParameters `json:"tag,omitempty" tf:"tag,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go b/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go index 51e13c355e..90125e6781 100755 --- a/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go +++ b/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go @@ -33,6 +33,19 @@ type LifecycleHookInitParameters struct { // ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. NotificationTargetArn *string `json:"notificationTargetArn,omitempty" tf:"notification_target_arn,omitempty"` + + // ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type LifecycleHookObservation struct { diff --git a/apis/autoscaling/v1beta1/zz_notification_types.go b/apis/autoscaling/v1beta1/zz_notification_types.go index 98a3a0dab7..1267fc1d1b 100755 --- a/apis/autoscaling/v1beta1/zz_notification_types.go +++ b/apis/autoscaling/v1beta1/zz_notification_types.go @@ -27,6 +27,19 @@ type NotificationInitParameters struct { // notifications. Acceptable values are documented in the AWS documentation here // +listType=set Notifications []*string `json:"notifications,omitempty" tf:"notifications,omitempty"` + + // Topic ARN for notifications to be sent through + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type NotificationObservation struct { diff --git a/apis/backup/v1beta1/zz_generated.deepcopy.go b/apis/backup/v1beta1/zz_generated.deepcopy.go index 5380211e4e..023b49798a 100644 --- a/apis/backup/v1beta1/zz_generated.deepcopy.go +++ b/apis/backup/v1beta1/zz_generated.deepcopy.go @@ -2262,6 +2262,21 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = new(float64) **out = **in } + if in.TargetVaultName != nil { + in, out := &in.TargetVaultName, &out.TargetVaultName + *out = new(string) + **out = **in + } + if in.TargetVaultNameRef != nil { + in, out := &in.TargetVaultNameRef, &out.TargetVaultNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetVaultNameSelector != nil { + in, out := &in.TargetVaultNameSelector, &out.TargetVaultNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters. @@ -2705,6 +2720,21 @@ func (in *SelectionInitParameters) DeepCopyInto(out *SelectionInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -2721,6 +2751,21 @@ func (in *SelectionInitParameters) DeepCopyInto(out *SelectionInitParameters) { } } } + if in.PlanID != nil { + in, out := &in.PlanID, &out.PlanID + *out = new(string) + **out = **in + } + if in.PlanIDRef != nil { + in, out := &in.PlanIDRef, &out.PlanIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PlanIDSelector != nil { + in, out := &in.PlanIDSelector, &out.PlanIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make([]*string, len(*in)) @@ -3405,6 +3450,21 @@ func (in *VaultInitParameters) DeepCopyInto(out *VaultInitParameters) { *out = new(bool) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -3495,6 +3555,21 @@ func (in *VaultLockConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VaultLockConfigurationInitParameters) DeepCopyInto(out *VaultLockConfigurationInitParameters) { *out = *in + if in.BackupVaultName != nil { + in, out := &in.BackupVaultName, &out.BackupVaultName + *out = new(string) + **out = **in + } + if in.BackupVaultNameRef != nil { + in, out := &in.BackupVaultNameRef, &out.BackupVaultNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BackupVaultNameSelector != nil { + in, out := &in.BackupVaultNameSelector, &out.BackupVaultNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ChangeableForDays != nil { in, out := &in.ChangeableForDays, &out.ChangeableForDays *out = new(float64) @@ -3725,6 +3800,36 @@ func (in *VaultNotificationsInitParameters) DeepCopyInto(out *VaultNotifications } } } + if in.BackupVaultName != nil { + in, out := &in.BackupVaultName, &out.BackupVaultName + *out = new(string) + **out = **in + } + if in.BackupVaultNameRef != nil { + in, out := &in.BackupVaultNameRef, &out.BackupVaultNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BackupVaultNameSelector != nil { + in, out := &in.BackupVaultNameSelector, &out.BackupVaultNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultNotificationsInitParameters. @@ -4069,6 +4174,21 @@ func (in *VaultPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VaultPolicyInitParameters) DeepCopyInto(out *VaultPolicyInitParameters) { *out = *in + if in.BackupVaultName != nil { + in, out := &in.BackupVaultName, &out.BackupVaultName + *out = new(string) + **out = **in + } + if in.BackupVaultNameRef != nil { + in, out := &in.BackupVaultNameRef, &out.BackupVaultNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BackupVaultNameSelector != nil { + in, out := &in.BackupVaultNameSelector, &out.BackupVaultNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) diff --git a/apis/backup/v1beta1/zz_generated.resolvers.go b/apis/backup/v1beta1/zz_generated.resolvers.go index fbf7defa3a..8e83d10828 100644 --- a/apis/backup/v1beta1/zz_generated.resolvers.go +++ b/apis/backup/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,24 @@ func (mg *Plan) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Rule[i3].TargetVaultName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Rule[i3].TargetVaultNameRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Rule); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rule[i3].TargetVaultName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Rule[i3].TargetVaultNameRef, + Selector: mg.Spec.InitProvider.Rule[i3].TargetVaultNameSelector, + To: reference.To{ + List: &VaultList{}, + Managed: &Vault{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rule[i3].TargetVaultName") + } + mg.Spec.InitProvider.Rule[i3].TargetVaultName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Rule[i3].TargetVaultNameRef = rsp.ResolvedReference + } return nil @@ -84,6 +102,38 @@ func (mg *Selection) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.PlanID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PlanIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PlanID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PlanIDRef, + Selector: mg.Spec.InitProvider.PlanIDSelector, + To: reference.To{ + List: &PlanList{}, + Managed: &Plan{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PlanID") + } + mg.Spec.InitProvider.PlanID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PlanIDRef = rsp.ResolvedReference + return nil } @@ -110,6 +160,22 @@ func (mg *Vault) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + return nil } @@ -136,6 +202,22 @@ func (mg *VaultLockConfiguration) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.BackupVaultName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BackupVaultNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BackupVaultName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BackupVaultNameRef, + Selector: mg.Spec.InitProvider.BackupVaultNameSelector, + To: reference.To{ + List: &VaultList{}, + Managed: &Vault{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BackupVaultName") + } + mg.Spec.InitProvider.BackupVaultName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BackupVaultNameRef = rsp.ResolvedReference + return nil } @@ -178,6 +260,38 @@ func (mg *VaultNotifications) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BackupVaultName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BackupVaultNameRef, + Selector: mg.Spec.InitProvider.BackupVaultNameSelector, + To: reference.To{ + List: &VaultList{}, + Managed: &Vault{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BackupVaultName") + } + mg.Spec.InitProvider.BackupVaultName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BackupVaultNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + return nil } @@ -204,5 +318,21 @@ func (mg *VaultPolicy) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.BackupVaultName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BackupVaultNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BackupVaultName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BackupVaultNameRef, + Selector: mg.Spec.InitProvider.BackupVaultNameSelector, + To: reference.To{ + List: &VaultList{}, + Managed: &Vault{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BackupVaultName") + } + mg.Spec.InitProvider.BackupVaultName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BackupVaultNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/backup/v1beta1/zz_plan_types.go b/apis/backup/v1beta1/zz_plan_types.go index 93d070d755..106dd836c7 100755 --- a/apis/backup/v1beta1/zz_plan_types.go +++ b/apis/backup/v1beta1/zz_plan_types.go @@ -203,6 +203,18 @@ type RuleInitParameters struct { // The amount of time in minutes before beginning a backup. StartWindow *float64 `json:"startWindow,omitempty" tf:"start_window,omitempty"` + + // The name of a logical container where backups are stored. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/backup/v1beta1.Vault + TargetVaultName *string `json:"targetVaultName,omitempty" tf:"target_vault_name,omitempty"` + + // Reference to a Vault in backup to populate targetVaultName. + // +kubebuilder:validation:Optional + TargetVaultNameRef *v1.Reference `json:"targetVaultNameRef,omitempty" tf:"-"` + + // Selector for a Vault in backup to populate targetVaultName. + // +kubebuilder:validation:Optional + TargetVaultNameSelector *v1.Selector `json:"targetVaultNameSelector,omitempty" tf:"-"` } type RuleLifecycleInitParameters struct { diff --git a/apis/backup/v1beta1/zz_selection_types.go b/apis/backup/v1beta1/zz_selection_types.go index 3dc4f83a8a..f0600d6480 100755 --- a/apis/backup/v1beta1/zz_selection_types.go +++ b/apis/backup/v1beta1/zz_selection_types.go @@ -57,6 +57,19 @@ type SelectionInitParameters struct { // A list of conditions that you define to assign resources to your backup plans using tags. Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"` + // The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the AWS Backup Developer Guide for additional information about using AWS managed policies or creating custom policies attached to the IAM role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + // The display name of a resource selection document. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -64,6 +77,18 @@ type SelectionInitParameters struct { // +listType=set NotResources []*string `json:"notResources,omitempty" tf:"not_resources,omitempty"` + // The backup plan ID to be associated with the selection of resources. + // +crossplane:generate:reference:type=Plan + PlanID *string `json:"planId,omitempty" tf:"plan_id,omitempty"` + + // Reference to a Plan to populate planId. + // +kubebuilder:validation:Optional + PlanIDRef *v1.Reference `json:"planIdRef,omitempty" tf:"-"` + + // Selector for a Plan to populate planId. + // +kubebuilder:validation:Optional + PlanIDSelector *v1.Selector `json:"planIdSelector,omitempty" tf:"-"` + // An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan. // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` diff --git a/apis/backup/v1beta1/zz_vault_types.go b/apis/backup/v1beta1/zz_vault_types.go index c8654d1b37..9b98e5c008 100755 --- a/apis/backup/v1beta1/zz_vault_types.go +++ b/apis/backup/v1beta1/zz_vault_types.go @@ -22,6 +22,19 @@ type VaultInitParameters struct { // A boolean that indicates that all recovery points stored in the vault are deleted so that the vault can be destroyed without error. ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"` + // The server-side encryption key that is used to protect your backups. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/backup/v1beta1/zz_vaultlockconfiguration_types.go b/apis/backup/v1beta1/zz_vaultlockconfiguration_types.go index 5748a34aa5..7e6c3448ac 100755 --- a/apis/backup/v1beta1/zz_vaultlockconfiguration_types.go +++ b/apis/backup/v1beta1/zz_vaultlockconfiguration_types.go @@ -19,6 +19,18 @@ import ( type VaultLockConfigurationInitParameters struct { + // Name of the backup vault to add a lock configuration for. + // +crossplane:generate:reference:type=Vault + BackupVaultName *string `json:"backupVaultName,omitempty" tf:"backup_vault_name,omitempty"` + + // Reference to a Vault to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameRef *v1.Reference `json:"backupVaultNameRef,omitempty" tf:"-"` + + // Selector for a Vault to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameSelector *v1.Selector `json:"backupVaultNameSelector,omitempty" tf:"-"` + // The number of days before the lock date. If omitted creates a vault lock in governance mode, otherwise it will create a vault lock in compliance mode. ChangeableForDays *float64 `json:"changeableForDays,omitempty" tf:"changeable_for_days,omitempty"` diff --git a/apis/backup/v1beta1/zz_vaultnotifications_types.go b/apis/backup/v1beta1/zz_vaultnotifications_types.go index 004e1c3c9b..dae7a4c628 100755 --- a/apis/backup/v1beta1/zz_vaultnotifications_types.go +++ b/apis/backup/v1beta1/zz_vaultnotifications_types.go @@ -22,6 +22,31 @@ type VaultNotificationsInitParameters struct { // An array of events that indicate the status of jobs to back up resources to the backup vault. // +listType=set BackupVaultEvents []*string `json:"backupVaultEvents,omitempty" tf:"backup_vault_events,omitempty"` + + // Name of the backup vault to add notifications for. + // +crossplane:generate:reference:type=Vault + BackupVaultName *string `json:"backupVaultName,omitempty" tf:"backup_vault_name,omitempty"` + + // Reference to a Vault to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameRef *v1.Reference `json:"backupVaultNameRef,omitempty" tf:"-"` + + // Selector for a Vault to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameSelector *v1.Selector `json:"backupVaultNameSelector,omitempty" tf:"-"` + + // The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` } type VaultNotificationsObservation struct { diff --git a/apis/backup/v1beta1/zz_vaultpolicy_types.go b/apis/backup/v1beta1/zz_vaultpolicy_types.go index cb2211ab93..e22406c416 100755 --- a/apis/backup/v1beta1/zz_vaultpolicy_types.go +++ b/apis/backup/v1beta1/zz_vaultpolicy_types.go @@ -19,6 +19,18 @@ import ( type VaultPolicyInitParameters struct { + // Name of the backup vault to add policy for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/backup/v1beta1.Vault + BackupVaultName *string `json:"backupVaultName,omitempty" tf:"backup_vault_name,omitempty"` + + // Reference to a Vault in backup to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameRef *v1.Reference `json:"backupVaultNameRef,omitempty" tf:"-"` + + // Selector for a Vault in backup to populate backupVaultName. + // +kubebuilder:validation:Optional + BackupVaultNameSelector *v1.Selector `json:"backupVaultNameSelector,omitempty" tf:"-"` + // The backup vault access policy document in JSON format. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/budgets/v1beta1/zz_budgetaction_types.go b/apis/budgets/v1beta1/zz_budgetaction_types.go index a955ce7c21..39085ff437 100755 --- a/apis/budgets/v1beta1/zz_budgetaction_types.go +++ b/apis/budgets/v1beta1/zz_budgetaction_types.go @@ -60,9 +60,34 @@ type BudgetActionInitParameters struct { // This specifies if the action needs manual or automatic approval. Valid values are AUTOMATIC and MANUAL. ApprovalModel *string `json:"approvalModel,omitempty" tf:"approval_model,omitempty"` + // The name of a budget. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/budgets/v1beta1.Budget + BudgetName *string `json:"budgetName,omitempty" tf:"budget_name,omitempty"` + + // Reference to a Budget in budgets to populate budgetName. + // +kubebuilder:validation:Optional + BudgetNameRef *v1.Reference `json:"budgetNameRef,omitempty" tf:"-"` + + // Selector for a Budget in budgets to populate budgetName. + // +kubebuilder:validation:Optional + BudgetNameSelector *v1.Selector `json:"budgetNameSelector,omitempty" tf:"-"` + // Specifies all of the type-specific parameters. See Definition. Definition []DefinitionInitParameters `json:"definition,omitempty" tf:"definition,omitempty"` + // The role passed for action execution and reversion. Roles and actions must be in the same account. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"` + // The type of a notification. Valid values are ACTUAL or FORECASTED. NotificationType *string `json:"notificationType,omitempty" tf:"notification_type,omitempty"` @@ -221,6 +246,19 @@ type IAMActionDefinitionInitParameters struct { // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` + // The Amazon Resource Name (ARN) of the policy to be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Reference to a Policy in iam to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnRef *v1.Reference `json:"policyArnRef,omitempty" tf:"-"` + + // Selector for a Policy in iam to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnSelector *v1.Selector `json:"policyArnSelector,omitempty" tf:"-"` + // A list of roles to be attached. There must be at least one role. // +listType=set Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"` diff --git a/apis/budgets/v1beta1/zz_generated.deepcopy.go b/apis/budgets/v1beta1/zz_generated.deepcopy.go index eac36b9d2b..20838ccc78 100644 --- a/apis/budgets/v1beta1/zz_generated.deepcopy.go +++ b/apis/budgets/v1beta1/zz_generated.deepcopy.go @@ -253,6 +253,21 @@ func (in *BudgetActionInitParameters) DeepCopyInto(out *BudgetActionInitParamete *out = new(string) **out = **in } + if in.BudgetName != nil { + in, out := &in.BudgetName, &out.BudgetName + *out = new(string) + **out = **in + } + if in.BudgetNameRef != nil { + in, out := &in.BudgetNameRef, &out.BudgetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BudgetNameSelector != nil { + in, out := &in.BudgetNameSelector, &out.BudgetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Definition != nil { in, out := &in.Definition, &out.Definition *out = make([]DefinitionInitParameters, len(*in)) @@ -260,6 +275,21 @@ func (in *BudgetActionInitParameters) DeepCopyInto(out *BudgetActionInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NotificationType != nil { in, out := &in.NotificationType, &out.NotificationType *out = new(string) @@ -1355,6 +1385,21 @@ func (in *IAMActionDefinitionInitParameters) DeepCopyInto(out *IAMActionDefiniti } } } + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn + *out = new(string) + **out = **in + } + if in.PolicyArnRef != nil { + in, out := &in.PolicyArnRef, &out.PolicyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyArnSelector != nil { + in, out := &in.PolicyArnSelector, &out.PolicyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Roles != nil { in, out := &in.Roles, &out.Roles *out = make([]*string, len(*in)) diff --git a/apis/budgets/v1beta1/zz_generated.resolvers.go b/apis/budgets/v1beta1/zz_generated.resolvers.go index 4038d3d332..a09ac7a6ce 100644 --- a/apis/budgets/v1beta1/zz_generated.resolvers.go +++ b/apis/budgets/v1beta1/zz_generated.resolvers.go @@ -74,5 +74,57 @@ func (mg *BudgetAction) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BudgetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BudgetNameRef, + Selector: mg.Spec.InitProvider.BudgetNameSelector, + To: reference.To{ + List: &BudgetList{}, + Managed: &Budget{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BudgetName") + } + mg.Spec.InitProvider.BudgetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BudgetNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Definition); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Definition[i3].IAMActionDefinition); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArnRef, + Selector: mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArnSelector, + To: reference.To{ + List: &v1beta1.PolicyList{}, + Managed: &v1beta1.Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArn") + } + mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Definition[i3].IAMActionDefinition[i4].PolicyArnRef = rsp.ResolvedReference + + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExecutionRoleArn") + } + mg.Spec.InitProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExecutionRoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/chime/v1beta1/zz_generated.deepcopy.go b/apis/chime/v1beta1/zz_generated.deepcopy.go index 983770c760..bbc621adab 100644 --- a/apis/chime/v1beta1/zz_generated.deepcopy.go +++ b/apis/chime/v1beta1/zz_generated.deepcopy.go @@ -21,6 +21,21 @@ func (in *ConnectorInitParameters) DeepCopyInto(out *ConnectorInitParameters) { *out = new(float64) **out = **in } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorInitParameters. @@ -659,6 +674,21 @@ func (in *VoiceConnectorLoggingInitParameters) DeepCopyInto(out *VoiceConnectorL *out = new(bool) **out = **in } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceConnectorLoggingInitParameters. @@ -932,6 +962,21 @@ func (in *VoiceConnectorOriginationInitParameters) DeepCopyInto(out *VoiceConnec (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceConnectorOriginationInitParameters. @@ -1234,6 +1279,21 @@ func (in *VoiceConnectorStreamingInitParameters) DeepCopyInto(out *VoiceConnecto } } } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceConnectorStreamingInitParameters. @@ -1493,6 +1553,21 @@ func (in *VoiceConnectorTerminationCredentialsInitParameters) DeepCopyInto(out * (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceConnectorTerminationCredentialsInitParameters. @@ -1686,6 +1761,21 @@ func (in *VoiceConnectorTerminationInitParameters) DeepCopyInto(out *VoiceConnec *out = new(bool) **out = **in } + if in.VoiceConnectorID != nil { + in, out := &in.VoiceConnectorID, &out.VoiceConnectorID + *out = new(string) + **out = **in + } + if in.VoiceConnectorIDRef != nil { + in, out := &in.VoiceConnectorIDRef, &out.VoiceConnectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VoiceConnectorIDSelector != nil { + in, out := &in.VoiceConnectorIDSelector, &out.VoiceConnectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceConnectorTerminationInitParameters. diff --git a/apis/chime/v1beta1/zz_generated.resolvers.go b/apis/chime/v1beta1/zz_generated.resolvers.go index df7610157e..af7d4fae58 100644 --- a/apis/chime/v1beta1/zz_generated.resolvers.go +++ b/apis/chime/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,24 @@ func (mg *VoiceConnectorGroup) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.Connector[i3].VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Connector[i3].VoiceConnectorIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Connector); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Connector[i3].VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Connector[i3].VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.Connector[i3].VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Connector[i3].VoiceConnectorID") + } + mg.Spec.InitProvider.Connector[i3].VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Connector[i3].VoiceConnectorIDRef = rsp.ResolvedReference + } return nil @@ -65,6 +83,22 @@ func (mg *VoiceConnectorLogging) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VoiceConnectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VoiceConnectorID") + } + mg.Spec.InitProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VoiceConnectorIDRef = rsp.ResolvedReference + return nil } @@ -91,6 +125,22 @@ func (mg *VoiceConnectorOrigination) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VoiceConnectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VoiceConnectorID") + } + mg.Spec.InitProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VoiceConnectorIDRef = rsp.ResolvedReference + return nil } @@ -117,6 +167,22 @@ func (mg *VoiceConnectorStreaming) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VoiceConnectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VoiceConnectorID") + } + mg.Spec.InitProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VoiceConnectorIDRef = rsp.ResolvedReference + return nil } @@ -143,6 +209,22 @@ func (mg *VoiceConnectorTermination) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VoiceConnectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VoiceConnectorID") + } + mg.Spec.InitProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VoiceConnectorIDRef = rsp.ResolvedReference + return nil } @@ -169,5 +251,21 @@ func (mg *VoiceConnectorTerminationCredentials) ResolveReferences(ctx context.Co mg.Spec.ForProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VoiceConnectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VoiceConnectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VoiceConnectorIDRef, + Selector: mg.Spec.InitProvider.VoiceConnectorIDSelector, + To: reference.To{ + List: &VoiceConnectorList{}, + Managed: &VoiceConnector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VoiceConnectorID") + } + mg.Spec.InitProvider.VoiceConnectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VoiceConnectorIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/chime/v1beta1/zz_voiceconnectorgroup_types.go b/apis/chime/v1beta1/zz_voiceconnectorgroup_types.go index 8f8ba9e9b9..f4134f58c8 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorgroup_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorgroup_types.go @@ -21,6 +21,19 @@ type ConnectorInitParameters struct { // The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // The Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type ConnectorObservation struct { diff --git a/apis/chime/v1beta1/zz_voiceconnectorlogging_types.go b/apis/chime/v1beta1/zz_voiceconnectorlogging_types.go index 15cb61cd87..999d638b9d 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorlogging_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorlogging_types.go @@ -24,6 +24,19 @@ type VoiceConnectorLoggingInitParameters struct { // When true, enables SIP message logs for sending to Amazon CloudWatch Logs. EnableSIPLogs *bool `json:"enableSipLogs,omitempty" tf:"enable_sip_logs,omitempty"` + + // The Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type VoiceConnectorLoggingObservation struct { diff --git a/apis/chime/v1beta1/zz_voiceconnectororigination_types.go b/apis/chime/v1beta1/zz_voiceconnectororigination_types.go index 3edb49885d..9ecaae9b78 100755 --- a/apis/chime/v1beta1/zz_voiceconnectororigination_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectororigination_types.go @@ -83,6 +83,19 @@ type VoiceConnectorOriginationInitParameters struct { // Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20. Route []RouteInitParameters `json:"route,omitempty" tf:"route,omitempty"` + + // The Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type VoiceConnectorOriginationObservation struct { diff --git a/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go b/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go index acb4e615a7..9d4c76b424 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go @@ -60,6 +60,19 @@ type VoiceConnectorStreamingInitParameters struct { // The streaming notification targets. Valid Values: EventBridge | SNS | SQS // +listType=set StreamingNotificationTargets []*string `json:"streamingNotificationTargets,omitempty" tf:"streaming_notification_targets,omitempty"` + + // The Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type VoiceConnectorStreamingObservation struct { diff --git a/apis/chime/v1beta1/zz_voiceconnectortermination_types.go b/apis/chime/v1beta1/zz_voiceconnectortermination_types.go index ce2491da5f..d1e59f80f5 100755 --- a/apis/chime/v1beta1/zz_voiceconnectortermination_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectortermination_types.go @@ -35,6 +35,19 @@ type VoiceConnectorTerminationInitParameters struct { // When termination settings are disabled, outbound calls can not be made. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` + + // The Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type VoiceConnectorTerminationObservation struct { diff --git a/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go b/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go index 97eb13051f..b8bce4e694 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go @@ -44,6 +44,19 @@ type VoiceConnectorTerminationCredentialsInitParameters struct { // List of termination SIP credentials. Credentials []CredentialsInitParameters `json:"credentials,omitempty" tf:"credentials,omitempty"` + + // Amazon Chime Voice Connector ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/chime/v1beta1.VoiceConnector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VoiceConnectorID *string `json:"voiceConnectorId,omitempty" tf:"voice_connector_id,omitempty"` + + // Reference to a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDRef *v1.Reference `json:"voiceConnectorIdRef,omitempty" tf:"-"` + + // Selector for a VoiceConnector in chime to populate voiceConnectorId. + // +kubebuilder:validation:Optional + VoiceConnectorIDSelector *v1.Selector `json:"voiceConnectorIdSelector,omitempty" tf:"-"` } type VoiceConnectorTerminationCredentialsObservation struct { diff --git a/apis/cloud9/v1beta1/zz_environmentec2_types.go b/apis/cloud9/v1beta1/zz_environmentec2_types.go index 5bc73fde9b..8262b086b6 100755 --- a/apis/cloud9/v1beta1/zz_environmentec2_types.go +++ b/apis/cloud9/v1beta1/zz_environmentec2_types.go @@ -40,6 +40,18 @@ type EnvironmentEC2InitParameters struct { // The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment's creator. OwnerArn *string `json:"ownerArn,omitempty" tf:"owner_arn,omitempty"` + // The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/cloud9/v1beta1/zz_generated.deepcopy.go b/apis/cloud9/v1beta1/zz_generated.deepcopy.go index 79216487fd..f921645055 100644 --- a/apis/cloud9/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloud9/v1beta1/zz_generated.deepcopy.go @@ -78,6 +78,21 @@ func (in *EnvironmentEC2InitParameters) DeepCopyInto(out *EnvironmentEC2InitPara *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/cloud9/v1beta1/zz_generated.resolvers.go b/apis/cloud9/v1beta1/zz_generated.resolvers.go index aadc2d8797..a9ede160f6 100644 --- a/apis/cloud9/v1beta1/zz_generated.resolvers.go +++ b/apis/cloud9/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *EnvironmentEC2) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go b/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go index edee706205..dd2bdb879b 100644 --- a/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TypeName != nil { in, out := &in.TypeName, &out.TypeName *out = new(string) diff --git a/apis/cloudcontrol/v1beta1/zz_generated.resolvers.go b/apis/cloudcontrol/v1beta1/zz_generated.resolvers.go index c376e3d2cd..1dd2dc5ed0 100644 --- a/apis/cloudcontrol/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudcontrol/v1beta1/zz_generated.resolvers.go @@ -37,5 +37,21 @@ func (mg *Resource) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudcontrol/v1beta1/zz_resource_types.go b/apis/cloudcontrol/v1beta1/zz_resource_types.go index 8e22296f60..c7f64d1d3a 100755 --- a/apis/cloudcontrol/v1beta1/zz_resource_types.go +++ b/apis/cloudcontrol/v1beta1/zz_resource_types.go @@ -22,6 +22,19 @@ type ResourceInitParameters struct { // JSON string matching the CloudFormation resource type schema with desired configuration. DesiredState *string `json:"desiredState,omitempty" tf:"desired_state,omitempty"` + // Amazon Resource Name (ARN) of the IAM Role to assume for operations. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // CloudFormation resource type name. For example, AWS::EC2::VPC. TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"` diff --git a/apis/cloudformation/v1beta1/zz_generated.deepcopy.go b/apis/cloudformation/v1beta1/zz_generated.deepcopy.go index 6c46ecbc5a..cb06b6a1d7 100644 --- a/apis/cloudformation/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudformation/v1beta1/zz_generated.deepcopy.go @@ -347,6 +347,21 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { *out = new(bool) **out = **in } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NotificationArns != nil { in, out := &in.NotificationArns, &out.NotificationArns *out = make([]*string, len(*in)) @@ -774,6 +789,21 @@ func (in *StackSet) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StackSetInitParameters) DeepCopyInto(out *StackSetInitParameters) { *out = *in + if in.AdministrationRoleArn != nil { + in, out := &in.AdministrationRoleArn, &out.AdministrationRoleArn + *out = new(string) + **out = **in + } + if in.AdministrationRoleArnRef != nil { + in, out := &in.AdministrationRoleArnRef, &out.AdministrationRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AdministrationRoleArnSelector != nil { + in, out := &in.AdministrationRoleArnSelector, &out.AdministrationRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AutoDeployment != nil { in, out := &in.AutoDeployment, &out.AutoDeployment *out = make([]AutoDeploymentInitParameters, len(*in)) diff --git a/apis/cloudformation/v1beta1/zz_generated.resolvers.go b/apis/cloudformation/v1beta1/zz_generated.resolvers.go index 78a1be6327..8841e90140 100644 --- a/apis/cloudformation/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudformation/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *Stack) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IAMRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + return nil } @@ -63,5 +79,21 @@ func (mg *StackSet) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.AdministrationRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AdministrationRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AdministrationRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.AdministrationRoleArnRef, + Selector: mg.Spec.InitProvider.AdministrationRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AdministrationRoleArn") + } + mg.Spec.InitProvider.AdministrationRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AdministrationRoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudformation/v1beta1/zz_stack_types.go b/apis/cloudformation/v1beta1/zz_stack_types.go index 56dc09f216..aa40749bcf 100755 --- a/apis/cloudformation/v1beta1/zz_stack_types.go +++ b/apis/cloudformation/v1beta1/zz_stack_types.go @@ -28,6 +28,19 @@ type StackInitParameters struct { // Conflicts with on_failure. DisableRollback *bool `json:"disableRollback,omitempty" tf:"disable_rollback,omitempty"` + // The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + // A list of SNS topic ARNs to publish stack related events. // +listType=set NotificationArns []*string `json:"notificationArns,omitempty" tf:"notification_arns,omitempty"` diff --git a/apis/cloudformation/v1beta1/zz_stackset_types.go b/apis/cloudformation/v1beta1/zz_stackset_types.go index 7657028e74..0de9f38896 100755 --- a/apis/cloudformation/v1beta1/zz_stackset_types.go +++ b/apis/cloudformation/v1beta1/zz_stackset_types.go @@ -136,6 +136,19 @@ type OperationPreferencesParameters struct { type StackSetInitParameters struct { + // Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the SELF_MANAGED permission model. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + AdministrationRoleArn *string `json:"administrationRoleArn,omitempty" tf:"administration_role_arn,omitempty"` + + // Reference to a Role in iam to populate administrationRoleArn. + // +kubebuilder:validation:Optional + AdministrationRoleArnRef *v1.Reference `json:"administrationRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate administrationRoleArn. + // +kubebuilder:validation:Optional + AdministrationRoleArnSelector *v1.Selector `json:"administrationRoleArnSelector,omitempty" tf:"-"` + // Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the SERVICE_MANAGED permission model. AutoDeployment []AutoDeploymentInitParameters `json:"autoDeployment,omitempty" tf:"auto_deployment,omitempty"` diff --git a/apis/cloudfront/v1beta1/zz_distribution_types.go b/apis/cloudfront/v1beta1/zz_distribution_types.go index 15859e3934..b4d22af9d1 100755 --- a/apis/cloudfront/v1beta1/zz_distribution_types.go +++ b/apis/cloudfront/v1beta1/zz_distribution_types.go @@ -999,6 +999,19 @@ type OrderedCacheBehaviorFunctionAssociationInitParameters struct { // Specific event to trigger this function. Valid values: viewer-request, origin-request, viewer-response, origin-response. EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` + + // ARN of the CloudFront function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + FunctionArn *string `json:"functionArn,omitempty" tf:"function_arn,omitempty"` + + // Reference to a Function in cloudfront to populate functionArn. + // +kubebuilder:validation:Optional + FunctionArnRef *v1.Reference `json:"functionArnRef,omitempty" tf:"-"` + + // Selector for a Function in cloudfront to populate functionArn. + // +kubebuilder:validation:Optional + FunctionArnSelector *v1.Selector `json:"functionArnSelector,omitempty" tf:"-"` } type OrderedCacheBehaviorFunctionAssociationObservation struct { @@ -1103,6 +1116,19 @@ type OrderedCacheBehaviorLambdaFunctionAssociationInitParameters struct { // When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: true, false. IncludeBody *bool `json:"includeBody,omitempty" tf:"include_body,omitempty"` + + // ARN of the Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("qualified_arn",true) + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Reference to a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnRef *v1.Reference `json:"lambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnSelector *v1.Selector `json:"lambdaArnSelector,omitempty" tf:"-"` } type OrderedCacheBehaviorLambdaFunctionAssociationObservation struct { @@ -1348,6 +1374,19 @@ type OriginInitParameters struct { // DNS domain name of either the S3 bucket, or web site of your custom origin. DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + // Unique identifier of a CloudFront origin access control for this origin. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.OriginAccessControl + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + OriginAccessControlID *string `json:"originAccessControlId,omitempty" tf:"origin_access_control_id,omitempty"` + + // Reference to a OriginAccessControl in cloudfront to populate originAccessControlId. + // +kubebuilder:validation:Optional + OriginAccessControlIDRef *v1.Reference `json:"originAccessControlIdRef,omitempty" tf:"-"` + + // Selector for a OriginAccessControl in cloudfront to populate originAccessControlId. + // +kubebuilder:validation:Optional + OriginAccessControlIDSelector *v1.Selector `json:"originAccessControlIdSelector,omitempty" tf:"-"` + // Unique identifier for the origin. OriginID *string `json:"originId,omitempty" tf:"origin_id,omitempty"` @@ -1491,6 +1530,19 @@ type RestrictionsParameters struct { } type S3OriginConfigInitParameters struct { + + // The CloudFront origin access identity to associate with the origin. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.OriginAccessIdentity + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cloudfront_access_identity_path",true) + OriginAccessIdentity *string `json:"originAccessIdentity,omitempty" tf:"origin_access_identity,omitempty"` + + // Reference to a OriginAccessIdentity in cloudfront to populate originAccessIdentity. + // +kubebuilder:validation:Optional + OriginAccessIdentityRef *v1.Reference `json:"originAccessIdentityRef,omitempty" tf:"-"` + + // Selector for a OriginAccessIdentity in cloudfront to populate originAccessIdentity. + // +kubebuilder:validation:Optional + OriginAccessIdentitySelector *v1.Selector `json:"originAccessIdentitySelector,omitempty" tf:"-"` } type S3OriginConfigObservation struct { diff --git a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go index f0ef1bb1f8..b5f235ce9a 100755 --- a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go +++ b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go @@ -187,6 +187,19 @@ type QueryArgProfilesInitParameters struct { type QueryArgProfilesItemsInitParameters struct { + // The profile ID for a field-level encryption content type-profile mapping. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.FieldLevelEncryptionProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ProfileID *string `json:"profileId,omitempty" tf:"profile_id,omitempty"` + + // Reference to a FieldLevelEncryptionProfile in cloudfront to populate profileId. + // +kubebuilder:validation:Optional + ProfileIDRef *v1.Reference `json:"profileIdRef,omitempty" tf:"-"` + + // Selector for a FieldLevelEncryptionProfile in cloudfront to populate profileId. + // +kubebuilder:validation:Optional + ProfileIDSelector *v1.Selector `json:"profileIdSelector,omitempty" tf:"-"` + // Query argument for field-level encryption query argument-profile mapping. QueryArg *string `json:"queryArg,omitempty" tf:"query_arg,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go index 0d093d4fef..42a27feed5 100755 --- a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go +++ b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go @@ -28,6 +28,19 @@ type EncryptionEntitiesItemsInitParameters struct { // The provider associated with the public key being used for encryption. ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"` + + // The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.PublicKey + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PublicKeyID *string `json:"publicKeyId,omitempty" tf:"public_key_id,omitempty"` + + // Reference to a PublicKey in cloudfront to populate publicKeyId. + // +kubebuilder:validation:Optional + PublicKeyIDRef *v1.Reference `json:"publicKeyIdRef,omitempty" tf:"-"` + + // Selector for a PublicKey in cloudfront to populate publicKeyId. + // +kubebuilder:validation:Optional + PublicKeyIDSelector *v1.Selector `json:"publicKeyIdSelector,omitempty" tf:"-"` } type EncryptionEntitiesItemsObservation struct { diff --git a/apis/cloudfront/v1beta1/zz_generated.deepcopy.go b/apis/cloudfront/v1beta1/zz_generated.deepcopy.go index f255c1cf11..f586b9e821 100644 --- a/apis/cloudfront/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudfront/v1beta1/zz_generated.deepcopy.go @@ -2937,6 +2937,21 @@ func (in *EncryptionEntitiesItemsInitParameters) DeepCopyInto(out *EncryptionEnt *out = new(string) **out = **in } + if in.PublicKeyID != nil { + in, out := &in.PublicKeyID, &out.PublicKeyID + *out = new(string) + **out = **in + } + if in.PublicKeyIDRef != nil { + in, out := &in.PublicKeyIDRef, &out.PublicKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PublicKeyIDSelector != nil { + in, out := &in.PublicKeyIDSelector, &out.PublicKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionEntitiesItemsInitParameters. @@ -3073,7 +3088,9 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { if in.KinesisStreamConfig != nil { in, out := &in.KinesisStreamConfig, &out.KinesisStreamConfig *out = make([]KinesisStreamConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.StreamType != nil { in, out := &in.StreamType, &out.StreamType @@ -4759,6 +4776,29 @@ func (in *KeyGroupInitParameters) DeepCopyInto(out *KeyGroupInitParameters) { *out = new(string) **out = **in } + if in.ItemRefs != nil { + in, out := &in.ItemRefs, &out.ItemRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ItemSelector != nil { + in, out := &in.ItemSelector, &out.ItemSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *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.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -4945,6 +4985,36 @@ func (in *KeyGroupStatus) DeepCopy() *KeyGroupStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisStreamConfigInitParameters) DeepCopyInto(out *KinesisStreamConfigInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisStreamConfigInitParameters. @@ -5297,6 +5367,21 @@ func (in *MonitoringSubscription) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MonitoringSubscriptionInitParameters) DeepCopyInto(out *MonitoringSubscriptionInitParameters) { *out = *in + if in.DistributionID != nil { + in, out := &in.DistributionID, &out.DistributionID + *out = new(string) + **out = **in + } + if in.DistributionIDRef != nil { + in, out := &in.DistributionIDRef, &out.DistributionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DistributionIDSelector != nil { + in, out := &in.DistributionIDSelector, &out.DistributionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MonitoringSubscription != nil { in, out := &in.MonitoringSubscription, &out.MonitoringSubscription *out = make([]MonitoringSubscriptionMonitoringSubscriptionInitParameters, len(*in)) @@ -5771,6 +5856,21 @@ func (in *OrderedCacheBehaviorFunctionAssociationInitParameters) DeepCopyInto(ou *out = new(string) **out = **in } + if in.FunctionArn != nil { + in, out := &in.FunctionArn, &out.FunctionArn + *out = new(string) + **out = **in + } + if in.FunctionArnRef != nil { + in, out := &in.FunctionArnRef, &out.FunctionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionArnSelector != nil { + in, out := &in.FunctionArnSelector, &out.FunctionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderedCacheBehaviorFunctionAssociationInitParameters. @@ -6001,6 +6101,21 @@ func (in *OrderedCacheBehaviorLambdaFunctionAssociationInitParameters) DeepCopyI *out = new(bool) **out = **in } + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn + *out = new(string) + **out = **in + } + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderedCacheBehaviorLambdaFunctionAssociationInitParameters. @@ -6925,6 +7040,21 @@ func (in *OriginInitParameters) DeepCopyInto(out *OriginInitParameters) { *out = new(string) **out = **in } + if in.OriginAccessControlID != nil { + in, out := &in.OriginAccessControlID, &out.OriginAccessControlID + *out = new(string) + **out = **in + } + if in.OriginAccessControlIDRef != nil { + in, out := &in.OriginAccessControlIDRef, &out.OriginAccessControlIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.OriginAccessControlIDSelector != nil { + in, out := &in.OriginAccessControlIDSelector, &out.OriginAccessControlIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.OriginID != nil { in, out := &in.OriginID, &out.OriginID *out = new(string) @@ -6945,7 +7075,9 @@ func (in *OriginInitParameters) DeepCopyInto(out *OriginInitParameters) { if in.S3OriginConfig != nil { in, out := &in.S3OriginConfig, &out.S3OriginConfig *out = make([]S3OriginConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -8099,6 +8231,21 @@ func (in *QueryArgProfilesInitParameters) DeepCopy() *QueryArgProfilesInitParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *QueryArgProfilesItemsInitParameters) DeepCopyInto(out *QueryArgProfilesItemsInitParameters) { *out = *in + if in.ProfileID != nil { + in, out := &in.ProfileID, &out.ProfileID + *out = new(string) + **out = **in + } + if in.ProfileIDRef != nil { + in, out := &in.ProfileIDRef, &out.ProfileIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProfileIDSelector != nil { + in, out := &in.ProfileIDSelector, &out.ProfileIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.QueryArg != nil { in, out := &in.QueryArg, &out.QueryArg *out = new(string) @@ -9324,6 +9471,21 @@ func (in *RestrictionsParameters) DeepCopy() *RestrictionsParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3OriginConfigInitParameters) DeepCopyInto(out *S3OriginConfigInitParameters) { *out = *in + if in.OriginAccessIdentity != nil { + in, out := &in.OriginAccessIdentity, &out.OriginAccessIdentity + *out = new(string) + **out = **in + } + if in.OriginAccessIdentityRef != nil { + in, out := &in.OriginAccessIdentityRef, &out.OriginAccessIdentityRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.OriginAccessIdentitySelector != nil { + in, out := &in.OriginAccessIdentitySelector, &out.OriginAccessIdentitySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3OriginConfigInitParameters. diff --git a/apis/cloudfront/v1beta1/zz_generated.resolvers.go b/apis/cloudfront/v1beta1/zz_generated.resolvers.go index f466fff215..9238447f2e 100644 --- a/apis/cloudfront/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudfront/v1beta1/zz_generated.resolvers.go @@ -102,6 +102,84 @@ func (mg *Distribution) ResolveReferences(ctx context.Context, c client.Reader) } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OrderedCacheBehavior); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArnRef, + Selector: mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArnSelector, + To: reference.To{ + List: &FunctionList{}, + Managed: &Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArn") + } + mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OrderedCacheBehavior[i3].FunctionAssociation[i4].FunctionArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OrderedCacheBehavior); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArn), + Extract: resource.ExtractParamPath("qualified_arn", true), + Reference: mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArnRef, + Selector: mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArnSelector, + To: reference.To{ + List: &v1beta1.FunctionList{}, + Managed: &v1beta1.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArn") + } + mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OrderedCacheBehavior[i3].LambdaFunctionAssociation[i4].LambdaArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Origin); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Origin[i3].OriginAccessControlID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Origin[i3].OriginAccessControlIDRef, + Selector: mg.Spec.InitProvider.Origin[i3].OriginAccessControlIDSelector, + To: reference.To{ + List: &OriginAccessControlList{}, + Managed: &OriginAccessControl{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Origin[i3].OriginAccessControlID") + } + mg.Spec.InitProvider.Origin[i3].OriginAccessControlID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Origin[i3].OriginAccessControlIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Origin); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Origin[i3].S3OriginConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentity), + Extract: resource.ExtractParamPath("cloudfront_access_identity_path", true), + Reference: mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentityRef, + Selector: mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentitySelector, + To: reference.To{ + List: &OriginAccessIdentityList{}, + Managed: &OriginAccessIdentity{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentity") + } + mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentity = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Origin[i3].S3OriginConfig[i4].OriginAccessIdentityRef = rsp.ResolvedReference + + } + } return nil } @@ -135,6 +213,28 @@ func (mg *FieldLevelEncryptionConfig) ResolveReferences(ctx context.Context, c c } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.QueryArgProfileConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileIDRef, + Selector: mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileIDSelector, + To: reference.To{ + List: &FieldLevelEncryptionProfileList{}, + Managed: &FieldLevelEncryptionProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileID") + } + mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.QueryArgProfileConfig[i3].QueryArgProfiles[i4].Items[i5].ProfileIDRef = rsp.ResolvedReference + + } + } + } return nil } @@ -166,6 +266,26 @@ func (mg *FieldLevelEncryptionProfile) ResolveReferences(ctx context.Context, c } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionEntities); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EncryptionEntities[i3].Items); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyIDRef, + Selector: mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyIDSelector, + To: reference.To{ + List: &PublicKeyList{}, + Managed: &PublicKey{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyID") + } + mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionEntities[i3].Items[i4].PublicKeyIDRef = rsp.ResolvedReference + + } + } return nil } @@ -193,6 +313,22 @@ func (mg *KeyGroup) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.Items = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.ItemRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Items), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.ItemRefs, + Selector: mg.Spec.InitProvider.ItemSelector, + To: reference.To{ + List: &PublicKeyList{}, + Managed: &PublicKey{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Items") + } + mg.Spec.InitProvider.Items = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.ItemRefs = mrsp.ResolvedReferences + return nil } @@ -219,6 +355,22 @@ func (mg *MonitoringSubscription) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.DistributionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DistributionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DistributionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DistributionIDRef, + Selector: mg.Spec.InitProvider.DistributionIDSelector, + To: reference.To{ + List: &DistributionList{}, + Managed: &Distribution{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DistributionID") + } + mg.Spec.InitProvider.DistributionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DistributionIDRef = rsp.ResolvedReference + return nil } @@ -269,6 +421,46 @@ func (mg *RealtimeLogConfig) ResolveReferences(ctx context.Context, c client.Rea } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Endpoint); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArn") + } + mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Endpoint); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArnRef, + Selector: mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArnSelector, + To: reference.To{ + List: &v1beta12.StreamList{}, + Managed: &v1beta12.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArn") + } + mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Endpoint[i3].KinesisStreamConfig[i4].StreamArnRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/cloudfront/v1beta1/zz_keygroup_types.go b/apis/cloudfront/v1beta1/zz_keygroup_types.go index 466e5268ce..173ada9a12 100755 --- a/apis/cloudfront/v1beta1/zz_keygroup_types.go +++ b/apis/cloudfront/v1beta1/zz_keygroup_types.go @@ -22,6 +22,21 @@ type KeyGroupInitParameters struct { // A comment to describe the key group.. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` + // References to PublicKey to populate items. + // +kubebuilder:validation:Optional + ItemRefs []v1.Reference `json:"itemRefs,omitempty" tf:"-"` + + // Selector for a list of PublicKey to populate items. + // +kubebuilder:validation:Optional + ItemSelector *v1.Selector `json:"itemSelector,omitempty" tf:"-"` + + // A list of the identifiers of the public keys in the key group. + // +crossplane:generate:reference:type=PublicKey + // +crossplane:generate:reference:refFieldName=ItemRefs + // +crossplane:generate:reference:selectorFieldName=ItemSelector + // +listType=set + Items []*string `json:"items,omitempty" tf:"items,omitempty"` + // A name to identify the key group. Name *string `json:"name,omitempty" tf:"name,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go b/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go index 7f8208e8b9..0273b4190f 100755 --- a/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go +++ b/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go @@ -19,6 +19,19 @@ import ( type MonitoringSubscriptionInitParameters struct { + // The ID of the distribution that you are enabling metrics for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudfront/v1beta1.Distribution + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DistributionID *string `json:"distributionId,omitempty" tf:"distribution_id,omitempty"` + + // Reference to a Distribution in cloudfront to populate distributionId. + // +kubebuilder:validation:Optional + DistributionIDRef *v1.Reference `json:"distributionIdRef,omitempty" tf:"-"` + + // Selector for a Distribution in cloudfront to populate distributionId. + // +kubebuilder:validation:Optional + DistributionIDSelector *v1.Selector `json:"distributionIdSelector,omitempty" tf:"-"` + // A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution. MonitoringSubscription []MonitoringSubscriptionMonitoringSubscriptionInitParameters `json:"monitoringSubscription,omitempty" tf:"monitoring_subscription,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go b/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go index 81e6abc718..2d6138dd11 100755 --- a/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go +++ b/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go @@ -47,6 +47,33 @@ type EndpointParameters struct { } type KinesisStreamConfigInitParameters struct { + + // The ARN of an IAM role that CloudFront can use to send real-time log data to the Kinesis data stream. + // See the AWS documentation for more information. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The ARN of the Kinesis data stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` } type KinesisStreamConfigObservation struct { diff --git a/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go b/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go index 434a86f625..c3ac0848d5 100755 --- a/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go +++ b/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go @@ -21,6 +21,19 @@ type DomainServiceAccessPolicyInitParameters struct { // The access rules you want to configure. These rules replace any existing rules. See the AWS documentation for details. AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"` + + // The CloudSearch domain name the policy applies to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudsearch/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a Domain in cloudsearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a Domain in cloudsearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` } type DomainServiceAccessPolicyObservation struct { diff --git a/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go b/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go index 37cd322204..474a672646 100644 --- a/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go @@ -260,6 +260,21 @@ func (in *DomainServiceAccessPolicyInitParameters) DeepCopyInto(out *DomainServi *out = new(string) **out = **in } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainServiceAccessPolicyInitParameters. diff --git a/apis/cloudsearch/v1beta1/zz_generated.resolvers.go b/apis/cloudsearch/v1beta1/zz_generated.resolvers.go index 5661d9a86b..915c3b93d1 100644 --- a/apis/cloudsearch/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudsearch/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *DomainServiceAccessPolicy) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go b/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go index 3c0531c8fb..4aaa65f45c 100755 --- a/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go +++ b/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go @@ -130,6 +130,18 @@ type EventDataStoreInitParameters struct { // The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide. AdvancedEventSelector []EventDataStoreAdvancedEventSelectorInitParameters `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector,omitempty"` + // Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created. Default: true. MultiRegionEnabled *bool `json:"multiRegionEnabled,omitempty" tf:"multi_region_enabled,omitempty"` diff --git a/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go b/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go index e4a0e99eca..75c450d74a 100644 --- a/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go @@ -563,6 +563,21 @@ func (in *EventDataStoreInitParameters) DeepCopyInto(out *EventDataStoreInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MultiRegionEnabled != nil { in, out := &in.MultiRegionEnabled, &out.MultiRegionEnabled *out = new(bool) @@ -1349,6 +1364,21 @@ func (in *TrailInitParameters) DeepCopyInto(out *TrailInitParameters) { *out = new(string) **out = **in } + if in.CloudWatchLogsRoleArn != nil { + in, out := &in.CloudWatchLogsRoleArn, &out.CloudWatchLogsRoleArn + *out = new(string) + **out = **in + } + if in.CloudWatchLogsRoleArnRef != nil { + in, out := &in.CloudWatchLogsRoleArnRef, &out.CloudWatchLogsRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudWatchLogsRoleArnSelector != nil { + in, out := &in.CloudWatchLogsRoleArnSelector, &out.CloudWatchLogsRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EnableLogFileValidation != nil { in, out := &in.EnableLogFileValidation, &out.EnableLogFileValidation *out = new(bool) @@ -1388,6 +1418,36 @@ func (in *TrailInitParameters) DeepCopyInto(out *TrailInitParameters) { *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.S3BucketName != nil { + in, out := &in.S3BucketName, &out.S3BucketName + *out = new(string) + **out = **in + } + if in.S3BucketNameRef != nil { + in, out := &in.S3BucketNameRef, &out.S3BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketNameSelector != nil { + in, out := &in.S3BucketNameSelector, &out.S3BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3KeyPrefix != nil { in, out := &in.S3KeyPrefix, &out.S3KeyPrefix *out = new(string) diff --git a/apis/cloudtrail/v1beta1/zz_generated.resolvers.go b/apis/cloudtrail/v1beta1/zz_generated.resolvers.go index f35503e778..2513475acb 100644 --- a/apis/cloudtrail/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudtrail/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *EventDataStore) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -98,5 +114,53 @@ func (mg *Trail) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.S3BucketName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.S3BucketNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudWatchLogsRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.CloudWatchLogsRoleArnRef, + Selector: mg.Spec.InitProvider.CloudWatchLogsRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudWatchLogsRoleArn") + } + mg.Spec.InitProvider.CloudWatchLogsRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudWatchLogsRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3BucketName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.S3BucketNameRef, + Selector: mg.Spec.InitProvider.S3BucketNameSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3BucketName") + } + mg.Spec.InitProvider.S3BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3BucketNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudtrail/v1beta1/zz_trail_types.go b/apis/cloudtrail/v1beta1/zz_trail_types.go index 114c27bec1..f5b6a2d98c 100755 --- a/apis/cloudtrail/v1beta1/zz_trail_types.go +++ b/apis/cloudtrail/v1beta1/zz_trail_types.go @@ -233,6 +233,19 @@ type TrailInitParameters struct { // Log group name using an ARN that represents the log group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard. CloudWatchLogsGroupArn *string `json:"cloudWatchLogsGroupArn,omitempty" tf:"cloud_watch_logs_group_arn,omitempty"` + // Role for the CloudWatch Logs endpoint to assume to write to a user’s log group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CloudWatchLogsRoleArn *string `json:"cloudWatchLogsRoleArn,omitempty" tf:"cloud_watch_logs_role_arn,omitempty"` + + // Reference to a Role in iam to populate cloudWatchLogsRoleArn. + // +kubebuilder:validation:Optional + CloudWatchLogsRoleArnRef *v1.Reference `json:"cloudWatchLogsRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate cloudWatchLogsRoleArn. + // +kubebuilder:validation:Optional + CloudWatchLogsRoleArnSelector *v1.Selector `json:"cloudWatchLogsRoleArnSelector,omitempty" tf:"-"` + // Whether log file integrity validation is enabled. Defaults to false. EnableLogFileValidation *bool `json:"enableLogFileValidation,omitempty" tf:"enable_log_file_validation,omitempty"` @@ -254,6 +267,31 @@ type TrailInitParameters struct { // Whether the trail is an AWS Organizations trail. Organization trails log events for the master account and all member accounts. Can only be created in the organization master account. Defaults to false. IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail,omitempty"` + // KMS key ARN to use to encrypt the logs delivered by CloudTrail. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + + // Name of the S3 bucket designated for publishing log files. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + S3BucketName *string `json:"s3BucketName,omitempty" tf:"s3_bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameRef *v1.Reference `json:"s3BucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameSelector *v1.Selector `json:"s3BucketNameSelector,omitempty" tf:"-"` + // S3 key prefix that follows the name of the bucket you have designated for log file delivery. S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"` diff --git a/apis/cloudwatch/v1beta1/zz_compositealarm_types.go b/apis/cloudwatch/v1beta1/zz_compositealarm_types.go index c7607e542c..1c165b585e 100755 --- a/apis/cloudwatch/v1beta1/zz_compositealarm_types.go +++ b/apis/cloudwatch/v1beta1/zz_compositealarm_types.go @@ -64,6 +64,20 @@ type CompositeAlarmInitParameters struct { // Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor []ActionsSuppressorInitParameters `json:"actionsSuppressor,omitempty" tf:"actions_suppressor,omitempty"` + // The set of actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + // +listType=set + AlarmActions []*string `json:"alarmActions,omitempty" tf:"alarm_actions,omitempty"` + + // References to Topic in sns to populate alarmActions. + // +kubebuilder:validation:Optional + AlarmActionsRefs []v1.Reference `json:"alarmActionsRefs,omitempty" tf:"-"` + + // Selector for a list of Topic in sns to populate alarmActions. + // +kubebuilder:validation:Optional + AlarmActionsSelector *v1.Selector `json:"alarmActionsSelector,omitempty" tf:"-"` + // The description for the composite alarm. AlarmDescription *string `json:"alarmDescription,omitempty" tf:"alarm_description,omitempty"` @@ -74,6 +88,20 @@ type CompositeAlarmInitParameters struct { // +listType=set InsufficientDataActions []*string `json:"insufficientDataActions,omitempty" tf:"insufficient_data_actions,omitempty"` + // The set of actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + // +listType=set + OkActions []*string `json:"okActions,omitempty" tf:"ok_actions,omitempty"` + + // References to Topic in sns to populate okActions. + // +kubebuilder:validation:Optional + OkActionsRefs []v1.Reference `json:"okActionsRefs,omitempty" tf:"-"` + + // Selector for a list of Topic in sns to populate okActions. + // +kubebuilder:validation:Optional + OkActionsSelector *v1.Selector `json:"okActionsSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go index b7a60f713e..8bdbe55bf0 100644 --- a/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go @@ -145,6 +145,29 @@ func (in *CompositeAlarmInitParameters) DeepCopyInto(out *CompositeAlarmInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AlarmActions != nil { + in, out := &in.AlarmActions, &out.AlarmActions + *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.AlarmActionsRefs != nil { + in, out := &in.AlarmActionsRefs, &out.AlarmActionsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AlarmActionsSelector != nil { + in, out := &in.AlarmActionsSelector, &out.AlarmActionsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AlarmDescription != nil { in, out := &in.AlarmDescription, &out.AlarmDescription *out = new(string) @@ -166,6 +189,29 @@ func (in *CompositeAlarmInitParameters) DeepCopyInto(out *CompositeAlarmInitPara } } } + if in.OkActions != nil { + in, out := &in.OkActions, &out.OkActions + *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.OkActionsRefs != nil { + in, out := &in.OkActionsRefs, &out.OkActionsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OkActionsSelector != nil { + in, out := &in.OkActionsSelector, &out.OkActionsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1890,6 +1936,21 @@ func (in *MetricStreamInitParameters) DeepCopyInto(out *MetricStreamInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FirehoseArn != nil { + in, out := &in.FirehoseArn, &out.FirehoseArn + *out = new(string) + **out = **in + } + if in.FirehoseArnRef != nil { + in, out := &in.FirehoseArnRef, &out.FirehoseArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirehoseArnSelector != nil { + in, out := &in.FirehoseArnSelector, &out.FirehoseArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IncludeFilter != nil { in, out := &in.IncludeFilter, &out.IncludeFilter *out = make([]IncludeFilterInitParameters, len(*in)) @@ -1912,6 +1973,21 @@ func (in *MetricStreamInitParameters) DeepCopyInto(out *MetricStreamInitParamete *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StatisticsConfiguration != nil { in, out := &in.StatisticsConfiguration, &out.StatisticsConfiguration *out = make([]StatisticsConfigurationInitParameters, len(*in)) diff --git a/apis/cloudwatch/v1beta1/zz_generated.resolvers.go b/apis/cloudwatch/v1beta1/zz_generated.resolvers.go index 6d0b0121a4..5cee2f33ef 100644 --- a/apis/cloudwatch/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudwatch/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,38 @@ func (mg *CompositeAlarm) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.OkActions = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.OkActionsRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.AlarmActions), + Extract: resource.ExtractParamPath("arn", true), + References: mg.Spec.InitProvider.AlarmActionsRefs, + Selector: mg.Spec.InitProvider.AlarmActionsSelector, + To: reference.To{ + List: &v1beta1.TopicList{}, + Managed: &v1beta1.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AlarmActions") + } + mg.Spec.InitProvider.AlarmActions = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.AlarmActionsRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.OkActions), + Extract: resource.ExtractParamPath("arn", true), + References: mg.Spec.InitProvider.OkActionsRefs, + Selector: mg.Spec.InitProvider.OkActionsSelector, + To: reference.To{ + List: &v1beta1.TopicList{}, + Managed: &v1beta1.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OkActions") + } + mg.Spec.InitProvider.OkActions = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.OkActionsRefs = mrsp.ResolvedReferences + return nil } @@ -98,5 +130,37 @@ func (mg *MetricStream) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirehoseArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.FirehoseArnRef, + Selector: mg.Spec.InitProvider.FirehoseArnSelector, + To: reference.To{ + List: &v1beta11.DeliveryStreamList{}, + Managed: &v1beta11.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirehoseArn") + } + mg.Spec.InitProvider.FirehoseArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirehoseArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudwatch/v1beta1/zz_metricstream_types.go b/apis/cloudwatch/v1beta1/zz_metricstream_types.go index 714f216961..6cbc548e5e 100755 --- a/apis/cloudwatch/v1beta1/zz_metricstream_types.go +++ b/apis/cloudwatch/v1beta1/zz_metricstream_types.go @@ -115,6 +115,19 @@ type MetricStreamInitParameters struct { // List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces and the conditional metric names that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is excluded. Conflicts with include_filter. ExcludeFilter []ExcludeFilterInitParameters `json:"excludeFilter,omitempty" tf:"exclude_filter,omitempty"` + // ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + FirehoseArn *string `json:"firehoseArn,omitempty" tf:"firehose_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate firehoseArn. + // +kubebuilder:validation:Optional + FirehoseArnRef *v1.Reference `json:"firehoseArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate firehoseArn. + // +kubebuilder:validation:Optional + FirehoseArnSelector *v1.Selector `json:"firehoseArnSelector,omitempty" tf:"-"` + // List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric names from the metric namespaces that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is included. Conflicts with exclude_filter. IncludeFilter []IncludeFilterInitParameters `json:"includeFilter,omitempty" tf:"include_filter,omitempty"` @@ -127,6 +140,19 @@ type MetricStreamInitParameters struct { // Output format for the stream. Possible values are json, opentelemetry0.7, and opentelemetry1.0. For more information about output formats, see Metric streams output formats. OutputFormat *string `json:"outputFormat,omitempty" tf:"output_format,omitempty"` + // ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see Trust between CloudWatch and Kinesis Data Firehose. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's output_format. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry0.7 or opentelemetry1.0, you can stream percentile statistics (p99 etc.). See details below. StatisticsConfiguration []StatisticsConfigurationInitParameters `json:"statisticsConfiguration,omitempty" tf:"statistics_configuration,omitempty"` diff --git a/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go b/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go index 0044e08483..25c539aef9 100755 --- a/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go @@ -19,6 +19,19 @@ import ( type APIDestinationInitParameters struct { + // ARN of the EventBridge Connection to use for the API Destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Connection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ConnectionArn *string `json:"connectionArn,omitempty" tf:"connection_arn,omitempty"` + + // Reference to a Connection in cloudwatchevents to populate connectionArn. + // +kubebuilder:validation:Optional + ConnectionArnRef *v1.Reference `json:"connectionArnRef,omitempty" tf:"-"` + + // Selector for a Connection in cloudwatchevents to populate connectionArn. + // +kubebuilder:validation:Optional + ConnectionArnSelector *v1.Selector `json:"connectionArnSelector,omitempty" tf:"-"` + // The description of the new API Destination. Maximum of 512 characters. Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/cloudwatchevents/v1beta1/zz_archive_types.go b/apis/cloudwatchevents/v1beta1/zz_archive_types.go index f107231767..e00fe94875 100755 --- a/apis/cloudwatchevents/v1beta1/zz_archive_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_archive_types.go @@ -25,6 +25,19 @@ type ArchiveInitParameters struct { // Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the event_source_arn. EventPattern *string `json:"eventPattern,omitempty" tf:"event_pattern,omitempty"` + // Event bus source ARN from where these events should be archived. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Bus + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + EventSourceArn *string `json:"eventSourceArn,omitempty" tf:"event_source_arn,omitempty"` + + // Reference to a Bus in cloudwatchevents to populate eventSourceArn. + // +kubebuilder:validation:Optional + EventSourceArnRef *v1.Reference `json:"eventSourceArnRef,omitempty" tf:"-"` + + // Selector for a Bus in cloudwatchevents to populate eventSourceArn. + // +kubebuilder:validation:Optional + EventSourceArnSelector *v1.Selector `json:"eventSourceArnSelector,omitempty" tf:"-"` + // The maximum number of days to retain events in the new event archive. By default, it archives indefinitely. RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go b/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go index 67aa7b89eb..5b6952459f 100755 --- a/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go @@ -19,6 +19,19 @@ import ( type BusPolicyInitParameters struct { + // The name of the event bus to set the permissions on. + // If you omit this, the permissions are set on the default event bus. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Bus + EventBusName *string `json:"eventBusName,omitempty" tf:"event_bus_name,omitempty"` + + // Reference to a Bus in cloudwatchevents to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameRef *v1.Reference `json:"eventBusNameRef,omitempty" tf:"-"` + + // Selector for a Bus in cloudwatchevents to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameSelector *v1.Selector `json:"eventBusNameSelector,omitempty" tf:"-"` + // The text of the policy. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go index 3c46cc1352..515bca9b4c 100644 --- a/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,21 @@ func (in *APIDestination) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *APIDestinationInitParameters) DeepCopyInto(out *APIDestinationInitParameters) { *out = *in + if in.ConnectionArn != nil { + in, out := &in.ConnectionArn, &out.ConnectionArn + *out = new(string) + **out = **in + } + if in.ConnectionArnRef != nil { + in, out := &in.ConnectionArnRef, &out.ConnectionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionArnSelector != nil { + in, out := &in.ConnectionArnSelector, &out.ConnectionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -348,6 +363,21 @@ func (in *ArchiveInitParameters) DeepCopyInto(out *ArchiveInitParameters) { *out = new(string) **out = **in } + if in.EventSourceArn != nil { + in, out := &in.EventSourceArn, &out.EventSourceArn + *out = new(string) + **out = **in + } + if in.EventSourceArnRef != nil { + in, out := &in.EventSourceArnRef, &out.EventSourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EventSourceArnSelector != nil { + in, out := &in.EventSourceArnSelector, &out.EventSourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RetentionDays != nil { in, out := &in.RetentionDays, &out.RetentionDays *out = new(float64) @@ -1130,6 +1160,21 @@ func (in *BusPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BusPolicyInitParameters) DeepCopyInto(out *BusPolicyInitParameters) { *out = *in + if in.EventBusName != nil { + in, out := &in.EventBusName, &out.EventBusName + *out = new(string) + **out = **in + } + if in.EventBusNameRef != nil { + in, out := &in.EventBusNameRef, &out.EventBusNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EventBusNameSelector != nil { + in, out := &in.EventBusNameSelector, &out.EventBusNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -1483,6 +1528,21 @@ func (in *ConditionInitParameters) DeepCopyInto(out *ConditionInitParameters) { *out = new(string) **out = **in } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } + if in.ValueRef != nil { + in, out := &in.ValueRef, &out.ValueRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ValueSelector != nil { + in, out := &in.ValueSelector, &out.ValueSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionInitParameters. @@ -1917,6 +1977,21 @@ func (in *EcsTargetInitParameters) DeepCopyInto(out *EcsTargetInitParameters) { *out = new(float64) **out = **in } + if in.TaskDefinitionArn != nil { + in, out := &in.TaskDefinitionArn, &out.TaskDefinitionArn + *out = new(string) + **out = **in + } + if in.TaskDefinitionArnRef != nil { + in, out := &in.TaskDefinitionArnRef, &out.TaskDefinitionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TaskDefinitionArnSelector != nil { + in, out := &in.TaskDefinitionArnSelector, &out.TaskDefinitionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EcsTargetInitParameters. @@ -3375,6 +3450,21 @@ func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters) (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EventBusName != nil { + in, out := &in.EventBusName, &out.EventBusName + *out = new(string) + **out = **in + } + if in.EventBusNameRef != nil { + in, out := &in.EventBusNameRef, &out.EventBusNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EventBusNameSelector != nil { + in, out := &in.EventBusNameSelector, &out.EventBusNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Principal != nil { in, out := &in.Principal, &out.Principal *out = new(string) @@ -4043,6 +4133,21 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = new(string) **out = **in } + if in.EventBusName != nil { + in, out := &in.EventBusName, &out.EventBusName + *out = new(string) + **out = **in + } + if in.EventBusNameRef != nil { + in, out := &in.EventBusNameRef, &out.EventBusNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EventBusNameSelector != nil { + in, out := &in.EventBusNameSelector, &out.EventBusNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EventPattern != nil { in, out := &in.EventPattern, &out.EventPattern *out = new(string) @@ -4053,6 +4158,21 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = new(bool) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ScheduleExpression != nil { in, out := &in.ScheduleExpression, &out.ScheduleExpression *out = new(string) @@ -4616,6 +4736,21 @@ func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EventBusName != nil { + in, out := &in.EventBusName, &out.EventBusName + *out = new(string) + **out = **in + } + if in.EventBusNameRef != nil { + in, out := &in.EventBusNameRef, &out.EventBusNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EventBusNameSelector != nil { + in, out := &in.EventBusNameSelector, &out.EventBusNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.HTTPTarget != nil { in, out := &in.HTTPTarget, &out.HTTPTarget *out = make([]HTTPTargetInitParameters, len(*in)) @@ -4661,6 +4796,36 @@ func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } + if in.RuleRef != nil { + in, out := &in.RuleRef, &out.RuleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RuleSelector != nil { + in, out := &in.RuleSelector, &out.RuleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RunCommandTargets != nil { in, out := &in.RunCommandTargets, &out.RunCommandTargets *out = make([]RunCommandTargetsInitParameters, len(*in)) diff --git a/apis/cloudwatchevents/v1beta1/zz_generated.resolvers.go b/apis/cloudwatchevents/v1beta1/zz_generated.resolvers.go index 5243e45810..226eb0b6cf 100644 --- a/apis/cloudwatchevents/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudwatchevents/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *APIDestination) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ConnectionArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConnectionArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ConnectionArnRef, + Selector: mg.Spec.InitProvider.ConnectionArnSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionArn") + } + mg.Spec.InitProvider.ConnectionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionArnRef = rsp.ResolvedReference + return nil } @@ -66,6 +82,22 @@ func (mg *Archive) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.EventSourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventSourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventSourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EventSourceArnRef, + Selector: mg.Spec.InitProvider.EventSourceArnSelector, + To: reference.To{ + List: &BusList{}, + Managed: &Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventSourceArn") + } + mg.Spec.InitProvider.EventSourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventSourceArnRef = rsp.ResolvedReference + return nil } @@ -92,6 +124,22 @@ func (mg *BusPolicy) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventBusNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventBusName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EventBusNameRef, + Selector: mg.Spec.InitProvider.EventBusNameSelector, + To: reference.To{ + List: &BusList{}, + Managed: &Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventBusName") + } + mg.Spec.InitProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventBusNameRef = rsp.ResolvedReference + return nil } @@ -136,6 +184,40 @@ func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventBusNameRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.Condition); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Condition[i3].Value), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Condition[i3].ValueRef, + Selector: mg.Spec.InitProvider.Condition[i3].ValueSelector, + To: reference.To{ + List: &v1beta1.OrganizationList{}, + Managed: &v1beta1.Organization{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Condition[i3].Value") + } + mg.Spec.InitProvider.Condition[i3].Value = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Condition[i3].ValueRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventBusName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EventBusNameRef, + Selector: mg.Spec.InitProvider.EventBusNameSelector, + To: reference.To{ + List: &BusList{}, + Managed: &Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventBusName") + } + mg.Spec.InitProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventBusNameRef = rsp.ResolvedReference + return nil } @@ -178,6 +260,38 @@ func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventBusName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EventBusNameRef, + Selector: mg.Spec.InitProvider.EventBusNameSelector, + To: reference.To{ + List: &BusList{}, + Managed: &Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventBusName") + } + mg.Spec.InitProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventBusNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -254,5 +368,71 @@ func (mg *Target) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.Rule = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RuleRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.EcsTarget); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArnRef, + Selector: mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArnSelector, + To: reference.To{ + List: &v1beta12.TaskDefinitionList{}, + Managed: &v1beta12.TaskDefinition{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArn") + } + mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EcsTarget[i3].TaskDefinitionArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventBusName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EventBusNameRef, + Selector: mg.Spec.InitProvider.EventBusNameSelector, + To: reference.To{ + List: &BusList{}, + Managed: &Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventBusName") + } + mg.Spec.InitProvider.EventBusName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventBusNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rule), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RuleRef, + Selector: mg.Spec.InitProvider.RuleSelector, + To: reference.To{ + List: &RuleList{}, + Managed: &Rule{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rule") + } + mg.Spec.InitProvider.Rule = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RuleRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudwatchevents/v1beta1/zz_permission_types.go b/apis/cloudwatchevents/v1beta1/zz_permission_types.go index c84e97dab6..e936dd8253 100755 --- a/apis/cloudwatchevents/v1beta1/zz_permission_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_permission_types.go @@ -24,6 +24,19 @@ type ConditionInitParameters struct { // Type of condition. Value values: StringEquals. Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Value for the key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Organization + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Value *string `json:"value,omitempty" tf:"value,omitempty"` + + // Reference to a Organization in organizations to populate value. + // +kubebuilder:validation:Optional + ValueRef *v1.Reference `json:"valueRef,omitempty" tf:"-"` + + // Selector for a Organization in organizations to populate value. + // +kubebuilder:validation:Optional + ValueSelector *v1.Selector `json:"valueSelector,omitempty" tf:"-"` } type ConditionObservation struct { @@ -71,6 +84,19 @@ type PermissionInitParameters struct { // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"` + // The name of the event bus to set the permissions on. + // If you omit this, the permissions are set on the default event bus. + // +crossplane:generate:reference:type=Bus + EventBusName *string `json:"eventBusName,omitempty" tf:"event_bus_name,omitempty"` + + // Reference to a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameRef *v1.Reference `json:"eventBusNameRef,omitempty" tf:"-"` + + // Selector for a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameSelector *v1.Selector `json:"eventBusNameSelector,omitempty" tf:"-"` + // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify * to permit any account to put events to your default event bus, optionally limited by condition. Principal *string `json:"principal,omitempty" tf:"principal,omitempty"` diff --git a/apis/cloudwatchevents/v1beta1/zz_rule_types.go b/apis/cloudwatchevents/v1beta1/zz_rule_types.go index 067b76acc0..3307979211 100755 --- a/apis/cloudwatchevents/v1beta1/zz_rule_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_rule_types.go @@ -22,6 +22,19 @@ type RuleInitParameters struct { // The description of the rule. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The name or ARN of the event bus to associate with this rule. + // If you omit this, the default event bus is used. + // +crossplane:generate:reference:type=Bus + EventBusName *string `json:"eventBusName,omitempty" tf:"event_bus_name,omitempty"` + + // Reference to a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameRef *v1.Reference `json:"eventBusNameRef,omitempty" tf:"-"` + + // Selector for a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameSelector *v1.Selector `json:"eventBusNameSelector,omitempty" tf:"-"` + // The event pattern described a JSON object. At least one of schedule_expression or event_pattern is required. See full documentation of Events and Event Patterns in EventBridge for details. Note: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See Amazon EventBridge quotas for details. EventPattern *string `json:"eventPattern,omitempty" tf:"event_pattern,omitempty"` @@ -30,6 +43,19 @@ type RuleInitParameters struct { // Conflicts with state. IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` + // The Amazon Resource Name (ARN) associated with the role that is used for target invocation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes). At least one of schedule_expression or event_pattern is required. Can only be used on the default event bus. For more information, refer to the AWS documentation Schedule Expressions for Rules. ScheduleExpression *string `json:"scheduleExpression,omitempty" tf:"schedule_expression,omitempty"` diff --git a/apis/cloudwatchevents/v1beta1/zz_target_types.go b/apis/cloudwatchevents/v1beta1/zz_target_types.go index 06b6a53e04..529490c372 100755 --- a/apis/cloudwatchevents/v1beta1/zz_target_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_target_types.go @@ -162,6 +162,19 @@ type EcsTargetInitParameters struct { // The number of tasks to create based on the TaskDefinition. Defaults to 1. TaskCount *float64 `json:"taskCount,omitempty" tf:"task_count,omitempty"` + + // The ARN of the task definition to use if the event target is an Amazon ECS cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecs/v1beta1.TaskDefinition + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TaskDefinitionArn *string `json:"taskDefinitionArn,omitempty" tf:"task_definition_arn,omitempty"` + + // Reference to a TaskDefinition in ecs to populate taskDefinitionArn. + // +kubebuilder:validation:Optional + TaskDefinitionArnRef *v1.Reference `json:"taskDefinitionArnRef,omitempty" tf:"-"` + + // Selector for a TaskDefinition in ecs to populate taskDefinitionArn. + // +kubebuilder:validation:Optional + TaskDefinitionArnSelector *v1.Selector `json:"taskDefinitionArnSelector,omitempty" tf:"-"` } type EcsTargetObservation struct { @@ -680,6 +693,19 @@ type TargetInitParameters struct { // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget []EcsTargetInitParameters `json:"ecsTarget,omitempty" tf:"ecs_target,omitempty"` + // The name or ARN of the event bus to associate with the rule. + // If you omit this, the default event bus is used. + // +crossplane:generate:reference:type=Bus + EventBusName *string `json:"eventBusName,omitempty" tf:"event_bus_name,omitempty"` + + // Reference to a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameRef *v1.Reference `json:"eventBusNameRef,omitempty" tf:"-"` + + // Selector for a Bus to populate eventBusName. + // +kubebuilder:validation:Optional + EventBusNameSelector *v1.Selector `json:"eventBusNameSelector,omitempty" tf:"-"` + // Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed. HTTPTarget []HTTPTargetInitParameters `json:"httpTarget,omitempty" tf:"http_target,omitempty"` @@ -701,6 +727,31 @@ type TargetInitParameters struct { // Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed. RetryPolicy []RetryPolicyInitParameters `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"` + // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if ecs_target is used or target in arn is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The name of the rule you want to add targets to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Rule + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` + + // Reference to a Rule in cloudwatchevents to populate rule. + // +kubebuilder:validation:Optional + RuleRef *v1.Reference `json:"ruleRef,omitempty" tf:"-"` + + // Selector for a Rule in cloudwatchevents to populate rule. + // +kubebuilder:validation:Optional + RuleSelector *v1.Selector `json:"ruleSelector,omitempty" tf:"-"` + // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets []RunCommandTargetsInitParameters `json:"runCommandTargets,omitempty" tf:"run_command_targets,omitempty"` diff --git a/apis/cloudwatchlogs/v1beta1/zz_destination_types.go b/apis/cloudwatchlogs/v1beta1/zz_destination_types.go index ce006aed06..d05f94d2a1 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_destination_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_destination_types.go @@ -19,9 +19,35 @@ import ( type DestinationInitParameters struct { + // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ARN of the target Amazon Kinesis stream resource for the destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"` + + // Reference to a Stream in kinesis to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` } type DestinationObservation struct { diff --git a/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go index 203ae8660f..8f3034efa1 100644 --- a/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go @@ -260,6 +260,21 @@ func (in *Destination) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -276,6 +291,21 @@ func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters (*out)[key] = outVal } } + if in.TargetArn != nil { + in, out := &in.TargetArn, &out.TargetArn + *out = new(string) + **out = **in + } + if in.TargetArnRef != nil { + in, out := &in.TargetArnRef, &out.TargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationInitParameters. @@ -697,6 +727,21 @@ func (in *Group) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters) { *out = *in + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LogGroupClass != nil { in, out := &in.LogGroupClass, &out.LogGroupClass *out = new(string) @@ -980,6 +1025,21 @@ func (in *MetricFilter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetricFilterInitParameters) DeepCopyInto(out *MetricFilterInitParameters) { *out = *in + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } + if in.LogGroupNameRef != nil { + in, out := &in.LogGroupNameRef, &out.LogGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogGroupNameSelector != nil { + in, out := &in.LogGroupNameSelector, &out.LogGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MetricTransformation != nil { in, out := &in.MetricTransformation, &out.MetricTransformation *out = make([]MetricTransformationInitParameters, len(*in)) @@ -1517,6 +1577,21 @@ func (in *Stream) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { *out = *in + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } + if in.LogGroupNameRef != nil { + in, out := &in.LogGroupNameRef, &out.LogGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogGroupNameSelector != nil { + in, out := &in.LogGroupNameSelector, &out.LogGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1706,6 +1781,21 @@ func (in *SubscriptionFilter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SubscriptionFilterInitParameters) DeepCopyInto(out *SubscriptionFilterInitParameters) { *out = *in + if in.DestinationArn != nil { + in, out := &in.DestinationArn, &out.DestinationArn + *out = new(string) + **out = **in + } + if in.DestinationArnRef != nil { + in, out := &in.DestinationArnRef, &out.DestinationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationArnSelector != nil { + in, out := &in.DestinationArnSelector, &out.DestinationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Distribution != nil { in, out := &in.Distribution, &out.Distribution *out = new(string) @@ -1726,6 +1816,21 @@ func (in *SubscriptionFilterInitParameters) DeepCopyInto(out *SubscriptionFilter *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterInitParameters. diff --git a/apis/cloudwatchlogs/v1beta1/zz_generated.resolvers.go b/apis/cloudwatchlogs/v1beta1/zz_generated.resolvers.go index 00488db322..72b0d0598d 100644 --- a/apis/cloudwatchlogs/v1beta1/zz_generated.resolvers.go +++ b/apis/cloudwatchlogs/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *Destination) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.TargetArnRef, + Selector: mg.Spec.InitProvider.TargetArnSelector, + To: reference.To{ + List: &v1beta11.StreamList{}, + Managed: &v1beta11.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetArn") + } + mg.Spec.InitProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetArnRef = rsp.ResolvedReference + return nil } @@ -81,6 +113,22 @@ func (mg *Group) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -107,6 +155,22 @@ func (mg *MetricFilter) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.LogGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LogGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LogGroupNameRef, + Selector: mg.Spec.InitProvider.LogGroupNameSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogGroupName") + } + mg.Spec.InitProvider.LogGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogGroupNameRef = rsp.ResolvedReference + return nil } @@ -133,6 +197,22 @@ func (mg *Stream) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.LogGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LogGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LogGroupNameRef, + Selector: mg.Spec.InitProvider.LogGroupNameSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogGroupName") + } + mg.Spec.InitProvider.LogGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogGroupNameRef = rsp.ResolvedReference + return nil } @@ -175,5 +255,37 @@ func (mg *SubscriptionFilter) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.DestinationArnRef, + Selector: mg.Spec.InitProvider.DestinationArnSelector, + To: reference.To{ + List: &v1beta11.StreamList{}, + Managed: &v1beta11.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationArn") + } + mg.Spec.InitProvider.DestinationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/cloudwatchlogs/v1beta1/zz_group_types.go b/apis/cloudwatchlogs/v1beta1/zz_group_types.go index 2781365080..a0875b5583 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_group_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_group_types.go @@ -19,6 +19,20 @@ import ( type GroupInitParameters struct { + // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, + // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires + // permissions for the CMK whenever the encrypted data is requested. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specified the log class of the log group. Possible values are: STANDARD or INFREQUENT_ACCESS. LogGroupClass *string `json:"logGroupClass,omitempty" tf:"log_group_class,omitempty"` diff --git a/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go b/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go index 19284f234b..7d4ab0041f 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go @@ -19,6 +19,18 @@ import ( type MetricFilterInitParameters struct { + // The name of the log group to associate the metric filter with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate logGroupName. + // +kubebuilder:validation:Optional + LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate logGroupName. + // +kubebuilder:validation:Optional + LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"` + // A block defining collection of information needed to define how metric data gets emitted. See below. MetricTransformation []MetricTransformationInitParameters `json:"metricTransformation,omitempty" tf:"metric_transformation,omitempty"` diff --git a/apis/cloudwatchlogs/v1beta1/zz_stream_types.go b/apis/cloudwatchlogs/v1beta1/zz_stream_types.go index f023528283..ec155d4cb8 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_stream_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_stream_types.go @@ -19,6 +19,18 @@ import ( type StreamInitParameters struct { + // The name of the log group under which the log stream is to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate logGroupName. + // +kubebuilder:validation:Optional + LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate logGroupName. + // +kubebuilder:validation:Optional + LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"` + // The name of the log stream. Must not be longer than 512 characters and must not contain : Name *string `json:"name,omitempty" tf:"name,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go b/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go index ac06260c10..30300c91b8 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go @@ -19,6 +19,19 @@ import ( type SubscriptionFilterInitParameters struct { + // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"` + + // Reference to a Stream in kinesis to populate destinationArn. + // +kubebuilder:validation:Optional + DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate destinationArn. + // +kubebuilder:validation:Optional + DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"` + // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution *string `json:"distribution,omitempty" tf:"distribution,omitempty"` @@ -30,6 +43,19 @@ type SubscriptionFilterInitParameters struct { // A name for the subscription filter Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use aws_lambda_permission resource for granting access from CloudWatch logs to the destination Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type SubscriptionFilterObservation struct { diff --git a/apis/codecommit/v1beta1/zz_generated.deepcopy.go b/apis/codecommit/v1beta1/zz_generated.deepcopy.go index 85cae82d66..816d49d254 100644 --- a/apis/codecommit/v1beta1/zz_generated.deepcopy.go +++ b/apis/codecommit/v1beta1/zz_generated.deepcopy.go @@ -699,6 +699,21 @@ func (in *Trigger) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TriggerInitParameters) DeepCopyInto(out *TriggerInitParameters) { *out = *in + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RepositoryNameRef != nil { + in, out := &in.RepositoryNameRef, &out.RepositoryNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RepositoryNameSelector != nil { + in, out := &in.RepositoryNameSelector, &out.RepositoryNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Trigger != nil { in, out := &in.Trigger, &out.Trigger *out = make([]TriggerTriggerInitParameters, len(*in)) @@ -883,6 +898,21 @@ func (in *TriggerTriggerInitParameters) DeepCopyInto(out *TriggerTriggerInitPara *out = new(string) **out = **in } + if in.DestinationArn != nil { + in, out := &in.DestinationArn, &out.DestinationArn + *out = new(string) + **out = **in + } + if in.DestinationArnRef != nil { + in, out := &in.DestinationArnRef, &out.DestinationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationArnSelector != nil { + in, out := &in.DestinationArnSelector, &out.DestinationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Events != nil { in, out := &in.Events, &out.Events *out = make([]*string, len(*in)) diff --git a/apis/codecommit/v1beta1/zz_generated.resolvers.go b/apis/codecommit/v1beta1/zz_generated.resolvers.go index a8fc6d5e01..2990f2597b 100644 --- a/apis/codecommit/v1beta1/zz_generated.resolvers.go +++ b/apis/codecommit/v1beta1/zz_generated.resolvers.go @@ -96,6 +96,40 @@ func (mg *Trigger) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.Trigger[i3].DestinationArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Trigger[i3].DestinationArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RepositoryName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RepositoryNameRef, + Selector: mg.Spec.InitProvider.RepositoryNameSelector, + To: reference.To{ + List: &RepositoryList{}, + Managed: &Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RepositoryName") + } + mg.Spec.InitProvider.RepositoryName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RepositoryNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Trigger); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Trigger[i3].DestinationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Trigger[i3].DestinationArnRef, + Selector: mg.Spec.InitProvider.Trigger[i3].DestinationArnSelector, + To: reference.To{ + List: &v1beta1.TopicList{}, + Managed: &v1beta1.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Trigger[i3].DestinationArn") + } + mg.Spec.InitProvider.Trigger[i3].DestinationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Trigger[i3].DestinationArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/codecommit/v1beta1/zz_trigger_types.go b/apis/codecommit/v1beta1/zz_trigger_types.go index 58fe685cdd..88bb2588f3 100755 --- a/apis/codecommit/v1beta1/zz_trigger_types.go +++ b/apis/codecommit/v1beta1/zz_trigger_types.go @@ -19,6 +19,18 @@ import ( type TriggerInitParameters struct { + // The name for the repository. This needs to be less than 100 characters. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.Repository + RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` + + // Reference to a Repository in codecommit to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"` + + // Selector for a Repository in codecommit to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"` + // The name of the trigger. Trigger []TriggerTriggerInitParameters `json:"trigger,omitempty" tf:"trigger,omitempty"` } @@ -70,6 +82,19 @@ type TriggerTriggerInitParameters struct { // Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. CustomData *string `json:"customData,omitempty" tf:"custom_data,omitempty"` + // The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"` + + // Reference to a Topic in sns to populate destinationArn. + // +kubebuilder:validation:Optional + DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate destinationArn. + // +kubebuilder:validation:Optional + DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"` + // The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference. Events []*string `json:"events,omitempty" tf:"events,omitempty"` diff --git a/apis/codepipeline/v1beta1/zz_codepipeline_types.go b/apis/codepipeline/v1beta1/zz_codepipeline_types.go index d88480f0c1..4cf0994d2f 100755 --- a/apis/codepipeline/v1beta1/zz_codepipeline_types.go +++ b/apis/codepipeline/v1beta1/zz_codepipeline_types.go @@ -151,6 +151,18 @@ type ArtifactStoreInitParameters struct { // The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An encryption_key block is documented below. EncryptionKey []EncryptionKeyInitParameters `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"` + // The location where AWS CodePipeline stores artifacts for a pipeline; currently only S3 is supported. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // Reference to a Bucket in s3 to populate location. + // +kubebuilder:validation:Optional + LocationRef *v1.Reference `json:"locationRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate location. + // +kubebuilder:validation:Optional + LocationSelector *v1.Selector `json:"locationSelector,omitempty" tf:"-"` + // The type of the artifact store, such as Amazon S3 Type *string `json:"type,omitempty" tf:"type,omitempty"` } @@ -203,6 +215,19 @@ type CodepipelineInitParameters struct { // One or more artifact_store blocks. Artifact stores are documented below. ArtifactStore []ArtifactStoreInitParameters `json:"artifactStore,omitempty" tf:"artifact_store,omitempty"` + // A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // (Minimum of at least two stage blocks is required) A stage block. Stages are documented below. Stage []StageInitParameters `json:"stage,omitempty" tf:"stage,omitempty"` diff --git a/apis/codepipeline/v1beta1/zz_generated.deepcopy.go b/apis/codepipeline/v1beta1/zz_generated.deepcopy.go index c059b62d57..2d452ea809 100644 --- a/apis/codepipeline/v1beta1/zz_generated.deepcopy.go +++ b/apis/codepipeline/v1beta1/zz_generated.deepcopy.go @@ -312,6 +312,21 @@ func (in *ArtifactStoreInitParameters) DeepCopyInto(out *ArtifactStoreInitParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LocationRef != nil { + in, out := &in.LocationRef, &out.LocationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LocationSelector != nil { + in, out := &in.LocationSelector, &out.LocationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -515,6 +530,21 @@ func (in *CodepipelineInitParameters) DeepCopyInto(out *CodepipelineInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Stage != nil { in, out := &in.Stage, &out.Stage *out = make([]StageInitParameters, len(*in)) @@ -1816,6 +1846,21 @@ func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters) { *out = new(string) **out = **in } + if in.TargetPipeline != nil { + in, out := &in.TargetPipeline, &out.TargetPipeline + *out = new(string) + **out = **in + } + if in.TargetPipelineRef != nil { + in, out := &in.TargetPipelineRef, &out.TargetPipelineRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetPipelineSelector != nil { + in, out := &in.TargetPipelineSelector, &out.TargetPipelineSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookInitParameters. diff --git a/apis/codepipeline/v1beta1/zz_generated.resolvers.go b/apis/codepipeline/v1beta1/zz_generated.resolvers.go index d479f2339a..c3613a552a 100644 --- a/apis/codepipeline/v1beta1/zz_generated.resolvers.go +++ b/apis/codepipeline/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,40 @@ func (mg *Codepipeline) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.ArtifactStore); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ArtifactStore[i3].Location), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ArtifactStore[i3].LocationRef, + Selector: mg.Spec.InitProvider.ArtifactStore[i3].LocationSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ArtifactStore[i3].Location") + } + mg.Spec.InitProvider.ArtifactStore[i3].Location = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ArtifactStore[i3].LocationRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -82,5 +116,21 @@ func (mg *Webhook) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.TargetPipeline = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetPipelineRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetPipeline), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TargetPipelineRef, + Selector: mg.Spec.InitProvider.TargetPipelineSelector, + To: reference.To{ + List: &CodepipelineList{}, + Managed: &Codepipeline{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetPipeline") + } + mg.Spec.InitProvider.TargetPipeline = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetPipelineRef = rsp.ResolvedReference + return nil } diff --git a/apis/codepipeline/v1beta1/zz_webhook_types.go b/apis/codepipeline/v1beta1/zz_webhook_types.go index ffc40ad2ef..03408b0dbb 100755 --- a/apis/codepipeline/v1beta1/zz_webhook_types.go +++ b/apis/codepipeline/v1beta1/zz_webhook_types.go @@ -86,6 +86,18 @@ type WebhookInitParameters struct { // The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline. TargetAction *string `json:"targetAction,omitempty" tf:"target_action,omitempty"` + + // The name of the pipeline. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codepipeline/v1beta1.Codepipeline + TargetPipeline *string `json:"targetPipeline,omitempty" tf:"target_pipeline,omitempty"` + + // Reference to a Codepipeline in codepipeline to populate targetPipeline. + // +kubebuilder:validation:Optional + TargetPipelineRef *v1.Reference `json:"targetPipelineRef,omitempty" tf:"-"` + + // Selector for a Codepipeline in codepipeline to populate targetPipeline. + // +kubebuilder:validation:Optional + TargetPipelineSelector *v1.Selector `json:"targetPipelineSelector,omitempty" tf:"-"` } type WebhookObservation struct { diff --git a/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go b/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go index 8efcb4faee..c762fe5a85 100644 --- a/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go +++ b/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go @@ -64,6 +64,21 @@ func (in *NotificationRuleInitParameters) DeepCopyInto(out *NotificationRuleInit *out = new(string) **out = **in } + if in.Resource != nil { + in, out := &in.Resource, &out.Resource + *out = new(string) + **out = **in + } + if in.ResourceRef != nil { + in, out := &in.ResourceRef, &out.ResourceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceSelector != nil { + in, out := &in.ResourceSelector, &out.ResourceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Status != nil { in, out := &in.Status, &out.Status *out = new(string) @@ -353,6 +368,21 @@ func (in *NotificationRuleStatus) DeepCopy() *NotificationRuleStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.AddressRef != nil { + in, out := &in.AddressRef, &out.AddressRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AddressSelector != nil { + in, out := &in.AddressSelector, &out.AddressSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) diff --git a/apis/codestarnotifications/v1beta1/zz_generated.resolvers.go b/apis/codestarnotifications/v1beta1/zz_generated.resolvers.go index 70da5efc2a..cd360bd719 100644 --- a/apis/codestarnotifications/v1beta1/zz_generated.resolvers.go +++ b/apis/codestarnotifications/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,40 @@ func (mg *NotificationRule) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.Target[i3].Address = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Target[i3].AddressRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Resource), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceRef, + Selector: mg.Spec.InitProvider.ResourceSelector, + To: reference.To{ + List: &v1beta1.RepositoryList{}, + Managed: &v1beta1.Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Resource") + } + mg.Spec.InitProvider.Resource = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Target); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Target[i3].Address), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Target[i3].AddressRef, + Selector: mg.Spec.InitProvider.Target[i3].AddressSelector, + To: reference.To{ + List: &v1beta11.TopicList{}, + Managed: &v1beta11.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Target[i3].Address") + } + mg.Spec.InitProvider.Target[i3].Address = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Target[i3].AddressRef = rsp.ResolvedReference + } return nil diff --git a/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go b/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go index 775c6700cf..4d0f691d63 100755 --- a/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go +++ b/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go @@ -30,6 +30,19 @@ type NotificationRuleInitParameters struct { // The name of notification rule. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of the resource to associate with the notification rule. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codecommit/v1beta1.Repository + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` + + // Reference to a Repository in codecommit to populate resource. + // +kubebuilder:validation:Optional + ResourceRef *v1.Reference `json:"resourceRef,omitempty" tf:"-"` + + // Selector for a Repository in codecommit to populate resource. + // +kubebuilder:validation:Optional + ResourceSelector *v1.Selector `json:"resourceSelector,omitempty" tf:"-"` + // The status of the notification rule. Possible values are ENABLED and DISABLED, default is ENABLED. Status *string `json:"status,omitempty" tf:"status,omitempty"` @@ -129,6 +142,19 @@ type NotificationRuleParameters struct { type TargetInitParameters struct { + // The ARN of notification rule target. For example, a SNS Topic ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // Reference to a Topic in sns to populate address. + // +kubebuilder:validation:Optional + AddressRef *v1.Reference `json:"addressRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate address. + // +kubebuilder:validation:Optional + AddressSelector *v1.Selector `json:"addressSelector,omitempty" tf:"-"` + // The type of the notification target. Default value is SNS. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/cognitoidentity/v1beta1/zz_cognitoidentitypoolproviderprincipaltag_types.go b/apis/cognitoidentity/v1beta1/zz_cognitoidentitypoolproviderprincipaltag_types.go index 74f0595de0..eeafbd4ab0 100755 --- a/apis/cognitoidentity/v1beta1/zz_cognitoidentitypoolproviderprincipaltag_types.go +++ b/apis/cognitoidentity/v1beta1/zz_cognitoidentitypoolproviderprincipaltag_types.go @@ -19,6 +19,32 @@ import ( type CognitoIdentityPoolProviderPrincipalTagInitParameters struct { + // An identity pool ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidentity/v1beta1.Pool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"` + + // Reference to a Pool in cognitoidentity to populate identityPoolId. + // +kubebuilder:validation:Optional + IdentityPoolIDRef *v1.Reference `json:"identityPoolIdRef,omitempty" tf:"-"` + + // Selector for a Pool in cognitoidentity to populate identityPoolId. + // +kubebuilder:validation:Optional + IdentityPoolIDSelector *v1.Selector `json:"identityPoolIdSelector,omitempty" tf:"-"` + + // The name of the identity provider. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("endpoint",true) + IdentityProviderName *string `json:"identityProviderName,omitempty" tf:"identity_provider_name,omitempty"` + + // Reference to a UserPool in cognitoidp to populate identityProviderName. + // +kubebuilder:validation:Optional + IdentityProviderNameRef *v1.Reference `json:"identityProviderNameRef,omitempty" tf:"-"` + + // Selector for a UserPool in cognitoidp to populate identityProviderName. + // +kubebuilder:validation:Optional + IdentityProviderNameSelector *v1.Selector `json:"identityProviderNameSelector,omitempty" tf:"-"` + // String to string map of variables. // +mapType=granular PrincipalTags map[string]*string `json:"principalTags,omitempty" tf:"principal_tags,omitempty"` diff --git a/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go b/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go index 42055d4a0f..8a0d4c09e9 100644 --- a/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go +++ b/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,36 @@ func (in *CognitoIdentityPoolProviderPrincipalTag) DeepCopyObject() runtime.Obje // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CognitoIdentityPoolProviderPrincipalTagInitParameters) DeepCopyInto(out *CognitoIdentityPoolProviderPrincipalTagInitParameters) { *out = *in + if in.IdentityPoolID != nil { + in, out := &in.IdentityPoolID, &out.IdentityPoolID + *out = new(string) + **out = **in + } + if in.IdentityPoolIDRef != nil { + in, out := &in.IdentityPoolIDRef, &out.IdentityPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IdentityPoolIDSelector != nil { + in, out := &in.IdentityPoolIDSelector, &out.IdentityPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IdentityProviderName != nil { + in, out := &in.IdentityProviderName, &out.IdentityProviderName + *out = new(string) + **out = **in + } + if in.IdentityProviderNameRef != nil { + in, out := &in.IdentityProviderNameRef, &out.IdentityProviderNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IdentityProviderNameSelector != nil { + in, out := &in.IdentityProviderNameSelector, &out.IdentityProviderNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PrincipalTags != nil { in, out := &in.PrincipalTags, &out.PrincipalTags *out = make(map[string]*string, len(*in)) @@ -268,6 +298,21 @@ func (in *CognitoIdentityPoolProviderPrincipalTagStatus) DeepCopy() *CognitoIden // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CognitoIdentityProvidersInitParameters) DeepCopyInto(out *CognitoIdentityProvidersInitParameters) { *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ProviderName != nil { in, out := &in.ProviderName, &out.ProviderName *out = new(string) @@ -373,6 +418,21 @@ func (in *MappingRuleInitParameters) DeepCopyInto(out *MappingRuleInitParameters *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Value != nil { in, out := &in.Value, &out.Value *out = new(string) @@ -538,6 +598,29 @@ func (in *PoolInitParameters) DeepCopyInto(out *PoolInitParameters) { } } } + if in.SAMLProviderArns != nil { + in, out := &in.SAMLProviderArns, &out.SAMLProviderArns + *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.SAMLProviderArnsRefs != nil { + in, out := &in.SAMLProviderArnsRefs, &out.SAMLProviderArnsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SAMLProviderArnsSelector != nil { + in, out := &in.SAMLProviderArnsSelector, &out.SAMLProviderArnsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SupportedLoginProviders != nil { in, out := &in.SupportedLoginProviders, &out.SupportedLoginProviders *out = make(map[string]*string, len(*in)) @@ -879,6 +962,21 @@ func (in *PoolRolesAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PoolRolesAttachmentInitParameters) DeepCopyInto(out *PoolRolesAttachmentInitParameters) { *out = *in + if in.IdentityPoolID != nil { + in, out := &in.IdentityPoolID, &out.IdentityPoolID + *out = new(string) + **out = **in + } + if in.IdentityPoolIDRef != nil { + in, out := &in.IdentityPoolIDRef, &out.IdentityPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IdentityPoolIDSelector != nil { + in, out := &in.IdentityPoolIDSelector, &out.IdentityPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RoleMapping != nil { in, out := &in.RoleMapping, &out.RoleMapping *out = make([]RoleMappingInitParameters, len(*in)) diff --git a/apis/cognitoidentity/v1beta1/zz_generated.resolvers.go b/apis/cognitoidentity/v1beta1/zz_generated.resolvers.go index 299b3e3a26..5a69285fd3 100644 --- a/apis/cognitoidentity/v1beta1/zz_generated.resolvers.go +++ b/apis/cognitoidentity/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *CognitoIdentityPoolProviderPrincipalTag) ResolveReferences(ctx context mg.Spec.ForProvider.IdentityProviderName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IdentityProviderNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IdentityPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IdentityPoolIDRef, + Selector: mg.Spec.InitProvider.IdentityPoolIDSelector, + To: reference.To{ + List: &PoolList{}, + Managed: &Pool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IdentityPoolID") + } + mg.Spec.InitProvider.IdentityPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IdentityPoolIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IdentityProviderName), + Extract: resource.ExtractParamPath("endpoint", true), + Reference: mg.Spec.InitProvider.IdentityProviderNameRef, + Selector: mg.Spec.InitProvider.IdentityProviderNameSelector, + To: reference.To{ + List: &v1beta1.UserPoolList{}, + Managed: &v1beta1.UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IdentityProviderName") + } + mg.Spec.InitProvider.IdentityProviderName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IdentityProviderNameRef = rsp.ResolvedReference + return nil } @@ -100,6 +132,40 @@ func (mg *Pool) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.SAMLProviderArns = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SAMLProviderArnsRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.CognitoIdentityProviders); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientIDRef, + Selector: mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientIDSelector, + To: reference.To{ + List: &v1beta1.UserPoolClientList{}, + Managed: &v1beta1.UserPoolClient{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientID") + } + mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CognitoIdentityProviders[i3].ClientIDRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SAMLProviderArns), + Extract: common.ARNExtractor(), + References: mg.Spec.InitProvider.SAMLProviderArnsRefs, + Selector: mg.Spec.InitProvider.SAMLProviderArnsSelector, + To: reference.To{ + List: &v1beta11.SAMLProviderList{}, + Managed: &v1beta11.SAMLProvider{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SAMLProviderArns") + } + mg.Spec.InitProvider.SAMLProviderArns = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SAMLProviderArnsRefs = mrsp.ResolvedReferences + return nil } @@ -146,6 +212,42 @@ func (mg *PoolRolesAttachment) ResolveReferences(ctx context.Context, c client.R } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IdentityPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IdentityPoolIDRef, + Selector: mg.Spec.InitProvider.IdentityPoolIDSelector, + To: reference.To{ + List: &PoolList{}, + Managed: &Pool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IdentityPoolID") + } + mg.Spec.InitProvider.IdentityPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IdentityPoolIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.RoleMapping); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RoleMapping[i3].MappingRule); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArn") + } + mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleMapping[i3].MappingRule[i4].RoleArnRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/cognitoidentity/v1beta1/zz_pool_types.go b/apis/cognitoidentity/v1beta1/zz_pool_types.go index a5078f92d6..e58f1216be 100755 --- a/apis/cognitoidentity/v1beta1/zz_pool_types.go +++ b/apis/cognitoidentity/v1beta1/zz_pool_types.go @@ -19,6 +19,18 @@ import ( type CognitoIdentityProvidersInitParameters struct { + // The client ID for the Amazon Cognito Identity User Pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolClient + ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` + + // Reference to a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"` + + // Selector for a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"` + // The provider name for an Amazon Cognito Identity User Pool. ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` @@ -84,6 +96,19 @@ type PoolInitParameters struct { // +listType=set OpenIDConnectProviderArns []*string `json:"openidConnectProviderArns,omitempty" tf:"openid_connect_provider_arns,omitempty"` + // An array of Amazon Resource Names (ARNs) of the SAML provider for your identity. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.SAMLProvider + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SAMLProviderArns []*string `json:"samlProviderArns,omitempty" tf:"saml_provider_arns,omitempty"` + + // References to SAMLProvider in iam to populate samlProviderArns. + // +kubebuilder:validation:Optional + SAMLProviderArnsRefs []v1.Reference `json:"samlProviderArnsRefs,omitempty" tf:"-"` + + // Selector for a list of SAMLProvider in iam to populate samlProviderArns. + // +kubebuilder:validation:Optional + SAMLProviderArnsSelector *v1.Selector `json:"samlProviderArnsSelector,omitempty" tf:"-"` + // Key-Value pairs mapping provider names to provider app IDs. // +mapType=granular SupportedLoginProviders map[string]*string `json:"supportedLoginProviders,omitempty" tf:"supported_login_providers,omitempty"` diff --git a/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go b/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go index 86bb57eb42..7a83943ee3 100755 --- a/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go +++ b/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go @@ -25,6 +25,19 @@ type MappingRuleInitParameters struct { // The match condition that specifies how closely the claim value in the IdP token must match Value. MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"` + // The role ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // A brief string that the claim must match, for example, "paid" or "yes". Value *string `json:"value,omitempty" tf:"value,omitempty"` } @@ -75,6 +88,19 @@ type MappingRuleParameters struct { type PoolRolesAttachmentInitParameters struct { + // An identity pool ID in the format REGION_GUID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidentity/v1beta1.Pool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"` + + // Reference to a Pool in cognitoidentity to populate identityPoolId. + // +kubebuilder:validation:Optional + IdentityPoolIDRef *v1.Reference `json:"identityPoolIdRef,omitempty" tf:"-"` + + // Selector for a Pool in cognitoidentity to populate identityPoolId. + // +kubebuilder:validation:Optional + IdentityPoolIDSelector *v1.Selector `json:"identityPoolIdSelector,omitempty" tf:"-"` + // A List of Role Mapping. RoleMapping []RoleMappingInitParameters `json:"roleMapping,omitempty" tf:"role_mapping,omitempty"` diff --git a/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go b/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go index b8bf85b382..a9237e439e 100644 --- a/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go +++ b/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go @@ -363,11 +363,41 @@ func (in *AnalyticsConfigurationInitParameters) DeepCopyInto(out *AnalyticsConfi *out = new(string) **out = **in } + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExternalID != nil { in, out := &in.ExternalID, &out.ExternalID *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.UserDataShared != nil { in, out := &in.UserDataShared, &out.UserDataShared *out = new(bool) @@ -737,6 +767,21 @@ func (in *CompromisedCredentialsRiskConfigurationParameters) DeepCopy() *Comprom // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomEmailSenderInitParameters) DeepCopyInto(out *CustomEmailSenderInitParameters) { *out = *in + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn + *out = new(string) + **out = **in + } + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LambdaVersion != nil { in, out := &in.LambdaVersion, &out.LambdaVersion *out = new(string) @@ -817,6 +862,21 @@ func (in *CustomEmailSenderParameters) DeepCopy() *CustomEmailSenderParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomSMSSenderInitParameters) DeepCopyInto(out *CustomSMSSenderInitParameters) { *out = *in + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn + *out = new(string) + **out = **in + } + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LambdaVersion != nil { in, out := &in.LambdaVersion, &out.LambdaVersion *out = new(string) @@ -1247,6 +1307,21 @@ func (in *IdentityProviderInitParameters) DeepCopyInto(out *IdentityProviderInit *out = new(string) **out = **in } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderInitParameters. @@ -1585,6 +1660,21 @@ func (in *InviteMessageTemplateParameters) DeepCopy() *InviteMessageTemplatePara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LambdaConfigInitParameters) DeepCopyInto(out *LambdaConfigInitParameters) { *out = *in + if in.CreateAuthChallenge != nil { + in, out := &in.CreateAuthChallenge, &out.CreateAuthChallenge + *out = new(string) + **out = **in + } + if in.CreateAuthChallengeRef != nil { + in, out := &in.CreateAuthChallengeRef, &out.CreateAuthChallengeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CreateAuthChallengeSelector != nil { + in, out := &in.CreateAuthChallengeSelector, &out.CreateAuthChallengeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomEmailSender != nil { in, out := &in.CustomEmailSender, &out.CustomEmailSender *out = make([]CustomEmailSenderInitParameters, len(*in)) @@ -1592,6 +1682,21 @@ func (in *LambdaConfigInitParameters) DeepCopyInto(out *LambdaConfigInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.CustomMessage != nil { + in, out := &in.CustomMessage, &out.CustomMessage + *out = new(string) + **out = **in + } + if in.CustomMessageRef != nil { + in, out := &in.CustomMessageRef, &out.CustomMessageRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CustomMessageSelector != nil { + in, out := &in.CustomMessageSelector, &out.CustomMessageSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomSMSSender != nil { in, out := &in.CustomSMSSender, &out.CustomSMSSender *out = make([]CustomSMSSenderInitParameters, len(*in)) @@ -1599,6 +1704,141 @@ func (in *LambdaConfigInitParameters) DeepCopyInto(out *LambdaConfigInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DefineAuthChallenge != nil { + in, out := &in.DefineAuthChallenge, &out.DefineAuthChallenge + *out = new(string) + **out = **in + } + if in.DefineAuthChallengeRef != nil { + in, out := &in.DefineAuthChallengeRef, &out.DefineAuthChallengeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefineAuthChallengeSelector != nil { + in, out := &in.DefineAuthChallengeSelector, &out.DefineAuthChallengeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PostAuthentication != nil { + in, out := &in.PostAuthentication, &out.PostAuthentication + *out = new(string) + **out = **in + } + if in.PostAuthenticationRef != nil { + in, out := &in.PostAuthenticationRef, &out.PostAuthenticationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PostAuthenticationSelector != nil { + in, out := &in.PostAuthenticationSelector, &out.PostAuthenticationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PostConfirmation != nil { + in, out := &in.PostConfirmation, &out.PostConfirmation + *out = new(string) + **out = **in + } + if in.PostConfirmationRef != nil { + in, out := &in.PostConfirmationRef, &out.PostConfirmationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PostConfirmationSelector != nil { + in, out := &in.PostConfirmationSelector, &out.PostConfirmationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PreAuthentication != nil { + in, out := &in.PreAuthentication, &out.PreAuthentication + *out = new(string) + **out = **in + } + if in.PreAuthenticationRef != nil { + in, out := &in.PreAuthenticationRef, &out.PreAuthenticationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PreAuthenticationSelector != nil { + in, out := &in.PreAuthenticationSelector, &out.PreAuthenticationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PreSignUp != nil { + in, out := &in.PreSignUp, &out.PreSignUp + *out = new(string) + **out = **in + } + if in.PreSignUpRef != nil { + in, out := &in.PreSignUpRef, &out.PreSignUpRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PreSignUpSelector != nil { + in, out := &in.PreSignUpSelector, &out.PreSignUpSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PreTokenGeneration != nil { + in, out := &in.PreTokenGeneration, &out.PreTokenGeneration + *out = new(string) + **out = **in + } + if in.PreTokenGenerationRef != nil { + in, out := &in.PreTokenGenerationRef, &out.PreTokenGenerationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PreTokenGenerationSelector != nil { + in, out := &in.PreTokenGenerationSelector, &out.PreTokenGenerationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserMigration != nil { + in, out := &in.UserMigration, &out.UserMigration + *out = new(string) + **out = **in + } + if in.UserMigrationRef != nil { + in, out := &in.UserMigrationRef, &out.UserMigrationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserMigrationSelector != nil { + in, out := &in.UserMigrationSelector, &out.UserMigrationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VerifyAuthChallengeResponse != nil { + in, out := &in.VerifyAuthChallengeResponse, &out.VerifyAuthChallengeResponse + *out = new(string) + **out = **in + } + if in.VerifyAuthChallengeResponseRef != nil { + in, out := &in.VerifyAuthChallengeResponseRef, &out.VerifyAuthChallengeResponseRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VerifyAuthChallengeResponseSelector != nil { + in, out := &in.VerifyAuthChallengeResponseSelector, &out.VerifyAuthChallengeResponseSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigInitParameters. @@ -2704,6 +2944,21 @@ func (in *ResourceServerInitParameters) DeepCopyInto(out *ResourceServerInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceServerInitParameters. @@ -2944,6 +3199,21 @@ func (in *RiskConfigurationInitParameters) DeepCopyInto(out *RiskConfigurationIn (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RiskConfigurationInitParameters. @@ -3254,6 +3524,21 @@ func (in *SMSConfigurationInitParameters) DeepCopyInto(out *SMSConfigurationInit *out = new(string) **out = **in } + if in.SnsCallerArn != nil { + in, out := &in.SnsCallerArn, &out.SnsCallerArn + *out = new(string) + **out = **in + } + if in.SnsCallerArnRef != nil { + in, out := &in.SnsCallerArnRef, &out.SnsCallerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsCallerArnSelector != nil { + in, out := &in.SnsCallerArnSelector, &out.SnsCallerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SnsRegion != nil { in, out := &in.SnsRegion, &out.SnsRegion *out = new(string) @@ -3953,6 +4238,36 @@ func (in *UserGroupInitParameters) DeepCopyInto(out *UserGroupInitParameters) { *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserGroupInitParameters. @@ -4172,6 +4487,51 @@ func (in *UserInGroup) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UserInGroupInitParameters) DeepCopyInto(out *UserInGroupInitParameters) { *out = *in + if in.GroupName != nil { + in, out := &in.GroupName, &out.GroupName + *out = new(string) + **out = **in + } + if in.GroupNameRef != nil { + in, out := &in.GroupNameRef, &out.GroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GroupNameSelector != nil { + in, out := &in.GroupNameSelector, &out.GroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.UsernameRef != nil { + in, out := &in.UsernameRef, &out.UsernameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UsernameSelector != nil { + in, out := &in.UsernameSelector, &out.UsernameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInGroupInitParameters. @@ -4321,7 +4681,7 @@ func (in *UserInGroupSpec) DeepCopyInto(out *UserInGroupSpec) { *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 UserInGroupSpec. @@ -4989,6 +5349,21 @@ func (in *UserPoolClientInitParameters) DeepCopyInto(out *UserPoolClientInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.WriteAttributes != nil { in, out := &in.WriteAttributes, &out.WriteAttributes *out = make([]*string, len(*in)) @@ -5483,11 +5858,41 @@ func (in *UserPoolDomain) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UserPoolDomainInitParameters) DeepCopyInto(out *UserPoolDomainInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Domain != nil { in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPoolDomainInitParameters. @@ -6420,11 +6825,41 @@ func (in *UserPoolUICustomizationInitParameters) DeepCopyInto(out *UserPoolUICus *out = new(string) **out = **in } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ImageFile != nil { in, out := &in.ImageFile, &out.ImageFile *out = new(string) **out = **in } + if in.UserPoolID != nil { + in, out := &in.UserPoolID, &out.UserPoolID + *out = new(string) + **out = **in + } + if in.UserPoolIDRef != nil { + in, out := &in.UserPoolIDRef, &out.UserPoolIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolIDSelector != nil { + in, out := &in.UserPoolIDSelector, &out.UserPoolIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPoolUICustomizationInitParameters. diff --git a/apis/cognitoidp/v1beta1/zz_generated.resolvers.go b/apis/cognitoidp/v1beta1/zz_generated.resolvers.go index 652f89873c..6fbe40ac59 100644 --- a/apis/cognitoidp/v1beta1/zz_generated.resolvers.go +++ b/apis/cognitoidp/v1beta1/zz_generated.resolvers.go @@ -42,6 +42,22 @@ func (mg *IdentityProvider) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -68,6 +84,22 @@ func (mg *ResourceServer) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -94,6 +126,22 @@ func (mg *RiskConfiguration) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -162,6 +210,38 @@ func (mg *UserGroup) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -220,6 +300,54 @@ func (mg *UserInGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Username = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UsernameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GroupName), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.GroupNameRef, + Selector: mg.Spec.InitProvider.GroupNameSelector, + To: reference.To{ + List: &UserGroupList{}, + Managed: &UserGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GroupName") + } + mg.Spec.InitProvider.GroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Username), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UsernameRef, + Selector: mg.Spec.InitProvider.UsernameSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Username") + } + mg.Spec.InitProvider.Username = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UsernameRef = rsp.ResolvedReference + return nil } @@ -485,6 +613,262 @@ func (mg *UserPool) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.SMSConfiguration[i3].SnsCallerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SMSConfiguration[i3].SnsCallerArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallenge), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallengeRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallengeSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallenge") + } + mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallenge = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].CreateAuthChallengeRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArnRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArnSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArn") + } + mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].CustomEmailSender[i4].LambdaArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].CustomMessage), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].CustomMessageRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].CustomMessageSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].CustomMessage") + } + mg.Spec.InitProvider.LambdaConfig[i3].CustomMessage = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].CustomMessageRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArnRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArnSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArn") + } + mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].CustomSMSSender[i4].LambdaArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallenge), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallengeRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallengeSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallenge") + } + mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallenge = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].DefineAuthChallengeRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyIDRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyID") + } + mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].KMSKeyIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].PostAuthentication), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].PostAuthenticationRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].PostAuthenticationSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].PostAuthentication") + } + mg.Spec.InitProvider.LambdaConfig[i3].PostAuthentication = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].PostAuthenticationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmation), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmationRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmationSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmation") + } + mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmation = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].PostConfirmationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].PreAuthentication), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].PreAuthenticationRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].PreAuthenticationSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].PreAuthentication") + } + mg.Spec.InitProvider.LambdaConfig[i3].PreAuthentication = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].PreAuthenticationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].PreSignUp), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].PreSignUpRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].PreSignUpSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].PreSignUp") + } + mg.Spec.InitProvider.LambdaConfig[i3].PreSignUp = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].PreSignUpRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGeneration), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGenerationRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGenerationSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGeneration") + } + mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGeneration = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].PreTokenGenerationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].UserMigration), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].UserMigrationRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].UserMigrationSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].UserMigration") + } + mg.Spec.InitProvider.LambdaConfig[i3].UserMigration = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].UserMigrationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LambdaConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponse), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponseRef, + Selector: mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponseSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponse") + } + mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponse = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaConfig[i3].VerifyAuthChallengeResponseRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SMSConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArnRef, + Selector: mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArn") + } + mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SMSConfiguration[i3].SnsCallerArnRef = rsp.ResolvedReference + } return nil @@ -549,6 +933,58 @@ func (mg *UserPoolClient) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.AnalyticsConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationID), + Extract: resource.ExtractParamPath("application_id", true), + Reference: mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationIDRef, + Selector: mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationIDSelector, + To: reference.To{ + List: &v1beta13.AppList{}, + Managed: &v1beta13.App{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationID") + } + mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AnalyticsConfiguration[i3].ApplicationIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.AnalyticsConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AnalyticsConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -591,6 +1027,38 @@ func (mg *UserPoolDomain) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CertificateArnRef, + Selector: mg.Spec.InitProvider.CertificateArnSelector, + To: reference.To{ + List: &v1beta14.CertificateList{}, + Managed: &v1beta14.Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateArn") + } + mg.Spec.InitProvider.CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } @@ -633,5 +1101,37 @@ func (mg *UserPoolUICustomization) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClientID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClientIDRef, + Selector: mg.Spec.InitProvider.ClientIDSelector, + To: reference.To{ + List: &UserPoolClientList{}, + Managed: &UserPoolClient{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClientID") + } + mg.Spec.InitProvider.ClientID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClientIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserPoolID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserPoolIDRef, + Selector: mg.Spec.InitProvider.UserPoolIDSelector, + To: reference.To{ + List: &UserPoolList{}, + Managed: &UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserPoolID") + } + mg.Spec.InitProvider.UserPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserPoolIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/cognitoidp/v1beta1/zz_identityprovider_types.go b/apis/cognitoidp/v1beta1/zz_identityprovider_types.go index 02a55c84c2..172195be95 100755 --- a/apis/cognitoidp/v1beta1/zz_identityprovider_types.go +++ b/apis/cognitoidp/v1beta1/zz_identityprovider_types.go @@ -35,6 +35,18 @@ type IdentityProviderInitParameters struct { // The provider type. See AWS API for valid values ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"` + + // The user pool id + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type IdentityProviderObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_resourceserver_types.go b/apis/cognitoidp/v1beta1/zz_resourceserver_types.go index 2416a545da..0ab212922b 100755 --- a/apis/cognitoidp/v1beta1/zz_resourceserver_types.go +++ b/apis/cognitoidp/v1beta1/zz_resourceserver_types.go @@ -27,6 +27,17 @@ type ResourceServerInitParameters struct { // A list of Authorization Scope. Scope []ScopeInitParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type ResourceServerObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_riskconfiguration_types.go b/apis/cognitoidp/v1beta1/zz_riskconfiguration_types.go index 68d1d9df5c..17f403c582 100755 --- a/apis/cognitoidp/v1beta1/zz_riskconfiguration_types.go +++ b/apis/cognitoidp/v1beta1/zz_riskconfiguration_types.go @@ -422,6 +422,19 @@ type RiskConfigurationInitParameters struct { // The configuration to override the risk decision. See details below. RiskExceptionConfiguration []RiskExceptionConfigurationInitParameters `json:"riskExceptionConfiguration,omitempty" tf:"risk_exception_configuration,omitempty"` + + // The user pool ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type RiskConfigurationObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_usergroup_types.go b/apis/cognitoidp/v1beta1/zz_usergroup_types.go index d37a9c5e0b..75eec28619 100755 --- a/apis/cognitoidp/v1beta1/zz_usergroup_types.go +++ b/apis/cognitoidp/v1beta1/zz_usergroup_types.go @@ -27,6 +27,31 @@ type UserGroupInitParameters struct { // The precedence of the user group. Precedence *float64 `json:"precedence,omitempty" tf:"precedence,omitempty"` + + // The ARN of the IAM role to be associated with the user group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The user pool ID. + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type UserGroupObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_useringroup_types.go b/apis/cognitoidp/v1beta1/zz_useringroup_types.go index eab93fae89..a98372f0cd 100755 --- a/apis/cognitoidp/v1beta1/zz_useringroup_types.go +++ b/apis/cognitoidp/v1beta1/zz_useringroup_types.go @@ -18,6 +18,44 @@ import ( ) type UserInGroupInitParameters struct { + + // The name of the group to which the user is to be added. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"` + + // Reference to a UserGroup in cognitoidp to populate groupName. + // +kubebuilder:validation:Optional + GroupNameRef *v1.Reference `json:"groupNameRef,omitempty" tf:"-"` + + // Selector for a UserGroup in cognitoidp to populate groupName. + // +kubebuilder:validation:Optional + GroupNameSelector *v1.Selector `json:"groupNameSelector,omitempty" tf:"-"` + + // The user pool ID of the user and group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool in cognitoidp to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` + + // The username of the user to be added to the group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.User + Username *string `json:"username,omitempty" tf:"username,omitempty"` + + // Reference to a User in cognitoidp to populate username. + // +kubebuilder:validation:Optional + UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"` + + // Selector for a User in cognitoidp to populate username. + // +kubebuilder:validation:Optional + UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"` } type UserInGroupObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_userpool_types.go b/apis/cognitoidp/v1beta1/zz_userpool_types.go index a88945e130..7891055790 100755 --- a/apis/cognitoidp/v1beta1/zz_userpool_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpool_types.go @@ -67,6 +67,19 @@ type AdminCreateUserConfigParameters struct { type CustomEmailSenderInitParameters struct { + // The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send email notifications to users. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Reference to a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnRef *v1.Reference `json:"lambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnSelector *v1.Selector `json:"lambdaArnSelector,omitempty" tf:"-"` + // The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0. LambdaVersion *string `json:"lambdaVersion,omitempty" tf:"lambda_version,omitempty"` } @@ -103,6 +116,19 @@ type CustomEmailSenderParameters struct { type CustomSMSSenderInitParameters struct { + // The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Reference to a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnRef *v1.Reference `json:"lambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnSelector *v1.Selector `json:"lambdaArnSelector,omitempty" tf:"-"` + // The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0. LambdaVersion *string `json:"lambdaVersion,omitempty" tf:"lambda_version,omitempty"` } @@ -266,11 +292,154 @@ type InviteMessageTemplateParameters struct { type LambdaConfigInitParameters struct { + // ARN of the lambda creating an authentication challenge. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CreateAuthChallenge *string `json:"createAuthChallenge,omitempty" tf:"create_auth_challenge,omitempty"` + + // Reference to a Function in lambda to populate createAuthChallenge. + // +kubebuilder:validation:Optional + CreateAuthChallengeRef *v1.Reference `json:"createAuthChallengeRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate createAuthChallenge. + // +kubebuilder:validation:Optional + CreateAuthChallengeSelector *v1.Selector `json:"createAuthChallengeSelector,omitempty" tf:"-"` + // A custom email sender AWS Lambda trigger. See custom_email_sender Below. CustomEmailSender []CustomEmailSenderInitParameters `json:"customEmailSender,omitempty" tf:"custom_email_sender,omitempty"` + // Custom Message AWS Lambda trigger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CustomMessage *string `json:"customMessage,omitempty" tf:"custom_message,omitempty"` + + // Reference to a Function in lambda to populate customMessage. + // +kubebuilder:validation:Optional + CustomMessageRef *v1.Reference `json:"customMessageRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate customMessage. + // +kubebuilder:validation:Optional + CustomMessageSelector *v1.Selector `json:"customMessageSelector,omitempty" tf:"-"` + // A custom SMS sender AWS Lambda trigger. See custom_sms_sender Below. CustomSMSSender []CustomSMSSenderInitParameters `json:"customSmsSender,omitempty" tf:"custom_sms_sender,omitempty"` + + // Defines the authentication challenge. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + DefineAuthChallenge *string `json:"defineAuthChallenge,omitempty" tf:"define_auth_challenge,omitempty"` + + // Reference to a Function in lambda to populate defineAuthChallenge. + // +kubebuilder:validation:Optional + DefineAuthChallengeRef *v1.Reference `json:"defineAuthChallengeRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate defineAuthChallenge. + // +kubebuilder:validation:Optional + DefineAuthChallengeSelector *v1.Selector `json:"defineAuthChallengeSelector,omitempty" tf:"-"` + + // The Amazon Resource Name of Key Management Service Customer master keys. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + + // Post-authentication AWS Lambda trigger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PostAuthentication *string `json:"postAuthentication,omitempty" tf:"post_authentication,omitempty"` + + // Reference to a Function in lambda to populate postAuthentication. + // +kubebuilder:validation:Optional + PostAuthenticationRef *v1.Reference `json:"postAuthenticationRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate postAuthentication. + // +kubebuilder:validation:Optional + PostAuthenticationSelector *v1.Selector `json:"postAuthenticationSelector,omitempty" tf:"-"` + + // Post-confirmation AWS Lambda trigger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PostConfirmation *string `json:"postConfirmation,omitempty" tf:"post_confirmation,omitempty"` + + // Reference to a Function in lambda to populate postConfirmation. + // +kubebuilder:validation:Optional + PostConfirmationRef *v1.Reference `json:"postConfirmationRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate postConfirmation. + // +kubebuilder:validation:Optional + PostConfirmationSelector *v1.Selector `json:"postConfirmationSelector,omitempty" tf:"-"` + + // Pre-authentication AWS Lambda trigger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PreAuthentication *string `json:"preAuthentication,omitempty" tf:"pre_authentication,omitempty"` + + // Reference to a Function in lambda to populate preAuthentication. + // +kubebuilder:validation:Optional + PreAuthenticationRef *v1.Reference `json:"preAuthenticationRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate preAuthentication. + // +kubebuilder:validation:Optional + PreAuthenticationSelector *v1.Selector `json:"preAuthenticationSelector,omitempty" tf:"-"` + + // Pre-registration AWS Lambda trigger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PreSignUp *string `json:"preSignUp,omitempty" tf:"pre_sign_up,omitempty"` + + // Reference to a Function in lambda to populate preSignUp. + // +kubebuilder:validation:Optional + PreSignUpRef *v1.Reference `json:"preSignUpRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate preSignUp. + // +kubebuilder:validation:Optional + PreSignUpSelector *v1.Selector `json:"preSignUpSelector,omitempty" tf:"-"` + + // Allow to customize identity token claims before token generation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PreTokenGeneration *string `json:"preTokenGeneration,omitempty" tf:"pre_token_generation,omitempty"` + + // Reference to a Function in lambda to populate preTokenGeneration. + // +kubebuilder:validation:Optional + PreTokenGenerationRef *v1.Reference `json:"preTokenGenerationRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate preTokenGeneration. + // +kubebuilder:validation:Optional + PreTokenGenerationSelector *v1.Selector `json:"preTokenGenerationSelector,omitempty" tf:"-"` + + // User migration Lambda config type. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + UserMigration *string `json:"userMigration,omitempty" tf:"user_migration,omitempty"` + + // Reference to a Function in lambda to populate userMigration. + // +kubebuilder:validation:Optional + UserMigrationRef *v1.Reference `json:"userMigrationRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate userMigration. + // +kubebuilder:validation:Optional + UserMigrationSelector *v1.Selector `json:"userMigrationSelector,omitempty" tf:"-"` + + // Verifies the authentication challenge response. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + VerifyAuthChallengeResponse *string `json:"verifyAuthChallengeResponse,omitempty" tf:"verify_auth_challenge_response,omitempty"` + + // Reference to a Function in lambda to populate verifyAuthChallengeResponse. + // +kubebuilder:validation:Optional + VerifyAuthChallengeResponseRef *v1.Reference `json:"verifyAuthChallengeResponseRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate verifyAuthChallengeResponse. + // +kubebuilder:validation:Optional + VerifyAuthChallengeResponseSelector *v1.Selector `json:"verifyAuthChallengeResponseSelector,omitempty" tf:"-"` } type LambdaConfigObservation struct { @@ -612,6 +781,19 @@ type SMSConfigurationInitParameters struct { // External ID used in IAM role trust relationships. For more information about using external IDs, see How to Use an External ID When Granting Access to Your AWS Resources to a Third Party. ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` + // ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SnsCallerArn *string `json:"snsCallerArn,omitempty" tf:"sns_caller_arn,omitempty"` + + // Reference to a Role in iam to populate snsCallerArn. + // +kubebuilder:validation:Optional + SnsCallerArnRef *v1.Reference `json:"snsCallerArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate snsCallerArn. + // +kubebuilder:validation:Optional + SnsCallerArnSelector *v1.Selector `json:"snsCallerArnSelector,omitempty" tf:"-"` + // The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region. Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools. SnsRegion *string `json:"snsRegion,omitempty" tf:"sns_region,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go b/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go index 0a6dd2efc6..1c2bafc544 100755 --- a/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go @@ -22,9 +22,35 @@ type AnalyticsConfigurationInitParameters struct { // Application ARN for an Amazon Pinpoint application. Conflicts with external_id and role_arn. ApplicationArn *string `json:"applicationArn,omitempty" tf:"application_arn,omitempty"` + // Application ID for an Amazon Pinpoint application. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/pinpoint/v1beta1.App + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("application_id",true) + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a App in pinpoint to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a App in pinpoint to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + // ID for the Analytics Configuration. Conflicts with application_arn. ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` + // ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. Conflicts with application_arn. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // If set to true, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics. UserDataShared *bool `json:"userDataShared,omitempty" tf:"user_data_shared,omitempty"` } @@ -204,6 +230,18 @@ type UserPoolClientInitParameters struct { // Configuration block for units in which the validity times are represented in. Detailed below. TokenValidityUnits []TokenValidityUnitsInitParameters `json:"tokenValidityUnits,omitempty" tf:"token_validity_units,omitempty"` + // User pool the client belongs to. + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` + // List of user pool attributes the application client can write to. // +listType=set WriteAttributes []*string `json:"writeAttributes,omitempty" tf:"write_attributes,omitempty"` diff --git a/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go b/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go index 11f6f68c1a..e7fac4a7b9 100755 --- a/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go @@ -19,8 +19,33 @@ import ( type UserPoolDomainInitParameters struct { + // The ARN of an ISSUED ACM certificate in us-east-1 for a custom domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` + // For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // The user pool ID. + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type UserPoolDomainObservation struct { diff --git a/apis/cognitoidp/v1beta1/zz_userpooluicustomization_types.go b/apis/cognitoidp/v1beta1/zz_userpooluicustomization_types.go index 05b3a6b493..6624fe3cce 100755 --- a/apis/cognitoidp/v1beta1/zz_userpooluicustomization_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpooluicustomization_types.go @@ -22,8 +22,32 @@ type UserPoolUICustomizationInitParameters struct { // The CSS values in the UI customization, provided as a String. At least one of css or image_file is required. CSS *string `json:"css,omitempty" tf:"css,omitempty"` + // The client ID for the client app. Defaults to ALL. If ALL is specified, the css and/or image_file settings will be used for every client that has no UI customization set previously. + // +crossplane:generate:reference:type=UserPoolClient + ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` + + // Reference to a UserPoolClient to populate clientId. + // +kubebuilder:validation:Optional + ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"` + + // Selector for a UserPoolClient to populate clientId. + // +kubebuilder:validation:Optional + ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"` + // The uploaded logo image for the UI customization, provided as a base64-encoded String. Drift detection is not possible for this argument. At least one of css or image_file is required. ImageFile *string `json:"imageFile,omitempty" tf:"image_file,omitempty"` + + // The user pool ID for the user pool. + // +crossplane:generate:reference:type=UserPool + UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"` + + // Reference to a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"` + + // Selector for a UserPool to populate userPoolId. + // +kubebuilder:validation:Optional + UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"` } type UserPoolUICustomizationObservation struct { diff --git a/apis/configservice/v1beta1/zz_configrule_types.go b/apis/configservice/v1beta1/zz_configrule_types.go index f174ccbecc..2c5ed5e73e 100755 --- a/apis/configservice/v1beta1/zz_configrule_types.go +++ b/apis/configservice/v1beta1/zz_configrule_types.go @@ -275,6 +275,19 @@ type SourceInitParameters struct { // Provides the source and type of the event that causes AWS Config to evaluate your AWS resources. Only valid if owner is CUSTOM_LAMBDA or CUSTOM_POLICY. See Source Detail Below. SourceDetail []SourceDetailInitParameters `json:"sourceDetail,omitempty" tf:"source_detail,omitempty"` + + // For AWS Config managed rules, a predefined identifier, e.g IAM_PASSWORD_POLICY. For custom Lambda rules, the identifier is the ARN of the Lambda Function, such as arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name or the arn attribute of the aws_lambda_function resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceIdentifier *string `json:"sourceIdentifier,omitempty" tf:"source_identifier,omitempty"` + + // Reference to a Function in lambda to populate sourceIdentifier. + // +kubebuilder:validation:Optional + SourceIdentifierRef *v1.Reference `json:"sourceIdentifierRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate sourceIdentifier. + // +kubebuilder:validation:Optional + SourceIdentifierSelector *v1.Selector `json:"sourceIdentifierSelector,omitempty" tf:"-"` } type SourceObservation struct { diff --git a/apis/configservice/v1beta1/zz_configurationaggregator_types.go b/apis/configservice/v1beta1/zz_configurationaggregator_types.go index 3435ea609e..b21bd64dbf 100755 --- a/apis/configservice/v1beta1/zz_configurationaggregator_types.go +++ b/apis/configservice/v1beta1/zz_configurationaggregator_types.go @@ -119,6 +119,19 @@ type OrganizationAggregationSourceInitParameters struct { // List of source regions being aggregated. Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"` + + // ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type OrganizationAggregationSourceObservation struct { diff --git a/apis/configservice/v1beta1/zz_configurationrecorder_types.go b/apis/configservice/v1beta1/zz_configurationrecorder_types.go index 2cb8807c82..288899d33f 100755 --- a/apis/configservice/v1beta1/zz_configurationrecorder_types.go +++ b/apis/configservice/v1beta1/zz_configurationrecorder_types.go @@ -21,6 +21,19 @@ type ConfigurationRecorderInitParameters struct { // Recording group - see below. RecordingGroup []RecordingGroupInitParameters `json:"recordingGroup,omitempty" tf:"recording_group,omitempty"` + + // Amazon Resource Name (ARN) of the IAM role. Used to make read or write requests to the delivery channel and to describe the AWS resources associated with the account. See AWS Docs for more details. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type ConfigurationRecorderObservation struct { diff --git a/apis/configservice/v1beta1/zz_deliverychannel_types.go b/apis/configservice/v1beta1/zz_deliverychannel_types.go index 582bf04153..4e895276ce 100755 --- a/apis/configservice/v1beta1/zz_deliverychannel_types.go +++ b/apis/configservice/v1beta1/zz_deliverychannel_types.go @@ -19,6 +19,18 @@ import ( type DeliveryChannelInitParameters struct { + // The name of the S3 bucket used to store the configuration history. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + S3BucketName *string `json:"s3BucketName,omitempty" tf:"s3_bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameRef *v1.Reference `json:"s3BucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameSelector *v1.Selector `json:"s3BucketNameSelector,omitempty" tf:"-"` + // The ARN of the AWS KMS key used to encrypt objects delivered by AWS Config. Must belong to the same Region as the destination S3 bucket. S3KMSKeyArn *string `json:"s3KmsKeyArn,omitempty" tf:"s3_kms_key_arn,omitempty"` diff --git a/apis/configservice/v1beta1/zz_generated.deepcopy.go b/apis/configservice/v1beta1/zz_generated.deepcopy.go index 418e4fcdff..23401eba94 100644 --- a/apis/configservice/v1beta1/zz_generated.deepcopy.go +++ b/apis/configservice/v1beta1/zz_generated.deepcopy.go @@ -931,6 +931,21 @@ func (in *ConfigurationRecorderInitParameters) DeepCopyInto(out *ConfigurationRe (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationRecorderInitParameters. @@ -1439,6 +1454,21 @@ func (in *DeliveryChannel) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DeliveryChannelInitParameters) DeepCopyInto(out *DeliveryChannelInitParameters) { *out = *in + if in.S3BucketName != nil { + in, out := &in.S3BucketName, &out.S3BucketName + *out = new(string) + **out = **in + } + if in.S3BucketNameRef != nil { + in, out := &in.S3BucketNameRef, &out.S3BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketNameSelector != nil { + in, out := &in.S3BucketNameSelector, &out.S3BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3KMSKeyArn != nil { in, out := &in.S3KMSKeyArn, &out.S3KMSKeyArn *out = new(string) @@ -1942,6 +1972,21 @@ func (in *OrganizationAggregationSourceInitParameters) DeepCopyInto(out *Organiz } } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationAggregationSourceInitParameters. @@ -2965,6 +3010,21 @@ func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SourceIdentifier != nil { + in, out := &in.SourceIdentifier, &out.SourceIdentifier + *out = new(string) + **out = **in + } + if in.SourceIdentifierRef != nil { + in, out := &in.SourceIdentifierRef, &out.SourceIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceIdentifierSelector != nil { + in, out := &in.SourceIdentifierSelector, &out.SourceIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceInitParameters. diff --git a/apis/configservice/v1beta1/zz_generated.resolvers.go b/apis/configservice/v1beta1/zz_generated.resolvers.go index 9176ce342a..db9a3a2b60 100644 --- a/apis/configservice/v1beta1/zz_generated.resolvers.go +++ b/apis/configservice/v1beta1/zz_generated.resolvers.go @@ -41,6 +41,24 @@ func (mg *ConfigRule) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Source[i3].SourceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Source[i3].SourceIdentifierRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Source); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Source[i3].SourceIdentifier), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Source[i3].SourceIdentifierRef, + Selector: mg.Spec.InitProvider.Source[i3].SourceIdentifierSelector, + To: reference.To{ + List: &v1beta1.FunctionList{}, + Managed: &v1beta1.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Source[i3].SourceIdentifier") + } + mg.Spec.InitProvider.Source[i3].SourceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Source[i3].SourceIdentifierRef = rsp.ResolvedReference + } return nil @@ -70,6 +88,24 @@ func (mg *ConfigurationAggregator) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.OrganizationAggregationSource[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.OrganizationAggregationSource[i3].RoleArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OrganizationAggregationSource); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArn") + } + mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OrganizationAggregationSource[i3].RoleArnRef = rsp.ResolvedReference + } return nil @@ -98,6 +134,22 @@ func (mg *ConfigurationRecorder) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -124,5 +176,21 @@ func (mg *DeliveryChannel) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.S3BucketName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.S3BucketNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3BucketName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.S3BucketNameRef, + Selector: mg.Spec.InitProvider.S3BucketNameSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3BucketName") + } + mg.Spec.InitProvider.S3BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3BucketNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/connect/v1beta1/zz_botassociation_types.go b/apis/connect/v1beta1/zz_botassociation_types.go index 0116c29682..a5259d5d24 100755 --- a/apis/connect/v1beta1/zz_botassociation_types.go +++ b/apis/connect/v1beta1/zz_botassociation_types.go @@ -65,6 +65,18 @@ type LexBotInitParameters struct { // The Region that the Amazon Lex (V1) bot was created in. Defaults to current region. LexRegion *string `json:"lexRegion,omitempty" tf:"lex_region,omitempty"` + + // The name of the Amazon Lex (V1) bot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lexmodels/v1beta1.Bot + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a Bot in lexmodels to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a Bot in lexmodels to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` } type LexBotObservation struct { diff --git a/apis/connect/v1beta1/zz_contactflow_types.go b/apis/connect/v1beta1/zz_contactflow_types.go index 86e4f28817..43e2944ed2 100755 --- a/apis/connect/v1beta1/zz_contactflow_types.go +++ b/apis/connect/v1beta1/zz_contactflow_types.go @@ -31,6 +31,19 @@ type ContactFlowInitParameters struct { // The path to the Contact Flow source within the local filesystem. Conflicts with content. Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the name of the Contact Flow. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/connect/v1beta1/zz_contactflowmodule_types.go b/apis/connect/v1beta1/zz_contactflowmodule_types.go index 943e21c9a9..0a8c751782 100755 --- a/apis/connect/v1beta1/zz_contactflowmodule_types.go +++ b/apis/connect/v1beta1/zz_contactflowmodule_types.go @@ -31,6 +31,19 @@ type ContactFlowModuleInitParameters struct { // The path to the Contact Flow Module source within the local filesystem. Conflicts with content. Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the name of the Contact Flow Module. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/connect/v1beta1/zz_generated.deepcopy.go b/apis/connect/v1beta1/zz_generated.deepcopy.go index cfd7a232ad..02359636e0 100644 --- a/apis/connect/v1beta1/zz_generated.deepcopy.go +++ b/apis/connect/v1beta1/zz_generated.deepcopy.go @@ -355,6 +355,21 @@ func (in *ContactFlowInitParameters) DeepCopyInto(out *ContactFlowInitParameters *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -475,6 +490,21 @@ func (in *ContactFlowModuleInitParameters) DeepCopyInto(out *ContactFlowModuleIn *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -964,6 +994,21 @@ func (in *EncryptionConfigInitParameters) DeepCopyInto(out *EncryptionConfigInit *out = new(string) **out = **in } + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigInitParameters. @@ -1303,6 +1348,21 @@ func (in *HoursOfOperationInitParameters) DeepCopyInto(out *HoursOfOperationInit *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1705,6 +1765,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(bool) **out = **in } + if in.DirectoryID != nil { + in, out := &in.DirectoryID, &out.DirectoryID + *out = new(string) + **out = **in + } + if in.DirectoryIDRef != nil { + in, out := &in.DirectoryIDRef, &out.DirectoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DirectoryIDSelector != nil { + in, out := &in.DirectoryIDSelector, &out.DirectoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EarlyMediaEnabled != nil { in, out := &in.EarlyMediaEnabled, &out.EarlyMediaEnabled *out = new(bool) @@ -2014,6 +2089,21 @@ func (in *InstanceStorageConfig) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceStorageConfigInitParameters) DeepCopyInto(out *InstanceStorageConfigInitParameters) { *out = *in + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ResourceType != nil { in, out := &in.ResourceType, &out.ResourceType *out = new(string) @@ -2197,6 +2287,21 @@ func (in *InstanceStorageConfigStatus) DeepCopy() *InstanceStorageConfigStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisFirehoseConfigInitParameters) DeepCopyInto(out *KinesisFirehoseConfigInitParameters) { *out = *in + if in.FirehoseArn != nil { + in, out := &in.FirehoseArn, &out.FirehoseArn + *out = new(string) + **out = **in + } + if in.FirehoseArnRef != nil { + in, out := &in.FirehoseArnRef, &out.FirehoseArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirehoseArnSelector != nil { + in, out := &in.FirehoseArnSelector, &out.FirehoseArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisFirehoseConfigInitParameters. @@ -2262,6 +2367,21 @@ func (in *KinesisFirehoseConfigParameters) DeepCopy() *KinesisFirehoseConfigPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisStreamConfigInitParameters) DeepCopyInto(out *KinesisStreamConfigInitParameters) { *out = *in + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisStreamConfigInitParameters. @@ -2967,6 +3087,21 @@ func (in *LexBotInitParameters) DeepCopyInto(out *LexBotInitParameters) { *out = new(string) **out = **in } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LexBotInitParameters. @@ -3325,6 +3460,21 @@ func (in *PhoneNumberInitParameters) DeepCopyInto(out *PhoneNumberInitParameters (*out)[key] = outVal } } + if in.TargetArn != nil { + in, out := &in.TargetArn, &out.TargetArn + *out = new(string) + **out = **in + } + if in.TargetArnRef != nil { + in, out := &in.TargetArnRef, &out.TargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -3799,6 +3949,36 @@ func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters) { *out = new(string) **out = **in } + if in.HoursOfOperationID != nil { + in, out := &in.HoursOfOperationID, &out.HoursOfOperationID + *out = new(string) + **out = **in + } + if in.HoursOfOperationIDRef != nil { + in, out := &in.HoursOfOperationIDRef, &out.HoursOfOperationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HoursOfOperationIDSelector != nil { + in, out := &in.HoursOfOperationIDSelector, &out.HoursOfOperationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MaxContacts != nil { in, out := &in.MaxContacts, &out.MaxContacts *out = new(float64) @@ -4299,6 +4479,21 @@ func (in *QuickConnectInitParameters) DeepCopyInto(out *QuickConnectInitParamete *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -4588,11 +4783,41 @@ func (in *RoutingProfile) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RoutingProfileInitParameters) DeepCopyInto(out *RoutingProfileInitParameters) { *out = *in + if in.DefaultOutboundQueueID != nil { + in, out := &in.DefaultOutboundQueueID, &out.DefaultOutboundQueueID + *out = new(string) + **out = **in + } + if in.DefaultOutboundQueueIDRef != nil { + in, out := &in.DefaultOutboundQueueIDRef, &out.DefaultOutboundQueueIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultOutboundQueueIDSelector != nil { + in, out := &in.DefaultOutboundQueueIDSelector, &out.DefaultOutboundQueueIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MediaConcurrencies != nil { in, out := &in.MediaConcurrencies, &out.MediaConcurrencies *out = make([]MediaConcurrenciesInitParameters, len(*in)) @@ -4901,6 +5126,21 @@ func (in *S3ConfigEncryptionConfigInitParameters) DeepCopyInto(out *S3ConfigEncr *out = new(string) **out = **in } + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3ConfigEncryptionConfigInitParameters. @@ -4976,6 +5216,21 @@ func (in *S3ConfigEncryptionConfigParameters) DeepCopy() *S3ConfigEncryptionConf // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3ConfigInitParameters) DeepCopyInto(out *S3ConfigInitParameters) { *out = *in + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BucketPrefix != nil { in, out := &in.BucketPrefix, &out.BucketPrefix *out = new(string) @@ -5109,6 +5364,21 @@ func (in *SecurityProfileInitParameters) DeepCopyInto(out *SecurityProfileInitPa *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -5521,12 +5791,16 @@ func (in *StorageConfigInitParameters) DeepCopyInto(out *StorageConfigInitParame if in.KinesisFirehoseConfig != nil { in, out := &in.KinesisFirehoseConfig, &out.KinesisFirehoseConfig *out = make([]KinesisFirehoseConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.KinesisStreamConfig != nil { in, out := &in.KinesisStreamConfig, &out.KinesisStreamConfig *out = make([]KinesisStreamConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.KinesisVideoStreamConfig != nil { in, out := &in.KinesisVideoStreamConfig, &out.KinesisVideoStreamConfig @@ -5794,6 +6068,21 @@ func (in *UserHierarchyStructureInitParameters) DeepCopyInto(out *UserHierarchyS (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserHierarchyStructureInitParameters. @@ -5967,6 +6256,21 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -5979,6 +6283,21 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoutingProfileID != nil { + in, out := &in.RoutingProfileID, &out.RoutingProfileID + *out = new(string) + **out = **in + } + if in.RoutingProfileIDRef != nil { + in, out := &in.RoutingProfileIDRef, &out.RoutingProfileIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoutingProfileIDSelector != nil { + in, out := &in.RoutingProfileIDSelector, &out.RoutingProfileIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecurityProfileIds != nil { in, out := &in.SecurityProfileIds, &out.SecurityProfileIds *out = make([]*string, len(*in)) @@ -6448,6 +6767,21 @@ func (in *VocabularyInitParameters) DeepCopyInto(out *VocabularyInitParameters) *out = new(string) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LanguageCode != nil { in, out := &in.LanguageCode, &out.LanguageCode *out = new(string) diff --git a/apis/connect/v1beta1/zz_generated.resolvers.go b/apis/connect/v1beta1/zz_generated.resolvers.go index 2b83860f60..80cad21166 100644 --- a/apis/connect/v1beta1/zz_generated.resolvers.go +++ b/apis/connect/v1beta1/zz_generated.resolvers.go @@ -60,6 +60,24 @@ func (mg *BotAssociation) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.LexBot[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LexBot[i3].NameRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LexBot); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LexBot[i3].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LexBot[i3].NameRef, + Selector: mg.Spec.InitProvider.LexBot[i3].NameSelector, + To: reference.To{ + List: &v1beta1.BotList{}, + Managed: &v1beta1.Bot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LexBot[i3].Name") + } + mg.Spec.InitProvider.LexBot[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LexBot[i3].NameRef = rsp.ResolvedReference + } return nil @@ -88,6 +106,22 @@ func (mg *ContactFlow) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -114,6 +148,22 @@ func (mg *ContactFlowModule) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -140,6 +190,22 @@ func (mg *HoursOfOperation) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -166,6 +232,22 @@ func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DirectoryIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DirectoryID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DirectoryIDRef, + Selector: mg.Spec.InitProvider.DirectoryIDSelector, + To: reference.To{ + List: &v1beta11.DirectoryList{}, + Managed: &v1beta11.Directory{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DirectoryID") + } + mg.Spec.InitProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DirectoryIDRef = rsp.ResolvedReference + return nil } @@ -296,6 +378,126 @@ func (mg *InstanceStorageConfig) ResolveReferences(ctx context.Context, c client } } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArnRef, + Selector: mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArnSelector, + To: reference.To{ + List: &v1beta12.DeliveryStreamList{}, + Managed: &v1beta12.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArn") + } + mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageConfig[i3].KinesisFirehoseConfig[i4].FirehoseArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArnRef, + Selector: mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArnSelector, + To: reference.To{ + List: &v1beta13.StreamList{}, + Managed: &v1beta13.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArn") + } + mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageConfig[i3].KinesisStreamConfig[i4].StreamArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyID), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyIDRef, + Selector: mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyIDSelector, + To: reference.To{ + List: &v1beta14.KeyList{}, + Managed: &v1beta14.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyID") + } + mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageConfig[i3].KinesisVideoStreamConfig[i4].EncryptionConfig[i5].KeyIDRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageConfig[i3].S3Config); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketNameRef, + Selector: mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketNameSelector, + To: reference.To{ + List: &v1beta15.BucketList{}, + Managed: &v1beta15.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketName") + } + mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].BucketNameRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageConfig[i3].S3Config); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyID), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyIDRef, + Selector: mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyIDSelector, + To: reference.To{ + List: &v1beta14.KeyList{}, + Managed: &v1beta14.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyID") + } + mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageConfig[i3].S3Config[i4].EncryptionConfig[i5].KeyIDRef = rsp.ResolvedReference + + } + } + } return nil } @@ -365,6 +567,22 @@ func (mg *PhoneNumber) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TargetArnRef, + Selector: mg.Spec.InitProvider.TargetArnSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetArn") + } + mg.Spec.InitProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetArnRef = rsp.ResolvedReference + return nil } @@ -407,6 +625,38 @@ func (mg *Queue) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HoursOfOperationID), + Extract: resource.ExtractParamPath("hours_of_operation_id", true), + Reference: mg.Spec.InitProvider.HoursOfOperationIDRef, + Selector: mg.Spec.InitProvider.HoursOfOperationIDSelector, + To: reference.To{ + List: &HoursOfOperationList{}, + Managed: &HoursOfOperation{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HoursOfOperationID") + } + mg.Spec.InitProvider.HoursOfOperationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HoursOfOperationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -433,6 +683,22 @@ func (mg *QuickConnect) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -475,6 +741,38 @@ func (mg *RoutingProfile) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultOutboundQueueID), + Extract: resource.ExtractParamPath("queue_id", true), + Reference: mg.Spec.InitProvider.DefaultOutboundQueueIDRef, + Selector: mg.Spec.InitProvider.DefaultOutboundQueueIDSelector, + To: reference.To{ + List: &QueueList{}, + Managed: &Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultOutboundQueueID") + } + mg.Spec.InitProvider.DefaultOutboundQueueID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultOutboundQueueIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -501,6 +799,22 @@ func (mg *SecurityProfile) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -543,6 +857,38 @@ func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoutingProfileID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoutingProfileIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoutingProfileID), + Extract: resource.ExtractParamPath("routing_profile_id", true), + Reference: mg.Spec.InitProvider.RoutingProfileIDRef, + Selector: mg.Spec.InitProvider.RoutingProfileIDSelector, + To: reference.To{ + List: &RoutingProfileList{}, + Managed: &RoutingProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoutingProfileID") + } + mg.Spec.InitProvider.RoutingProfileID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoutingProfileIDRef = rsp.ResolvedReference + return nil } @@ -569,6 +915,22 @@ func (mg *UserHierarchyStructure) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -595,5 +957,21 @@ func (mg *Vocabulary) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/connect/v1beta1/zz_hoursofoperation_types.go b/apis/connect/v1beta1/zz_hoursofoperation_types.go index 2ef05e76fc..b0ac46c742 100755 --- a/apis/connect/v1beta1/zz_hoursofoperation_types.go +++ b/apis/connect/v1beta1/zz_hoursofoperation_types.go @@ -93,6 +93,19 @@ type HoursOfOperationInitParameters struct { // Specifies the description of the Hours of Operation. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the name of the Hours of Operation. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/connect/v1beta1/zz_instance_types.go b/apis/connect/v1beta1/zz_instance_types.go index 8b2ffbb6e8..081d8dae6d 100755 --- a/apis/connect/v1beta1/zz_instance_types.go +++ b/apis/connect/v1beta1/zz_instance_types.go @@ -28,6 +28,19 @@ type InstanceInitParameters struct { // Specifies whether contact lens is enabled. Defaults to true. ContactLensEnabled *bool `json:"contactLensEnabled,omitempty" tf:"contact_lens_enabled,omitempty"` + // The identifier for the directory if identity_management_type is EXISTING_DIRECTORY. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta1.Directory + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"` + + // Reference to a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"` + + // Selector for a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,omitempty" tf:"-"` + // Specifies whether early media for outbound calls is enabled . Defaults to true if outbound calls is enabled. EarlyMediaEnabled *bool `json:"earlyMediaEnabled,omitempty" tf:"early_media_enabled,omitempty"` diff --git a/apis/connect/v1beta1/zz_instancestorageconfig_types.go b/apis/connect/v1beta1/zz_instancestorageconfig_types.go index 072c775434..dc5317c05d 100755 --- a/apis/connect/v1beta1/zz_instancestorageconfig_types.go +++ b/apis/connect/v1beta1/zz_instancestorageconfig_types.go @@ -21,6 +21,19 @@ type EncryptionConfigInitParameters struct { // The type of encryption. Valid Values: KMS. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` + + // The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` } type EncryptionConfigObservation struct { @@ -55,6 +68,19 @@ type EncryptionConfigParameters struct { type InstanceStorageConfigInitParameters struct { + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // A valid resource type. Valid Values: AGENT_EVENTS | ATTACHMENTS | CALL_RECORDINGS | CHAT_TRANSCRIPTS | CONTACT_EVALUATIONS | CONTACT_TRACE_RECORDS | MEDIA_STREAMS | REAL_TIME_CONTACT_ANALYSIS_SEGMENTS | SCHEDULED_REPORTS | SCREEN_RECORDINGS. ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` @@ -111,6 +137,19 @@ type InstanceStorageConfigParameters struct { } type KinesisFirehoseConfigInitParameters struct { + + // The Amazon Resource Name (ARN) of the delivery stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + FirehoseArn *string `json:"firehoseArn,omitempty" tf:"firehose_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate firehoseArn. + // +kubebuilder:validation:Optional + FirehoseArnRef *v1.Reference `json:"firehoseArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate firehoseArn. + // +kubebuilder:validation:Optional + FirehoseArnSelector *v1.Selector `json:"firehoseArnSelector,omitempty" tf:"-"` } type KinesisFirehoseConfigObservation struct { @@ -137,6 +176,19 @@ type KinesisFirehoseConfigParameters struct { } type KinesisStreamConfigInitParameters struct { + + // The Amazon Resource Name (ARN) of the data stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` } type KinesisStreamConfigObservation struct { @@ -205,6 +257,19 @@ type S3ConfigEncryptionConfigInitParameters struct { // The type of encryption. Valid Values: KMS. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` + + // The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` } type S3ConfigEncryptionConfigObservation struct { @@ -239,6 +304,19 @@ type S3ConfigEncryptionConfigParameters struct { type S3ConfigInitParameters struct { + // The S3 bucket name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // The S3 bucket prefix. BucketPrefix *string `json:"bucketPrefix,omitempty" tf:"bucket_prefix,omitempty"` diff --git a/apis/connect/v1beta1/zz_phonenumber_types.go b/apis/connect/v1beta1/zz_phonenumber_types.go index f0ad595cc3..2a1a3d563e 100755 --- a/apis/connect/v1beta1/zz_phonenumber_types.go +++ b/apis/connect/v1beta1/zz_phonenumber_types.go @@ -32,6 +32,19 @@ type PhoneNumberInitParameters struct { // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"` + + // Reference to a Instance in connect to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` + // The type of phone number. Valid Values: TOLL_FREE | DID. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/connect/v1beta1/zz_queue_types.go b/apis/connect/v1beta1/zz_queue_types.go index 6d87d197bb..e7c20cc183 100755 --- a/apis/connect/v1beta1/zz_queue_types.go +++ b/apis/connect/v1beta1/zz_queue_types.go @@ -61,6 +61,32 @@ type QueueInitParameters struct { // Specifies the description of the Queue. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Specifies the identifier of the Hours of Operation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.HoursOfOperation + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("hours_of_operation_id",true) + HoursOfOperationID *string `json:"hoursOfOperationId,omitempty" tf:"hours_of_operation_id,omitempty"` + + // Reference to a HoursOfOperation in connect to populate hoursOfOperationId. + // +kubebuilder:validation:Optional + HoursOfOperationIDRef *v1.Reference `json:"hoursOfOperationIdRef,omitempty" tf:"-"` + + // Selector for a HoursOfOperation in connect to populate hoursOfOperationId. + // +kubebuilder:validation:Optional + HoursOfOperationIDSelector *v1.Selector `json:"hoursOfOperationIdSelector,omitempty" tf:"-"` + + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the maximum number of contacts that can be in the queue before it is considered full. Minimum value of 0. MaxContacts *float64 `json:"maxContacts,omitempty" tf:"max_contacts,omitempty"` diff --git a/apis/connect/v1beta1/zz_quickconnect_types.go b/apis/connect/v1beta1/zz_quickconnect_types.go index 9fcef99c94..52e3e5f994 100755 --- a/apis/connect/v1beta1/zz_quickconnect_types.go +++ b/apis/connect/v1beta1/zz_quickconnect_types.go @@ -119,6 +119,19 @@ type QuickConnectInitParameters struct { // Specifies the description of the Quick Connect. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the name of the Quick Connect. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/connect/v1beta1/zz_routingprofile_types.go b/apis/connect/v1beta1/zz_routingprofile_types.go index 1fd7c9ae38..627a2762aa 100755 --- a/apis/connect/v1beta1/zz_routingprofile_types.go +++ b/apis/connect/v1beta1/zz_routingprofile_types.go @@ -103,9 +103,35 @@ type QueueConfigsParameters struct { type RoutingProfileInitParameters struct { + // Specifies the default outbound queue for the Routing Profile. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("queue_id",true) + DefaultOutboundQueueID *string `json:"defaultOutboundQueueId,omitempty" tf:"default_outbound_queue_id,omitempty"` + + // Reference to a Queue in connect to populate defaultOutboundQueueId. + // +kubebuilder:validation:Optional + DefaultOutboundQueueIDRef *v1.Reference `json:"defaultOutboundQueueIdRef,omitempty" tf:"-"` + + // Selector for a Queue in connect to populate defaultOutboundQueueId. + // +kubebuilder:validation:Optional + DefaultOutboundQueueIDSelector *v1.Selector `json:"defaultOutboundQueueIdSelector,omitempty" tf:"-"` + // Specifies the description of the Routing Profile. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // One or more media_concurrencies blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The media_concurrencies block is documented below. MediaConcurrencies []MediaConcurrenciesInitParameters `json:"mediaConcurrencies,omitempty" tf:"media_concurrencies,omitempty"` diff --git a/apis/connect/v1beta1/zz_securityprofile_types.go b/apis/connect/v1beta1/zz_securityprofile_types.go index 5d222d7438..dd278479ca 100755 --- a/apis/connect/v1beta1/zz_securityprofile_types.go +++ b/apis/connect/v1beta1/zz_securityprofile_types.go @@ -22,6 +22,19 @@ type SecurityProfileInitParameters struct { // Specifies the description of the Security Profile. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // Specifies the name of the Security Profile. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/connect/v1beta1/zz_user_types.go b/apis/connect/v1beta1/zz_user_types.go index 248365c151..25a5173ef3 100755 --- a/apis/connect/v1beta1/zz_user_types.go +++ b/apis/connect/v1beta1/zz_user_types.go @@ -67,12 +67,38 @@ type UserInitParameters struct { // A block that contains information about the identity of the user. Documented below. IdentityInfo []IdentityInfoInitParameters `json:"identityInfo,omitempty" tf:"identity_info,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A block that contains information about the phone settings for the user. Documented below. PhoneConfig []UserPhoneConfigInitParameters `json:"phoneConfig,omitempty" tf:"phone_config,omitempty"` + // The identifier of the routing profile for the user. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.RoutingProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("routing_profile_id",true) + RoutingProfileID *string `json:"routingProfileId,omitempty" tf:"routing_profile_id,omitempty"` + + // Reference to a RoutingProfile in connect to populate routingProfileId. + // +kubebuilder:validation:Optional + RoutingProfileIDRef *v1.Reference `json:"routingProfileIdRef,omitempty" tf:"-"` + + // Selector for a RoutingProfile in connect to populate routingProfileId. + // +kubebuilder:validation:Optional + RoutingProfileIDSelector *v1.Selector `json:"routingProfileIdSelector,omitempty" tf:"-"` + // A list of identifiers for the security profiles for the user. Specify a minimum of 1 and maximum of 10 security profile ids. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide. // +listType=set SecurityProfileIds []*string `json:"securityProfileIds,omitempty" tf:"security_profile_ids,omitempty"` diff --git a/apis/connect/v1beta1/zz_userhierarchystructure_types.go b/apis/connect/v1beta1/zz_userhierarchystructure_types.go index 71985b24a4..079ca79559 100755 --- a/apis/connect/v1beta1/zz_userhierarchystructure_types.go +++ b/apis/connect/v1beta1/zz_userhierarchystructure_types.go @@ -205,6 +205,19 @@ type UserHierarchyStructureInitParameters struct { // A block that defines the hierarchy structure's levels. The hierarchy_structure block is documented below. HierarchyStructure []HierarchyStructureInitParameters `json:"hierarchyStructure,omitempty" tf:"hierarchy_structure,omitempty"` + + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` } type UserHierarchyStructureObservation struct { diff --git a/apis/connect/v1beta1/zz_vocabulary_types.go b/apis/connect/v1beta1/zz_vocabulary_types.go index 4c0c02d595..dfe60336a1 100755 --- a/apis/connect/v1beta1/zz_vocabulary_types.go +++ b/apis/connect/v1beta1/zz_vocabulary_types.go @@ -22,6 +22,19 @@ type VocabularyInitParameters struct { // The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table. Minimum length of 1. Maximum length of 60000. Content *string `json:"content,omitempty" tf:"content,omitempty"` + // Specifies the identifier of the hosting Amazon Connect Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/connect/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in connect to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?. Valid Values are ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN. LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"` diff --git a/apis/cur/v1beta1/zz_generated.deepcopy.go b/apis/cur/v1beta1/zz_generated.deepcopy.go index b50acfbba0..82a8d0e498 100644 --- a/apis/cur/v1beta1/zz_generated.deepcopy.go +++ b/apis/cur/v1beta1/zz_generated.deepcopy.go @@ -85,6 +85,21 @@ func (in *ReportDefinitionInitParameters) DeepCopyInto(out *ReportDefinitionInit *out = new(string) **out = **in } + if in.S3Bucket != nil { + in, out := &in.S3Bucket, &out.S3Bucket + *out = new(string) + **out = **in + } + if in.S3BucketRef != nil { + in, out := &in.S3BucketRef, &out.S3BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketSelector != nil { + in, out := &in.S3BucketSelector, &out.S3BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3Prefix != nil { in, out := &in.S3Prefix, &out.S3Prefix *out = new(string) diff --git a/apis/cur/v1beta1/zz_generated.resolvers.go b/apis/cur/v1beta1/zz_generated.resolvers.go index 4fcf9ae5bf..913df9531b 100644 --- a/apis/cur/v1beta1/zz_generated.resolvers.go +++ b/apis/cur/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *ReportDefinition) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.S3Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.S3BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.S3BucketRef, + Selector: mg.Spec.InitProvider.S3BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3Bucket") + } + mg.Spec.InitProvider.S3Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3BucketRef = rsp.ResolvedReference + return nil } diff --git a/apis/cur/v1beta1/zz_reportdefinition_types.go b/apis/cur/v1beta1/zz_reportdefinition_types.go index 194dc5e587..d216f23c63 100755 --- a/apis/cur/v1beta1/zz_reportdefinition_types.go +++ b/apis/cur/v1beta1/zz_reportdefinition_types.go @@ -39,6 +39,18 @@ type ReportDefinitionInitParameters struct { // Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are: CREATE_NEW_REPORT and OVERWRITE_REPORT. ReportVersioning *string `json:"reportVersioning,omitempty" tf:"report_versioning,omitempty"` + // Name of the existing S3 bucket to hold generated reports. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"` + + // Reference to a Bucket in s3 to populate s3Bucket. + // +kubebuilder:validation:Optional + S3BucketRef *v1.Reference `json:"s3BucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3Bucket. + // +kubebuilder:validation:Optional + S3BucketSelector *v1.Selector `json:"s3BucketSelector,omitempty" tf:"-"` + // Report path prefix. Limited to 256 characters. S3Prefix *string `json:"s3Prefix,omitempty" tf:"s3_prefix,omitempty"` diff --git a/apis/dataexchange/v1beta1/zz_generated.deepcopy.go b/apis/dataexchange/v1beta1/zz_generated.deepcopy.go index df8e6d894a..b435839117 100644 --- a/apis/dataexchange/v1beta1/zz_generated.deepcopy.go +++ b/apis/dataexchange/v1beta1/zz_generated.deepcopy.go @@ -311,6 +311,21 @@ func (in *RevisionInitParameters) DeepCopyInto(out *RevisionInitParameters) { *out = new(string) **out = **in } + if in.DataSetID != nil { + in, out := &in.DataSetID, &out.DataSetID + *out = new(string) + **out = **in + } + if in.DataSetIDRef != nil { + in, out := &in.DataSetIDRef, &out.DataSetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataSetIDSelector != nil { + in, out := &in.DataSetIDSelector, &out.DataSetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/dataexchange/v1beta1/zz_generated.resolvers.go b/apis/dataexchange/v1beta1/zz_generated.resolvers.go index 7d135f9a50..587988a7af 100644 --- a/apis/dataexchange/v1beta1/zz_generated.resolvers.go +++ b/apis/dataexchange/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *Revision) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.DataSetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DataSetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataSetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DataSetIDRef, + Selector: mg.Spec.InitProvider.DataSetIDSelector, + To: reference.To{ + List: &DataSetList{}, + Managed: &DataSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataSetID") + } + mg.Spec.InitProvider.DataSetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataSetIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/dataexchange/v1beta1/zz_revision_types.go b/apis/dataexchange/v1beta1/zz_revision_types.go index f255759b0a..c751b765e9 100755 --- a/apis/dataexchange/v1beta1/zz_revision_types.go +++ b/apis/dataexchange/v1beta1/zz_revision_types.go @@ -22,6 +22,19 @@ type RevisionInitParameters struct { // An optional comment about the revision. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` + // The dataset id. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dataexchange/v1beta1.DataSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DataSetID *string `json:"dataSetId,omitempty" tf:"data_set_id,omitempty"` + + // Reference to a DataSet in dataexchange to populate dataSetId. + // +kubebuilder:validation:Optional + DataSetIDRef *v1.Reference `json:"dataSetIdRef,omitempty" tf:"-"` + + // Selector for a DataSet in dataexchange to populate dataSetId. + // +kubebuilder:validation:Optional + DataSetIDSelector *v1.Selector `json:"dataSetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/datasync/v1beta1/zz_generated.deepcopy.go b/apis/datasync/v1beta1/zz_generated.deepcopy.go index 869f95b603..dd911baad8 100644 --- a/apis/datasync/v1beta1/zz_generated.deepcopy.go +++ b/apis/datasync/v1beta1/zz_generated.deepcopy.go @@ -204,10 +204,27 @@ func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) } } } + if in.S3BucketArn != nil { + in, out := &in.S3BucketArn, &out.S3BucketArn + *out = new(string) + **out = **in + } + if in.S3BucketArnRef != nil { + in, out := &in.S3BucketArnRef, &out.S3BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketArnSelector != nil { + in, out := &in.S3BucketArnSelector, &out.S3BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3Config != nil { in, out := &in.S3Config, &out.S3Config *out = make([]S3ConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.S3StorageClass != nil { in, out := &in.S3StorageClass, &out.S3StorageClass @@ -866,6 +883,21 @@ func (in *ReportOverridesParameters) DeepCopy() *ReportOverridesParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3ConfigInitParameters) DeepCopyInto(out *S3ConfigInitParameters) { *out = *in + if in.BucketAccessRoleArn != nil { + in, out := &in.BucketAccessRoleArn, &out.BucketAccessRoleArn + *out = new(string) + **out = **in + } + if in.BucketAccessRoleArnRef != nil { + in, out := &in.BucketAccessRoleArnRef, &out.BucketAccessRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketAccessRoleArnSelector != nil { + in, out := &in.BucketAccessRoleArnSelector, &out.BucketAccessRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3ConfigInitParameters. @@ -1108,6 +1140,36 @@ func (in *Task) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TaskInitParameters) DeepCopyInto(out *TaskInitParameters) { *out = *in + if in.CloudwatchLogGroupArn != nil { + in, out := &in.CloudwatchLogGroupArn, &out.CloudwatchLogGroupArn + *out = new(string) + **out = **in + } + if in.CloudwatchLogGroupArnRef != nil { + in, out := &in.CloudwatchLogGroupArnRef, &out.CloudwatchLogGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchLogGroupArnSelector != nil { + in, out := &in.CloudwatchLogGroupArnSelector, &out.CloudwatchLogGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DestinationLocationArn != nil { + in, out := &in.DestinationLocationArn, &out.DestinationLocationArn + *out = new(string) + **out = **in + } + if in.DestinationLocationArnRef != nil { + in, out := &in.DestinationLocationArnRef, &out.DestinationLocationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationLocationArnSelector != nil { + in, out := &in.DestinationLocationArnSelector, &out.DestinationLocationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Excludes != nil { in, out := &in.Excludes, &out.Excludes *out = make([]ExcludesInitParameters, len(*in)) @@ -1141,6 +1203,21 @@ func (in *TaskInitParameters) DeepCopyInto(out *TaskInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SourceLocationArn != nil { + in, out := &in.SourceLocationArn, &out.SourceLocationArn + *out = new(string) + **out = **in + } + if in.SourceLocationArnRef != nil { + in, out := &in.SourceLocationArnRef, &out.SourceLocationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceLocationArnSelector != nil { + in, out := &in.SourceLocationArnSelector, &out.SourceLocationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/datasync/v1beta1/zz_generated.resolvers.go b/apis/datasync/v1beta1/zz_generated.resolvers.go index c480d88604..8b363c7212 100644 --- a/apis/datasync/v1beta1/zz_generated.resolvers.go +++ b/apis/datasync/v1beta1/zz_generated.resolvers.go @@ -57,6 +57,40 @@ func (mg *LocationS3) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.S3Config[i3].BucketAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.S3Config[i3].BucketAccessRoleArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.S3BucketArnRef, + Selector: mg.Spec.InitProvider.S3BucketArnSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3BucketArn") + } + mg.Spec.InitProvider.S3BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3BucketArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.S3Config); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArnRef, + Selector: mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArn") + } + mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3Config[i3].BucketAccessRoleArnRef = rsp.ResolvedReference + } return nil @@ -117,5 +151,53 @@ func (mg *Task) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.SourceLocationArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceLocationArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchLogGroupArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.CloudwatchLogGroupArnRef, + Selector: mg.Spec.InitProvider.CloudwatchLogGroupArnSelector, + To: reference.To{ + List: &v1beta12.GroupList{}, + Managed: &v1beta12.Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchLogGroupArn") + } + mg.Spec.InitProvider.CloudwatchLogGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchLogGroupArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationLocationArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DestinationLocationArnRef, + Selector: mg.Spec.InitProvider.DestinationLocationArnSelector, + To: reference.To{ + List: &LocationS3List{}, + Managed: &LocationS3{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationLocationArn") + } + mg.Spec.InitProvider.DestinationLocationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationLocationArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceLocationArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SourceLocationArnRef, + Selector: mg.Spec.InitProvider.SourceLocationArnSelector, + To: reference.To{ + List: &LocationS3List{}, + Managed: &LocationS3{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceLocationArn") + } + mg.Spec.InitProvider.SourceLocationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceLocationArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/datasync/v1beta1/zz_locations3_types.go b/apis/datasync/v1beta1/zz_locations3_types.go index 9deb6734ac..8451c5013b 100755 --- a/apis/datasync/v1beta1/zz_locations3_types.go +++ b/apis/datasync/v1beta1/zz_locations3_types.go @@ -23,6 +23,19 @@ type LocationS3InitParameters struct { // +listType=set AgentArns []*string `json:"agentArns,omitempty" tf:"agent_arns,omitempty"` + // Amazon Resource Name (ARN) of the S3 Bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + S3BucketArn *string `json:"s3BucketArn,omitempty" tf:"s3_bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate s3BucketArn. + // +kubebuilder:validation:Optional + S3BucketArnRef *v1.Reference `json:"s3BucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3BucketArn. + // +kubebuilder:validation:Optional + S3BucketArnSelector *v1.Selector `json:"s3BucketArnSelector,omitempty" tf:"-"` + // Configuration block containing information for connecting to S3. S3Config []S3ConfigInitParameters `json:"s3Config,omitempty" tf:"s3_config,omitempty"` @@ -117,6 +130,19 @@ type LocationS3Parameters struct { } type S3ConfigInitParameters struct { + + // ARN of the IAM Role used to connect to the S3 Bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketAccessRoleArn *string `json:"bucketAccessRoleArn,omitempty" tf:"bucket_access_role_arn,omitempty"` + + // Reference to a Role in iam to populate bucketAccessRoleArn. + // +kubebuilder:validation:Optional + BucketAccessRoleArnRef *v1.Reference `json:"bucketAccessRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate bucketAccessRoleArn. + // +kubebuilder:validation:Optional + BucketAccessRoleArnSelector *v1.Selector `json:"bucketAccessRoleArnSelector,omitempty" tf:"-"` } type S3ConfigObservation struct { diff --git a/apis/datasync/v1beta1/zz_task_types.go b/apis/datasync/v1beta1/zz_task_types.go index c0c09063a4..3631d8a31b 100755 --- a/apis/datasync/v1beta1/zz_task_types.go +++ b/apis/datasync/v1beta1/zz_task_types.go @@ -343,6 +343,31 @@ type ScheduleParameters struct { type TaskInitParameters struct { + // Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnRef *v1.Reference `json:"cloudwatchLogGroupArnRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnSelector *v1.Selector `json:"cloudwatchLogGroupArnSelector,omitempty" tf:"-"` + + // Amazon Resource Name (ARN) of destination DataSync Location. + // +crossplane:generate:reference:type=LocationS3 + DestinationLocationArn *string `json:"destinationLocationArn,omitempty" tf:"destination_location_arn,omitempty"` + + // Reference to a LocationS3 to populate destinationLocationArn. + // +kubebuilder:validation:Optional + DestinationLocationArnRef *v1.Reference `json:"destinationLocationArnRef,omitempty" tf:"-"` + + // Selector for a LocationS3 to populate destinationLocationArn. + // +kubebuilder:validation:Optional + DestinationLocationArnSelector *v1.Selector `json:"destinationLocationArnSelector,omitempty" tf:"-"` + // Filter rules that determines which files to exclude from a task. Excludes []ExcludesInitParameters `json:"excludes,omitempty" tf:"excludes,omitempty"` @@ -358,6 +383,18 @@ type TaskInitParameters struct { // Specifies a schedule used to periodically transfer files from a source to a destination location. Schedule []ScheduleInitParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` + // Amazon Resource Name (ARN) of source DataSync Location. + // +crossplane:generate:reference:type=LocationS3 + SourceLocationArn *string `json:"sourceLocationArn,omitempty" tf:"source_location_arn,omitempty"` + + // Reference to a LocationS3 to populate sourceLocationArn. + // +kubebuilder:validation:Optional + SourceLocationArnRef *v1.Reference `json:"sourceLocationArnRef,omitempty" tf:"-"` + + // Selector for a LocationS3 to populate sourceLocationArn. + // +kubebuilder:validation:Optional + SourceLocationArnSelector *v1.Selector `json:"sourceLocationArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/dax/v1beta1/zz_cluster_types.go b/apis/dax/v1beta1/zz_cluster_types.go index 1ef020bfe9..783fc31621 100755 --- a/apis/dax/v1beta1/zz_cluster_types.go +++ b/apis/dax/v1beta1/zz_cluster_types.go @@ -32,6 +32,21 @@ type ClusterInitParameters struct { // – Description for the cluster Description *string `json:"description,omitempty" tf:"description,omitempty"` + // A valid Amazon Resource Name (ARN) that identifies + // an IAM role. At runtime, DAX will assume this role and use the role's + // permissions to access DynamoDB on your behalf + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + // ddd:hh24:mi // (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: // sun:05:00-sun:09:00 @@ -52,6 +67,22 @@ type ClusterInitParameters struct { // replicas ReplicationFactor *float64 `json:"replicationFactor,omitempty" tf:"replication_factor,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // – One or more VPC security groups associated + // with the cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // Encrypt at rest options ServerSideEncryption []ServerSideEncryptionInitParameters `json:"serverSideEncryption,omitempty" tf:"server_side_encryption,omitempty"` diff --git a/apis/dax/v1beta1/zz_generated.deepcopy.go b/apis/dax/v1beta1/zz_generated.deepcopy.go index 19940ffaef..12dd351567 100644 --- a/apis/dax/v1beta1/zz_generated.deepcopy.go +++ b/apis/dax/v1beta1/zz_generated.deepcopy.go @@ -64,6 +64,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MaintenanceWindow != nil { in, out := &in.MaintenanceWindow, &out.MaintenanceWindow *out = new(string) @@ -89,6 +104,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(float64) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.ServerSideEncryption != nil { in, out := &in.ServerSideEncryption, &out.ServerSideEncryption *out = make([]ServerSideEncryptionInitParameters, len(*in)) @@ -901,6 +939,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetGroupInitParameters. diff --git a/apis/dax/v1beta1/zz_generated.resolvers.go b/apis/dax/v1beta1/zz_generated.resolvers.go index 9c39eb0107..049b8d28c5 100644 --- a/apis/dax/v1beta1/zz_generated.resolvers.go +++ b/apis/dax/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -81,5 +113,21 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/dax/v1beta1/zz_subnetgroup_types.go b/apis/dax/v1beta1/zz_subnetgroup_types.go index ae87c85c58..d78dfabc07 100755 --- a/apis/dax/v1beta1/zz_subnetgroup_types.go +++ b/apis/dax/v1beta1/zz_subnetgroup_types.go @@ -21,6 +21,21 @@ type SubnetGroupInitParameters struct { // A description of the subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // – A list of VPC subnet IDs for the subnet group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type SubnetGroupObservation struct { diff --git a/apis/deploy/v1beta1/zz_deploymentgroup_types.go b/apis/deploy/v1beta1/zz_deploymentgroup_types.go index 3b02f6e0ee..f2b65be755 100755 --- a/apis/deploy/v1beta1/zz_deploymentgroup_types.go +++ b/apis/deploy/v1beta1/zz_deploymentgroup_types.go @@ -169,6 +169,19 @@ type DeploymentGroupInitParameters struct { // Configuration block of Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. Valid values are UPDATE and IGNORE. Defaults to UPDATE. OutdatedInstancesStrategy *string `json:"outdatedInstancesStrategy,omitempty" tf:"outdated_instances_strategy,omitempty"` + // The service role ARN that allows deployments. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -495,6 +508,18 @@ type EC2TagSetParameters struct { } type ELBInfoInitParameters struct { + + // The name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment completes. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a ELB in elb to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` } type ELBInfoObservation struct { @@ -520,6 +545,30 @@ type ELBInfoParameters struct { } type EcsServiceInitParameters struct { + + // The name of the ECS cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecs/v1beta1.Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster in ecs to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster in ecs to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + + // The name of the ECS service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecs/v1beta1.Service + ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` + + // Reference to a Service in ecs to populate serviceName. + // +kubebuilder:validation:Optional + ServiceNameRef *v1.Reference `json:"serviceNameRef,omitempty" tf:"-"` + + // Selector for a Service in ecs to populate serviceName. + // +kubebuilder:validation:Optional + ServiceNameSelector *v1.Selector `json:"serviceNameSelector,omitempty" tf:"-"` } type EcsServiceObservation struct { @@ -699,6 +748,19 @@ type TargetGroupInfoParameters struct { } type TargetGroupInitParameters struct { + + // The name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment completes. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBTargetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a LBTargetGroup in elbv2 to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup in elbv2 to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` } type TargetGroupObservation struct { @@ -822,6 +884,19 @@ type TriggerConfigurationInitParameters struct { // The name of the notification trigger. TriggerName *string `json:"triggerName,omitempty" tf:"trigger_name,omitempty"` + + // The ARN of the SNS topic through which notifications are sent. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TriggerTargetArn *string `json:"triggerTargetArn,omitempty" tf:"trigger_target_arn,omitempty"` + + // Reference to a Topic in sns to populate triggerTargetArn. + // +kubebuilder:validation:Optional + TriggerTargetArnRef *v1.Reference `json:"triggerTargetArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate triggerTargetArn. + // +kubebuilder:validation:Optional + TriggerTargetArnSelector *v1.Selector `json:"triggerTargetArnSelector,omitempty" tf:"-"` } type TriggerConfigurationObservation struct { diff --git a/apis/deploy/v1beta1/zz_generated.deepcopy.go b/apis/deploy/v1beta1/zz_generated.deepcopy.go index ed5e8cc14a..ef4bea923c 100644 --- a/apis/deploy/v1beta1/zz_generated.deepcopy.go +++ b/apis/deploy/v1beta1/zz_generated.deepcopy.go @@ -872,7 +872,9 @@ func (in *DeploymentGroupInitParameters) DeepCopyInto(out *DeploymentGroupInitPa if in.EcsService != nil { in, out := &in.EcsService, &out.EcsService *out = make([]EcsServiceInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.LoadBalancerInfo != nil { in, out := &in.LoadBalancerInfo, &out.LoadBalancerInfo @@ -893,6 +895,21 @@ func (in *DeploymentGroupInitParameters) DeepCopyInto(out *DeploymentGroupInitPa *out = new(string) **out = **in } + if in.ServiceRoleArn != nil { + in, out := &in.ServiceRoleArn, &out.ServiceRoleArn + *out = new(string) + **out = **in + } + if in.ServiceRoleArnRef != nil { + in, out := &in.ServiceRoleArnRef, &out.ServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleArnSelector != nil { + in, out := &in.ServiceRoleArnSelector, &out.ServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1719,6 +1736,21 @@ func (in *EC2TagSetParameters) DeepCopy() *EC2TagSetParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ELBInfoInitParameters) DeepCopyInto(out *ELBInfoInitParameters) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ELBInfoInitParameters. @@ -1784,6 +1816,36 @@ func (in *ELBInfoParameters) DeepCopy() *ELBInfoParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EcsServiceInitParameters) DeepCopyInto(out *EcsServiceInitParameters) { *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EcsServiceInitParameters. @@ -1932,7 +1994,9 @@ func (in *LoadBalancerInfoInitParameters) DeepCopyInto(out *LoadBalancerInfoInit if in.ELBInfo != nil { in, out := &in.ELBInfo, &out.ELBInfo *out = make([]ELBInfoInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.TargetGroupInfo != nil { in, out := &in.TargetGroupInfo, &out.TargetGroupInfo @@ -2338,6 +2402,21 @@ func (in *TargetGroupInfoParameters) DeepCopy() *TargetGroupInfoParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TargetGroupInitParameters) DeepCopyInto(out *TargetGroupInitParameters) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetGroupInitParameters. @@ -2383,7 +2462,9 @@ func (in *TargetGroupPairInfoInitParameters) DeepCopyInto(out *TargetGroupPairIn if in.TargetGroup != nil { in, out := &in.TargetGroup, &out.TargetGroup *out = make([]TargetGroupInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.TestTrafficRoute != nil { in, out := &in.TestTrafficRoute, &out.TestTrafficRoute @@ -2930,6 +3011,21 @@ func (in *TriggerConfigurationInitParameters) DeepCopyInto(out *TriggerConfigura *out = new(string) **out = **in } + if in.TriggerTargetArn != nil { + in, out := &in.TriggerTargetArn, &out.TriggerTargetArn + *out = new(string) + **out = **in + } + if in.TriggerTargetArnRef != nil { + in, out := &in.TriggerTargetArnRef, &out.TriggerTargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TriggerTargetArnSelector != nil { + in, out := &in.TriggerTargetArnSelector, &out.TriggerTargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerConfigurationInitParameters. diff --git a/apis/deploy/v1beta1/zz_generated.resolvers.go b/apis/deploy/v1beta1/zz_generated.resolvers.go index 09e456cdf5..c42cef96ee 100644 --- a/apis/deploy/v1beta1/zz_generated.resolvers.go +++ b/apis/deploy/v1beta1/zz_generated.resolvers.go @@ -153,6 +153,118 @@ func (mg *DeploymentGroup) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.TriggerConfiguration[i3].TriggerTargetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TriggerConfiguration[i3].TriggerTargetArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EcsService); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EcsService[i3].ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EcsService[i3].ClusterNameRef, + Selector: mg.Spec.InitProvider.EcsService[i3].ClusterNameSelector, + To: reference.To{ + List: &v1beta1.ClusterList{}, + Managed: &v1beta1.Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EcsService[i3].ClusterName") + } + mg.Spec.InitProvider.EcsService[i3].ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EcsService[i3].ClusterNameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EcsService); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EcsService[i3].ServiceName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EcsService[i3].ServiceNameRef, + Selector: mg.Spec.InitProvider.EcsService[i3].ServiceNameSelector, + To: reference.To{ + List: &v1beta1.ServiceList{}, + Managed: &v1beta1.Service{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EcsService[i3].ServiceName") + } + mg.Spec.InitProvider.EcsService[i3].ServiceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EcsService[i3].ServiceNameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoadBalancerInfo); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].NameRef, + Selector: mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].NameSelector, + To: reference.To{ + List: &v1beta11.ELBList{}, + Managed: &v1beta11.ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].Name") + } + mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerInfo[i3].ELBInfo[i4].NameRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoadBalancerInfo); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].Name), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].NameRef, + Selector: mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].NameSelector, + To: reference.To{ + List: &v1beta12.LBTargetGroupList{}, + Managed: &v1beta12.LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].Name") + } + mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerInfo[i3].TargetGroupPairInfo[i4].TargetGroup[i5].NameRef = rsp.ResolvedReference + + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceRoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceRoleArn") + } + mg.Spec.InitProvider.ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.TriggerConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArnRef, + Selector: mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArnSelector, + To: reference.To{ + List: &v1beta14.TopicList{}, + Managed: &v1beta14.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArn") + } + mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TriggerConfiguration[i3].TriggerTargetArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/detective/v1beta1/zz_generated.deepcopy.go b/apis/detective/v1beta1/zz_generated.deepcopy.go index 3ae95c838b..5d57a114b4 100644 --- a/apis/detective/v1beta1/zz_generated.deepcopy.go +++ b/apis/detective/v1beta1/zz_generated.deepcopy.go @@ -266,6 +266,21 @@ func (in *InvitationAccepter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InvitationAccepterInitParameters) DeepCopyInto(out *InvitationAccepterInitParameters) { *out = *in + if in.GraphArn != nil { + in, out := &in.GraphArn, &out.GraphArn + *out = new(string) + **out = **in + } + if in.GraphArnRef != nil { + in, out := &in.GraphArnRef, &out.GraphArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GraphArnSelector != nil { + in, out := &in.GraphArnSelector, &out.GraphArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvitationAccepterInitParameters. @@ -375,7 +390,7 @@ func (in *InvitationAccepterSpec) DeepCopyInto(out *InvitationAccepterSpec) { *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 InvitationAccepterSpec. @@ -450,6 +465,21 @@ func (in *MemberInitParameters) DeepCopyInto(out *MemberInitParameters) { *out = new(string) **out = **in } + if in.GraphArn != nil { + in, out := &in.GraphArn, &out.GraphArn + *out = new(string) + **out = **in + } + if in.GraphArnRef != nil { + in, out := &in.GraphArnRef, &out.GraphArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GraphArnSelector != nil { + in, out := &in.GraphArnSelector, &out.GraphArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Message != nil { in, out := &in.Message, &out.Message *out = new(string) diff --git a/apis/detective/v1beta1/zz_generated.resolvers.go b/apis/detective/v1beta1/zz_generated.resolvers.go index c36c793dbb..3fe9e29e54 100644 --- a/apis/detective/v1beta1/zz_generated.resolvers.go +++ b/apis/detective/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *InvitationAccepter) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.GraphArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GraphArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GraphArn), + Extract: resource.ExtractParamPath("graph_arn", true), + Reference: mg.Spec.InitProvider.GraphArnRef, + Selector: mg.Spec.InitProvider.GraphArnSelector, + To: reference.To{ + List: &GraphList{}, + Managed: &Graph{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GraphArn") + } + mg.Spec.InitProvider.GraphArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GraphArnRef = rsp.ResolvedReference + return nil } @@ -62,5 +78,21 @@ func (mg *Member) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.GraphArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GraphArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GraphArn), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GraphArnRef, + Selector: mg.Spec.InitProvider.GraphArnSelector, + To: reference.To{ + List: &GraphList{}, + Managed: &Graph{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GraphArn") + } + mg.Spec.InitProvider.GraphArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GraphArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/detective/v1beta1/zz_invitationaccepter_types.go b/apis/detective/v1beta1/zz_invitationaccepter_types.go index 831b45d38b..80ff7db552 100755 --- a/apis/detective/v1beta1/zz_invitationaccepter_types.go +++ b/apis/detective/v1beta1/zz_invitationaccepter_types.go @@ -18,6 +18,19 @@ import ( ) type InvitationAccepterInitParameters struct { + + // ARN of the behavior graph that the member account is accepting the invitation for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/detective/v1beta1.Graph + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("graph_arn",true) + GraphArn *string `json:"graphArn,omitempty" tf:"graph_arn,omitempty"` + + // Reference to a Graph in detective to populate graphArn. + // +kubebuilder:validation:Optional + GraphArnRef *v1.Reference `json:"graphArnRef,omitempty" tf:"-"` + + // Selector for a Graph in detective to populate graphArn. + // +kubebuilder:validation:Optional + GraphArnSelector *v1.Selector `json:"graphArnSelector,omitempty" tf:"-"` } type InvitationAccepterObservation struct { diff --git a/apis/detective/v1beta1/zz_member_types.go b/apis/detective/v1beta1/zz_member_types.go index 44d11972d0..d278179fc1 100755 --- a/apis/detective/v1beta1/zz_member_types.go +++ b/apis/detective/v1beta1/zz_member_types.go @@ -28,6 +28,19 @@ type MemberInitParameters struct { // Email address for the account. EmailAddress *string `json:"emailAddress,omitempty" tf:"email_address,omitempty"` + // ARN of the behavior graph to invite the member accounts to contribute their data to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/detective/v1beta1.Graph + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GraphArn *string `json:"graphArn,omitempty" tf:"graph_arn,omitempty"` + + // Reference to a Graph in detective to populate graphArn. + // +kubebuilder:validation:Optional + GraphArnRef *v1.Reference `json:"graphArnRef,omitempty" tf:"-"` + + // Selector for a Graph in detective to populate graphArn. + // +kubebuilder:validation:Optional + GraphArnSelector *v1.Selector `json:"graphArnSelector,omitempty" tf:"-"` + // A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation. Message *string `json:"message,omitempty" tf:"message,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_devicepool_types.go b/apis/devicefarm/v1beta1/zz_devicepool_types.go index 608aa709fb..9287695b0b 100755 --- a/apis/devicefarm/v1beta1/zz_devicepool_types.go +++ b/apis/devicefarm/v1beta1/zz_devicepool_types.go @@ -28,6 +28,19 @@ type DevicePoolInitParameters struct { // The name of the Device Pool Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of the project for the device pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/devicefarm/v1beta1.Project + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ProjectArn *string `json:"projectArn,omitempty" tf:"project_arn,omitempty"` + + // Reference to a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnRef *v1.Reference `json:"projectArnRef,omitempty" tf:"-"` + + // Selector for a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnSelector *v1.Selector `json:"projectArnSelector,omitempty" tf:"-"` + // The device pool's rules. See Rule. Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` diff --git a/apis/devicefarm/v1beta1/zz_generated.deepcopy.go b/apis/devicefarm/v1beta1/zz_generated.deepcopy.go index e269912397..700d5307f5 100644 --- a/apis/devicefarm/v1beta1/zz_generated.deepcopy.go +++ b/apis/devicefarm/v1beta1/zz_generated.deepcopy.go @@ -58,6 +58,21 @@ func (in *DevicePoolInitParameters) DeepCopyInto(out *DevicePoolInitParameters) *out = new(string) **out = **in } + if in.ProjectArn != nil { + in, out := &in.ProjectArn, &out.ProjectArn + *out = new(string) + **out = **in + } + if in.ProjectArnRef != nil { + in, out := &in.ProjectArnRef, &out.ProjectArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProjectArnSelector != nil { + in, out := &in.ProjectArnSelector, &out.ProjectArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Rule != nil { in, out := &in.Rule, &out.Rule *out = make([]RuleInitParameters, len(*in)) @@ -693,6 +708,21 @@ func (in *NetworkProfileInitParameters) DeepCopyInto(out *NetworkProfileInitPara *out = new(string) **out = **in } + if in.ProjectArn != nil { + in, out := &in.ProjectArn, &out.ProjectArn + *out = new(string) + **out = **in + } + if in.ProjectArnRef != nil { + in, out := &in.ProjectArnRef, &out.ProjectArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProjectArnSelector != nil { + in, out := &in.ProjectArnSelector, &out.ProjectArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1433,7 +1463,9 @@ func (in *TestGridProjectInitParameters) DeepCopyInto(out *TestGridProjectInitPa if in.VPCConfig != nil { in, out := &in.VPCConfig, &out.VPCConfig *out = make([]VPCConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -1681,6 +1713,21 @@ func (in *UploadInitParameters) DeepCopyInto(out *UploadInitParameters) { *out = new(string) **out = **in } + if in.ProjectArn != nil { + in, out := &in.ProjectArn, &out.ProjectArn + *out = new(string) + **out = **in + } + if in.ProjectArnRef != nil { + in, out := &in.ProjectArnRef, &out.ProjectArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProjectArnSelector != nil { + in, out := &in.ProjectArnSelector, &out.ProjectArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1878,6 +1925,67 @@ func (in *UploadStatus) DeepCopy() *UploadStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { *out = *in + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.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 VPCConfigInitParameters. diff --git a/apis/devicefarm/v1beta1/zz_generated.resolvers.go b/apis/devicefarm/v1beta1/zz_generated.resolvers.go index a34a87430a..054980eeed 100644 --- a/apis/devicefarm/v1beta1/zz_generated.resolvers.go +++ b/apis/devicefarm/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *DevicePool) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProjectArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProjectArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ProjectArnRef, + Selector: mg.Spec.InitProvider.ProjectArnSelector, + To: reference.To{ + List: &ProjectList{}, + Managed: &Project{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProjectArn") + } + mg.Spec.InitProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProjectArnRef = rsp.ResolvedReference + return nil } @@ -63,6 +79,22 @@ func (mg *NetworkProfile) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProjectArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProjectArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ProjectArnRef, + Selector: mg.Spec.InitProvider.ProjectArnSelector, + To: reference.To{ + List: &ProjectList{}, + Managed: &Project{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProjectArn") + } + mg.Spec.InitProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProjectArnRef = rsp.ResolvedReference + return nil } @@ -127,6 +159,60 @@ func (mg *TestGridProject) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.VPCConfig[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCConfig[i3].VPCIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCConfig[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCConfig[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.VPCConfig[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].VPCID") + } + mg.Spec.InitProvider.VPCConfig[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCConfig[i3].VPCIDRef = rsp.ResolvedReference + } return nil @@ -155,5 +241,21 @@ func (mg *Upload) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProjectArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProjectArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ProjectArnRef, + Selector: mg.Spec.InitProvider.ProjectArnSelector, + To: reference.To{ + List: &ProjectList{}, + Managed: &Project{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProjectArn") + } + mg.Spec.InitProvider.ProjectArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProjectArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/devicefarm/v1beta1/zz_networkprofile_types.go b/apis/devicefarm/v1beta1/zz_networkprofile_types.go index 5007390252..74e14740be 100755 --- a/apis/devicefarm/v1beta1/zz_networkprofile_types.go +++ b/apis/devicefarm/v1beta1/zz_networkprofile_types.go @@ -37,6 +37,19 @@ type NetworkProfileInitParameters struct { // The name for the network profile. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of the project for the network profile. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/devicefarm/v1beta1.Project + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ProjectArn *string `json:"projectArn,omitempty" tf:"project_arn,omitempty"` + + // Reference to a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnRef *v1.Reference `json:"projectArnRef,omitempty" tf:"-"` + + // Selector for a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnSelector *v1.Selector `json:"projectArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/devicefarm/v1beta1/zz_testgridproject_types.go b/apis/devicefarm/v1beta1/zz_testgridproject_types.go index 3a7600e327..bc25b295c2 100755 --- a/apis/devicefarm/v1beta1/zz_testgridproject_types.go +++ b/apis/devicefarm/v1beta1/zz_testgridproject_types.go @@ -84,6 +84,49 @@ type TestGridProjectParameters struct { } type VPCConfigInitParameters struct { + + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // A list of VPC security group IDs in your Amazon VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of VPC subnet IDs in your Amazon VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // The ID of the Amazon VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCConfigObservation struct { diff --git a/apis/devicefarm/v1beta1/zz_upload_types.go b/apis/devicefarm/v1beta1/zz_upload_types.go index ffd269635b..85c3f88b6c 100755 --- a/apis/devicefarm/v1beta1/zz_upload_types.go +++ b/apis/devicefarm/v1beta1/zz_upload_types.go @@ -25,6 +25,19 @@ type UploadInitParameters struct { // The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of the project for the upload. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/devicefarm/v1beta1.Project + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ProjectArn *string `json:"projectArn,omitempty" tf:"project_arn,omitempty"` + + // Reference to a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnRef *v1.Reference `json:"projectArnRef,omitempty" tf:"-"` + + // Selector for a Project in devicefarm to populate projectArn. + // +kubebuilder:validation:Optional + ProjectArnSelector *v1.Selector `json:"projectArnSelector,omitempty" tf:"-"` + // The upload's upload type. See AWS Docs for valid list of values. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_bgppeer_types.go b/apis/directconnect/v1beta1/zz_bgppeer_types.go index 05de411b1d..bb6a630a6e 100755 --- a/apis/directconnect/v1beta1/zz_bgppeer_types.go +++ b/apis/directconnect/v1beta1/zz_bgppeer_types.go @@ -35,6 +35,19 @@ type BGPPeerInitParameters struct { // The IPv4 CIDR destination address to which Amazon should send traffic. // Required for IPv4 BGP peers on public virtual interfaces. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` + + // The ID of the Direct Connect virtual interface on which to create the BGP peer. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.PrivateVirtualInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VirtualInterfaceID *string `json:"virtualInterfaceId,omitempty" tf:"virtual_interface_id,omitempty"` + + // Reference to a PrivateVirtualInterface in directconnect to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDRef *v1.Reference `json:"virtualInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a PrivateVirtualInterface in directconnect to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDSelector *v1.Selector `json:"virtualInterfaceIdSelector,omitempty" tf:"-"` } type BGPPeerObservation struct { diff --git a/apis/directconnect/v1beta1/zz_connectionassociation_types.go b/apis/directconnect/v1beta1/zz_connectionassociation_types.go index e43f7bc409..7fc0b334db 100755 --- a/apis/directconnect/v1beta1/zz_connectionassociation_types.go +++ b/apis/directconnect/v1beta1/zz_connectionassociation_types.go @@ -18,6 +18,32 @@ import ( ) type ConnectionAssociationInitParameters struct { + + // The ID of the connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Connection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection in directconnect to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection in directconnect to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + + // The ID of the LAG with which to associate the connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Lag + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LagID *string `json:"lagId,omitempty" tf:"lag_id,omitempty"` + + // Reference to a Lag in directconnect to populate lagId. + // +kubebuilder:validation:Optional + LagIDRef *v1.Reference `json:"lagIdRef,omitempty" tf:"-"` + + // Selector for a Lag in directconnect to populate lagId. + // +kubebuilder:validation:Optional + LagIDSelector *v1.Selector `json:"lagIdSelector,omitempty" tf:"-"` } type ConnectionAssociationObservation struct { diff --git a/apis/directconnect/v1beta1/zz_gatewayassociation_types.go b/apis/directconnect/v1beta1/zz_gatewayassociation_types.go index 79e809448e..d27384caed 100755 --- a/apis/directconnect/v1beta1/zz_gatewayassociation_types.go +++ b/apis/directconnect/v1beta1/zz_gatewayassociation_types.go @@ -23,10 +23,37 @@ type GatewayAssociationInitParameters struct { // +listType=set AllowedPrefixes []*string `json:"allowedPrefixes,omitempty" tf:"allowed_prefixes,omitempty"` + // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. + // Used for single account Direct Connect gateway associations. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AssociatedGatewayID *string `json:"associatedGatewayId,omitempty" tf:"associated_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate associatedGatewayId. + // +kubebuilder:validation:Optional + AssociatedGatewayIDRef *v1.Reference `json:"associatedGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate associatedGatewayId. + // +kubebuilder:validation:Optional + AssociatedGatewayIDSelector *v1.Selector `json:"associatedGatewayIdSelector,omitempty" tf:"-"` + // The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. // Used for cross-account Direct Connect gateway associations. AssociatedGatewayOwnerAccountID *string `json:"associatedGatewayOwnerAccountId,omitempty" tf:"associated_gateway_owner_account_id,omitempty"` + // The ID of the Direct Connect gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DxGatewayID *string `json:"dxGatewayId,omitempty" tf:"dx_gateway_id,omitempty"` + + // Reference to a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDRef *v1.Reference `json:"dxGatewayIdRef,omitempty" tf:"-"` + + // Selector for a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDSelector *v1.Selector `json:"dxGatewayIdSelector,omitempty" tf:"-"` + // The ID of the Direct Connect gateway association proposal. // Used for cross-account Direct Connect gateway associations. ProposalID *string `json:"proposalId,omitempty" tf:"proposal_id,omitempty"` diff --git a/apis/directconnect/v1beta1/zz_gatewayassociationproposal_types.go b/apis/directconnect/v1beta1/zz_gatewayassociationproposal_types.go index 9aa023c683..6f7890b5e6 100755 --- a/apis/directconnect/v1beta1/zz_gatewayassociationproposal_types.go +++ b/apis/directconnect/v1beta1/zz_gatewayassociationproposal_types.go @@ -22,6 +22,45 @@ type GatewayAssociationProposalInitParameters struct { // VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. // +listType=set AllowedPrefixes []*string `json:"allowedPrefixes,omitempty" tf:"allowed_prefixes,omitempty"` + + // The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AssociatedGatewayID *string `json:"associatedGatewayId,omitempty" tf:"associated_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate associatedGatewayId. + // +kubebuilder:validation:Optional + AssociatedGatewayIDRef *v1.Reference `json:"associatedGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate associatedGatewayId. + // +kubebuilder:validation:Optional + AssociatedGatewayIDSelector *v1.Selector `json:"associatedGatewayIdSelector,omitempty" tf:"-"` + + // Direct Connect Gateway identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DxGatewayID *string `json:"dxGatewayId,omitempty" tf:"dx_gateway_id,omitempty"` + + // Reference to a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDRef *v1.Reference `json:"dxGatewayIdRef,omitempty" tf:"-"` + + // Selector for a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDSelector *v1.Selector `json:"dxGatewayIdSelector,omitempty" tf:"-"` + + // AWS Account identifier of the Direct Connect Gateway's owner. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("owner_account_id",true) + DxGatewayOwnerAccountID *string `json:"dxGatewayOwnerAccountId,omitempty" tf:"dx_gateway_owner_account_id,omitempty"` + + // Reference to a Gateway in directconnect to populate dxGatewayOwnerAccountId. + // +kubebuilder:validation:Optional + DxGatewayOwnerAccountIDRef *v1.Reference `json:"dxGatewayOwnerAccountIdRef,omitempty" tf:"-"` + + // Selector for a Gateway in directconnect to populate dxGatewayOwnerAccountId. + // +kubebuilder:validation:Optional + DxGatewayOwnerAccountIDSelector *v1.Selector `json:"dxGatewayOwnerAccountIdSelector,omitempty" tf:"-"` } type GatewayAssociationProposalObservation struct { diff --git a/apis/directconnect/v1beta1/zz_generated.deepcopy.go b/apis/directconnect/v1beta1/zz_generated.deepcopy.go index 560ca601bd..19b3a55b22 100644 --- a/apis/directconnect/v1beta1/zz_generated.deepcopy.go +++ b/apis/directconnect/v1beta1/zz_generated.deepcopy.go @@ -68,6 +68,21 @@ func (in *BGPPeerInitParameters) DeepCopyInto(out *BGPPeerInitParameters) { *out = new(string) **out = **in } + if in.VirtualInterfaceID != nil { + in, out := &in.VirtualInterfaceID, &out.VirtualInterfaceID + *out = new(string) + **out = **in + } + if in.VirtualInterfaceIDRef != nil { + in, out := &in.VirtualInterfaceIDRef, &out.VirtualInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualInterfaceIDSelector != nil { + in, out := &in.VirtualInterfaceIDSelector, &out.VirtualInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BGPPeerInitParameters. @@ -329,6 +344,36 @@ func (in *ConnectionAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConnectionAssociationInitParameters) DeepCopyInto(out *ConnectionAssociationInitParameters) { *out = *in + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LagID != nil { + in, out := &in.LagID, &out.LagID + *out = new(string) + **out = **in + } + if in.LagIDRef != nil { + in, out := &in.LagIDRef, &out.LagIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LagIDSelector != nil { + in, out := &in.LagIDSelector, &out.LagIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionAssociationInitParameters. @@ -458,7 +503,7 @@ func (in *ConnectionAssociationSpec) DeepCopyInto(out *ConnectionAssociationSpec *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 ConnectionAssociationSpec. @@ -892,11 +937,41 @@ func (in *GatewayAssociationInitParameters) DeepCopyInto(out *GatewayAssociation } } } + if in.AssociatedGatewayID != nil { + in, out := &in.AssociatedGatewayID, &out.AssociatedGatewayID + *out = new(string) + **out = **in + } + if in.AssociatedGatewayIDRef != nil { + in, out := &in.AssociatedGatewayIDRef, &out.AssociatedGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AssociatedGatewayIDSelector != nil { + in, out := &in.AssociatedGatewayIDSelector, &out.AssociatedGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AssociatedGatewayOwnerAccountID != nil { in, out := &in.AssociatedGatewayOwnerAccountID, &out.AssociatedGatewayOwnerAccountID *out = new(string) **out = **in } + if in.DxGatewayID != nil { + in, out := &in.DxGatewayID, &out.DxGatewayID + *out = new(string) + **out = **in + } + if in.DxGatewayIDRef != nil { + in, out := &in.DxGatewayIDRef, &out.DxGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayIDSelector != nil { + in, out := &in.DxGatewayIDSelector, &out.DxGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ProposalID != nil { in, out := &in.ProposalID, &out.ProposalID *out = new(string) @@ -1139,6 +1214,51 @@ func (in *GatewayAssociationProposalInitParameters) DeepCopyInto(out *GatewayAss } } } + if in.AssociatedGatewayID != nil { + in, out := &in.AssociatedGatewayID, &out.AssociatedGatewayID + *out = new(string) + **out = **in + } + if in.AssociatedGatewayIDRef != nil { + in, out := &in.AssociatedGatewayIDRef, &out.AssociatedGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AssociatedGatewayIDSelector != nil { + in, out := &in.AssociatedGatewayIDSelector, &out.AssociatedGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayID != nil { + in, out := &in.DxGatewayID, &out.DxGatewayID + *out = new(string) + **out = **in + } + if in.DxGatewayIDRef != nil { + in, out := &in.DxGatewayIDRef, &out.DxGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayIDSelector != nil { + in, out := &in.DxGatewayIDSelector, &out.DxGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayOwnerAccountID != nil { + in, out := &in.DxGatewayOwnerAccountID, &out.DxGatewayOwnerAccountID + *out = new(string) + **out = **in + } + if in.DxGatewayOwnerAccountIDRef != nil { + in, out := &in.DxGatewayOwnerAccountIDRef, &out.DxGatewayOwnerAccountIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayOwnerAccountIDSelector != nil { + in, out := &in.DxGatewayOwnerAccountIDSelector, &out.DxGatewayOwnerAccountIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAssociationProposalInitParameters. @@ -1620,6 +1740,36 @@ func (in *HostedPrivateVirtualInterfaceAccepterInitParameters) DeepCopyInto(out (*out)[key] = outVal } } + if in.VPNGatewayID != nil { + in, out := &in.VPNGatewayID, &out.VPNGatewayID + *out = new(string) + **out = **in + } + if in.VPNGatewayIDRef != nil { + in, out := &in.VPNGatewayIDRef, &out.VPNGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayIDSelector != nil { + in, out := &in.VPNGatewayIDSelector, &out.VPNGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VirtualInterfaceID != nil { + in, out := &in.VirtualInterfaceID, &out.VirtualInterfaceID + *out = new(string) + **out = **in + } + if in.VirtualInterfaceIDRef != nil { + in, out := &in.VirtualInterfaceIDRef, &out.VirtualInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualInterfaceIDSelector != nil { + in, out := &in.VirtualInterfaceIDSelector, &out.VirtualInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedPrivateVirtualInterfaceAccepterInitParameters. @@ -1865,6 +2015,21 @@ func (in *HostedPrivateVirtualInterfaceInitParameters) DeepCopyInto(out *HostedP *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) @@ -2212,6 +2377,21 @@ func (in *HostedPublicVirtualInterfaceAccepterInitParameters) DeepCopyInto(out * (*out)[key] = outVal } } + if in.VirtualInterfaceID != nil { + in, out := &in.VirtualInterfaceID, &out.VirtualInterfaceID + *out = new(string) + **out = **in + } + if in.VirtualInterfaceIDRef != nil { + in, out := &in.VirtualInterfaceIDRef, &out.VirtualInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualInterfaceIDSelector != nil { + in, out := &in.VirtualInterfaceIDSelector, &out.VirtualInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedPublicVirtualInterfaceAccepterInitParameters. @@ -2427,6 +2607,21 @@ func (in *HostedPublicVirtualInterfaceInitParameters) DeepCopyInto(out *HostedPu *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) @@ -2771,6 +2966,21 @@ func (in *HostedTransitVirtualInterfaceAccepter) DeepCopyObject() runtime.Object // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HostedTransitVirtualInterfaceAccepterInitParameters) DeepCopyInto(out *HostedTransitVirtualInterfaceAccepterInitParameters) { *out = *in + if in.DxGatewayID != nil { + in, out := &in.DxGatewayID, &out.DxGatewayID + *out = new(string) + **out = **in + } + if in.DxGatewayIDRef != nil { + in, out := &in.DxGatewayIDRef, &out.DxGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayIDSelector != nil { + in, out := &in.DxGatewayIDSelector, &out.DxGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2787,6 +2997,21 @@ func (in *HostedTransitVirtualInterfaceAccepterInitParameters) DeepCopyInto(out (*out)[key] = outVal } } + if in.VirtualInterfaceID != nil { + in, out := &in.VirtualInterfaceID, &out.VirtualInterfaceID + *out = new(string) + **out = **in + } + if in.VirtualInterfaceIDRef != nil { + in, out := &in.VirtualInterfaceIDRef, &out.VirtualInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VirtualInterfaceIDSelector != nil { + in, out := &in.VirtualInterfaceIDSelector, &out.VirtualInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedTransitVirtualInterfaceAccepterInitParameters. @@ -3022,6 +3247,21 @@ func (in *HostedTransitVirtualInterfaceInitParameters) DeepCopyInto(out *HostedT *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) @@ -3669,6 +3909,21 @@ func (in *PrivateVirtualInterfaceInitParameters) DeepCopyInto(out *PrivateVirtua *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) @@ -3710,6 +3965,21 @@ func (in *PrivateVirtualInterfaceInitParameters) DeepCopyInto(out *PrivateVirtua (*out)[key] = outVal } } + if in.VPNGatewayID != nil { + in, out := &in.VPNGatewayID, &out.VPNGatewayID + *out = new(string) + **out = **in + } + if in.VPNGatewayIDRef != nil { + in, out := &in.VPNGatewayIDRef, &out.VPNGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayIDSelector != nil { + in, out := &in.VPNGatewayIDSelector, &out.VPNGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Vlan != nil { in, out := &in.Vlan, &out.Vlan *out = new(float64) @@ -4092,6 +4362,21 @@ func (in *PublicVirtualInterfaceInitParameters) DeepCopyInto(out *PublicVirtualI *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) @@ -4478,11 +4763,41 @@ func (in *TransitVirtualInterfaceInitParameters) DeepCopyInto(out *TransitVirtua *out = new(string) **out = **in } + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.ConnectionIDRef != nil { + in, out := &in.ConnectionIDRef, &out.ConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionIDSelector != nil { + in, out := &in.ConnectionIDSelector, &out.ConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomerAddress != nil { in, out := &in.CustomerAddress, &out.CustomerAddress *out = new(string) **out = **in } + if in.DxGatewayID != nil { + in, out := &in.DxGatewayID, &out.DxGatewayID + *out = new(string) + **out = **in + } + if in.DxGatewayIDRef != nil { + in, out := &in.DxGatewayIDRef, &out.DxGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DxGatewayIDSelector != nil { + in, out := &in.DxGatewayIDSelector, &out.DxGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Mtu != nil { in, out := &in.Mtu, &out.Mtu *out = new(float64) diff --git a/apis/directconnect/v1beta1/zz_generated.resolvers.go b/apis/directconnect/v1beta1/zz_generated.resolvers.go index f23de6a4a2..8565790eb0 100644 --- a/apis/directconnect/v1beta1/zz_generated.resolvers.go +++ b/apis/directconnect/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *BGPPeer) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualInterfaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VirtualInterfaceIDRef, + Selector: mg.Spec.InitProvider.VirtualInterfaceIDSelector, + To: reference.To{ + List: &PrivateVirtualInterfaceList{}, + Managed: &PrivateVirtualInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualInterfaceID") + } + mg.Spec.InitProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + return nil } @@ -79,6 +95,38 @@ func (mg *ConnectionAssociation) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.LagID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LagIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LagID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LagIDRef, + Selector: mg.Spec.InitProvider.LagIDSelector, + To: reference.To{ + List: &LagList{}, + Managed: &Lag{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LagID") + } + mg.Spec.InitProvider.LagID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LagIDRef = rsp.ResolvedReference + return nil } @@ -121,6 +169,38 @@ func (mg *GatewayAssociation) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DxGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AssociatedGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AssociatedGatewayIDRef, + Selector: mg.Spec.InitProvider.AssociatedGatewayIDSelector, + To: reference.To{ + List: &v1beta1.VPNGatewayList{}, + Managed: &v1beta1.VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AssociatedGatewayID") + } + mg.Spec.InitProvider.AssociatedGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AssociatedGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DxGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DxGatewayIDRef, + Selector: mg.Spec.InitProvider.DxGatewayIDSelector, + To: reference.To{ + List: &GatewayList{}, + Managed: &Gateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DxGatewayID") + } + mg.Spec.InitProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DxGatewayIDRef = rsp.ResolvedReference + return nil } @@ -179,6 +259,54 @@ func (mg *GatewayAssociationProposal) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.DxGatewayOwnerAccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DxGatewayOwnerAccountIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AssociatedGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AssociatedGatewayIDRef, + Selector: mg.Spec.InitProvider.AssociatedGatewayIDSelector, + To: reference.To{ + List: &v1beta1.VPNGatewayList{}, + Managed: &v1beta1.VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AssociatedGatewayID") + } + mg.Spec.InitProvider.AssociatedGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AssociatedGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DxGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DxGatewayIDRef, + Selector: mg.Spec.InitProvider.DxGatewayIDSelector, + To: reference.To{ + List: &GatewayList{}, + Managed: &Gateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DxGatewayID") + } + mg.Spec.InitProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DxGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DxGatewayOwnerAccountID), + Extract: resource.ExtractParamPath("owner_account_id", true), + Reference: mg.Spec.InitProvider.DxGatewayOwnerAccountIDRef, + Selector: mg.Spec.InitProvider.DxGatewayOwnerAccountIDSelector, + To: reference.To{ + List: &GatewayList{}, + Managed: &Gateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DxGatewayOwnerAccountID") + } + mg.Spec.InitProvider.DxGatewayOwnerAccountID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DxGatewayOwnerAccountIDRef = rsp.ResolvedReference + return nil } @@ -205,6 +333,22 @@ func (mg *HostedPrivateVirtualInterface) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + return nil } @@ -247,6 +391,38 @@ func (mg *HostedPrivateVirtualInterfaceAccepter) ResolveReferences(ctx context.C mg.Spec.ForProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPNGatewayIDRef, + Selector: mg.Spec.InitProvider.VPNGatewayIDSelector, + To: reference.To{ + List: &v1beta1.VPNGatewayList{}, + Managed: &v1beta1.VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNGatewayID") + } + mg.Spec.InitProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VirtualInterfaceIDRef, + Selector: mg.Spec.InitProvider.VirtualInterfaceIDSelector, + To: reference.To{ + List: &HostedPrivateVirtualInterfaceList{}, + Managed: &HostedPrivateVirtualInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualInterfaceID") + } + mg.Spec.InitProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + return nil } @@ -273,6 +449,22 @@ func (mg *HostedPublicVirtualInterface) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + return nil } @@ -299,6 +491,22 @@ func (mg *HostedPublicVirtualInterfaceAccepter) ResolveReferences(ctx context.Co mg.Spec.ForProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VirtualInterfaceIDRef, + Selector: mg.Spec.InitProvider.VirtualInterfaceIDSelector, + To: reference.To{ + List: &HostedPublicVirtualInterfaceList{}, + Managed: &HostedPublicVirtualInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualInterfaceID") + } + mg.Spec.InitProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + return nil } @@ -325,6 +533,22 @@ func (mg *HostedTransitVirtualInterface) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + return nil } @@ -367,6 +591,38 @@ func (mg *HostedTransitVirtualInterfaceAccepter) ResolveReferences(ctx context.C mg.Spec.ForProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DxGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DxGatewayIDRef, + Selector: mg.Spec.InitProvider.DxGatewayIDSelector, + To: reference.To{ + List: &GatewayList{}, + Managed: &Gateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DxGatewayID") + } + mg.Spec.InitProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DxGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VirtualInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VirtualInterfaceIDRef, + Selector: mg.Spec.InitProvider.VirtualInterfaceIDSelector, + To: reference.To{ + List: &HostedTransitVirtualInterfaceList{}, + Managed: &HostedTransitVirtualInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VirtualInterfaceID") + } + mg.Spec.InitProvider.VirtualInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VirtualInterfaceIDRef = rsp.ResolvedReference + return nil } @@ -409,6 +665,38 @@ func (mg *PrivateVirtualInterface) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPNGatewayIDRef, + Selector: mg.Spec.InitProvider.VPNGatewayIDSelector, + To: reference.To{ + List: &v1beta1.VPNGatewayList{}, + Managed: &v1beta1.VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNGatewayID") + } + mg.Spec.InitProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNGatewayIDRef = rsp.ResolvedReference + return nil } @@ -435,6 +723,22 @@ func (mg *PublicVirtualInterface) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + return nil } @@ -477,5 +781,37 @@ func (mg *TransitVirtualInterface) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DxGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectionIDRef, + Selector: mg.Spec.InitProvider.ConnectionIDSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionID") + } + mg.Spec.InitProvider.ConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DxGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DxGatewayIDRef, + Selector: mg.Spec.InitProvider.DxGatewayIDSelector, + To: reference.To{ + List: &GatewayList{}, + Managed: &Gateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DxGatewayID") + } + mg.Spec.InitProvider.DxGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DxGatewayIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go index 3ca5d8a5f0..9ce9c2a6de 100755 --- a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go @@ -31,6 +31,18 @@ type HostedPrivateVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=Connection + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` diff --git a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterfaceaccepter_types.go b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterfaceaccepter_types.go index f87ec567cc..4eebd6b60e 100755 --- a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterfaceaccepter_types.go +++ b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterfaceaccepter_types.go @@ -25,6 +25,31 @@ type HostedPrivateVirtualInterfaceAccepterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the virtual private gateway to which to connect the virtual interface. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPNGatewayID *string `json:"vpnGatewayId,omitempty" tf:"vpn_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDRef *v1.Reference `json:"vpnGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDSelector *v1.Selector `json:"vpnGatewayIdSelector,omitempty" tf:"-"` + + // The ID of the Direct Connect virtual interface to accept. + // +crossplane:generate:reference:type=HostedPrivateVirtualInterface + VirtualInterfaceID *string `json:"virtualInterfaceId,omitempty" tf:"virtual_interface_id,omitempty"` + + // Reference to a HostedPrivateVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDRef *v1.Reference `json:"virtualInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a HostedPrivateVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDSelector *v1.Selector `json:"virtualInterfaceIdSelector,omitempty" tf:"-"` } type HostedPrivateVirtualInterfaceAccepterObservation struct { diff --git a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go index 2e675982bf..b98b3e31af 100755 --- a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go @@ -31,6 +31,18 @@ type HostedPublicVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=Connection + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` diff --git a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterfaceaccepter_types.go b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterfaceaccepter_types.go index 4567080526..ff236522ea 100755 --- a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterfaceaccepter_types.go +++ b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterfaceaccepter_types.go @@ -22,6 +22,18 @@ type HostedPublicVirtualInterfaceAccepterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the Direct Connect virtual interface to accept. + // +crossplane:generate:reference:type=HostedPublicVirtualInterface + VirtualInterfaceID *string `json:"virtualInterfaceId,omitempty" tf:"virtual_interface_id,omitempty"` + + // Reference to a HostedPublicVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDRef *v1.Reference `json:"virtualInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a HostedPublicVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDSelector *v1.Selector `json:"virtualInterfaceIdSelector,omitempty" tf:"-"` } type HostedPublicVirtualInterfaceAccepterObservation struct { diff --git a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go index e909f9440d..b1b6bc22b0 100755 --- a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go @@ -31,6 +31,18 @@ type HostedTransitVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=Connection + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` diff --git a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterfaceaccepter_types.go b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterfaceaccepter_types.go index 71968365f0..79fd8a5853 100755 --- a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterfaceaccepter_types.go +++ b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterfaceaccepter_types.go @@ -19,9 +19,34 @@ import ( type HostedTransitVirtualInterfaceAccepterInitParameters struct { + // The ID of the Direct Connect gateway to which to connect the virtual interface. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DxGatewayID *string `json:"dxGatewayId,omitempty" tf:"dx_gateway_id,omitempty"` + + // Reference to a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDRef *v1.Reference `json:"dxGatewayIdRef,omitempty" tf:"-"` + + // Selector for a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDSelector *v1.Selector `json:"dxGatewayIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the Direct Connect virtual interface to accept. + // +crossplane:generate:reference:type=HostedTransitVirtualInterface + VirtualInterfaceID *string `json:"virtualInterfaceId,omitempty" tf:"virtual_interface_id,omitempty"` + + // Reference to a HostedTransitVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDRef *v1.Reference `json:"virtualInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a HostedTransitVirtualInterface to populate virtualInterfaceId. + // +kubebuilder:validation:Optional + VirtualInterfaceIDSelector *v1.Selector `json:"virtualInterfaceIdSelector,omitempty" tf:"-"` } type HostedTransitVirtualInterfaceAccepterObservation struct { diff --git a/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go b/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go index 8cd59c04f0..f4d9ce6ed2 100755 --- a/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go @@ -31,6 +31,18 @@ type PrivateVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=Connection + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` @@ -51,6 +63,18 @@ type PrivateVirtualInterfaceInitParameters struct { // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // The ID of the virtual private gateway to which to connect the virtual interface. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + VPNGatewayID *string `json:"vpnGatewayId,omitempty" tf:"vpn_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDRef *v1.Reference `json:"vpnGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDSelector *v1.Selector `json:"vpnGatewayIdSelector,omitempty" tf:"-"` + // The VLAN ID. Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go index f84dca9ab2..f939fc7359 100755 --- a/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go @@ -31,6 +31,18 @@ type PublicVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=Connection + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` diff --git a/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go index e6428446c9..3c28c9e49d 100755 --- a/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go @@ -31,9 +31,35 @@ type TransitVirtualInterfaceInitParameters struct { // The authentication key for BGP configuration. BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"` + // The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Connection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` + + // Reference to a Connection in directconnect to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"` + + // Selector for a Connection in directconnect to populate connectionId. + // +kubebuilder:validation:Optional + ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"` + // The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"` + // The ID of the Direct Connect gateway to which to connect the virtual interface. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/directconnect/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DxGatewayID *string `json:"dxGatewayId,omitempty" tf:"dx_gateway_id,omitempty"` + + // Reference to a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDRef *v1.Reference `json:"dxGatewayIdRef,omitempty" tf:"-"` + + // Selector for a Gateway in directconnect to populate dxGatewayId. + // +kubebuilder:validation:Optional + DxGatewayIDSelector *v1.Selector `json:"dxGatewayIdSelector,omitempty" tf:"-"` + // The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. // The MTU of a virtual transit interface can be either 1500 or 8500 (jumbo frames). Default is 1500. Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` diff --git a/apis/dlm/v1beta1/zz_generated.deepcopy.go b/apis/dlm/v1beta1/zz_generated.deepcopy.go index 75e49a00f6..23a38f2cae 100644 --- a/apis/dlm/v1beta1/zz_generated.deepcopy.go +++ b/apis/dlm/v1beta1/zz_generated.deepcopy.go @@ -337,6 +337,21 @@ func (in *CrossRegionCopyParameters) DeepCopy() *CrossRegionCopyParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CrossRegionCopyRuleInitParameters) DeepCopyInto(out *CrossRegionCopyRuleInitParameters) { *out = *in + if in.CmkArn != nil { + in, out := &in.CmkArn, &out.CmkArn + *out = new(string) + **out = **in + } + if in.CmkArnRef != nil { + in, out := &in.CmkArnRef, &out.CmkArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CmkArnSelector != nil { + in, out := &in.CmkArnSelector, &out.CmkArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CopyTags != nil { in, out := &in.CopyTags, &out.CopyTags *out = new(bool) @@ -950,6 +965,21 @@ func (in *LifecyclePolicyInitParameters) DeepCopyInto(out *LifecyclePolicyInitPa *out = new(string) **out = **in } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PolicyDetails != nil { in, out := &in.PolicyDetails, &out.PolicyDetails *out = make([]PolicyDetailsInitParameters, len(*in)) diff --git a/apis/dlm/v1beta1/zz_generated.resolvers.go b/apis/dlm/v1beta1/zz_generated.resolvers.go index 25142bfbf6..6fb7af7938 100644 --- a/apis/dlm/v1beta1/zz_generated.resolvers.go +++ b/apis/dlm/v1beta1/zz_generated.resolvers.go @@ -61,6 +61,44 @@ func (mg *LifecyclePolicy) ResolveReferences(ctx context.Context, c client.Reade } } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExecutionRoleArn") + } + mg.Spec.InitProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.PolicyDetails); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.PolicyDetails[i3].Schedule); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArnRef, + Selector: mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArn") + } + mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyDetails[i3].Schedule[i4].CrossRegionCopyRule[i5].CmkArnRef = rsp.ResolvedReference + + } + } + } return nil } diff --git a/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go b/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go index 16717c18d1..cb4f6905d5 100755 --- a/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go +++ b/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go @@ -146,6 +146,19 @@ type CrossRegionCopyParameters struct { type CrossRegionCopyRuleInitParameters struct { + // The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"` + + // Reference to a Key in kms to populate cmkArn. + // +kubebuilder:validation:Optional + CmkArnRef *v1.Reference `json:"cmkArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate cmkArn. + // +kubebuilder:validation:Optional + CmkArnSelector *v1.Selector `json:"cmkArnSelector,omitempty" tf:"-"` + // Copy all user-defined tags on a source volume to snapshots of the volume created by this policy. CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"` @@ -393,6 +406,19 @@ type LifecyclePolicyInitParameters struct { // A description for the DLM lifecycle policy. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ARN of an IAM role that is able to be assumed by the DLM service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"` + // See the policy_details configuration block. Max of 1. PolicyDetails []PolicyDetailsInitParameters `json:"policyDetails,omitempty" tf:"policy_details,omitempty"` diff --git a/apis/dms/v1beta1/zz_endpoint_types.go b/apis/dms/v1beta1/zz_endpoint_types.go index 9afb9b8b82..f335f0ed1f 100755 --- a/apis/dms/v1beta1/zz_endpoint_types.go +++ b/apis/dms/v1beta1/zz_endpoint_types.go @@ -96,6 +96,19 @@ type EndpointInitParameters struct { // Additional attributes associated with the connection. For available attributes for a source Endpoint, see Sources for data migration. For available attributes for a target Endpoint, see Targets for data migration. ExtraConnectionAttributes *string `json:"extraConnectionAttributes,omitempty" tf:"extra_connection_attributes,omitempty"` + // ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. To encrypt an S3 target with a KMS Key, use the parameter s3_settings.server_side_encryption_kms_key_id. When engine_name is redshift, kms_key_arn is the KMS Key for the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id encrypts the S3 intermediate storage. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Configuration block for Kafka settings. See below. KafkaSettings []KafkaSettingsInitParameters `json:"kafkaSettings,omitempty" tf:"kafka_settings,omitempty"` @@ -126,12 +139,38 @@ type EndpointInitParameters struct { // SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` + // ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in SecretsManagerSecret. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn,omitempty" tf:"secrets_manager_access_role_arn,omitempty"` + + // Reference to a Role in iam to populate secretsManagerAccessRoleArn. + // +kubebuilder:validation:Optional + SecretsManagerAccessRoleArnRef *v1.Reference `json:"secretsManagerAccessRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate secretsManagerAccessRoleArn. + // +kubebuilder:validation:Optional + SecretsManagerAccessRoleArnSelector *v1.Selector `json:"secretsManagerAccessRoleArnSelector,omitempty" tf:"-"` + // Full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the endpoint connection details. Supported only when engine_name is aurora, aurora-postgresql, mariadb, mongodb, mysql, oracle, postgres, redshift, or sqlserver. SecretsManagerArn *string `json:"secretsManagerArn,omitempty" tf:"secrets_manager_arn,omitempty"` // Host name of the server. ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` + // ARN used by the service access IAM role for dynamodb endpoints. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceAccessRole *string `json:"serviceAccessRole,omitempty" tf:"service_access_role,omitempty"` + + // Reference to a Role in iam to populate serviceAccessRole. + // +kubebuilder:validation:Optional + ServiceAccessRoleRef *v1.Reference `json:"serviceAccessRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceAccessRole. + // +kubebuilder:validation:Optional + ServiceAccessRoleSelector *v1.Selector `json:"serviceAccessRoleSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/dms/v1beta1/zz_eventsubscription_types.go b/apis/dms/v1beta1/zz_eventsubscription_types.go index b726583835..7ee3cb2bc1 100755 --- a/apis/dms/v1beta1/zz_eventsubscription_types.go +++ b/apis/dms/v1beta1/zz_eventsubscription_types.go @@ -26,6 +26,19 @@ type EventSubscriptionInitParameters struct { // +listType=set EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"` + // SNS topic arn to send events on. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` + // Ids of sources to listen to. // +listType=set SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"` diff --git a/apis/dms/v1beta1/zz_generated.deepcopy.go b/apis/dms/v1beta1/zz_generated.deepcopy.go index 7a02963112..2f34254465 100644 --- a/apis/dms/v1beta1/zz_generated.deepcopy.go +++ b/apis/dms/v1beta1/zz_generated.deepcopy.go @@ -423,6 +423,21 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.KafkaSettings != nil { in, out := &in.KafkaSettings, &out.KafkaSettings *out = make([]KafkaSettingsInitParameters, len(*in)) @@ -487,6 +502,21 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { *out = new(string) **out = **in } + if in.SecretsManagerAccessRoleArn != nil { + in, out := &in.SecretsManagerAccessRoleArn, &out.SecretsManagerAccessRoleArn + *out = new(string) + **out = **in + } + if in.SecretsManagerAccessRoleArnRef != nil { + in, out := &in.SecretsManagerAccessRoleArnRef, &out.SecretsManagerAccessRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretsManagerAccessRoleArnSelector != nil { + in, out := &in.SecretsManagerAccessRoleArnSelector, &out.SecretsManagerAccessRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecretsManagerArn != nil { in, out := &in.SecretsManagerArn, &out.SecretsManagerArn *out = new(string) @@ -497,6 +527,21 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { *out = new(string) **out = **in } + if in.ServiceAccessRole != nil { + in, out := &in.ServiceAccessRole, &out.ServiceAccessRole + *out = new(string) + **out = **in + } + if in.ServiceAccessRoleRef != nil { + in, out := &in.ServiceAccessRoleRef, &out.ServiceAccessRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceAccessRoleSelector != nil { + in, out := &in.ServiceAccessRoleSelector, &out.ServiceAccessRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1023,6 +1068,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn } } } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceIds != nil { in, out := &in.SourceIds, &out.SourceIds *out = make([]*string, len(*in)) @@ -2526,6 +2586,21 @@ func (in *ReplicationInstanceInitParameters) DeepCopyInto(out *ReplicationInstan *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MultiAz != nil { in, out := &in.MultiAz, &out.MultiAz *out = new(bool) @@ -2551,6 +2626,21 @@ func (in *ReplicationInstanceInitParameters) DeepCopyInto(out *ReplicationInstan *out = new(string) **out = **in } + if in.ReplicationSubnetGroupID != nil { + in, out := &in.ReplicationSubnetGroupID, &out.ReplicationSubnetGroupID + *out = new(string) + **out = **in + } + if in.ReplicationSubnetGroupIDRef != nil { + in, out := &in.ReplicationSubnetGroupIDRef, &out.ReplicationSubnetGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReplicationSubnetGroupIDSelector != nil { + in, out := &in.ReplicationSubnetGroupIDSelector, &out.ReplicationSubnetGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2567,6 +2657,29 @@ func (in *ReplicationInstanceInitParameters) DeepCopyInto(out *ReplicationInstan (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationInstanceInitParameters. @@ -2980,6 +3093,29 @@ func (in *ReplicationSubnetGroupInitParameters) DeepCopyInto(out *ReplicationSub *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -3262,11 +3398,41 @@ func (in *ReplicationTaskInitParameters) DeepCopyInto(out *ReplicationTaskInitPa *out = new(string) **out = **in } + if in.ReplicationInstanceArn != nil { + in, out := &in.ReplicationInstanceArn, &out.ReplicationInstanceArn + *out = new(string) + **out = **in + } + if in.ReplicationInstanceArnRef != nil { + in, out := &in.ReplicationInstanceArnRef, &out.ReplicationInstanceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReplicationInstanceArnSelector != nil { + in, out := &in.ReplicationInstanceArnSelector, &out.ReplicationInstanceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ReplicationTaskSettings != nil { in, out := &in.ReplicationTaskSettings, &out.ReplicationTaskSettings *out = new(string) **out = **in } + if in.SourceEndpointArn != nil { + in, out := &in.SourceEndpointArn, &out.SourceEndpointArn + *out = new(string) + **out = **in + } + if in.SourceEndpointArnRef != nil { + in, out := &in.SourceEndpointArnRef, &out.SourceEndpointArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceEndpointArnSelector != nil { + in, out := &in.SourceEndpointArnSelector, &out.SourceEndpointArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StartReplicationTask != nil { in, out := &in.StartReplicationTask, &out.StartReplicationTask *out = new(bool) @@ -3293,6 +3459,21 @@ func (in *ReplicationTaskInitParameters) DeepCopyInto(out *ReplicationTaskInitPa (*out)[key] = outVal } } + if in.TargetEndpointArn != nil { + in, out := &in.TargetEndpointArn, &out.TargetEndpointArn + *out = new(string) + **out = **in + } + if in.TargetEndpointArnRef != nil { + in, out := &in.TargetEndpointArnRef, &out.TargetEndpointArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetEndpointArnSelector != nil { + in, out := &in.TargetEndpointArnSelector, &out.TargetEndpointArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationTaskInitParameters. @@ -3785,6 +3966,21 @@ func (in *S3EndpointInitParameters) DeepCopyInto(out *S3EndpointInitParameters) *out = new(bool) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MaxFileSize != nil { in, out := &in.MaxFileSize, &out.MaxFileSize *out = new(float64) @@ -3820,6 +4016,36 @@ func (in *S3EndpointInitParameters) DeepCopyInto(out *S3EndpointInitParameters) *out = new(string) **out = **in } + if in.ServerSideEncryptionKMSKeyID != nil { + in, out := &in.ServerSideEncryptionKMSKeyID, &out.ServerSideEncryptionKMSKeyID + *out = new(string) + **out = **in + } + if in.ServerSideEncryptionKMSKeyIDRef != nil { + in, out := &in.ServerSideEncryptionKMSKeyIDRef, &out.ServerSideEncryptionKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServerSideEncryptionKMSKeyIDSelector != nil { + in, out := &in.ServerSideEncryptionKMSKeyIDSelector, &out.ServerSideEncryptionKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServiceAccessRoleArn != nil { + in, out := &in.ServiceAccessRoleArn, &out.ServiceAccessRoleArn + *out = new(string) + **out = **in + } + if in.ServiceAccessRoleArnRef != nil { + in, out := &in.ServiceAccessRoleArnRef, &out.ServiceAccessRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceAccessRoleArnSelector != nil { + in, out := &in.ServiceAccessRoleArnSelector, &out.ServiceAccessRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/dms/v1beta1/zz_generated.resolvers.go b/apis/dms/v1beta1/zz_generated.resolvers.go index c0883cbed6..073ff75f32 100644 --- a/apis/dms/v1beta1/zz_generated.resolvers.go +++ b/apis/dms/v1beta1/zz_generated.resolvers.go @@ -73,6 +73,54 @@ func (mg *Endpoint) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.ServiceAccessRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceAccessRoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecretsManagerAccessRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SecretsManagerAccessRoleArnRef, + Selector: mg.Spec.InitProvider.SecretsManagerAccessRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecretsManagerAccessRoleArn") + } + mg.Spec.InitProvider.SecretsManagerAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecretsManagerAccessRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceAccessRole), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceAccessRoleRef, + Selector: mg.Spec.InitProvider.ServiceAccessRoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceAccessRole") + } + mg.Spec.InitProvider.ServiceAccessRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceAccessRoleRef = rsp.ResolvedReference + return nil } @@ -99,6 +147,22 @@ func (mg *EventSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + return nil } @@ -158,6 +222,54 @@ func (mg *ReplicationInstance) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReplicationSubnetGroupID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ReplicationSubnetGroupIDRef, + Selector: mg.Spec.InitProvider.ReplicationSubnetGroupIDSelector, + To: reference.To{ + List: &ReplicationSubnetGroupList{}, + Managed: &ReplicationSubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplicationSubnetGroupID") + } + mg.Spec.InitProvider.ReplicationSubnetGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReplicationSubnetGroupIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -184,6 +296,22 @@ func (mg *ReplicationSubnetGroup) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -242,6 +370,54 @@ func (mg *ReplicationTask) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.TargetEndpointArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetEndpointArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReplicationInstanceArn), + Extract: resource.ExtractParamPath("replication_instance_arn", true), + Reference: mg.Spec.InitProvider.ReplicationInstanceArnRef, + Selector: mg.Spec.InitProvider.ReplicationInstanceArnSelector, + To: reference.To{ + List: &ReplicationInstanceList{}, + Managed: &ReplicationInstance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplicationInstanceArn") + } + mg.Spec.InitProvider.ReplicationInstanceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReplicationInstanceArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceEndpointArn), + Extract: resource.ExtractParamPath("endpoint_arn", true), + Reference: mg.Spec.InitProvider.SourceEndpointArnRef, + Selector: mg.Spec.InitProvider.SourceEndpointArnSelector, + To: reference.To{ + List: &EndpointList{}, + Managed: &Endpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceEndpointArn") + } + mg.Spec.InitProvider.SourceEndpointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceEndpointArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetEndpointArn), + Extract: resource.ExtractParamPath("endpoint_arn", true), + Reference: mg.Spec.InitProvider.TargetEndpointArnRef, + Selector: mg.Spec.InitProvider.TargetEndpointArnSelector, + To: reference.To{ + List: &EndpointList{}, + Managed: &Endpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetEndpointArn") + } + mg.Spec.InitProvider.TargetEndpointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetEndpointArnRef = rsp.ResolvedReference + return nil } @@ -300,5 +476,53 @@ func (mg *S3Endpoint) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ServiceAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceAccessRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServerSideEncryptionKMSKeyID), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ServerSideEncryptionKMSKeyIDRef, + Selector: mg.Spec.InitProvider.ServerSideEncryptionKMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServerSideEncryptionKMSKeyID") + } + mg.Spec.InitProvider.ServerSideEncryptionKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServerSideEncryptionKMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceAccessRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceAccessRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceAccessRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceAccessRoleArn") + } + mg.Spec.InitProvider.ServiceAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceAccessRoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/dms/v1beta1/zz_replicationinstance_types.go b/apis/dms/v1beta1/zz_replicationinstance_types.go index b344137ecd..12ee86130f 100755 --- a/apis/dms/v1beta1/zz_replicationinstance_types.go +++ b/apis/dms/v1beta1/zz_replicationinstance_types.go @@ -37,6 +37,18 @@ type ReplicationInstanceInitParameters struct { // The engine version number of the replication instance. EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"` + // The Amazon Resource Name (ARN) for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Specifies if the replication instance is a multi-az deployment. You cannot set the availability_zone parameter if the multi_az parameter is set to true. MultiAz *bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"` @@ -52,9 +64,37 @@ type ReplicationInstanceInitParameters struct { // The compute and memory capacity of the replication instance as specified by the replication instance class. See AWS DMS User Guide for available instance sizes and advice on which one to choose. ReplicationInstanceClass *string `json:"replicationInstanceClass,omitempty" tf:"replication_instance_class,omitempty"` + // A subnet group to associate with the replication instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dms/v1beta1.ReplicationSubnetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ReplicationSubnetGroupID *string `json:"replicationSubnetGroupId,omitempty" tf:"replication_subnet_group_id,omitempty"` + + // Reference to a ReplicationSubnetGroup in dms to populate replicationSubnetGroupId. + // +kubebuilder:validation:Optional + ReplicationSubnetGroupIDRef *v1.Reference `json:"replicationSubnetGroupIdRef,omitempty" tf:"-"` + + // Selector for a ReplicationSubnetGroup in dms to populate replicationSubnetGroupId. + // +kubebuilder:validation:Optional + ReplicationSubnetGroupIDSelector *v1.Selector `json:"replicationSubnetGroupIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // A list of VPC security group IDs to be used with the replication instance. The VPC security groups must work with the VPC containing the replication instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type ReplicationInstanceObservation struct { diff --git a/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go b/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go index e2abd7b5c5..ab58603da2 100755 --- a/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go +++ b/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go @@ -22,6 +22,21 @@ type ReplicationSubnetGroupInitParameters struct { // Description for the subnet group. ReplicationSubnetGroupDescription *string `json:"replicationSubnetGroupDescription,omitempty" tf:"replication_subnet_group_description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // List of at least 2 EC2 subnet IDs for the subnet group. The subnets must cover at least 2 availability zones. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/dms/v1beta1/zz_replicationtask_types.go b/apis/dms/v1beta1/zz_replicationtask_types.go index 02e950150d..c5d3d851bf 100755 --- a/apis/dms/v1beta1/zz_replicationtask_types.go +++ b/apis/dms/v1beta1/zz_replicationtask_types.go @@ -28,9 +28,35 @@ type ReplicationTaskInitParameters struct { // The migration type. Can be one of full-load | cdc | full-load-and-cdc. MigrationType *string `json:"migrationType,omitempty" tf:"migration_type,omitempty"` + // The Amazon Resource Name (ARN) of the replication instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dms/v1beta1.ReplicationInstance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("replication_instance_arn",true) + ReplicationInstanceArn *string `json:"replicationInstanceArn,omitempty" tf:"replication_instance_arn,omitempty"` + + // Reference to a ReplicationInstance in dms to populate replicationInstanceArn. + // +kubebuilder:validation:Optional + ReplicationInstanceArnRef *v1.Reference `json:"replicationInstanceArnRef,omitempty" tf:"-"` + + // Selector for a ReplicationInstance in dms to populate replicationInstanceArn. + // +kubebuilder:validation:Optional + ReplicationInstanceArnSelector *v1.Selector `json:"replicationInstanceArnSelector,omitempty" tf:"-"` + // An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks. ReplicationTaskSettings *string `json:"replicationTaskSettings,omitempty" tf:"replication_task_settings,omitempty"` + // The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dms/v1beta1.Endpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("endpoint_arn",true) + SourceEndpointArn *string `json:"sourceEndpointArn,omitempty" tf:"source_endpoint_arn,omitempty"` + + // Reference to a Endpoint in dms to populate sourceEndpointArn. + // +kubebuilder:validation:Optional + SourceEndpointArnRef *v1.Reference `json:"sourceEndpointArnRef,omitempty" tf:"-"` + + // Selector for a Endpoint in dms to populate sourceEndpointArn. + // +kubebuilder:validation:Optional + SourceEndpointArnSelector *v1.Selector `json:"sourceEndpointArnSelector,omitempty" tf:"-"` + // Whether to run or stop the replication task. StartReplicationTask *bool `json:"startReplicationTask,omitempty" tf:"start_replication_task,omitempty"` @@ -40,6 +66,19 @@ type ReplicationTaskInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dms/v1beta1.Endpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("endpoint_arn",true) + TargetEndpointArn *string `json:"targetEndpointArn,omitempty" tf:"target_endpoint_arn,omitempty"` + + // Reference to a Endpoint in dms to populate targetEndpointArn. + // +kubebuilder:validation:Optional + TargetEndpointArnRef *v1.Reference `json:"targetEndpointArnRef,omitempty" tf:"-"` + + // Selector for a Endpoint in dms to populate targetEndpointArn. + // +kubebuilder:validation:Optional + TargetEndpointArnSelector *v1.Selector `json:"targetEndpointArnSelector,omitempty" tf:"-"` } type ReplicationTaskObservation struct { diff --git a/apis/dms/v1beta1/zz_s3endpoint_types.go b/apis/dms/v1beta1/zz_s3endpoint_types.go index 97bfc311b2..be25ad04df 100755 --- a/apis/dms/v1beta1/zz_s3endpoint_types.go +++ b/apis/dms/v1beta1/zz_s3endpoint_types.go @@ -118,6 +118,18 @@ type S3EndpointInitParameters struct { // Whether to enable a full load to write INSERT operations to the .csv output files only to indicate how the rows were added to the source database. Default is false. IncludeOpForFullLoad *bool `json:"includeOpForFullLoad,omitempty" tf:"include_op_for_full_load,omitempty"` + // ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load. Valid values are from 1 to 1048576. (AWS default is 1 GB, i.e., 1048576.) MaxFileSize *float64 `json:"maxFileSize,omitempty" tf:"max_file_size,omitempty"` @@ -139,6 +151,32 @@ type S3EndpointInitParameters struct { // SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full. (AWS default is none.) SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"` + // When encryption_mode is SSE_KMS, ARN for the AWS KMS key. (Ignored for source endpoints -- only SSE_S3 encryption_mode is valid.) + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ServerSideEncryptionKMSKeyID *string `json:"serverSideEncryptionKmsKeyId,omitempty" tf:"server_side_encryption_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate serverSideEncryptionKmsKeyId. + // +kubebuilder:validation:Optional + ServerSideEncryptionKMSKeyIDRef *v1.Reference `json:"serverSideEncryptionKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate serverSideEncryptionKmsKeyId. + // +kubebuilder:validation:Optional + ServerSideEncryptionKMSKeyIDSelector *v1.Selector `json:"serverSideEncryptionKmsKeyIdSelector,omitempty" tf:"-"` + + // ARN of the IAM role with permissions to the S3 Bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceAccessRoleArn. + // +kubebuilder:validation:Optional + ServiceAccessRoleArnRef *v1.Reference `json:"serviceAccessRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceAccessRoleArn. + // +kubebuilder:validation:Optional + ServiceAccessRoleArnSelector *v1.Selector `json:"serviceAccessRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/docdb/v1beta1/zz_cluster_types.go b/apis/docdb/v1beta1/zz_cluster_types.go index 0a616aa778..dd3471dfeb 100755 --- a/apis/docdb/v1beta1/zz_cluster_types.go +++ b/apis/docdb/v1beta1/zz_cluster_types.go @@ -62,6 +62,18 @@ type ClusterInitParameters struct { // The global cluster identifier specified on aws_docdb_global_cluster. GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"` + // The ARN for the KMS encryption key. When specifying kms_key_id, storage_encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Username for the master DB user. MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"` @@ -90,6 +102,22 @@ type ClusterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of VPC security groups to associate + // with the Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type ClusterObservation struct { diff --git a/apis/docdb/v1beta1/zz_clusterinstance_types.go b/apis/docdb/v1beta1/zz_clusterinstance_types.go index 9638da87dc..2503f0b7a6 100755 --- a/apis/docdb/v1beta1/zz_clusterinstance_types.go +++ b/apis/docdb/v1beta1/zz_clusterinstance_types.go @@ -32,6 +32,18 @@ type ClusterInstanceInitParameters struct { // The identifier of the CA certificate for the DB instance. CACertIdentifier *string `json:"caCertIdentifier,omitempty" tf:"ca_cert_identifier,omitempty"` + // The identifier of the aws_docdb_cluster in which to launch this instance. + // +crossplane:generate:reference:type=Cluster + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // – Copy all DB instance tags to snapshots. Default is false. CopyTagsToSnapshot *bool `json:"copyTagsToSnapshot,omitempty" tf:"copy_tags_to_snapshot,omitempty"` diff --git a/apis/docdb/v1beta1/zz_clustersnapshot_types.go b/apis/docdb/v1beta1/zz_clustersnapshot_types.go index e586086497..cfb87243f2 100755 --- a/apis/docdb/v1beta1/zz_clustersnapshot_types.go +++ b/apis/docdb/v1beta1/zz_clustersnapshot_types.go @@ -18,6 +18,19 @@ import ( ) type ClusterSnapshotInitParameters struct { + + // The DocumentDB Cluster Identifier from which to take the snapshot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/docdb/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"` + + // Reference to a Cluster in docdb to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierRef *v1.Reference `json:"dbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in docdb to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierSelector *v1.Selector `json:"dbClusterIdentifierSelector,omitempty" tf:"-"` } type ClusterSnapshotObservation struct { diff --git a/apis/docdb/v1beta1/zz_eventsubscription_types.go b/apis/docdb/v1beta1/zz_eventsubscription_types.go index 2c7bc6cfcc..1185d98005 100755 --- a/apis/docdb/v1beta1/zz_eventsubscription_types.go +++ b/apis/docdb/v1beta1/zz_eventsubscription_types.go @@ -26,6 +26,19 @@ type EventSubscriptionInitParameters struct { // +listType=set EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"` + // The Amazon Resource Name of the DocumentDB event notification subscription + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` + // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified. // +listType=set SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"` diff --git a/apis/docdb/v1beta1/zz_generated.deepcopy.go b/apis/docdb/v1beta1/zz_generated.deepcopy.go index 4bc4df01c2..38456fc375 100644 --- a/apis/docdb/v1beta1/zz_generated.deepcopy.go +++ b/apis/docdb/v1beta1/zz_generated.deepcopy.go @@ -115,6 +115,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MasterUsername != nil { in, out := &in.MasterUsername, &out.MasterUsername *out = new(string) @@ -171,6 +186,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitParameters. @@ -233,6 +271,21 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(string) **out = **in } + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CopyTagsToSnapshot != nil { in, out := &in.CopyTagsToSnapshot, &out.CopyTagsToSnapshot *out = new(bool) @@ -1374,6 +1427,21 @@ func (in *ClusterSnapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterSnapshotInitParameters) DeepCopyInto(out *ClusterSnapshotInitParameters) { *out = *in + if in.DBClusterIdentifier != nil { + in, out := &in.DBClusterIdentifier, &out.DBClusterIdentifier + *out = new(string) + **out = **in + } + if in.DBClusterIdentifierRef != nil { + in, out := &in.DBClusterIdentifierRef, &out.DBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBClusterIdentifierSelector != nil { + in, out := &in.DBClusterIdentifierSelector, &out.DBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSnapshotInitParameters. @@ -1544,7 +1612,7 @@ func (in *ClusterSnapshotSpec) DeepCopyInto(out *ClusterSnapshotSpec) { *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 ClusterSnapshotSpec. @@ -1655,6 +1723,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn } } } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceIds != nil { in, out := &in.SourceIds, &out.SourceIds *out = make([]*string, len(*in)) @@ -2003,6 +2086,21 @@ func (in *GlobalClusterInitParameters) DeepCopyInto(out *GlobalClusterInitParame *out = new(string) **out = **in } + if in.SourceDBClusterIdentifier != nil { + in, out := &in.SourceDBClusterIdentifier, &out.SourceDBClusterIdentifier + *out = new(string) + **out = **in + } + if in.SourceDBClusterIdentifierRef != nil { + in, out := &in.SourceDBClusterIdentifierRef, &out.SourceDBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceDBClusterIdentifierSelector != nil { + in, out := &in.SourceDBClusterIdentifierSelector, &out.SourceDBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageEncrypted != nil { in, out := &in.StorageEncrypted, &out.StorageEncrypted *out = new(bool) @@ -2409,6 +2507,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *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.SubnetIdsRefs != nil { + in, out := &in.SubnetIdsRefs, &out.SubnetIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIdsSelector != nil { + in, out := &in.SubnetIdsSelector, &out.SubnetIdsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/docdb/v1beta1/zz_generated.resolvers.go b/apis/docdb/v1beta1/zz_generated.resolvers.go index 9fe8105299..7255200970 100644 --- a/apis/docdb/v1beta1/zz_generated.resolvers.go +++ b/apis/docdb/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,38 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -82,6 +114,22 @@ func (mg *ClusterInstance) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -108,6 +156,22 @@ func (mg *ClusterSnapshot) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.DBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBClusterIdentifier") + } + mg.Spec.InitProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -134,6 +198,22 @@ func (mg *EventSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + return nil } @@ -160,6 +240,22 @@ func (mg *GlobalCluster) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceDBClusterIdentifier), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceDBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.SourceDBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceDBClusterIdentifier") + } + mg.Spec.InitProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -186,5 +282,21 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIdsRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIdsRefs, + Selector: mg.Spec.InitProvider.SubnetIdsSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIdsRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/docdb/v1beta1/zz_globalcluster_types.go b/apis/docdb/v1beta1/zz_globalcluster_types.go index 711e868a1f..381004df69 100755 --- a/apis/docdb/v1beta1/zz_globalcluster_types.go +++ b/apis/docdb/v1beta1/zz_globalcluster_types.go @@ -34,6 +34,19 @@ type GlobalClusterInitParameters struct { // The global cluster identifier. GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"` + // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/docdb/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"` + + // Reference to a Cluster in docdb to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierRef *v1.Reference `json:"sourceDbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in docdb to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierSelector *v1.Selector `json:"sourceDbClusterIdentifierSelector,omitempty" tf:"-"` + // Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified and encrypted. StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"` } diff --git a/apis/docdb/v1beta1/zz_subnetgroup_types.go b/apis/docdb/v1beta1/zz_subnetgroup_types.go index 2ae87814f4..adebf66178 100755 --- a/apis/docdb/v1beta1/zz_subnetgroup_types.go +++ b/apis/docdb/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,19 @@ type SubnetGroupInitParameters struct { // The description of the docDB subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // A list of VPC subnet IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ds/v1beta1/zz_directory_types.go b/apis/ds/v1beta1/zz_directory_types.go index 5edbd047ee..76cfd45ce7 100755 --- a/apis/ds/v1beta1/zz_directory_types.go +++ b/apis/ds/v1beta1/zz_directory_types.go @@ -25,6 +25,32 @@ type ConnectSettingsInitParameters struct { // The username corresponding to the password provided. CustomerUsername *string `json:"customerUsername,omitempty" tf:"customer_username,omitempty"` + + // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"` + + // The identifier of the VPC that the directory is in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type ConnectSettingsObservation struct { @@ -250,6 +276,32 @@ type DirectoryParameters struct { } type VPCSettingsInitParameters struct { + + // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"` + + // The identifier of the VPC that the directory is in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCSettingsObservation struct { diff --git a/apis/ds/v1beta1/zz_generated.deepcopy.go b/apis/ds/v1beta1/zz_generated.deepcopy.go index c6b4779eb9..93e1820797 100644 --- a/apis/ds/v1beta1/zz_generated.deepcopy.go +++ b/apis/ds/v1beta1/zz_generated.deepcopy.go @@ -244,6 +244,44 @@ func (in *ConnectSettingsInitParameters) DeepCopyInto(out *ConnectSettingsInitPa *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.SubnetIdsRefs != nil { + in, out := &in.SubnetIdsRefs, &out.SubnetIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIdsSelector != nil { + in, out := &in.SubnetIdsSelector, &out.SubnetIdsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 ConnectSettingsInitParameters. @@ -495,7 +533,9 @@ func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters) { if in.VPCSettings != nil { in, out := &in.VPCSettings, &out.VPCSettings *out = make([]VPCSettingsInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -834,6 +874,21 @@ func (in *SharedDirectory) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SharedDirectoryInitParameters) DeepCopyInto(out *SharedDirectoryInitParameters) { *out = *in + if in.DirectoryID != nil { + in, out := &in.DirectoryID, &out.DirectoryID + *out = new(string) + **out = **in + } + if in.DirectoryIDRef != nil { + in, out := &in.DirectoryIDRef, &out.DirectoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DirectoryIDSelector != nil { + in, out := &in.DirectoryIDSelector, &out.DirectoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Method != nil { in, out := &in.Method, &out.Method *out = new(string) @@ -1097,6 +1152,44 @@ func (in *TargetParameters) DeepCopy() *TargetParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCSettingsInitParameters) DeepCopyInto(out *VPCSettingsInitParameters) { *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.SubnetIdsRefs != nil { + in, out := &in.SubnetIdsRefs, &out.SubnetIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIdsSelector != nil { + in, out := &in.SubnetIdsSelector, &out.SubnetIdsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 VPCSettingsInitParameters. diff --git a/apis/ds/v1beta1/zz_generated.resolvers.go b/apis/ds/v1beta1/zz_generated.resolvers.go index c9fe8dafec..84103c0ae8 100644 --- a/apis/ds/v1beta1/zz_generated.resolvers.go +++ b/apis/ds/v1beta1/zz_generated.resolvers.go @@ -119,6 +119,78 @@ func (mg *Directory) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.VPCSettings[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCSettings[i3].VPCIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ConnectSettings); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.ConnectSettings[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.ConnectSettings[i3].SubnetIdsRefs, + Selector: mg.Spec.InitProvider.ConnectSettings[i3].SubnetIdsSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectSettings[i3].SubnetIds") + } + mg.Spec.InitProvider.ConnectSettings[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.ConnectSettings[i3].SubnetIdsRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ConnectSettings); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectSettings[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectSettings[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.ConnectSettings[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectSettings[i3].VPCID") + } + mg.Spec.InitProvider.ConnectSettings[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectSettings[i3].VPCIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCSettings); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSettings[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSettings[i3].SubnetIdsRefs, + Selector: mg.Spec.InitProvider.VPCSettings[i3].SubnetIdsSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSettings[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCSettings[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSettings[i3].SubnetIdsRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCSettings); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCSettings[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCSettings[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.VPCSettings[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSettings[i3].VPCID") + } + mg.Spec.InitProvider.VPCSettings[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCSettings[i3].VPCIDRef = rsp.ResolvedReference + } return nil @@ -147,5 +219,21 @@ func (mg *SharedDirectory) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DirectoryIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DirectoryID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DirectoryIDRef, + Selector: mg.Spec.InitProvider.DirectoryIDSelector, + To: reference.To{ + List: &DirectoryList{}, + Managed: &Directory{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DirectoryID") + } + mg.Spec.InitProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DirectoryIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/ds/v1beta1/zz_shareddirectory_types.go b/apis/ds/v1beta1/zz_shareddirectory_types.go index 4a1553e48c..510a81da41 100755 --- a/apis/ds/v1beta1/zz_shareddirectory_types.go +++ b/apis/ds/v1beta1/zz_shareddirectory_types.go @@ -19,6 +19,19 @@ import ( type SharedDirectoryInitParameters struct { + // Identifier of the Managed Microsoft AD directory that you want to share with other accounts. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta1.Directory + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"` + + // Reference to a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"` + + // Selector for a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,omitempty" tf:"-"` + // Method used when sharing a directory. Valid values are ORGANIZATIONS and HANDSHAKE. Default is HANDSHAKE. Method *string `json:"method,omitempty" tf:"method,omitempty"` diff --git a/apis/dynamodb/v1beta1/zz_contributorinsights_types.go b/apis/dynamodb/v1beta1/zz_contributorinsights_types.go index 6b1ce82b2f..c289a569a9 100755 --- a/apis/dynamodb/v1beta1/zz_contributorinsights_types.go +++ b/apis/dynamodb/v1beta1/zz_contributorinsights_types.go @@ -21,6 +21,18 @@ type ContributorInsightsInitParameters struct { // The global secondary index name IndexName *string `json:"indexName,omitempty" tf:"index_name,omitempty"` + + // The name of the table to enable contributor insights + // +crossplane:generate:reference:type=Table + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` + + // Reference to a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"` + + // Selector for a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"` } type ContributorInsightsObservation struct { diff --git a/apis/dynamodb/v1beta1/zz_generated.deepcopy.go b/apis/dynamodb/v1beta1/zz_generated.deepcopy.go index 2e87c0e4f1..739a69d8e2 100644 --- a/apis/dynamodb/v1beta1/zz_generated.deepcopy.go +++ b/apis/dynamodb/v1beta1/zz_generated.deepcopy.go @@ -123,6 +123,21 @@ func (in *ContributorInsightsInitParameters) DeepCopyInto(out *ContributorInsigh *out = new(string) **out = **in } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } + if in.TableNameRef != nil { + in, out := &in.TableNameRef, &out.TableNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TableNameSelector != nil { + in, out := &in.TableNameSelector, &out.TableNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContributorInsightsInitParameters. @@ -921,6 +936,36 @@ func (in *KinesisStreamingDestination) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisStreamingDestinationInitParameters) DeepCopyInto(out *KinesisStreamingDestinationInitParameters) { *out = *in + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } + if in.TableNameRef != nil { + in, out := &in.TableNameRef, &out.TableNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TableNameSelector != nil { + in, out := &in.TableNameSelector, &out.TableNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisStreamingDestinationInitParameters. @@ -1050,7 +1095,7 @@ func (in *KinesisStreamingDestinationSpec) DeepCopyInto(out *KinesisStreamingDes *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 KinesisStreamingDestinationSpec. @@ -1782,6 +1827,21 @@ func (in *TableItemInitParameters) DeepCopyInto(out *TableItemInitParameters) { *out = new(string) **out = **in } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } + if in.TableNameRef != nil { + in, out := &in.TableNameRef, &out.TableNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TableNameSelector != nil { + in, out := &in.TableNameSelector, &out.TableNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableItemInitParameters. @@ -2383,6 +2443,36 @@ func (in *TableReplicaInitParameters) DeepCopy() *TableReplicaInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TableReplicaInitParameters_2) DeepCopyInto(out *TableReplicaInitParameters_2) { *out = *in + if in.GlobalTableArn != nil { + in, out := &in.GlobalTableArn, &out.GlobalTableArn + *out = new(string) + **out = **in + } + if in.GlobalTableArnRef != nil { + in, out := &in.GlobalTableArnRef, &out.GlobalTableArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalTableArnSelector != nil { + in, out := &in.GlobalTableArnSelector, &out.GlobalTableArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PointInTimeRecovery != nil { in, out := &in.PointInTimeRecovery, &out.PointInTimeRecovery *out = new(bool) diff --git a/apis/dynamodb/v1beta1/zz_generated.resolvers.go b/apis/dynamodb/v1beta1/zz_generated.resolvers.go index 852709f6e0..c36b4bbda3 100644 --- a/apis/dynamodb/v1beta1/zz_generated.resolvers.go +++ b/apis/dynamodb/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,22 @@ func (mg *ContributorInsights) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TableNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TableName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TableNameRef, + Selector: mg.Spec.InitProvider.TableNameSelector, + To: reference.To{ + List: &TableList{}, + Managed: &Table{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TableName") + } + mg.Spec.InitProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TableNameRef = rsp.ResolvedReference + return nil } @@ -81,6 +97,38 @@ func (mg *KinesisStreamingDestination) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TableNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StreamArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.StreamArnRef, + Selector: mg.Spec.InitProvider.StreamArnSelector, + To: reference.To{ + List: &v1beta1.StreamList{}, + Managed: &v1beta1.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StreamArn") + } + mg.Spec.InitProvider.StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StreamArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TableName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TableNameRef, + Selector: mg.Spec.InitProvider.TableNameSelector, + To: reference.To{ + List: &TableList{}, + Managed: &Table{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TableName") + } + mg.Spec.InitProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TableNameRef = rsp.ResolvedReference + return nil } @@ -107,6 +155,22 @@ func (mg *TableItem) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TableNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TableName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TableNameRef, + Selector: mg.Spec.InitProvider.TableNameSelector, + To: reference.To{ + List: &TableList{}, + Managed: &Table{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TableName") + } + mg.Spec.InitProvider.TableName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TableNameRef = rsp.ResolvedReference + return nil } @@ -149,5 +213,37 @@ func (mg *TableReplica) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalTableArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.GlobalTableArnRef, + Selector: mg.Spec.InitProvider.GlobalTableArnSelector, + To: reference.To{ + List: &TableList{}, + Managed: &Table{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalTableArn") + } + mg.Spec.InitProvider.GlobalTableArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalTableArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/dynamodb/v1beta1/zz_kinesisstreamingdestination_types.go b/apis/dynamodb/v1beta1/zz_kinesisstreamingdestination_types.go index c94f693c39..bb2b9681df 100755 --- a/apis/dynamodb/v1beta1/zz_kinesisstreamingdestination_types.go +++ b/apis/dynamodb/v1beta1/zz_kinesisstreamingdestination_types.go @@ -18,6 +18,32 @@ import ( ) type KinesisStreamingDestinationInitParameters struct { + + // The ARN for a Kinesis data stream. This must exist in the same account and region as the DynamoDB table. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` + + // The name of the DynamoDB table. There + // can only be one Kinesis streaming destination for a given DynamoDB table. + // +crossplane:generate:reference:type=Table + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` + + // Reference to a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"` + + // Selector for a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"` } type KinesisStreamingDestinationObservation struct { diff --git a/apis/dynamodb/v1beta1/zz_tableitem_types.go b/apis/dynamodb/v1beta1/zz_tableitem_types.go index 9b267e6d9a..0659736790 100755 --- a/apis/dynamodb/v1beta1/zz_tableitem_types.go +++ b/apis/dynamodb/v1beta1/zz_tableitem_types.go @@ -27,6 +27,18 @@ type TableItemInitParameters struct { // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey *string `json:"rangeKey,omitempty" tf:"range_key,omitempty"` + + // Name of the table to contain the item. + // +crossplane:generate:reference:type=Table + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` + + // Reference to a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"` + + // Selector for a Table to populate tableName. + // +kubebuilder:validation:Optional + TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"` } type TableItemObservation struct { diff --git a/apis/dynamodb/v1beta1/zz_tablereplica_types.go b/apis/dynamodb/v1beta1/zz_tablereplica_types.go index 1d7896037e..44cf2cc9e2 100755 --- a/apis/dynamodb/v1beta1/zz_tablereplica_types.go +++ b/apis/dynamodb/v1beta1/zz_tablereplica_types.go @@ -19,6 +19,31 @@ import ( type TableReplicaInitParameters_2 struct { + // ARN of the main or global table which this resource will replicate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/dynamodb/v1beta1.Table + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + GlobalTableArn *string `json:"globalTableArn,omitempty" tf:"global_table_arn,omitempty"` + + // Reference to a Table in dynamodb to populate globalTableArn. + // +kubebuilder:validation:Optional + GlobalTableArnRef *v1.Reference `json:"globalTableArnRef,omitempty" tf:"-"` + + // Selector for a Table in dynamodb to populate globalTableArn. + // +kubebuilder:validation:Optional + GlobalTableArnSelector *v1.Selector `json:"globalTableArnSelector,omitempty" tf:"-"` + + // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, alias/aws/dynamodb. Note: This attribute will not be populated with the ARN of default keys. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Whether to enable Point In Time Recovery for the replica. Default is false. PointInTimeRecovery *bool `json:"pointInTimeRecovery,omitempty" tf:"point_in_time_recovery,omitempty"` diff --git a/apis/ec2/v1beta1/zz_ami_types.go b/apis/ec2/v1beta1/zz_ami_types.go index c224e18d54..6b5dc010d8 100755 --- a/apis/ec2/v1beta1/zz_ami_types.go +++ b/apis/ec2/v1beta1/zz_ami_types.go @@ -286,6 +286,20 @@ type EBSBlockDeviceInitParameters struct { // ARN of the Outpost on which the snapshot is stored. OutpostArn *string `json:"outpostArn,omitempty" tf:"outpost_arn,omitempty"` + // ID of an EBS snapshot that will be used to initialize the created + // EBS volumes. If set, the volume_size attribute must be at least as large as the referenced + // snapshot. + // +crossplane:generate:reference:type=EBSSnapshot + SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` + + // Reference to a EBSSnapshot to populate snapshotId. + // +kubebuilder:validation:Optional + SnapshotIDRef *v1.Reference `json:"snapshotIdRef,omitempty" tf:"-"` + + // Selector for a EBSSnapshot to populate snapshotId. + // +kubebuilder:validation:Optional + SnapshotIDSelector *v1.Selector `json:"snapshotIdSelector,omitempty" tf:"-"` + // Throughput that the EBS volume supports, in MiB/s. Only valid for volume_type of gp3. Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"` diff --git a/apis/ec2/v1beta1/zz_amicopy_types.go b/apis/ec2/v1beta1/zz_amicopy_types.go index c0eaf79704..39d217f870 100755 --- a/apis/ec2/v1beta1/zz_amicopy_types.go +++ b/apis/ec2/v1beta1/zz_amicopy_types.go @@ -78,9 +78,34 @@ type AMICopyInitParameters struct { EphemeralBlockDevice []AMICopyEphemeralBlockDeviceInitParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"` + // Full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Region-unique name for the AMI. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // Id of the AMI to copy. This id must be valid in the region + // given by source_ami_region. + // +crossplane:generate:reference:type=AMI + SourceAMIID *string `json:"sourceAmiId,omitempty" tf:"source_ami_id,omitempty"` + + // Reference to a AMI to populate sourceAmiId. + // +kubebuilder:validation:Optional + SourceAMIIDRef *v1.Reference `json:"sourceAmiIdRef,omitempty" tf:"-"` + + // Selector for a AMI to populate sourceAmiId. + // +kubebuilder:validation:Optional + SourceAMIIDSelector *v1.Selector `json:"sourceAmiIdSelector,omitempty" tf:"-"` + // Region from which the AMI will be copied. This may be the // same as the AWS provider region in order to create a copy within the same region. SourceAMIRegion *string `json:"sourceAmiRegion,omitempty" tf:"source_ami_region,omitempty"` diff --git a/apis/ec2/v1beta1/zz_amilaunchpermission_types.go b/apis/ec2/v1beta1/zz_amilaunchpermission_types.go index 9600ca9482..444ea9a4ba 100755 --- a/apis/ec2/v1beta1/zz_amilaunchpermission_types.go +++ b/apis/ec2/v1beta1/zz_amilaunchpermission_types.go @@ -25,6 +25,18 @@ type AMILaunchPermissionInitParameters struct { // Name of the group for the launch permission. Valid values: "all". Group *string `json:"group,omitempty" tf:"group,omitempty"` + // ID of the AMI. + // +crossplane:generate:reference:type=AMI + ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"` + + // Reference to a AMI to populate imageId. + // +kubebuilder:validation:Optional + ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"` + + // Selector for a AMI to populate imageId. + // +kubebuilder:validation:Optional + ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"` + // ARN of an organization for the launch permission. OrganizationArn *string `json:"organizationArn,omitempty" tf:"organization_arn,omitempty"` diff --git a/apis/ec2/v1beta1/zz_carriergateway_types.go b/apis/ec2/v1beta1/zz_carriergateway_types.go index d4b3734c57..fe4b8bf086 100755 --- a/apis/ec2/v1beta1/zz_carriergateway_types.go +++ b/apis/ec2/v1beta1/zz_carriergateway_types.go @@ -22,6 +22,18 @@ type CarrierGatewayInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the VPC to associate with the carrier gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type CarrierGatewayObservation struct { diff --git a/apis/ec2/v1beta1/zz_defaultnetworkacl_types.go b/apis/ec2/v1beta1/zz_defaultnetworkacl_types.go index 18ab73b629..ff9874cb8c 100755 --- a/apis/ec2/v1beta1/zz_defaultnetworkacl_types.go +++ b/apis/ec2/v1beta1/zz_defaultnetworkacl_types.go @@ -19,12 +19,40 @@ import ( type DefaultNetworkACLInitParameters struct { + // Network ACL ID to manage. This attribute is exported from aws_vpc, or manually found via the AWS Console. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("default_network_acl_id",true) + DefaultNetworkACLID *string `json:"defaultNetworkAclId,omitempty" tf:"default_network_acl_id,omitempty"` + + // Reference to a VPC in ec2 to populate defaultNetworkAclId. + // +kubebuilder:validation:Optional + DefaultNetworkACLIDRef *v1.Reference `json:"defaultNetworkAclIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate defaultNetworkAclId. + // +kubebuilder:validation:Optional + DefaultNetworkACLIDSelector *v1.Selector `json:"defaultNetworkAclIdSelector,omitempty" tf:"-"` + // Configuration block for an egress rule. Detailed below. Egress []EgressInitParameters `json:"egress,omitempty" tf:"egress,omitempty"` // Configuration block for an ingress rule. Detailed below. Ingress []IngressInitParameters `json:"ingress,omitempty" tf:"ingress,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // List of Subnet IDs to apply the ACL to. See the notes above on Managing Subnets in the Default Network ACL + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -221,6 +249,19 @@ type IngressInitParameters struct { // The action to take. Action *string `json:"action,omitempty" tf:"action,omitempty"` + // The CIDR block to match. This must be a valid network mask. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.DefaultVPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cidr_block",true) + CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"` + + // Reference to a DefaultVPC in ec2 to populate cidrBlock. + // +kubebuilder:validation:Optional + CidrBlockRef *v1.Reference `json:"cidrBlockRef,omitempty" tf:"-"` + + // Selector for a DefaultVPC in ec2 to populate cidrBlock. + // +kubebuilder:validation:Optional + CidrBlockSelector *v1.Selector `json:"cidrBlockSelector,omitempty" tf:"-"` + // The from port to match. FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"` diff --git a/apis/ec2/v1beta1/zz_defaultroutetable_types.go b/apis/ec2/v1beta1/zz_defaultroutetable_types.go index a97dd8bbcf..849772479a 100755 --- a/apis/ec2/v1beta1/zz_defaultroutetable_types.go +++ b/apis/ec2/v1beta1/zz_defaultroutetable_types.go @@ -19,6 +19,19 @@ import ( type DefaultRouteTableInitParameters struct { + // ID of the default route table. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("default_route_table_id",true) + DefaultRouteTableID *string `json:"defaultRouteTableId,omitempty" tf:"default_route_table_id,omitempty"` + + // Reference to a VPC in ec2 to populate defaultRouteTableId. + // +kubebuilder:validation:Optional + DefaultRouteTableIDRef *v1.Reference `json:"defaultRouteTableIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate defaultRouteTableId. + // +kubebuilder:validation:Optional + DefaultRouteTableIDSelector *v1.Selector `json:"defaultRouteTableIdSelector,omitempty" tf:"-"` + // List of virtual gateways for propagation. // +listType=set PropagatingVgws []*string `json:"propagatingVgws,omitempty" tf:"propagating_vgws,omitempty"` @@ -111,6 +124,32 @@ type RouteInitParameters struct { // The ID of a managed prefix list destination of the route. DestinationPrefixListID *string `json:"destinationPrefixListId,omitempty" tf:"destination_prefix_list_id"` + // Identifier of a VPC Egress Only Internet Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EgressOnlyInternetGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + EgressOnlyGatewayID *string `json:"egressOnlyGatewayId,omitempty" tf:"egress_only_gateway_id"` + + // Reference to a EgressOnlyInternetGateway in ec2 to populate egressOnlyGatewayId. + // +kubebuilder:validation:Optional + EgressOnlyGatewayIDRef *v1.Reference `json:"egressOnlyGatewayIdRef,omitempty" tf:"-"` + + // Selector for a EgressOnlyInternetGateway in ec2 to populate egressOnlyGatewayId. + // +kubebuilder:validation:Optional + EgressOnlyGatewayIDSelector *v1.Selector `json:"egressOnlyGatewayIdSelector,omitempty" tf:"-"` + + // Identifier of a VPC internet gateway or a virtual private gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.InternetGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id"` + + // Reference to a InternetGateway in ec2 to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"` + + // Selector for a InternetGateway in ec2 to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"` + // The Ipv6 CIDR block of the route IPv6CidrBlock *string `json:"ipv6CidrBlock,omitempty" tf:"ipv6_cidr_block"` diff --git a/apis/ec2/v1beta1/zz_defaultsecuritygroup_types.go b/apis/ec2/v1beta1/zz_defaultsecuritygroup_types.go index 373496f576..ce3c1c371d 100755 --- a/apis/ec2/v1beta1/zz_defaultsecuritygroup_types.go +++ b/apis/ec2/v1beta1/zz_defaultsecuritygroup_types.go @@ -234,6 +234,18 @@ type DefaultSecurityGroupInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // VPC ID. Note that changing the It will be left in its current state. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type DefaultSecurityGroupObservation struct { diff --git a/apis/ec2/v1beta1/zz_ebsdefaultkmskey_types.go b/apis/ec2/v1beta1/zz_ebsdefaultkmskey_types.go index 6f33152378..fd43e22a99 100755 --- a/apis/ec2/v1beta1/zz_ebsdefaultkmskey_types.go +++ b/apis/ec2/v1beta1/zz_ebsdefaultkmskey_types.go @@ -18,6 +18,19 @@ import ( ) type EBSDefaultKMSKeyInitParameters struct { + + // The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use to encrypt the EBS volume. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KeyArn *string `json:"keyArn,omitempty" tf:"key_arn,omitempty"` + + // Reference to a Key in kms to populate keyArn. + // +kubebuilder:validation:Optional + KeyArnRef *v1.Reference `json:"keyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate keyArn. + // +kubebuilder:validation:Optional + KeyArnSelector *v1.Selector `json:"keyArnSelector,omitempty" tf:"-"` } type EBSDefaultKMSKeyObservation struct { diff --git a/apis/ec2/v1beta1/zz_ebssnapshot_types.go b/apis/ec2/v1beta1/zz_ebssnapshot_types.go index d37034b96f..4672e24870 100755 --- a/apis/ec2/v1beta1/zz_ebssnapshot_types.go +++ b/apis/ec2/v1beta1/zz_ebssnapshot_types.go @@ -37,6 +37,19 @@ type EBSSnapshotInitParameters struct { // Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period. TemporaryRestoreDays *float64 `json:"temporaryRestoreDays,omitempty" tf:"temporary_restore_days,omitempty"` + + // The Volume ID of which to make a snapshot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EBSVolume + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"` + + // Reference to a EBSVolume in ec2 to populate volumeId. + // +kubebuilder:validation:Optional + VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"` + + // Selector for a EBSVolume in ec2 to populate volumeId. + // +kubebuilder:validation:Optional + VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"` } type EBSSnapshotObservation struct { diff --git a/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go b/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go index 3993e6c2eb..d27928e0f3 100755 --- a/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go +++ b/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go @@ -25,12 +25,37 @@ type EBSSnapshotCopyInitParameters struct { // Whether the snapshot is encrypted. Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + // The ARN for the KMS encryption key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Indicates whether to permanently restore an archived snapshot. PermanentRestore *bool `json:"permanentRestore,omitempty" tf:"permanent_restore,omitempty"` // The region of the source snapshot. SourceRegion *string `json:"sourceRegion,omitempty" tf:"source_region,omitempty"` + // The ARN for the snapshot to be copied. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EBSSnapshot + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SourceSnapshotID *string `json:"sourceSnapshotId,omitempty" tf:"source_snapshot_id,omitempty"` + + // Reference to a EBSSnapshot in ec2 to populate sourceSnapshotId. + // +kubebuilder:validation:Optional + SourceSnapshotIDRef *v1.Reference `json:"sourceSnapshotIdRef,omitempty" tf:"-"` + + // Selector for a EBSSnapshot in ec2 to populate sourceSnapshotId. + // +kubebuilder:validation:Optional + SourceSnapshotIDSelector *v1.Selector `json:"sourceSnapshotIdSelector,omitempty" tf:"-"` + // The name of the storage tier. Valid values are archive and standard. Default value is standard. StorageTier *string `json:"storageTier,omitempty" tf:"storage_tier,omitempty"` diff --git a/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go b/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go index 62c3fa0cae..d2860f9adb 100755 --- a/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go +++ b/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go @@ -129,6 +129,18 @@ type EBSSnapshotImportInitParameters struct { // Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId. Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + // An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Indicates whether to permanently restore an archived snapshot. PermanentRestore *bool `json:"permanentRestore,omitempty" tf:"permanent_restore,omitempty"` diff --git a/apis/ec2/v1beta1/zz_ebsvolume_types.go b/apis/ec2/v1beta1/zz_ebsvolume_types.go index d540e84548..e2ab7e0608 100755 --- a/apis/ec2/v1beta1/zz_ebsvolume_types.go +++ b/apis/ec2/v1beta1/zz_ebsvolume_types.go @@ -31,6 +31,18 @@ type EBSVolumeInitParameters struct { // The amount of IOPS to provision for the disk. Only valid for type of io1, io2 or gp3. Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on io1 and io2 volumes. MultiAttachEnabled *bool `json:"multiAttachEnabled,omitempty" tf:"multi_attach_enabled,omitempty"` diff --git a/apis/ec2/v1beta1/zz_egressonlyinternetgateway_types.go b/apis/ec2/v1beta1/zz_egressonlyinternetgateway_types.go index bc88a041cf..1235a89346 100755 --- a/apis/ec2/v1beta1/zz_egressonlyinternetgateway_types.go +++ b/apis/ec2/v1beta1/zz_egressonlyinternetgateway_types.go @@ -22,6 +22,18 @@ type EgressOnlyInternetGatewayInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC ID to create in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type EgressOnlyInternetGatewayObservation struct { diff --git a/apis/ec2/v1beta1/zz_eip_types.go b/apis/ec2/v1beta1/zz_eip_types.go index 1ac7569d97..70e0ddbe60 100755 --- a/apis/ec2/v1beta1/zz_eip_types.go +++ b/apis/ec2/v1beta1/zz_eip_types.go @@ -31,9 +31,33 @@ type EIPInitParameters struct { // Indicates if this EIP is for use in VPC (vpc). Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + // EC2 instance ID. + // +crossplane:generate:reference:type=Instance + Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` + + // Reference to a Instance to populate instance. + // +kubebuilder:validation:Optional + InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` + + // Selector for a Instance to populate instance. + // +kubebuilder:validation:Optional + InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` + // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup *string `json:"networkBorderGroup,omitempty" tf:"network_border_group,omitempty"` + // Network interface ID to associate with. + // +crossplane:generate:reference:type=NetworkInterface + NetworkInterface *string `json:"networkInterface,omitempty" tf:"network_interface,omitempty"` + + // Reference to a NetworkInterface to populate networkInterface. + // +kubebuilder:validation:Optional + NetworkInterfaceRef *v1.Reference `json:"networkInterfaceRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface to populate networkInterface. + // +kubebuilder:validation:Optional + NetworkInterfaceSelector *v1.Selector `json:"networkInterfaceSelector,omitempty" tf:"-"` + // EC2 IPv4 address pool identifier or amazon. // This option is only available for VPC EIPs. PublicIPv4Pool *string `json:"publicIpv4Pool,omitempty" tf:"public_ipv4_pool,omitempty"` diff --git a/apis/ec2/v1beta1/zz_eipassociation_types.go b/apis/ec2/v1beta1/zz_eipassociation_types.go index 16b62bd22d..dd6d93224c 100755 --- a/apis/ec2/v1beta1/zz_eipassociation_types.go +++ b/apis/ec2/v1beta1/zz_eipassociation_types.go @@ -19,10 +19,39 @@ import ( type EIPAssociationInitParameters struct { + // The allocation ID. This is required for EC2-VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EIP + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AllocationID *string `json:"allocationId,omitempty" tf:"allocation_id,omitempty"` + + // Reference to a EIP in ec2 to populate allocationId. + // +kubebuilder:validation:Optional + AllocationIDRef *v1.Reference `json:"allocationIdRef,omitempty" tf:"-"` + + // Selector for a EIP in ec2 to populate allocationId. + // +kubebuilder:validation:Optional + AllocationIDSelector *v1.Selector `json:"allocationIdSelector,omitempty" tf:"-"` + // Whether to allow an Elastic IP to // be re-associated. Defaults to true in VPC. AllowReassociation *bool `json:"allowReassociation,omitempty" tf:"allow_reassociation,omitempty"` + // The ID of the instance. This is required for + // EC2-Classic. For EC2-VPC, you can specify either the instance ID or the + // network interface ID, but not both. The operation fails if you specify an + // instance ID unless exactly one network interface is attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // The ID of the network interface. If the // instance has more than one network interface, you must specify a network // interface ID. diff --git a/apis/ec2/v1beta1/zz_flowlog_types.go b/apis/ec2/v1beta1/zz_flowlog_types.go index e24517de58..b855cf4211 100755 --- a/apis/ec2/v1beta1/zz_flowlog_types.go +++ b/apis/ec2/v1beta1/zz_flowlog_types.go @@ -67,6 +67,32 @@ type FlowLogInitParameters struct { // Elastic Network Interface ID to attach to EniID *string `json:"eniId,omitempty" tf:"eni_id,omitempty"` + // The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` + + // The ARN of the logging destination. Either log_destination or log_group_name must be set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationRef *v1.Reference `json:"logDestinationRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationSelector *v1.Selector `json:"logDestinationSelector,omitempty" tf:"-"` + // The type of the logging destination. Valid values: cloud-watch-logs, s3, kinesis-data-firehose. Default: cloud-watch-logs. LogDestinationType *string `json:"logDestinationType,omitempty" tf:"log_destination_type,omitempty"` @@ -82,6 +108,18 @@ type FlowLogInitParameters struct { // minutes). Default: 600. When transit_gateway_id or transit_gateway_attachment_id is specified, max_aggregation_interval must be 60 seconds (1 minute). MaxAggregationInterval *float64 `json:"maxAggregationInterval,omitempty" tf:"max_aggregation_interval,omitempty"` + // Subnet ID to attach to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -94,6 +132,18 @@ type FlowLogInitParameters struct { // Transit Gateway ID to attach to TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // VPC ID to attach to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type FlowLogObservation struct { diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index 6d094f1692..6e5d969dfd 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -437,11 +437,41 @@ func (in *AMICopyInitParameters) DeepCopyInto(out *AMICopyInitParameters) { *out = make([]AMICopyEphemeralBlockDeviceInitParameters, len(*in)) copy(*out, *in) } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.SourceAMIID != nil { + in, out := &in.SourceAMIID, &out.SourceAMIID + *out = new(string) + **out = **in + } + if in.SourceAMIIDRef != nil { + in, out := &in.SourceAMIIDRef, &out.SourceAMIIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceAMIIDSelector != nil { + in, out := &in.SourceAMIIDSelector, &out.SourceAMIIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceAMIRegion != nil { in, out := &in.SourceAMIRegion, &out.SourceAMIRegion *out = new(string) @@ -1019,6 +1049,21 @@ func (in *AMILaunchPermissionInitParameters) DeepCopyInto(out *AMILaunchPermissi *out = new(string) **out = **in } + if in.ImageID != nil { + in, out := &in.ImageID, &out.ImageID + *out = new(string) + **out = **in + } + if in.ImageIDRef != nil { + in, out := &in.ImageIDRef, &out.ImageIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageIDSelector != nil { + in, out := &in.ImageIDSelector, &out.ImageIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.OrganizationArn != nil { in, out := &in.OrganizationArn, &out.OrganizationArn *out = new(string) @@ -3258,6 +3303,21 @@ func (in *CarrierGatewayInitParameters) DeepCopyInto(out *CarrierGatewayInitPara (*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 CarrierGatewayInitParameters. @@ -4353,6 +4413,21 @@ func (in *DefaultNetworkACL) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DefaultNetworkACLInitParameters) DeepCopyInto(out *DefaultNetworkACLInitParameters) { *out = *in + if in.DefaultNetworkACLID != nil { + in, out := &in.DefaultNetworkACLID, &out.DefaultNetworkACLID + *out = new(string) + **out = **in + } + if in.DefaultNetworkACLIDRef != nil { + in, out := &in.DefaultNetworkACLIDRef, &out.DefaultNetworkACLIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultNetworkACLIDSelector != nil { + in, out := &in.DefaultNetworkACLIDSelector, &out.DefaultNetworkACLIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Egress != nil { in, out := &in.Egress, &out.Egress *out = make([]EgressInitParameters, len(*in)) @@ -4367,6 +4442,29 @@ func (in *DefaultNetworkACLInitParameters) DeepCopyInto(out *DefaultNetworkACLIn (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -4677,6 +4775,21 @@ func (in *DefaultRouteTable) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DefaultRouteTableInitParameters) DeepCopyInto(out *DefaultRouteTableInitParameters) { *out = *in + if in.DefaultRouteTableID != nil { + in, out := &in.DefaultRouteTableID, &out.DefaultRouteTableID + *out = new(string) + **out = **in + } + if in.DefaultRouteTableIDRef != nil { + in, out := &in.DefaultRouteTableIDRef, &out.DefaultRouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultRouteTableIDSelector != nil { + in, out := &in.DefaultRouteTableIDSelector, &out.DefaultRouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PropagatingVgws != nil { in, out := &in.PropagatingVgws, &out.PropagatingVgws *out = make([]*string, len(*in)) @@ -5518,6 +5631,21 @@ func (in *DefaultSecurityGroupInitParameters) DeepCopyInto(out *DefaultSecurityG (*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 DefaultSecurityGroupInitParameters. @@ -7341,6 +7469,21 @@ func (in *EBSBlockDeviceInitParameters) DeepCopyInto(out *EBSBlockDeviceInitPara *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) + } if in.Throughput != nil { in, out := &in.Throughput, &out.Throughput *out = new(float64) @@ -7528,6 +7671,21 @@ func (in *EBSDefaultKMSKey) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EBSDefaultKMSKeyInitParameters) DeepCopyInto(out *EBSDefaultKMSKeyInitParameters) { *out = *in + if in.KeyArn != nil { + in, out := &in.KeyArn, &out.KeyArn + *out = new(string) + **out = **in + } + if in.KeyArnRef != nil { + in, out := &in.KeyArnRef, &out.KeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyArnSelector != nil { + in, out := &in.KeyArnSelector, &out.KeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSDefaultKMSKeyInitParameters. @@ -7637,7 +7795,7 @@ func (in *EBSDefaultKMSKeySpec) DeepCopyInto(out *EBSDefaultKMSKeySpec) { *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 EBSDefaultKMSKeySpec. @@ -7833,111 +7991,126 @@ func (in *EBSEncryptionByDefaultStatus) DeepCopy() *EBSEncryptionByDefaultStatus // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EBSInitParameters) DeepCopyInto(out *EBSInitParameters) { - *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(string) - **out = **in - } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(string) - **out = **in - } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) - **out = **in - } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID - *out = new(string) - **out = **in - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSInitParameters. -func (in *EBSInitParameters) DeepCopy() *EBSInitParameters { - if in == nil { - return nil - } - out := new(EBSInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EBSObservation) DeepCopyInto(out *EBSObservation) { - *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(string) - **out = **in - } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(string) - **out = **in - } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in - } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID - *out = new(string) - **out = **in - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSObservation. -func (in *EBSObservation) DeepCopy() *EBSObservation { - if in == nil { - return nil - } - out := new(EBSObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EBSParameters) DeepCopyInto(out *EBSParameters) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(string) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSInitParameters. +func (in *EBSInitParameters) DeepCopy() *EBSInitParameters { + if in == nil { + return nil + } + out := new(EBSInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EBSObservation) DeepCopyInto(out *EBSObservation) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(string) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSObservation. +func (in *EBSObservation) DeepCopy() *EBSObservation { + if in == nil { + return nil + } + out := new(EBSObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EBSParameters) DeepCopyInto(out *EBSParameters) { *out = *in if in.DeleteOnTermination != nil { in, out := &in.DeleteOnTermination, &out.DeleteOnTermination @@ -8068,6 +8241,21 @@ func (in *EBSSnapshotCopyInitParameters) DeepCopyInto(out *EBSSnapshotCopyInitPa *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PermanentRestore != nil { in, out := &in.PermanentRestore, &out.PermanentRestore *out = new(bool) @@ -8078,6 +8266,21 @@ func (in *EBSSnapshotCopyInitParameters) DeepCopyInto(out *EBSSnapshotCopyInitPa *out = new(string) **out = **in } + if in.SourceSnapshotID != nil { + in, out := &in.SourceSnapshotID, &out.SourceSnapshotID + *out = new(string) + **out = **in + } + if in.SourceSnapshotIDRef != nil { + in, out := &in.SourceSnapshotIDRef, &out.SourceSnapshotIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceSnapshotIDSelector != nil { + in, out := &in.SourceSnapshotIDSelector, &out.SourceSnapshotIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageTier != nil { in, out := &in.StorageTier, &out.StorageTier *out = new(string) @@ -8460,6 +8663,21 @@ func (in *EBSSnapshotImportInitParameters) DeepCopyInto(out *EBSSnapshotImportIn *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PermanentRestore != nil { in, out := &in.PermanentRestore, &out.PermanentRestore *out = new(bool) @@ -8850,6 +9068,21 @@ func (in *EBSSnapshotInitParameters) DeepCopyInto(out *EBSSnapshotInitParameters *out = new(float64) **out = **in } + if in.VolumeID != nil { + in, out := &in.VolumeID, &out.VolumeID + *out = new(string) + **out = **in + } + if in.VolumeIDRef != nil { + in, out := &in.VolumeIDRef, &out.VolumeIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VolumeIDSelector != nil { + in, out := &in.VolumeIDSelector, &out.VolumeIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSSnapshotInitParameters. @@ -9172,6 +9405,21 @@ func (in *EBSVolumeInitParameters) DeepCopyInto(out *EBSVolumeInitParameters) { *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MultiAttachEnabled != nil { in, out := &in.MultiAttachEnabled, &out.MultiAttachEnabled *out = new(bool) @@ -9567,11 +9815,41 @@ func (in *EIPAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EIPAssociationInitParameters) DeepCopyInto(out *EIPAssociationInitParameters) { *out = *in + if in.AllocationID != nil { + in, out := &in.AllocationID, &out.AllocationID + *out = new(string) + **out = **in + } + if in.AllocationIDRef != nil { + in, out := &in.AllocationIDRef, &out.AllocationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AllocationIDSelector != nil { + in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.AllowReassociation != nil { in, out := &in.AllowReassociation, &out.AllowReassociation *out = new(bool) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NetworkInterfaceID != nil { in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) @@ -9809,11 +10087,41 @@ func (in *EIPInitParameters) DeepCopyInto(out *EIPInitParameters) { *out = new(string) **out = **in } + if in.Instance != nil { + in, out := &in.Instance, &out.Instance + *out = new(string) + **out = **in + } + if in.InstanceRef != nil { + in, out := &in.InstanceRef, &out.InstanceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceSelector != nil { + in, out := &in.InstanceSelector, &out.InstanceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NetworkBorderGroup != nil { in, out := &in.NetworkBorderGroup, &out.NetworkBorderGroup *out = new(string) **out = **in } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = new(string) + **out = **in + } + if in.NetworkInterfaceRef != nil { + in, out := &in.NetworkInterfaceRef, &out.NetworkInterfaceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceSelector != nil { + in, out := &in.NetworkInterfaceSelector, &out.NetworkInterfaceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PublicIPv4Pool != nil { in, out := &in.PublicIPv4Pool, &out.PublicIPv4Pool *out = new(string) @@ -10323,6 +10631,21 @@ func (in *EgressOnlyInternetGatewayInitParameters) DeepCopyInto(out *EgressOnlyI (*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 EgressOnlyInternetGatewayInitParameters. @@ -10813,6 +11136,21 @@ func (in *EnclaveOptionsParameters) DeepCopy() *EnclaveOptionsParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EntryInitParameters) DeepCopyInto(out *EntryInitParameters) { *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in + } + if in.CidrRef != nil { + in, out := &in.CidrRef, &out.CidrRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CidrSelector != nil { + in, out := &in.CidrSelector, &out.CidrSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -11449,250 +11787,310 @@ func (in *FlowLogInitParameters) DeepCopyInto(out *FlowLogInitParameters) { *out = new(string) **out = **in } - if in.LogDestinationType != nil { - in, out := &in.LogDestinationType, &out.LogDestinationType - *out = new(string) - **out = **in - } - if in.LogFormat != nil { - in, out := &in.LogFormat, &out.LogFormat - *out = new(string) - **out = **in - } - if in.LogGroupName != nil { - in, out := &in.LogGroupName, &out.LogGroupName - *out = new(string) - **out = **in - } - if in.MaxAggregationInterval != nil { - in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval - *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.TrafficType != nil { - in, out := &in.TrafficType, &out.TrafficType - *out = new(string) - **out = **in - } - if in.TransitGatewayAttachmentID != nil { - in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID - *out = new(string) - **out = **in - } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogInitParameters. -func (in *FlowLogInitParameters) DeepCopy() *FlowLogInitParameters { - if in == nil { - return nil - } - out := new(FlowLogInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogList) DeepCopyInto(out *FlowLogList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]FlowLog, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogList. -func (in *FlowLogList) DeepCopy() *FlowLogList { - if in == nil { - return nil - } - out := new(FlowLogList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *FlowLogList) 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 *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.DeliverCrossAccountRole != nil { - in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole - *out = new(string) - **out = **in - } - if in.DestinationOptions != nil { - in, out := &in.DestinationOptions, &out.DestinationOptions - *out = make([]DestinationOptionsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EniID != nil { - in, out := &in.EniID, &out.EniID - *out = new(string) - **out = **in - } - if in.IAMRoleArn != nil { - in, out := &in.IAMRoleArn, &out.IAMRoleArn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.LogDestination != nil { - in, out := &in.LogDestination, &out.LogDestination - *out = new(string) - **out = **in - } - if in.LogDestinationType != nil { - in, out := &in.LogDestinationType, &out.LogDestinationType - *out = new(string) - **out = **in - } - if in.LogFormat != nil { - in, out := &in.LogFormat, &out.LogFormat - *out = new(string) - **out = **in - } - if in.LogGroupName != nil { - in, out := &in.LogGroupName, &out.LogGroupName - *out = new(string) - **out = **in - } - if in.MaxAggregationInterval != nil { - in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval - *out = new(float64) - **out = **in - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *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.TrafficType != nil { - in, out := &in.TrafficType, &out.TrafficType - *out = new(string) - **out = **in - } - if in.TransitGatewayAttachmentID != nil { - in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID - *out = new(string) - **out = **in - } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID - *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 FlowLogObservation. -func (in *FlowLogObservation) DeepCopy() *FlowLogObservation { - if in == nil { - return nil - } - out := new(FlowLogObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { - *out = *in - if in.DeliverCrossAccountRole != nil { - in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole - *out = new(string) - **out = **in - } - if in.DestinationOptions != nil { - in, out := &in.DestinationOptions, &out.DestinationOptions - *out = make([]DestinationOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EniID != nil { - in, out := &in.EniID, &out.EniID - *out = new(string) - **out = **in - } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.LogDestinationRef != nil { + in, out := &in.LogDestinationRef, &out.LogDestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationSelector != nil { + in, out := &in.LogDestinationSelector, &out.LogDestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationType != nil { + in, out := &in.LogDestinationType, &out.LogDestinationType + *out = new(string) + **out = **in + } + if in.LogFormat != nil { + in, out := &in.LogFormat, &out.LogFormat + *out = new(string) + **out = **in + } + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } + if in.MaxAggregationInterval != nil { + in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + *out = new(float64) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.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.TrafficType != nil { + in, out := &in.TrafficType, &out.TrafficType + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *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 FlowLogInitParameters. +func (in *FlowLogInitParameters) DeepCopy() *FlowLogInitParameters { + if in == nil { + return nil + } + out := new(FlowLogInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FlowLogList) DeepCopyInto(out *FlowLogList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FlowLog, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogList. +func (in *FlowLogList) DeepCopy() *FlowLogList { + if in == nil { + return nil + } + out := new(FlowLogList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FlowLogList) 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 *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.DeliverCrossAccountRole != nil { + in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole + *out = new(string) + **out = **in + } + if in.DestinationOptions != nil { + in, out := &in.DestinationOptions, &out.DestinationOptions + *out = make([]DestinationOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EniID != nil { + in, out := &in.EniID, &out.EniID + *out = new(string) + **out = **in + } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.LogDestinationType != nil { + in, out := &in.LogDestinationType, &out.LogDestinationType + *out = new(string) + **out = **in + } + if in.LogFormat != nil { + in, out := &in.LogFormat, &out.LogFormat + *out = new(string) + **out = **in + } + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } + if in.MaxAggregationInterval != nil { + in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + *out = new(float64) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.TrafficType != nil { + in, out := &in.TrafficType, &out.TrafficType + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *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 FlowLogObservation. +func (in *FlowLogObservation) DeepCopy() *FlowLogObservation { + if in == nil { + return nil + } + out := new(FlowLogObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { + *out = *in + if in.DeliverCrossAccountRole != nil { + in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole + *out = new(string) + **out = **in + } + if in.DestinationOptions != nil { + in, out := &in.DestinationOptions, &out.DestinationOptions + *out = make([]DestinationOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EniID != nil { + in, out := &in.EniID, &out.EniID + *out = new(string) + **out = **in + } if in.IAMRoleArn != nil { in, out := &in.IAMRoleArn, &out.IAMRoleArn *out = new(string) @@ -13199,6 +13597,36 @@ func (in *HostStatus) DeepCopy() *HostStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IAMInstanceProfileInitParameters) DeepCopyInto(out *IAMInstanceProfileInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileInitParameters. @@ -13485,6 +13913,21 @@ func (in *IngressInitParameters) DeepCopyInto(out *IngressInitParameters) { *out = new(string) **out = **in } + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock + *out = new(string) + **out = **in + } + if in.CidrBlockRef != nil { + in, out := &in.CidrBlockRef, &out.CidrBlockRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CidrBlockSelector != nil { + in, out := &in.CidrBlockSelector, &out.CidrBlockSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FromPort != nil { in, out := &in.FromPort, &out.FromPort *out = new(float64) @@ -13772,6 +14215,21 @@ func (in *InstanceEBSBlockDeviceInitParameters) DeepCopyInto(out *InstanceEBSBlo *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SnapshotID != nil { in, out := &in.SnapshotID, &out.SnapshotID *out = new(string) @@ -14303,6 +14761,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(bool) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -14339,6 +14812,29 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(bool) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *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.VolumeTags != nil { in, out := &in.VolumeTags, &out.VolumeTags *out = make(map[string]*string, len(*in)) @@ -14618,6 +15114,21 @@ func (in *InstanceNetworkInterfaceInitParameters) DeepCopyInto(out *InstanceNetw *out = new(float64) **out = **in } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceInitParameters. @@ -16747,6 +17258,21 @@ func (in *InstanceStateInitParameters) DeepCopyInto(out *InstanceStateInitParame *out = new(bool) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.State != nil { in, out := &in.State, &out.State *out = new(string) @@ -16989,6 +17515,21 @@ func (in *InternetGatewayInitParameters_2) DeepCopyInto(out *InternetGatewayInit (*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 InternetGatewayInitParameters_2. @@ -17776,6 +18317,21 @@ func (in *LaunchSpecificationInitParameters) DeepCopyInto(out *LaunchSpecificati *out = new(string) **out = **in } + if in.IAMInstanceProfileArn != nil { + in, out := &in.IAMInstanceProfileArn, &out.IAMInstanceProfileArn + *out = new(string) + **out = **in + } + if in.IAMInstanceProfileArnRef != nil { + in, out := &in.IAMInstanceProfileArnRef, &out.IAMInstanceProfileArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMInstanceProfileArnSelector != nil { + in, out := &in.IAMInstanceProfileArnSelector, &out.IAMInstanceProfileArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) @@ -18825,7 +19381,9 @@ func (in *LaunchTemplateInitParameters_2) DeepCopyInto(out *LaunchTemplateInitPa if in.IAMInstanceProfile != nil { in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile *out = make([]IAMInstanceProfileInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.ImageID != nil { in, out := &in.ImageID, &out.ImageID @@ -18925,6 +19483,29 @@ func (in *LaunchTemplateInitParameters_2) DeepCopyInto(out *LaunchTemplateInitPa *out = new(string) **out = **in } + if in.SecurityGroupNameRefs != nil { + in, out := &in.SecurityGroupNameRefs, &out.SecurityGroupNameRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupNameSelector != nil { + in, out := &in.SecurityGroupNameSelector, &out.SecurityGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupNames != nil { + in, out := &in.SecurityGroupNames, &out.SecurityGroupNames + *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.TagSpecifications != nil { in, out := &in.TagSpecifications, &out.TagSpecifications *out = make([]TagSpecificationsInitParameters, len(*in)) @@ -18958,6 +19539,29 @@ func (in *LaunchTemplateInitParameters_2) DeepCopyInto(out *LaunchTemplateInitPa *out = new(string) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateInitParameters_2. @@ -20006,11 +20610,41 @@ func (in *LaunchTemplateSpec) DeepCopy() *LaunchTemplateSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplateSpecificationInitParameters) DeepCopyInto(out *LaunchTemplateSpecificationInitParameters) { *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IDRef != nil { + in, out := &in.IDRef, &out.IDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IDSelector != nil { + in, out := &in.IDSelector, &out.IDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationInitParameters. @@ -20330,6 +20964,36 @@ func (in *MainRouteTableAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MainRouteTableAssociationInitParameters) DeepCopyInto(out *MainRouteTableAssociationInitParameters) { *out = *in + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + 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.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 MainRouteTableAssociationInitParameters. @@ -20464,7 +21128,7 @@ func (in *MainRouteTableAssociationSpec) DeepCopyInto(out *MainRouteTableAssocia *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 MainRouteTableAssociationSpec. @@ -20611,11 +21275,41 @@ func (in *ManagedPrefixListEntry) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ManagedPrefixListEntryInitParameters) DeepCopyInto(out *ManagedPrefixListEntryInitParameters) { *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in + } + if in.CidrRef != nil { + in, out := &in.CidrRef, &out.CidrRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CidrSelector != nil { + in, out := &in.CidrSelector, &out.CidrSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryInitParameters. @@ -21427,6 +22121,21 @@ func (in *NATGatewayInitParameters) DeepCopy() *NATGatewayInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters_2) { *out = *in + if in.AllocationID != nil { + in, out := &in.AllocationID, &out.AllocationID + *out = new(string) + **out = **in + } + if in.AllocationIDRef != nil { + in, out := &in.AllocationIDRef, &out.AllocationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AllocationIDSelector != nil { + in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConnectivityType != nil { in, out := &in.ConnectivityType, &out.ConnectivityType *out = new(string) @@ -21464,6 +22173,21 @@ func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters } } } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -22031,6 +22755,29 @@ func (in *NetworkACLIngressParameters) DeepCopy() *NetworkACLIngressParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkACLInitParameters) DeepCopyInto(out *NetworkACLInitParameters) { *out = *in + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -22047,6 +22794,21 @@ func (in *NetworkACLInitParameters) DeepCopyInto(out *NetworkACLInitParameters) (*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 NetworkACLInitParameters. @@ -22317,6 +23079,21 @@ func (in *NetworkACLRuleInitParameters) DeepCopyInto(out *NetworkACLRuleInitPara *out = new(float64) **out = **in } + if in.NetworkACLID != nil { + in, out := &in.NetworkACLID, &out.NetworkACLID + *out = new(string) + **out = **in + } + if in.NetworkACLIDRef != nil { + in, out := &in.NetworkACLIDRef, &out.NetworkACLIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkACLIDSelector != nil { + in, out := &in.NetworkACLIDSelector, &out.NetworkACLIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(string) @@ -22727,6 +23504,21 @@ func (in *NetworkInsightsAnalysisInitParameters) DeepCopyInto(out *NetworkInsigh } } } + if in.NetworkInsightsPathID != nil { + in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + *out = new(string) + **out = **in + } + if in.NetworkInsightsPathIDRef != nil { + in, out := &in.NetworkInsightsPathIDRef, &out.NetworkInsightsPathIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInsightsPathIDSelector != nil { + in, out := &in.NetworkInsightsPathIDSelector, &out.NetworkInsightsPathIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -23055,6 +23847,11 @@ func (in *NetworkInsightsPath) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkInsightsPathInitParameters) DeepCopyInto(out *NetworkInsightsPathInitParameters) { *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in + } if in.DestinationIP != nil { in, out := &in.DestinationIP, &out.DestinationIP *out = new(string) @@ -23065,16 +23862,41 @@ func (in *NetworkInsightsPathInitParameters) DeepCopyInto(out *NetworkInsightsPa *out = new(float64) **out = **in } + if in.DestinationRef != nil { + in, out := &in.DestinationRef, &out.DestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationSelector != nil { + in, out := &in.DestinationSelector, &out.DestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } if in.SourceIP != nil { in, out := &in.SourceIP, &out.SourceIP *out = new(string) **out = **in } + if in.SourceRef != nil { + in, out := &in.SourceRef, &out.SourceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceSelector != nil { + in, out := &in.SourceSelector, &out.SourceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -23415,6 +24237,36 @@ func (in *NetworkInterfaceAttachmentInitParameters) DeepCopyInto(out *NetworkInt *out = new(float64) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentInitParameters. @@ -23798,11 +24650,49 @@ func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceIn *out = new(float64) **out = **in } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SourceDestCheck != nil { in, out := &in.SourceDestCheck, &out.SourceDestCheck *out = new(bool) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -24344,6 +25234,36 @@ func (in *NetworkInterfaceSgAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkInterfaceSgAttachmentInitParameters) DeepCopyInto(out *NetworkInterfaceSgAttachmentInitParameters) { *out = *in + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentInitParameters. @@ -24473,7 +25393,7 @@ func (in *NetworkInterfaceSgAttachmentSpec) DeepCopyInto(out *NetworkInterfaceSg *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 NetworkInterfaceSgAttachmentSpec. @@ -24640,11 +25560,64 @@ func (in *NetworkInterfacesInitParameters) DeepCopyInto(out *NetworkInterfacesIn *out = new(float64) **out = **in } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PrivateIPAddress != nil { in, out := &in.PrivateIPAddress, &out.PrivateIPAddress *out = new(string) **out = **in } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesInitParameters. @@ -28201,6 +29174,21 @@ func (in *RootBlockDeviceInitParameters) DeepCopyInto(out *RootBlockDeviceInitPa *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -28441,6 +29429,36 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { *out = new(string) **out = **in } + if in.EgressOnlyGatewayID != nil { + in, out := &in.EgressOnlyGatewayID, &out.EgressOnlyGatewayID + *out = new(string) + **out = **in + } + if in.EgressOnlyGatewayIDRef != nil { + in, out := &in.EgressOnlyGatewayIDRef, &out.EgressOnlyGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EgressOnlyGatewayIDSelector != nil { + in, out := &in.EgressOnlyGatewayIDSelector, &out.EgressOnlyGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } + if in.GatewayIDRef != nil { + in, out := &in.GatewayIDRef, &out.GatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayIDSelector != nil { + in, out := &in.GatewayIDSelector, &out.GatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IPv6CidrBlock != nil { in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) @@ -28511,11 +29529,146 @@ func (in *RouteInitParameters_2) DeepCopyInto(out *RouteInitParameters_2) { *out = new(string) **out = **in } + if in.DestinationPrefixListID != nil { + in, out := &in.DestinationPrefixListID, &out.DestinationPrefixListID + *out = new(string) + **out = **in + } + if in.DestinationPrefixListIDRef != nil { + in, out := &in.DestinationPrefixListIDRef, &out.DestinationPrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationPrefixListIDSelector != nil { + in, out := &in.DestinationPrefixListIDSelector, &out.DestinationPrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.EgressOnlyGatewayID != nil { + in, out := &in.EgressOnlyGatewayID, &out.EgressOnlyGatewayID + *out = new(string) + **out = **in + } + if in.EgressOnlyGatewayIDRef != nil { + in, out := &in.EgressOnlyGatewayIDRef, &out.EgressOnlyGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EgressOnlyGatewayIDSelector != nil { + in, out := &in.EgressOnlyGatewayIDSelector, &out.EgressOnlyGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } + if in.GatewayIDRef != nil { + in, out := &in.GatewayIDRef, &out.GatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayIDSelector != nil { + in, out := &in.GatewayIDSelector, &out.GatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LocalGatewayID != nil { in, out := &in.LocalGatewayID, &out.LocalGatewayID *out = new(string) **out = **in } + if in.NATGatewayID != nil { + in, out := &in.NATGatewayID, &out.NATGatewayID + *out = new(string) + **out = **in + } + if in.NATGatewayIDRef != nil { + in, out := &in.NATGatewayIDRef, &out.NATGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NATGatewayIDSelector != nil { + in, out := &in.NATGatewayIDSelector, &out.NATGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + 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.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID + *out = new(string) + **out = **in + } + 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) + } + 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 RouteInitParameters_2. @@ -29112,6 +30265,51 @@ func (in *RouteTableAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RouteTableAssociationInitParameters) DeepCopyInto(out *RouteTableAssociationInitParameters) { *out = *in + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } + if in.GatewayIDRef != nil { + in, out := &in.GatewayIDRef, &out.GatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayIDSelector != nil { + in, out := &in.GatewayIDSelector, &out.GatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + 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.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableAssociationInitParameters. @@ -29261,7 +30459,7 @@ func (in *RouteTableAssociationSpec) DeepCopyInto(out *RouteTableAssociationSpec *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 RouteTableAssociationSpec. @@ -29325,6 +30523,21 @@ func (in *RouteTableInitParameters_2) DeepCopyInto(out *RouteTableInitParameters (*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 RouteTableInitParameters_2. @@ -30046,6 +31259,51 @@ func (in *SecurityGroupEgressRuleInitParameters) DeepCopyInto(out *SecurityGroup *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.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)) @@ -30533,6 +31791,51 @@ func (in *SecurityGroupIngressRuleInitParameters) DeepCopyInto(out *SecurityGrou *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.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)) @@ -30900,6 +32203,21 @@ func (in *SecurityGroupInitParameters_2) DeepCopyInto(out *SecurityGroupInitPara (*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 SecurityGroupInitParameters_2. @@ -31228,16 +32546,69 @@ func (in *SecurityGroupRuleInitParameters_2) DeepCopyInto(out *SecurityGroupRule } } } + 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.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 *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.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) @@ -31961,6 +33332,21 @@ func (in *SnapshotCreateVolumePermissionInitParameters) DeepCopyInto(out *Snapsh *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 SnapshotCreateVolumePermissionInitParameters. @@ -34087,6 +35473,21 @@ func (in *SpotInstanceRequestInitParameters) DeepCopyInto(out *SpotInstanceReque *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -34123,6 +35524,29 @@ func (in *SpotInstanceRequestInitParameters) DeepCopyInto(out *SpotInstanceReque *out = new(bool) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *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.ValidFrom != nil { in, out := &in.ValidFrom, &out.ValidFrom *out = new(string) @@ -35952,6 +37376,21 @@ func (in *SubnetCidrReservationInitParameters) DeepCopyInto(out *SubnetCidrReser *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetCidrReservationInitParameters. @@ -36235,6 +37674,21 @@ func (in *SubnetInitParameters_2) DeepCopyInto(out *SubnetInitParameters_2) { (*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 SubnetInitParameters_2. @@ -37369,6 +38823,21 @@ func (in *TrafficMirrorFilterRuleInitParameters) DeepCopyInto(out *TrafficMirror *out = new(string) **out = **in } + if in.TrafficMirrorFilterID != nil { + in, out := &in.TrafficMirrorFilterID, &out.TrafficMirrorFilterID + *out = new(string) + **out = **in + } + if in.TrafficMirrorFilterIDRef != nil { + in, out := &in.TrafficMirrorFilterIDRef, &out.TrafficMirrorFilterIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TrafficMirrorFilterIDSelector != nil { + in, out := &in.TrafficMirrorFilterIDSelector, &out.TrafficMirrorFilterIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficMirrorFilterRuleInitParameters. @@ -37794,6 +39263,36 @@ func (in *TransitGatewayConnectInitParameters) DeepCopyInto(out *TransitGatewayC *out = new(bool) **out = **in } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransportAttachmentID != nil { + in, out := &in.TransportAttachmentID, &out.TransportAttachmentID + *out = new(string) + **out = **in + } + if in.TransportAttachmentIDRef != nil { + in, out := &in.TransportAttachmentIDRef, &out.TransportAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransportAttachmentIDSelector != nil { + in, out := &in.TransportAttachmentIDSelector, &out.TransportAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayConnectInitParameters. @@ -38068,6 +39567,21 @@ func (in *TransitGatewayConnectPeerInitParameters) DeepCopyInto(out *TransitGate *out = new(string) **out = **in } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayConnectPeerInitParameters. @@ -38549,6 +40063,51 @@ func (in *TransitGatewayMulticastDomainAssociation) DeepCopyObject() runtime.Obj // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TransitGatewayMulticastDomainAssociationInitParameters) DeepCopyInto(out *TransitGatewayMulticastDomainAssociationInitParameters) { *out = *in + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainID != nil { + in, out := &in.TransitGatewayMulticastDomainID, &out.TransitGatewayMulticastDomainID + *out = new(string) + **out = **in + } + if in.TransitGatewayMulticastDomainIDRef != nil { + in, out := &in.TransitGatewayMulticastDomainIDRef, &out.TransitGatewayMulticastDomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainIDSelector != nil { + in, out := &in.TransitGatewayMulticastDomainIDSelector, &out.TransitGatewayMulticastDomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayMulticastDomainAssociationInitParameters. @@ -38698,7 +40257,7 @@ func (in *TransitGatewayMulticastDomainAssociationSpec) DeepCopyInto(out *Transi *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 TransitGatewayMulticastDomainAssociationSpec. @@ -38762,6 +40321,21 @@ func (in *TransitGatewayMulticastDomainInitParameters) DeepCopyInto(out *Transit (*out)[key] = outVal } } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayMulticastDomainInitParameters. @@ -39024,6 +40598,36 @@ func (in *TransitGatewayMulticastGroupMemberInitParameters) DeepCopyInto(out *Tr *out = new(string) **out = **in } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainID != nil { + in, out := &in.TransitGatewayMulticastDomainID, &out.TransitGatewayMulticastDomainID + *out = new(string) + **out = **in + } + if in.TransitGatewayMulticastDomainIDRef != nil { + in, out := &in.TransitGatewayMulticastDomainIDRef, &out.TransitGatewayMulticastDomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainIDSelector != nil { + in, out := &in.TransitGatewayMulticastDomainIDSelector, &out.TransitGatewayMulticastDomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayMulticastGroupMemberInitParameters. @@ -39228,6 +40832,36 @@ func (in *TransitGatewayMulticastGroupSourceInitParameters) DeepCopyInto(out *Tr *out = new(string) **out = **in } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainID != nil { + in, out := &in.TransitGatewayMulticastDomainID, &out.TransitGatewayMulticastDomainID + *out = new(string) + **out = **in + } + if in.TransitGatewayMulticastDomainIDRef != nil { + in, out := &in.TransitGatewayMulticastDomainIDRef, &out.TransitGatewayMulticastDomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayMulticastDomainIDSelector != nil { + in, out := &in.TransitGatewayMulticastDomainIDSelector, &out.TransitGatewayMulticastDomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayMulticastGroupSourceInitParameters. @@ -39725,6 +41359,21 @@ func (in *TransitGatewayPeeringAttachmentAccepterInitParameters) DeepCopyInto(ou (*out)[key] = outVal } } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPeeringAttachmentAccepterInitParameters. @@ -39945,6 +41594,21 @@ func (in *TransitGatewayPeeringAttachmentInitParameters) DeepCopyInto(out *Trans *out = new(string) **out = **in } + if in.PeerTransitGatewayID != nil { + in, out := &in.PeerTransitGatewayID, &out.PeerTransitGatewayID + *out = new(string) + **out = **in + } + if in.PeerTransitGatewayIDRef != nil { + in, out := &in.PeerTransitGatewayIDRef, &out.PeerTransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PeerTransitGatewayIDSelector != nil { + in, out := &in.PeerTransitGatewayIDSelector, &out.PeerTransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -39961,6 +41625,21 @@ func (in *TransitGatewayPeeringAttachmentInitParameters) DeepCopyInto(out *Trans (*out)[key] = outVal } } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPeeringAttachmentInitParameters. @@ -40234,6 +41913,21 @@ func (in *TransitGatewayPolicyTableInitParameters) DeepCopyInto(out *TransitGate (*out)[key] = outVal } } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPolicyTableInitParameters. @@ -40466,6 +42160,51 @@ func (in *TransitGatewayPrefixListReferenceInitParameters) DeepCopyInto(out *Tra *out = new(bool) **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.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableID != nil { + in, out := &in.TransitGatewayRouteTableID, &out.TransitGatewayRouteTableID + *out = new(string) + **out = **in + } + if in.TransitGatewayRouteTableIDRef != nil { + in, out := &in.TransitGatewayRouteTableIDRef, &out.TransitGatewayRouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableIDSelector != nil { + in, out := &in.TransitGatewayRouteTableIDSelector, &out.TransitGatewayRouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPrefixListReferenceInitParameters. @@ -40615,93 +42354,123 @@ func (in *TransitGatewayPrefixListReferenceParameters) DeepCopyInto(out *Transit } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPrefixListReferenceParameters. -func (in *TransitGatewayPrefixListReferenceParameters) DeepCopy() *TransitGatewayPrefixListReferenceParameters { - if in == nil { - return nil - } - out := new(TransitGatewayPrefixListReferenceParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TransitGatewayPrefixListReferenceSpec) DeepCopyInto(out *TransitGatewayPrefixListReferenceSpec) { - *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 TransitGatewayPrefixListReferenceSpec. -func (in *TransitGatewayPrefixListReferenceSpec) DeepCopy() *TransitGatewayPrefixListReferenceSpec { - if in == nil { - return nil - } - out := new(TransitGatewayPrefixListReferenceSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TransitGatewayPrefixListReferenceStatus) DeepCopyInto(out *TransitGatewayPrefixListReferenceStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPrefixListReferenceStatus. -func (in *TransitGatewayPrefixListReferenceStatus) DeepCopy() *TransitGatewayPrefixListReferenceStatus { - if in == nil { - return nil - } - out := new(TransitGatewayPrefixListReferenceStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TransitGatewayRoute) DeepCopyInto(out *TransitGatewayRoute) { - *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 TransitGatewayRoute. -func (in *TransitGatewayRoute) DeepCopy() *TransitGatewayRoute { - if in == nil { - return nil - } - out := new(TransitGatewayRoute) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *TransitGatewayRoute) 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 *TransitGatewayRouteInitParameters) DeepCopyInto(out *TransitGatewayRouteInitParameters) { - *out = *in - if in.Blackhole != nil { - in, out := &in.Blackhole, &out.Blackhole - *out = new(bool) - **out = **in - } - if in.DestinationCidrBlock != nil { - in, out := &in.DestinationCidrBlock, &out.DestinationCidrBlock - *out = new(string) - **out = **in - } -} - +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPrefixListReferenceParameters. +func (in *TransitGatewayPrefixListReferenceParameters) DeepCopy() *TransitGatewayPrefixListReferenceParameters { + if in == nil { + return nil + } + out := new(TransitGatewayPrefixListReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransitGatewayPrefixListReferenceSpec) DeepCopyInto(out *TransitGatewayPrefixListReferenceSpec) { + *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 TransitGatewayPrefixListReferenceSpec. +func (in *TransitGatewayPrefixListReferenceSpec) DeepCopy() *TransitGatewayPrefixListReferenceSpec { + if in == nil { + return nil + } + out := new(TransitGatewayPrefixListReferenceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransitGatewayPrefixListReferenceStatus) DeepCopyInto(out *TransitGatewayPrefixListReferenceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayPrefixListReferenceStatus. +func (in *TransitGatewayPrefixListReferenceStatus) DeepCopy() *TransitGatewayPrefixListReferenceStatus { + if in == nil { + return nil + } + out := new(TransitGatewayPrefixListReferenceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransitGatewayRoute) DeepCopyInto(out *TransitGatewayRoute) { + *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 TransitGatewayRoute. +func (in *TransitGatewayRoute) DeepCopy() *TransitGatewayRoute { + if in == nil { + return nil + } + out := new(TransitGatewayRoute) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TransitGatewayRoute) 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 *TransitGatewayRouteInitParameters) DeepCopyInto(out *TransitGatewayRouteInitParameters) { + *out = *in + if in.Blackhole != nil { + in, out := &in.Blackhole, &out.Blackhole + *out = new(bool) + **out = **in + } + if in.DestinationCidrBlock != nil { + in, out := &in.DestinationCidrBlock, &out.DestinationCidrBlock + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableID != nil { + in, out := &in.TransitGatewayRouteTableID, &out.TransitGatewayRouteTableID + *out = new(string) + **out = **in + } + if in.TransitGatewayRouteTableIDRef != nil { + in, out := &in.TransitGatewayRouteTableIDRef, &out.TransitGatewayRouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableIDSelector != nil { + in, out := &in.TransitGatewayRouteTableIDSelector, &out.TransitGatewayRouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayRouteInitParameters. func (in *TransitGatewayRouteInitParameters) DeepCopy() *TransitGatewayRouteInitParameters { if in == nil { @@ -40941,6 +42710,36 @@ func (in *TransitGatewayRouteTableAssociationInitParameters) DeepCopyInto(out *T *out = new(bool) **out = **in } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableID != nil { + in, out := &in.TransitGatewayRouteTableID, &out.TransitGatewayRouteTableID + *out = new(string) + **out = **in + } + if in.TransitGatewayRouteTableIDRef != nil { + in, out := &in.TransitGatewayRouteTableIDRef, &out.TransitGatewayRouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableIDSelector != nil { + in, out := &in.TransitGatewayRouteTableIDSelector, &out.TransitGatewayRouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayRouteTableAssociationInitParameters. @@ -41154,6 +42953,21 @@ func (in *TransitGatewayRouteTableInitParameters_2) DeepCopyInto(out *TransitGat (*out)[key] = outVal } } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayRouteTableInitParameters_2. @@ -41396,6 +43210,36 @@ func (in *TransitGatewayRouteTablePropagation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TransitGatewayRouteTablePropagationInitParameters) DeepCopyInto(out *TransitGatewayRouteTablePropagationInitParameters) { *out = *in + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableID != nil { + in, out := &in.TransitGatewayRouteTableID, &out.TransitGatewayRouteTableID + *out = new(string) + **out = **in + } + if in.TransitGatewayRouteTableIDRef != nil { + in, out := &in.TransitGatewayRouteTableIDRef, &out.TransitGatewayRouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayRouteTableIDSelector != nil { + in, out := &in.TransitGatewayRouteTableIDSelector, &out.TransitGatewayRouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayRouteTablePropagationInitParameters. @@ -41535,7 +43379,7 @@ func (in *TransitGatewayRouteTablePropagationSpec) DeepCopyInto(out *TransitGate *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 TransitGatewayRouteTablePropagationSpec. @@ -41788,6 +43632,21 @@ func (in *TransitGatewayVPCAttachmentAccepterInitParameters) DeepCopyInto(out *T (*out)[key] = outVal } } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentIDRef != nil { + in, out := &in.TransitGatewayAttachmentIDRef, &out.TransitGatewayAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayAttachmentIDSelector != nil { + in, out := &in.TransitGatewayAttachmentIDSelector, &out.TransitGatewayAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TransitGatewayDefaultRouteTableAssociation != nil { in, out := &in.TransitGatewayDefaultRouteTableAssociation, &out.TransitGatewayDefaultRouteTableAssociation *out = new(bool) @@ -42064,6 +43923,29 @@ func (in *TransitGatewayVPCAttachmentInitParameters) DeepCopyInto(out *TransitGa *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -42090,6 +43972,36 @@ func (in *TransitGatewayVPCAttachmentInitParameters) DeepCopyInto(out *TransitGa *out = new(bool) **out = **in } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 TransitGatewayVPCAttachmentInitParameters. @@ -42767,6 +44679,36 @@ func (in *VPCDHCPOptionsAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCDHCPOptionsAssociationInitParameters) DeepCopyInto(out *VPCDHCPOptionsAssociationInitParameters) { *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.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 VPCDHCPOptionsAssociationInitParameters. @@ -42896,7 +44838,7 @@ func (in *VPCDHCPOptionsAssociationSpec) DeepCopyInto(out *VPCDHCPOptionsAssocia *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 VPCDHCPOptionsAssociationSpec. @@ -43319,11 +45261,41 @@ func (in *VPCEndpointConnectionNotificationInitParameters) DeepCopyInto(out *VPC } } } + if in.ConnectionNotificationArn != nil { + in, out := &in.ConnectionNotificationArn, &out.ConnectionNotificationArn + *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.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 VPCEndpointConnectionNotificationInitParameters. @@ -43570,6 +45542,21 @@ func (in *VPCEndpointInitParameters_2) DeepCopyInto(out *VPCEndpointInitParamete *out = new(bool) **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)) @@ -43591,6 +45578,21 @@ func (in *VPCEndpointInitParameters_2) DeepCopyInto(out *VPCEndpointInitParamete *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 VPCEndpointInitParameters_2. @@ -43989,6 +45991,36 @@ func (in *VPCEndpointRouteTableAssociation) DeepCopyObject() runtime.Object { // 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 + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + 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.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 VPCEndpointRouteTableAssociationInitParameters. @@ -44118,7 +46150,7 @@ func (in *VPCEndpointRouteTableAssociationSpec) DeepCopyInto(out *VPCEndpointRou *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 VPCEndpointRouteTableAssociationSpec. @@ -44183,6 +46215,36 @@ func (in *VPCEndpointSecurityGroupAssociationInitParameters) DeepCopyInto(out *V *out = new(bool) **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.VPCEndpointID != nil { + in, out := &in.VPCEndpointID, &out.VPCEndpointID + *out = new(string) + **out = **in + } + 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 VPCEndpointSecurityGroupAssociationInitParameters. @@ -44414,6 +46476,21 @@ func (in *VPCEndpointServiceAllowedPrincipalInitParameters) DeepCopyInto(out *VP *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 VPCEndpointServiceAllowedPrincipalInitParameters. @@ -45008,6 +47085,36 @@ 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) { *out = *in + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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 + *out = new(string) + **out = **in + } + 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 VPCEndpointSubnetAssociationInitParameters. @@ -45137,7 +47244,7 @@ func (in *VPCEndpointSubnetAssociationSpec) DeepCopyInto(out *VPCEndpointSubnetA *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. @@ -45212,6 +47319,21 @@ func (in *VPCIPv4CidrBlockAssociationInitParameters) DeepCopyInto(out *VPCIPv4Ci *out = new(float64) **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 VPCIPv4CidrBlockAssociationInitParameters. @@ -45424,6 +47546,21 @@ func (in *VPCInitParameters_2) DeepCopyInto(out *VPCInitParameters_2) { *out = new(bool) **out = **in } + if in.IPv4IpamPoolID != nil { + in, out := &in.IPv4IpamPoolID, &out.IPv4IpamPoolID + *out = new(string) + **out = **in + } + 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) @@ -45846,6 +47983,21 @@ func (in *VPCIpamPoolCidrAllocationInitParameters) DeepCopyInto(out *VPCIpamPool } } } + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID + *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) @@ -46077,6 +48229,21 @@ func (in *VPCIpamPoolCidrInitParameters) DeepCopyInto(out *VPCIpamPoolCidrInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.IpamPoolID != nil { + in, out := &in.IpamPoolID, &out.IpamPoolID + *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) @@ -46314,6 +48481,21 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters *out = new(string) **out = **in } + if in.IpamScopeID != nil { + in, out := &in.IpamScopeID, &out.IpamScopeID + *out = new(string) + **out = **in + } + if in.IpamScopeIDRef != nil { + in, out := &in.IpamScopeIDRef, &out.IpamScopeIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IpamScopeIDSelector != nil { + in, out := &in.IpamScopeIDSelector, &out.IpamScopeIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Locale != nil { in, out := &in.Locale, &out.Locale *out = new(string) @@ -46329,6 +48511,21 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters *out = new(bool) **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)) @@ -46739,6 +48936,21 @@ func (in *VPCIpamScopeInitParameters) DeepCopyInto(out *VPCIpamScopeInitParamete *out = new(string) **out = **in } + 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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -47499,6 +49711,21 @@ func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopyInto(out *VPCPeeri (*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 VPCPeeringConnectionAccepterInitParameters. @@ -47842,6 +50069,21 @@ func (in *VPCPeeringConnectionInitParameters_2) DeepCopyInto(out *VPCPeeringConn *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -47858,6 +50100,21 @@ func (in *VPCPeeringConnectionInitParameters_2) DeepCopyInto(out *VPCPeeringConn (*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 VPCPeeringConnectionInitParameters_2. @@ -48132,6 +50389,21 @@ func (in *VPCPeeringConnectionOptionsInitParameters) DeepCopyInto(out *VPCPeerin (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 VPCPeeringConnectionOptionsInitParameters. @@ -48570,6 +50842,21 @@ func (in *VPNConnectionInitParameters) DeepCopy() *VPNConnectionInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPNConnectionInitParameters_2) DeepCopyInto(out *VPNConnectionInitParameters_2) { *out = *in + if in.CustomerGatewayID != nil { + in, out := &in.CustomerGatewayID, &out.CustomerGatewayID + *out = new(string) + **out = **in + } + if in.CustomerGatewayIDRef != nil { + in, out := &in.CustomerGatewayIDRef, &out.CustomerGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CustomerGatewayIDSelector != nil { + in, out := &in.CustomerGatewayIDSelector, &out.CustomerGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EnableAcceleration != nil { in, out := &in.EnableAcceleration, &out.EnableAcceleration *out = new(bool) @@ -48621,6 +50908,21 @@ func (in *VPNConnectionInitParameters_2) DeepCopyInto(out *VPNConnectionInitPara (*out)[key] = outVal } } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.TransitGatewayIDRef != nil { + in, out := &in.TransitGatewayIDRef, &out.TransitGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransitGatewayIDSelector != nil { + in, out := &in.TransitGatewayIDSelector, &out.TransitGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TransportTransitGatewayAttachmentID != nil { in, out := &in.TransportTransitGatewayAttachmentID, &out.TransportTransitGatewayAttachmentID *out = new(string) @@ -48909,6 +51211,36 @@ func (in *VPNConnectionInitParameters_2) DeepCopyInto(out *VPNConnectionInitPara *out = new(string) **out = **in } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypeRef != nil { + in, out := &in.TypeRef, &out.TypeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TypeSelector != nil { + in, out := &in.TypeSelector, &out.TypeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayID != nil { + in, out := &in.VPNGatewayID, &out.VPNGatewayID + *out = new(string) + **out = **in + } + if in.VPNGatewayIDRef != nil { + in, out := &in.VPNGatewayIDRef, &out.VPNGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayIDSelector != nil { + in, out := &in.VPNGatewayIDSelector, &out.VPNGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNConnectionInitParameters_2. @@ -49941,6 +52273,21 @@ func (in *VPNConnectionRouteInitParameters) DeepCopyInto(out *VPNConnectionRoute *out = new(string) **out = **in } + if in.VPNConnectionID != nil { + in, out := &in.VPNConnectionID, &out.VPNConnectionID + *out = new(string) + **out = **in + } + if in.VPNConnectionIDRef != nil { + in, out := &in.VPNConnectionIDRef, &out.VPNConnectionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNConnectionIDSelector != nil { + in, out := &in.VPNConnectionIDSelector, &out.VPNConnectionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNConnectionRouteInitParameters. @@ -50182,6 +52529,36 @@ func (in *VPNGatewayAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPNGatewayAttachmentInitParameters) DeepCopyInto(out *VPNGatewayAttachmentInitParameters) { *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) + } + if in.VPNGatewayID != nil { + in, out := &in.VPNGatewayID, &out.VPNGatewayID + *out = new(string) + **out = **in + } + if in.VPNGatewayIDRef != nil { + in, out := &in.VPNGatewayIDRef, &out.VPNGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayIDSelector != nil { + in, out := &in.VPNGatewayIDSelector, &out.VPNGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNGatewayAttachmentInitParameters. @@ -50311,7 +52688,7 @@ func (in *VPNGatewayAttachmentSpec) DeepCopyInto(out *VPNGatewayAttachmentSpec) *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 VPNGatewayAttachmentSpec. @@ -50385,6 +52762,21 @@ func (in *VPNGatewayInitParameters_2) DeepCopyInto(out *VPNGatewayInitParameters (*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 VPNGatewayInitParameters_2. @@ -50637,6 +53029,36 @@ func (in *VPNGatewayRoutePropagation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPNGatewayRoutePropagationInitParameters) DeepCopyInto(out *VPNGatewayRoutePropagationInitParameters) { *out = *in + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + 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.VPNGatewayID != nil { + in, out := &in.VPNGatewayID, &out.VPNGatewayID + *out = new(string) + **out = **in + } + if in.VPNGatewayIDRef != nil { + in, out := &in.VPNGatewayIDRef, &out.VPNGatewayIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPNGatewayIDSelector != nil { + in, out := &in.VPNGatewayIDSelector, &out.VPNGatewayIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPNGatewayRoutePropagationInitParameters. @@ -50766,7 +53188,7 @@ func (in *VPNGatewayRoutePropagationSpec) DeepCopyInto(out *VPNGatewayRoutePropa *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 VPNGatewayRoutePropagationSpec. @@ -51021,6 +53443,21 @@ func (in *VolumeAttachmentInitParameters) DeepCopyInto(out *VolumeAttachmentInit *out = new(bool) **out = **in } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SkipDestroy != nil { in, out := &in.SkipDestroy, &out.SkipDestroy *out = new(bool) @@ -51031,6 +53468,21 @@ func (in *VolumeAttachmentInitParameters) DeepCopyInto(out *VolumeAttachmentInit *out = new(bool) **out = **in } + if in.VolumeID != nil { + in, out := &in.VolumeID, &out.VolumeID + *out = new(string) + **out = **in + } + if in.VolumeIDRef != nil { + in, out := &in.VolumeIDRef, &out.VolumeIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VolumeIDSelector != nil { + in, out := &in.VolumeIDSelector, &out.VolumeIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentInitParameters. diff --git a/apis/ec2/v1beta1/zz_generated.resolvers.go b/apis/ec2/v1beta1/zz_generated.resolvers.go index 6b930596c1..1d315ae7ea 100644 --- a/apis/ec2/v1beta1/zz_generated.resolvers.go +++ b/apis/ec2/v1beta1/zz_generated.resolvers.go @@ -42,6 +42,24 @@ func (mg *AMI) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.EBSBlockDevice[i3].SnapshotID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EBSBlockDevice[i3].SnapshotIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EBSBlockDevice); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotIDRef, + Selector: mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotIDSelector, + To: reference.To{ + List: &EBSSnapshotList{}, + Managed: &EBSSnapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotID") + } + mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EBSBlockDevice[i3].SnapshotIDRef = rsp.ResolvedReference + } return nil @@ -86,6 +104,38 @@ func (mg *AMICopy) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SourceAMIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceAMIIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceAMIID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SourceAMIIDRef, + Selector: mg.Spec.InitProvider.SourceAMIIDSelector, + To: reference.To{ + List: &AMIList{}, + Managed: &AMI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceAMIID") + } + mg.Spec.InitProvider.SourceAMIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceAMIIDRef = rsp.ResolvedReference + return nil } @@ -112,6 +162,22 @@ func (mg *AMILaunchPermission) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ImageID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ImageIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ImageID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ImageIDRef, + Selector: mg.Spec.InitProvider.ImageIDSelector, + To: reference.To{ + List: &AMIList{}, + Managed: &AMI{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ImageID") + } + mg.Spec.InitProvider.ImageID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ImageIDRef = rsp.ResolvedReference + return nil } @@ -138,6 +204,22 @@ func (mg *CarrierGateway) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -199,6 +281,56 @@ func (mg *DefaultNetworkACL) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultNetworkACLID), + Extract: resource.ExtractParamPath("default_network_acl_id", true), + Reference: mg.Spec.InitProvider.DefaultNetworkACLIDRef, + Selector: mg.Spec.InitProvider.DefaultNetworkACLIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultNetworkACLID") + } + mg.Spec.InitProvider.DefaultNetworkACLID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultNetworkACLIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Ingress); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Ingress[i3].CidrBlock), + Extract: resource.ExtractParamPath("cidr_block", true), + Reference: mg.Spec.InitProvider.Ingress[i3].CidrBlockRef, + Selector: mg.Spec.InitProvider.Ingress[i3].CidrBlockSelector, + To: reference.To{ + List: &DefaultVPCList{}, + Managed: &DefaultVPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Ingress[i3].CidrBlock") + } + mg.Spec.InitProvider.Ingress[i3].CidrBlock = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Ingress[i3].CidrBlockRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -260,6 +392,58 @@ func (mg *DefaultRouteTable) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.Route[i3].GatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Route[i3].GatewayIDRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultRouteTableID), + Extract: resource.ExtractParamPath("default_route_table_id", true), + Reference: mg.Spec.InitProvider.DefaultRouteTableIDRef, + Selector: mg.Spec.InitProvider.DefaultRouteTableIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultRouteTableID") + } + mg.Spec.InitProvider.DefaultRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultRouteTableIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Route); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayIDRef, + Selector: mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayIDSelector, + To: reference.To{ + List: &EgressOnlyInternetGatewayList{}, + Managed: &EgressOnlyInternetGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayID") + } + mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Route[i3].EgressOnlyGatewayIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Route); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Route[i3].GatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Route[i3].GatewayIDRef, + Selector: mg.Spec.InitProvider.Route[i3].GatewayIDSelector, + To: reference.To{ + List: &InternetGatewayList{}, + Managed: &InternetGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Route[i3].GatewayID") + } + mg.Spec.InitProvider.Route[i3].GatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Route[i3].GatewayIDRef = rsp.ResolvedReference + } return nil @@ -288,6 +472,22 @@ func (mg *DefaultSecurityGroup) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -314,6 +514,22 @@ func (mg *EBSDefaultKMSKey) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.KeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.KeyArnRef, + Selector: mg.Spec.InitProvider.KeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyArn") + } + mg.Spec.InitProvider.KeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyArnRef = rsp.ResolvedReference + return nil } @@ -340,6 +556,22 @@ func (mg *EBSSnapshot) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.VolumeID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VolumeIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VolumeID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VolumeIDRef, + Selector: mg.Spec.InitProvider.VolumeIDSelector, + To: reference.To{ + List: &EBSVolumeList{}, + Managed: &EBSVolume{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VolumeID") + } + mg.Spec.InitProvider.VolumeID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VolumeIDRef = rsp.ResolvedReference + return nil } @@ -382,6 +614,38 @@ func (mg *EBSSnapshotCopy) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.SourceSnapshotID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceSnapshotIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceSnapshotID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceSnapshotIDRef, + Selector: mg.Spec.InitProvider.SourceSnapshotIDSelector, + To: reference.To{ + List: &EBSSnapshotList{}, + Managed: &EBSSnapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceSnapshotID") + } + mg.Spec.InitProvider.SourceSnapshotID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceSnapshotIDRef = rsp.ResolvedReference + return nil } @@ -408,6 +672,22 @@ func (mg *EBSSnapshotImport) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -434,6 +714,22 @@ func (mg *EBSVolume) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -476,6 +772,38 @@ func (mg *EIP) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.NetworkInterface = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkInterfaceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Instance), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceRef, + Selector: mg.Spec.InitProvider.InstanceSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Instance") + } + mg.Spec.InitProvider.Instance = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterface), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NetworkInterfaceRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterface") + } + mg.Spec.InitProvider.NetworkInterface = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceRef = rsp.ResolvedReference + return nil } @@ -518,6 +846,38 @@ func (mg *EIPAssociation) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AllocationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AllocationIDRef, + Selector: mg.Spec.InitProvider.AllocationIDSelector, + To: reference.To{ + List: &EIPList{}, + Managed: &EIP{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AllocationID") + } + mg.Spec.InitProvider.AllocationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AllocationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -544,6 +904,22 @@ func (mg *EgressOnlyInternetGateway) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -618,20 +994,84 @@ func (mg *FlowLog) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference - return nil -} - -// ResolveReferences of this Instance. -func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error { - r := reference.NewAPIResolver(c, mg) - - var rsp reference.ResolutionResponse - var mrsp reference.MultiResolutionResponse - var err error + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference - for i3 := 0; i3 < len(mg.Spec.ForProvider.EBSBlockDevice); i3++ { - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EBSBlockDevice[i3].KMSKeyID), + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogDestination), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LogDestinationRef, + Selector: mg.Spec.InitProvider.LogDestinationSelector, + To: reference.To{ + List: &v1beta12.GroupList{}, + Managed: &v1beta12.Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogDestination") + } + mg.Spec.InitProvider.LogDestination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogDestinationRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + + return nil +} + +// ResolveReferences of this Instance. +func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var mrsp reference.MultiResolutionResponse + var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.EBSBlockDevice); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EBSBlockDevice[i3].KMSKeyID), Extract: reference.ExternalName(), Reference: mg.Spec.ForProvider.EBSBlockDevice[i3].KMSKeyIDRef, Selector: mg.Spec.ForProvider.EBSBlockDevice[i3].KMSKeyIDSelector, @@ -715,6 +1155,92 @@ func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.EBSBlockDevice); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyIDRef, + Selector: mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyID") + } + mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EBSBlockDevice[i3].KMSKeyIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkInterface); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterface[i3].NetworkInterfaceIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RootBlockDevice); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyIDRef, + Selector: mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyID") + } + mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RootBlockDevice[i3].KMSKeyIDRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -741,6 +1267,22 @@ func (mg *InstanceState) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + return nil } @@ -767,6 +1309,22 @@ func (mg *InternetGateway) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -920,6 +1478,148 @@ func (mg *LaunchTemplate) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.BlockDeviceMappings); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyIDRef, + Selector: mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyID") + } + mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BlockDeviceMappings[i3].EBS[i4].KMSKeyIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.IAMInstanceProfile); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMInstanceProfile[i3].Arn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMInstanceProfile[i3].ArnRef, + Selector: mg.Spec.InitProvider.IAMInstanceProfile[i3].ArnSelector, + To: reference.To{ + List: &v1beta11.InstanceProfileList{}, + Managed: &v1beta11.InstanceProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMInstanceProfile[i3].Arn") + } + mg.Spec.InitProvider.IAMInstanceProfile[i3].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMInstanceProfile[i3].ArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.IAMInstanceProfile); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMInstanceProfile[i3].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.IAMInstanceProfile[i3].NameRef, + Selector: mg.Spec.InitProvider.IAMInstanceProfile[i3].NameSelector, + To: reference.To{ + List: &v1beta11.InstanceProfileList{}, + Managed: &v1beta11.InstanceProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMInstanceProfile[i3].Name") + } + mg.Spec.InitProvider.IAMInstanceProfile[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMInstanceProfile[i3].NameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkInterfaces); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaces[i3].NetworkInterfaceIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkInterfaces); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroupRefs, + Selector: mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroupSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroups") + } + mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.NetworkInterfaces[i3].SecurityGroupRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkInterfaces); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetID") + } + mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaces[i3].SubnetIDRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupNames), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupNameRefs, + Selector: mg.Spec.InitProvider.SecurityGroupNameSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupNames") + } + mg.Spec.InitProvider.SecurityGroupNames = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupNameRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -962,6 +1662,38 @@ func (mg *MainRouteTableAssociation) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RouteTableIDRef, + Selector: mg.Spec.InitProvider.RouteTableIDSelector, + To: reference.To{ + List: &RouteTableList{}, + Managed: &RouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteTableID") + } + mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -989,6 +1721,24 @@ func (mg *ManagedPrefixList) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.Entry[i3].Cidr = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Entry[i3].CidrRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Entry); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Entry[i3].Cidr), + Extract: resource.ExtractParamPath("cidr_block", false), + Reference: mg.Spec.InitProvider.Entry[i3].CidrRef, + Selector: mg.Spec.InitProvider.Entry[i3].CidrSelector, + To: reference.To{ + List: &VPCIPv4CidrBlockAssociationList{}, + Managed: &VPCIPv4CidrBlockAssociation{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Entry[i3].Cidr") + } + mg.Spec.InitProvider.Entry[i3].Cidr = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Entry[i3].CidrRef = rsp.ResolvedReference + } return nil @@ -1033,6 +1783,38 @@ func (mg *ManagedPrefixListEntry) ResolveReferences(ctx context.Context, c clien 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.InitProvider.Cidr), + Extract: resource.ExtractParamPath("cidr_block", false), + Reference: mg.Spec.InitProvider.CidrRef, + Selector: mg.Spec.InitProvider.CidrSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Cidr") + } + mg.Spec.InitProvider.Cidr = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CidrRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrefixListID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PrefixListIDRef, + Selector: mg.Spec.InitProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrefixListID") + } + mg.Spec.InitProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrefixListIDRef = rsp.ResolvedReference + return nil } @@ -1075,7 +1857,39 @@ func (mg *NATGateway) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference - return nil + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AllocationID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AllocationIDRef, + Selector: mg.Spec.InitProvider.AllocationIDSelector, + To: reference.To{ + List: &EIPList{}, + Managed: &EIP{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AllocationID") + } + mg.Spec.InitProvider.AllocationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AllocationIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + return nil } // ResolveReferences of this NetworkACL. @@ -1118,6 +1932,38 @@ func (mg *NetworkACL) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -1144,6 +1990,22 @@ func (mg *NetworkACLRule) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.NetworkACLID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkACLIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkACLID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.NetworkACLIDRef, + Selector: mg.Spec.InitProvider.NetworkACLIDSelector, + To: reference.To{ + List: &NetworkACLList{}, + Managed: &NetworkACL{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkACLID") + } + mg.Spec.InitProvider.NetworkACLID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkACLIDRef = rsp.ResolvedReference + return nil } @@ -1170,6 +2032,22 @@ func (mg *NetworkInsightsAnalysis) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.NetworkInsightsPathID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkInsightsPathIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInsightsPathID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.NetworkInsightsPathIDRef, + Selector: mg.Spec.InitProvider.NetworkInsightsPathIDSelector, + To: reference.To{ + List: &NetworkInsightsPathList{}, + Managed: &NetworkInsightsPath{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInsightsPathID") + } + mg.Spec.InitProvider.NetworkInsightsPathID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInsightsPathIDRef = rsp.ResolvedReference + return nil } @@ -1212,6 +2090,38 @@ func (mg *NetworkInsightsPath) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.Source = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Destination), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DestinationRef, + Selector: mg.Spec.InitProvider.DestinationSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Destination") + } + mg.Spec.InitProvider.Destination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Source), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceRef, + Selector: mg.Spec.InitProvider.SourceSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Source") + } + mg.Spec.InitProvider.Source = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceRef = rsp.ResolvedReference + return nil } @@ -1255,6 +2165,38 @@ func (mg *NetworkInterface) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupRefs, + Selector: mg.Spec.InitProvider.SecurityGroupSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroups") + } + mg.Spec.InitProvider.SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -1297,6 +2239,38 @@ func (mg *NetworkInterfaceAttachment) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + return nil } @@ -1339,6 +2313,38 @@ func (mg *NetworkInterfaceSgAttachment) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaceID), + Extract: resource.ExtractParamPath("primary_network_interface_id", true), + Reference: mg.Spec.InitProvider.NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupID") + } + mg.Spec.InitProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecurityGroupIDRef = rsp.ResolvedReference + return nil } @@ -1493,6 +2499,150 @@ func (mg *Route) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationPrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DestinationPrefixListIDRef, + Selector: mg.Spec.InitProvider.DestinationPrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationPrefixListID") + } + mg.Spec.InitProvider.DestinationPrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationPrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EgressOnlyGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.EgressOnlyGatewayIDRef, + Selector: mg.Spec.InitProvider.EgressOnlyGatewayIDSelector, + To: reference.To{ + List: &EgressOnlyInternetGatewayList{}, + Managed: &EgressOnlyInternetGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EgressOnlyGatewayID") + } + mg.Spec.InitProvider.EgressOnlyGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EgressOnlyGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.GatewayIDRef, + Selector: mg.Spec.InitProvider.GatewayIDSelector, + To: reference.To{ + List: &InternetGatewayList{}, + Managed: &InternetGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GatewayID") + } + mg.Spec.InitProvider.GatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NATGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NATGatewayIDRef, + Selector: mg.Spec.InitProvider.NATGatewayIDSelector, + To: reference.To{ + List: &NATGatewayList{}, + Managed: &NATGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NATGatewayID") + } + mg.Spec.InitProvider.NATGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NATGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RouteTableIDRef, + Selector: mg.Spec.InitProvider.RouteTableIDSelector, + To: reference.To{ + List: &RouteTableList{}, + Managed: &RouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteTableID") + } + mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCEndpointIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointIDSelector, + To: reference.To{ + List: &VPCEndpointList{}, + Managed: &VPCEndpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointID") + } + mg.Spec.InitProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCPeeringConnectionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCPeeringConnectionIDRef, + Selector: mg.Spec.InitProvider.VPCPeeringConnectionIDSelector, + To: reference.To{ + List: &VPCPeeringConnectionList{}, + Managed: &VPCPeeringConnection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCPeeringConnectionID") + } + mg.Spec.InitProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + return nil } @@ -1519,6 +2669,22 @@ func (mg *RouteTable) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -1577,6 +2743,54 @@ func (mg *RouteTableAssociation) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GatewayIDRef, + Selector: mg.Spec.InitProvider.GatewayIDSelector, + To: reference.To{ + List: &InternetGatewayList{}, + Managed: &InternetGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GatewayID") + } + mg.Spec.InitProvider.GatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RouteTableIDRef, + Selector: mg.Spec.InitProvider.RouteTableIDSelector, + To: reference.To{ + List: &RouteTableList{}, + Managed: &RouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteTableID") + } + mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -1603,6 +2817,22 @@ func (mg *SecurityGroup) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -1661,6 +2891,54 @@ func (mg *SecurityGroupEgressRule) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PrefixListIDRef, + Selector: mg.Spec.InitProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrefixListID") + } + mg.Spec.InitProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.InitProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReferencedSecurityGroupID") + } + mg.Spec.InitProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupID") + } + mg.Spec.InitProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecurityGroupIDRef = rsp.ResolvedReference + return nil } @@ -1719,6 +2997,54 @@ func (mg *SecurityGroupIngressRule) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrefixListID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PrefixListIDRef, + Selector: mg.Spec.InitProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrefixListID") + } + mg.Spec.InitProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReferencedSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ReferencedSecurityGroupIDRef, + Selector: mg.Spec.InitProvider.ReferencedSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReferencedSecurityGroupID") + } + mg.Spec.InitProvider.ReferencedSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReferencedSecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupID") + } + mg.Spec.InitProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecurityGroupIDRef = rsp.ResolvedReference + return nil } @@ -1749,34 +3075,82 @@ func (mg *SecurityGroupRule) ResolveReferences(ctx context.Context, c client.Rea 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, + 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 + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SourceSecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.SourceSecurityGroupIDRef, + Selector: mg.Spec.ForProvider.SourceSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.SourceSecurityGroupID") + } + mg.Spec.ForProvider.SourceSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.SourceSecurityGroupIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.PrefixListIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.PrefixListIDRefs, + Selector: mg.Spec.InitProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrefixListIds") + } + mg.Spec.InitProvider.PrefixListIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.PrefixListIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, To: reference.To{ List: &SecurityGroupList{}, Managed: &SecurityGroup{}, }, }) if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.SecurityGroupID") + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupID") } - mg.Spec.ForProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference + mg.Spec.InitProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecurityGroupIDRef = rsp.ResolvedReference rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.SourceSecurityGroupID), + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceSecurityGroupID), Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.SourceSecurityGroupIDRef, - Selector: mg.Spec.ForProvider.SourceSecurityGroupIDSelector, + Reference: mg.Spec.InitProvider.SourceSecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SourceSecurityGroupIDSelector, To: reference.To{ List: &SecurityGroupList{}, Managed: &SecurityGroup{}, }, }) if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.SourceSecurityGroupID") + return errors.Wrap(err, "mg.Spec.InitProvider.SourceSecurityGroupID") } - mg.Spec.ForProvider.SourceSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.SourceSecurityGroupIDRef = rsp.ResolvedReference + mg.Spec.InitProvider.SourceSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceSecurityGroupIDRef = rsp.ResolvedReference return nil } @@ -1804,6 +3178,22 @@ func (mg *SnapshotCreateVolumePermission) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.SnapshotID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnapshotIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnapshotID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SnapshotIDRef, + Selector: mg.Spec.InitProvider.SnapshotIDSelector, + To: reference.To{ + List: &EBSSnapshotList{}, + Managed: &EBSSnapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnapshotID") + } + mg.Spec.InitProvider.SnapshotID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnapshotIDRef = rsp.ResolvedReference + return nil } @@ -1872,6 +3262,64 @@ func (mg *SpotFleetRequest) ResolveReferences(ctx context.Context, c client.Read } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchSpecification); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArnRef, + Selector: mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArnSelector, + To: reference.To{ + List: &v1beta11.InstanceProfileList{}, + Managed: &v1beta11.InstanceProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArn") + } + mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchSpecification[i3].IAMInstanceProfileArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchTemplateConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].ID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].IDRef, + Selector: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].IDSelector, + To: reference.To{ + List: &LaunchTemplateList{}, + Managed: &LaunchTemplate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].ID") + } + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].ID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].IDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchTemplateConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].Version), + Extract: resource.ExtractParamPath("latest_version", true), + Reference: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].VersionRef, + Selector: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].VersionSelector, + To: reference.To{ + List: &LaunchTemplateList{}, + Managed: &LaunchTemplate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].Version") + } + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].Version = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification[i4].VersionRef = rsp.ResolvedReference + + } + } return nil } @@ -1916,6 +3364,38 @@ func (mg *SpotInstanceRequest) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -1942,6 +3422,22 @@ func (mg *Subnet) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -1968,6 +3464,22 @@ func (mg *SubnetCidrReservation) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -1994,6 +3506,22 @@ func (mg *TrafficMirrorFilterRule) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.TrafficMirrorFilterID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TrafficMirrorFilterIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TrafficMirrorFilterID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TrafficMirrorFilterIDRef, + Selector: mg.Spec.InitProvider.TrafficMirrorFilterIDSelector, + To: reference.To{ + List: &TrafficMirrorFilterList{}, + Managed: &TrafficMirrorFilter{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TrafficMirrorFilterID") + } + mg.Spec.InitProvider.TrafficMirrorFilterID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TrafficMirrorFilterIDRef = rsp.ResolvedReference + return nil } @@ -2036,6 +3564,38 @@ func (mg *TransitGatewayConnect) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.TransportAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransportAttachmentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransportAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransportAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransportAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransportAttachmentID") + } + mg.Spec.InitProvider.TransportAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransportAttachmentIDRef = rsp.ResolvedReference + return nil } @@ -2062,6 +3622,22 @@ func (mg *TransitGatewayConnectPeer) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayConnectList{}, + Managed: &TransitGatewayConnect{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + return nil } @@ -2088,6 +3664,22 @@ func (mg *TransitGatewayMulticastDomain) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + return nil } @@ -2146,6 +3738,54 @@ func (mg *TransitGatewayMulticastDomainAssociation) ResolveReferences(ctx contex mg.Spec.ForProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayMulticastDomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDSelector, + To: reference.To{ + List: &TransitGatewayMulticastDomainList{}, + Managed: &TransitGatewayMulticastDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayMulticastDomainID") + } + mg.Spec.InitProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + return nil } @@ -2188,6 +3828,38 @@ func (mg *TransitGatewayMulticastGroupMember) ResolveReferences(ctx context.Cont mg.Spec.ForProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayMulticastDomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDSelector, + To: reference.To{ + List: &TransitGatewayMulticastDomainList{}, + Managed: &TransitGatewayMulticastDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayMulticastDomainID") + } + mg.Spec.InitProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + return nil } @@ -2230,6 +3902,38 @@ func (mg *TransitGatewayMulticastGroupSource) ResolveReferences(ctx context.Cont mg.Spec.ForProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NetworkInterfaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.NetworkInterfaceIDRef, + Selector: mg.Spec.InitProvider.NetworkInterfaceIDSelector, + To: reference.To{ + List: &NetworkInterfaceList{}, + Managed: &NetworkInterface{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkInterfaceID") + } + mg.Spec.InitProvider.NetworkInterfaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NetworkInterfaceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayMulticastDomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayMulticastDomainIDSelector, + To: reference.To{ + List: &TransitGatewayMulticastDomainList{}, + Managed: &TransitGatewayMulticastDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayMulticastDomainID") + } + mg.Spec.InitProvider.TransitGatewayMulticastDomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayMulticastDomainIDRef = rsp.ResolvedReference + return nil } @@ -2272,6 +3976,38 @@ func (mg *TransitGatewayPeeringAttachment) ResolveReferences(ctx context.Context mg.Spec.ForProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PeerTransitGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PeerTransitGatewayIDRef, + Selector: mg.Spec.InitProvider.PeerTransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PeerTransitGatewayID") + } + mg.Spec.InitProvider.PeerTransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PeerTransitGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + return nil } @@ -2298,6 +4034,22 @@ func (mg *TransitGatewayPeeringAttachmentAccepter) ResolveReferences(ctx context mg.Spec.ForProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayPeeringAttachmentList{}, + Managed: &TransitGatewayPeeringAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + return nil } @@ -2324,6 +4076,22 @@ func (mg *TransitGatewayPolicyTable) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + return nil } @@ -2382,6 +4150,54 @@ func (mg *TransitGatewayPrefixListReference) ResolveReferences(ctx context.Conte mg.Spec.ForProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrefixListID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PrefixListIDRef, + Selector: mg.Spec.InitProvider.PrefixListIDSelector, + To: reference.To{ + List: &ManagedPrefixListList{}, + Managed: &ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrefixListID") + } + mg.Spec.InitProvider.PrefixListID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrefixListIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayRouteTableID), + Extract: resource.ExtractParamPath("association_default_route_table_id", true), + Reference: mg.Spec.InitProvider.TransitGatewayRouteTableIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayRouteTableIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayRouteTableID") + } + mg.Spec.InitProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + return nil } @@ -2424,6 +4240,38 @@ func (mg *TransitGatewayRoute) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayRouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayRouteTableIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayRouteTableIDSelector, + To: reference.To{ + List: &TransitGatewayRouteTableList{}, + Managed: &TransitGatewayRouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayRouteTableID") + } + mg.Spec.InitProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + return nil } @@ -2450,6 +4298,22 @@ func (mg *TransitGatewayRouteTable) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + return nil } @@ -2492,6 +4356,38 @@ func (mg *TransitGatewayRouteTableAssociation) ResolveReferences(ctx context.Con mg.Spec.ForProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayRouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayRouteTableIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayRouteTableIDSelector, + To: reference.To{ + List: &TransitGatewayRouteTableList{}, + Managed: &TransitGatewayRouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayRouteTableID") + } + mg.Spec.InitProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + return nil } @@ -2534,6 +4430,38 @@ func (mg *TransitGatewayRouteTablePropagation) ResolveReferences(ctx context.Con mg.Spec.ForProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayRouteTableID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayRouteTableIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayRouteTableIDSelector, + To: reference.To{ + List: &TransitGatewayRouteTableList{}, + Managed: &TransitGatewayRouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayRouteTableID") + } + mg.Spec.InitProvider.TransitGatewayRouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayRouteTableIDRef = rsp.ResolvedReference + return nil } @@ -2593,6 +4521,54 @@ func (mg *TransitGatewayVPCAttachment) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -2619,6 +4595,22 @@ func (mg *TransitGatewayVPCAttachmentAccepter) ResolveReferences(ctx context.Con mg.Spec.ForProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayAttachmentID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TransitGatewayAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayAttachmentIDSelector, + To: reference.To{ + List: &TransitGatewayVPCAttachmentList{}, + Managed: &TransitGatewayVPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayAttachmentID") + } + mg.Spec.InitProvider.TransitGatewayAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayAttachmentIDRef = rsp.ResolvedReference + return nil } @@ -2645,6 +4637,22 @@ func (mg *VPC) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.IPv4IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IPv4IpamPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IPv4IpamPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IPv4IpamPoolIDRef, + Selector: mg.Spec.InitProvider.IPv4IpamPoolIDSelector, + To: reference.To{ + List: &VPCIpamPoolList{}, + Managed: &VPCIpamPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IPv4IpamPoolID") + } + mg.Spec.InitProvider.IPv4IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IPv4IpamPoolIDRef = rsp.ResolvedReference + return nil } @@ -2687,6 +4695,38 @@ func (mg *VPCDHCPOptionsAssociation) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DHCPOptionsID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DHCPOptionsIDRef, + Selector: mg.Spec.InitProvider.DHCPOptionsIDSelector, + To: reference.To{ + List: &VPCDHCPOptionsList{}, + Managed: &VPCDHCPOptions{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DHCPOptionsID") + } + mg.Spec.InitProvider.DHCPOptionsID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DHCPOptionsIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -2729,6 +4769,38 @@ func (mg *VPCEndpoint) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceName), + Extract: resource.ExtractParamPath("service_name", true), + Reference: mg.Spec.InitProvider.ServiceNameRef, + Selector: mg.Spec.InitProvider.ServiceNameSelector, + To: reference.To{ + List: &VPCEndpointServiceList{}, + Managed: &VPCEndpointService{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceName") + } + mg.Spec.InitProvider.ServiceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -2771,6 +4843,38 @@ func (mg *VPCEndpointConnectionNotification) ResolveReferences(ctx context.Conte mg.Spec.ForProvider.VPCEndpointServiceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCEndpointServiceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectionNotificationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ConnectionNotificationArnRef, + Selector: mg.Spec.InitProvider.ConnectionNotificationArnSelector, + To: reference.To{ + List: &v1beta13.TopicList{}, + Managed: &v1beta13.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectionNotificationArn") + } + mg.Spec.InitProvider.ConnectionNotificationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectionNotificationArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointServiceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCEndpointServiceIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointServiceIDSelector, + To: reference.To{ + List: &VPCEndpointServiceList{}, + Managed: &VPCEndpointService{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointServiceID") + } + mg.Spec.InitProvider.VPCEndpointServiceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointServiceIDRef = rsp.ResolvedReference + return nil } @@ -2813,6 +4917,38 @@ func (mg *VPCEndpointRouteTableAssociation) ResolveReferences(ctx context.Contex mg.Spec.ForProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCEndpointIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteTableID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RouteTableIDRef, + Selector: mg.Spec.InitProvider.RouteTableIDSelector, + To: reference.To{ + List: &RouteTableList{}, + Managed: &RouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteTableID") + } + mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCEndpointIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointIDSelector, + To: reference.To{ + List: &VPCEndpointList{}, + Managed: &VPCEndpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointID") + } + mg.Spec.InitProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointIDRef = rsp.ResolvedReference + return nil } @@ -2840,20 +4976,52 @@ func (mg *VPCEndpointSecurityGroupAssociation) ResolveReferences(ctx context.Con mg.Spec.ForProvider.SecurityGroupIDRef = rsp.ResolvedReference rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.VPCEndpointID), + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.VPCEndpointID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.ForProvider.VPCEndpointIDRef, + Selector: mg.Spec.ForProvider.VPCEndpointIDSelector, + To: reference.To{ + List: &VPCEndpointList{}, + Managed: &VPCEndpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.VPCEndpointID") + } + mg.Spec.ForProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.VPCEndpointIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecurityGroupID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SecurityGroupIDRef, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &SecurityGroupList{}, + Managed: &SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupID") + } + mg.Spec.InitProvider.SecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecurityGroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointID), Extract: resource.ExtractResourceID(), - Reference: mg.Spec.ForProvider.VPCEndpointIDRef, - Selector: mg.Spec.ForProvider.VPCEndpointIDSelector, + Reference: mg.Spec.InitProvider.VPCEndpointIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointIDSelector, To: reference.To{ List: &VPCEndpointList{}, Managed: &VPCEndpoint{}, }, }) if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.VPCEndpointID") + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointID") } - mg.Spec.ForProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.VPCEndpointIDRef = rsp.ResolvedReference + mg.Spec.InitProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointIDRef = rsp.ResolvedReference return nil } @@ -2881,6 +5049,22 @@ func (mg *VPCEndpointServiceAllowedPrincipal) ResolveReferences(ctx context.Cont mg.Spec.ForProvider.VPCEndpointServiceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCEndpointServiceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointServiceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCEndpointServiceIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointServiceIDSelector, + To: reference.To{ + List: &VPCEndpointServiceList{}, + Managed: &VPCEndpointService{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointServiceID") + } + mg.Spec.InitProvider.VPCEndpointServiceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointServiceIDRef = rsp.ResolvedReference + return nil } @@ -2923,6 +5107,38 @@ func (mg *VPCEndpointSubnetAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCEndpointIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &SubnetList{}, + Managed: &Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCEndpointID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCEndpointIDRef, + Selector: mg.Spec.InitProvider.VPCEndpointIDSelector, + To: reference.To{ + List: &VPCEndpointList{}, + Managed: &VPCEndpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCEndpointID") + } + mg.Spec.InitProvider.VPCEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCEndpointIDRef = rsp.ResolvedReference + return nil } @@ -2949,6 +5165,22 @@ func (mg *VPCIPv4CidrBlockAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -2991,6 +5223,38 @@ func (mg *VPCIpamPool) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SourceIpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceIpamPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IpamScopeID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.IpamScopeIDRef, + Selector: mg.Spec.InitProvider.IpamScopeIDSelector, + To: reference.To{ + List: &VPCIpamScopeList{}, + Managed: &VPCIpamScope{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IpamScopeID") + } + mg.Spec.InitProvider.IpamScopeID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IpamScopeIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceIpamPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceIpamPoolIDRef, + Selector: mg.Spec.InitProvider.SourceIpamPoolIDSelector, + To: reference.To{ + List: &VPCIpamPoolList{}, + Managed: &VPCIpamPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceIpamPoolID") + } + mg.Spec.InitProvider.SourceIpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceIpamPoolIDRef = rsp.ResolvedReference + return nil } @@ -3017,6 +5281,22 @@ func (mg *VPCIpamPoolCidr) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IpamPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IpamPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IpamPoolIDRef, + Selector: mg.Spec.InitProvider.IpamPoolIDSelector, + To: reference.To{ + List: &VPCIpamPoolList{}, + Managed: &VPCIpamPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IpamPoolID") + } + mg.Spec.InitProvider.IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IpamPoolIDRef = rsp.ResolvedReference + return nil } @@ -3043,6 +5323,22 @@ func (mg *VPCIpamPoolCidrAllocation) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IpamPoolIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IpamPoolID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IpamPoolIDRef, + Selector: mg.Spec.InitProvider.IpamPoolIDSelector, + To: reference.To{ + List: &VPCIpamPoolList{}, + Managed: &VPCIpamPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IpamPoolID") + } + mg.Spec.InitProvider.IpamPoolID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IpamPoolIDRef = rsp.ResolvedReference + return nil } @@ -3069,6 +5365,22 @@ func (mg *VPCIpamScope) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.IpamID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IpamIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IpamID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.IpamIDRef, + Selector: mg.Spec.InitProvider.IpamIDSelector, + To: reference.To{ + List: &VPCIpamList{}, + Managed: &VPCIpam{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IpamID") + } + mg.Spec.InitProvider.IpamID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IpamIDRef = rsp.ResolvedReference + return nil } @@ -3111,6 +5423,38 @@ func (mg *VPCPeeringConnection) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PeerVPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PeerVPCIDRef, + Selector: mg.Spec.InitProvider.PeerVPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PeerVPCID") + } + mg.Spec.InitProvider.PeerVPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PeerVPCIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -3137,6 +5481,22 @@ func (mg *VPCPeeringConnectionAccepter) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCPeeringConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCPeeringConnectionIDRef, + Selector: mg.Spec.InitProvider.VPCPeeringConnectionIDSelector, + To: reference.To{ + List: &VPCPeeringConnectionList{}, + Managed: &VPCPeeringConnection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCPeeringConnectionID") + } + mg.Spec.InitProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + return nil } @@ -3163,6 +5523,22 @@ func (mg *VPCPeeringConnectionOptions) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCPeeringConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCPeeringConnectionIDRef, + Selector: mg.Spec.InitProvider.VPCPeeringConnectionIDSelector, + To: reference.To{ + List: &VPCPeeringConnectionList{}, + Managed: &VPCPeeringConnection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCPeeringConnectionID") + } + mg.Spec.InitProvider.VPCPeeringConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCPeeringConnectionIDRef = rsp.ResolvedReference + return nil } @@ -3237,6 +5613,70 @@ func (mg *VPNConnection) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CustomerGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.CustomerGatewayIDRef, + Selector: mg.Spec.InitProvider.CustomerGatewayIDSelector, + To: reference.To{ + List: &CustomerGatewayList{}, + Managed: &CustomerGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomerGatewayID") + } + mg.Spec.InitProvider.CustomerGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CustomerGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransitGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransitGatewayIDRef, + Selector: mg.Spec.InitProvider.TransitGatewayIDSelector, + To: reference.To{ + List: &TransitGatewayList{}, + Managed: &TransitGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransitGatewayID") + } + mg.Spec.InitProvider.TransitGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransitGatewayIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Type), + Extract: resource.ExtractParamPath("type", false), + Reference: mg.Spec.InitProvider.TypeRef, + Selector: mg.Spec.InitProvider.TypeSelector, + To: reference.To{ + List: &CustomerGatewayList{}, + Managed: &CustomerGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Type") + } + mg.Spec.InitProvider.Type = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TypeRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNGatewayID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPNGatewayIDRef, + Selector: mg.Spec.InitProvider.VPNGatewayIDSelector, + To: reference.To{ + List: &VPNGatewayList{}, + Managed: &VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNGatewayID") + } + mg.Spec.InitProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNGatewayIDRef = rsp.ResolvedReference + return nil } @@ -3263,6 +5703,22 @@ func (mg *VPNConnectionRoute) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.VPNConnectionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNConnectionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNConnectionID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPNConnectionIDRef, + Selector: mg.Spec.InitProvider.VPNConnectionIDSelector, + To: reference.To{ + List: &VPNConnectionList{}, + Managed: &VPNConnection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNConnectionID") + } + mg.Spec.InitProvider.VPNConnectionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNConnectionIDRef = rsp.ResolvedReference + return nil } @@ -3289,6 +5745,22 @@ func (mg *VPNGateway) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -3331,6 +5803,38 @@ func (mg *VPNGatewayAttachment) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &VPCList{}, + Managed: &VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPNGatewayIDRef, + Selector: mg.Spec.InitProvider.VPNGatewayIDSelector, + To: reference.To{ + List: &VPNGatewayList{}, + Managed: &VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNGatewayID") + } + mg.Spec.InitProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNGatewayIDRef = rsp.ResolvedReference + return nil } @@ -3373,6 +5877,38 @@ func (mg *VPNGatewayRoutePropagation) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNGatewayIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RouteTableID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RouteTableIDRef, + Selector: mg.Spec.InitProvider.RouteTableIDSelector, + To: reference.To{ + List: &RouteTableList{}, + Managed: &RouteTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RouteTableID") + } + mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPNGatewayID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPNGatewayIDRef, + Selector: mg.Spec.InitProvider.VPNGatewayIDSelector, + To: reference.To{ + List: &VPNGatewayList{}, + Managed: &VPNGateway{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPNGatewayID") + } + mg.Spec.InitProvider.VPNGatewayID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPNGatewayIDRef = rsp.ResolvedReference + return nil } @@ -3415,5 +5951,37 @@ func (mg *VolumeAttachment) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.VolumeID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VolumeIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceIDRef, + Selector: mg.Spec.InitProvider.InstanceIDSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceID") + } + mg.Spec.InitProvider.InstanceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VolumeID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VolumeIDRef, + Selector: mg.Spec.InitProvider.VolumeIDSelector, + To: reference.To{ + List: &EBSVolumeList{}, + Managed: &EBSVolume{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VolumeID") + } + mg.Spec.InitProvider.VolumeID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VolumeIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/ec2/v1beta1/zz_instance_types.go b/apis/ec2/v1beta1/zz_instance_types.go index 6378a14b28..c5366c5c5c 100755 --- a/apis/ec2/v1beta1/zz_instance_types.go +++ b/apis/ec2/v1beta1/zz_instance_types.go @@ -166,6 +166,18 @@ type InstanceEBSBlockDeviceInitParameters struct { // Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3. Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Snapshot ID to mount. SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` @@ -426,6 +438,18 @@ type InstanceInitParameters struct { // Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true. SourceDestCheck *bool `json:"sourceDestCheck,omitempty" tf:"source_dest_check,omitempty"` + // VPC Subnet ID to launch in. + // +crossplane:generate:reference:type=Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -442,6 +466,21 @@ type InstanceInitParameters struct { // When used in combination with user_data or user_data_base64 will trigger a destroy and recreate when set to true. Defaults to false if not set. UserDataReplaceOnChange *bool `json:"userDataReplaceOnChange,omitempty" tf:"user_data_replace_on_change,omitempty"` + // References to SecurityGroup to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of security group IDs to associate with. + // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` + // Map of tags to assign, at instance-creation time, to root and EBS volumes. // +mapType=granular VolumeTags map[string]*string `json:"volumeTags,omitempty" tf:"volume_tags,omitempty"` @@ -486,6 +525,18 @@ type InstanceNetworkInterfaceInitParameters struct { // Integer index of the network card. Limited by instance type. The default index is 0. NetworkCardIndex *float64 `json:"networkCardIndex,omitempty" tf:"network_card_index,omitempty"` + + // ID of the network interface to attach. + // +crossplane:generate:reference:type=NetworkInterface + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` } type InstanceNetworkInterfaceObservation struct { @@ -1093,6 +1144,18 @@ type RootBlockDeviceInitParameters struct { // Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3. Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Map of tags to assign to the device. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_instancestate_types.go b/apis/ec2/v1beta1/zz_instancestate_types.go index 6bd348df4d..c8775af209 100755 --- a/apis/ec2/v1beta1/zz_instancestate_types.go +++ b/apis/ec2/v1beta1/zz_instancestate_types.go @@ -22,6 +22,19 @@ type InstanceStateInitParameters struct { // Whether to request a forced stop when state is stopped. Otherwise (i.e., state is running), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to false. Force *bool `json:"force,omitempty" tf:"force,omitempty"` + // ID of the instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // - State of the instance. Valid values are stopped, running. State *string `json:"state,omitempty" tf:"state,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_internetgateway_types.go b/apis/ec2/v1beta1/zz_internetgateway_types.go index a617f1c8b2..f2afd495e0 100755 --- a/apis/ec2/v1beta1/zz_internetgateway_types.go +++ b/apis/ec2/v1beta1/zz_internetgateway_types.go @@ -22,6 +22,18 @@ type InternetGatewayInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC ID to create in. See the aws_internet_gateway_attachment resource for an alternate way to attach an Internet Gateway to a VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type InternetGatewayObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_launchtemplate_types.go b/apis/ec2/v1beta1/zz_launchtemplate_types.go index 4d6941cf4c..b881f01f1c 100755 --- a/apis/ec2/v1beta1/zz_launchtemplate_types.go +++ b/apis/ec2/v1beta1/zz_launchtemplate_types.go @@ -202,6 +202,20 @@ type EBSInitParameters struct { // This must be set with a volume_type of "io1/io2/gp3". Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume. + // encrypted must be set to true when this is set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The Snapshot ID to mount. SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` @@ -356,6 +370,31 @@ type HibernationOptionsParameters struct { } type IAMInstanceProfileInitParameters struct { + + // The Amazon Resource Name (ARN) of the instance profile. Conflicts with name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a InstanceProfile in iam to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a InstanceProfile in iam to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + + // The name of the instance profile. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a InstanceProfile in iam to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a InstanceProfile in iam to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` } type IAMInstanceProfileObservation struct { @@ -943,6 +982,22 @@ type LaunchTemplateInitParameters_2 struct { // The ID of the RAM disk. RAMDiskID *string `json:"ramDiskId,omitempty" tf:"ram_disk_id,omitempty"` + // References to SecurityGroup to populate securityGroupNames. + // +kubebuilder:validation:Optional + SecurityGroupNameRefs []v1.Reference `json:"securityGroupNameRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup to populate securityGroupNames. + // +kubebuilder:validation:Optional + SecurityGroupNameSelector *v1.Selector `json:"securityGroupNameSelector,omitempty" tf:"-"` + + // A list of security group names to associate with. If you are creating Instances in a VPC, use + // vpc_security_group_ids instead. + // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupNameRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupNameSelector + // +listType=set + SecurityGroupNames []*string `json:"securityGroupNames,omitempty" tf:"security_group_names,omitempty"` + // The tags to apply to the resources during launch. See Tag Specifications below for more details. TagSpecifications []TagSpecificationsInitParameters `json:"tagSpecifications,omitempty" tf:"tag_specifications,omitempty"` @@ -955,6 +1010,21 @@ type LaunchTemplateInitParameters_2 struct { // The base64-encoded user data to provide when launching the instance. UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type LaunchTemplateInstanceMarketOptionsInitParameters struct { @@ -1633,8 +1703,47 @@ type NetworkInterfacesInitParameters struct { // The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0. NetworkCardIndex *float64 `json:"networkCardIndex,omitempty" tf:"network_card_index,omitempty"` + // The ID of the network interface to attach. + // +crossplane:generate:reference:type=NetworkInterface + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` + // The primary private IPv4 address. PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + // References to SecurityGroup to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // A list of security group IDs to associate. + // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // The VPC Subnet ID to associate. + // +crossplane:generate:reference:type=Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type NetworkInterfacesObservation struct { diff --git a/apis/ec2/v1beta1/zz_mainroutetableassociation_types.go b/apis/ec2/v1beta1/zz_mainroutetableassociation_types.go index 10970f3a3b..0e73882542 100755 --- a/apis/ec2/v1beta1/zz_mainroutetableassociation_types.go +++ b/apis/ec2/v1beta1/zz_mainroutetableassociation_types.go @@ -18,6 +18,31 @@ import ( ) type MainRouteTableAssociationInitParameters struct { + + // The ID of the Route Table to set as the new + // main route table for the target VPC + // +crossplane:generate:reference:type=RouteTable + RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` + + // Reference to a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDRef *v1.Reference `json:"routeTableIdRef,omitempty" tf:"-"` + + // Selector for a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` + + // The ID of the VPC whose main route table should be set + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type MainRouteTableAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_managedprefixlist_types.go b/apis/ec2/v1beta1/zz_managedprefixlist_types.go index 743424fd2b..a78e02dc0d 100755 --- a/apis/ec2/v1beta1/zz_managedprefixlist_types.go +++ b/apis/ec2/v1beta1/zz_managedprefixlist_types.go @@ -19,6 +19,19 @@ import ( type EntryInitParameters struct { + // CIDR block of this entry. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCIPv4CidrBlockAssociation + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cidr_block",false) + Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` + + // Reference to a VPCIPv4CidrBlockAssociation in ec2 to populate cidr. + // +kubebuilder:validation:Optional + CidrRef *v1.Reference `json:"cidrRef,omitempty" tf:"-"` + + // Selector for a VPCIPv4CidrBlockAssociation in ec2 to populate cidr. + // +kubebuilder:validation:Optional + CidrSelector *v1.Selector `json:"cidrSelector,omitempty" tf:"-"` + // Description of this entry. Due to API limitations, updating only the description of an existing entry requires temporarily removing and re-adding the entry. Description *string `json:"description,omitempty" tf:"description,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_managedprefixlistentry_types.go b/apis/ec2/v1beta1/zz_managedprefixlistentry_types.go index 1644b71837..6bc9801951 100755 --- a/apis/ec2/v1beta1/zz_managedprefixlistentry_types.go +++ b/apis/ec2/v1beta1/zz_managedprefixlistentry_types.go @@ -19,8 +19,34 @@ import ( type ManagedPrefixListEntryInitParameters struct { + // CIDR block of this entry. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("cidr_block",false) + Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` + + // Reference to a VPC in ec2 to populate cidr. + // +kubebuilder:validation:Optional + CidrRef *v1.Reference `json:"cidrRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate cidr. + // +kubebuilder:validation:Optional + CidrSelector *v1.Selector `json:"cidrSelector,omitempty" tf:"-"` + // Description of this entry. Please note that due to API limitations, updating only the description of an entry will require recreating the entry. Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // CIDR block of this entry. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + 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:"-"` } type ManagedPrefixListEntryObservation struct { diff --git a/apis/ec2/v1beta1/zz_natgateway_types.go b/apis/ec2/v1beta1/zz_natgateway_types.go index 17482f72a4..4dee76699c 100755 --- a/apis/ec2/v1beta1/zz_natgateway_types.go +++ b/apis/ec2/v1beta1/zz_natgateway_types.go @@ -19,6 +19,19 @@ import ( type NATGatewayInitParameters_2 struct { + // The Allocation ID of the Elastic IP address for the NAT Gateway. Required for connectivity_type of public. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EIP + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AllocationID *string `json:"allocationId,omitempty" tf:"allocation_id,omitempty"` + + // Reference to a EIP in ec2 to populate allocationId. + // +kubebuilder:validation:Optional + AllocationIDRef *v1.Reference `json:"allocationIdRef,omitempty" tf:"-"` + + // Selector for a EIP in ec2 to populate allocationId. + // +kubebuilder:validation:Optional + AllocationIDSelector *v1.Selector `json:"allocationIdSelector,omitempty" tf:"-"` + // Connectivity type for the NAT Gateway. Valid values are private and public. Defaults to public. ConnectivityType *string `json:"connectivityType,omitempty" tf:"connectivity_type,omitempty"` @@ -36,6 +49,18 @@ type NATGatewayInitParameters_2 struct { // +listType=set SecondaryPrivateIPAddresses []*string `json:"secondaryPrivateIpAddresses,omitempty" tf:"secondary_private_ip_addresses,omitempty"` + // The Subnet ID of the subnet in which to place the NAT Gateway. + // +crossplane:generate:reference:type=Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_networkacl_types.go b/apis/ec2/v1beta1/zz_networkacl_types.go index e42b039e46..6dba884235 100755 --- a/apis/ec2/v1beta1/zz_networkacl_types.go +++ b/apis/ec2/v1beta1/zz_networkacl_types.go @@ -95,9 +95,36 @@ type NetworkACLIngressParameters struct { type NetworkACLInitParameters struct { + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of Subnet IDs to apply the ACL to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the associated VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type NetworkACLObservation struct { diff --git a/apis/ec2/v1beta1/zz_networkaclrule_types.go b/apis/ec2/v1beta1/zz_networkaclrule_types.go index 4cfdaa8337..a7af66ef14 100755 --- a/apis/ec2/v1beta1/zz_networkaclrule_types.go +++ b/apis/ec2/v1beta1/zz_networkaclrule_types.go @@ -37,6 +37,19 @@ type NetworkACLRuleInitParameters struct { // ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1 IcmpType *float64 `json:"icmpType,omitempty" tf:"icmp_type,omitempty"` + // The ID of the network ACL. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkACL + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NetworkACLID *string `json:"networkAclId,omitempty" tf:"network_acl_id,omitempty"` + + // Reference to a NetworkACL in ec2 to populate networkAclId. + // +kubebuilder:validation:Optional + NetworkACLIDRef *v1.Reference `json:"networkAclIdRef,omitempty" tf:"-"` + + // Selector for a NetworkACL in ec2 to populate networkAclId. + // +kubebuilder:validation:Optional + NetworkACLIDSelector *v1.Selector `json:"networkAclIdSelector,omitempty" tf:"-"` + // The protocol. A value of -1 means all protocols. Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` diff --git a/apis/ec2/v1beta1/zz_networkinsightsanalysis_types.go b/apis/ec2/v1beta1/zz_networkinsightsanalysis_types.go index afb09e35dc..cf38a9dd6d 100755 --- a/apis/ec2/v1beta1/zz_networkinsightsanalysis_types.go +++ b/apis/ec2/v1beta1/zz_networkinsightsanalysis_types.go @@ -747,6 +747,19 @@ type NetworkInsightsAnalysisInitParameters struct { // +listType=set FilterInArns []*string `json:"filterInArns,omitempty" tf:"filter_in_arns,omitempty"` + // ID of the Network Insights Path to run an analysis on. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInsightsPath + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NetworkInsightsPathID *string `json:"networkInsightsPathId,omitempty" tf:"network_insights_path_id,omitempty"` + + // Reference to a NetworkInsightsPath in ec2 to populate networkInsightsPathId. + // +kubebuilder:validation:Optional + NetworkInsightsPathIDRef *v1.Reference `json:"networkInsightsPathIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInsightsPath in ec2 to populate networkInsightsPathId. + // +kubebuilder:validation:Optional + NetworkInsightsPathIDSelector *v1.Selector `json:"networkInsightsPathIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_networkinsightspath_types.go b/apis/ec2/v1beta1/zz_networkinsightspath_types.go index 06bea579c6..0768f7a72f 100755 --- a/apis/ec2/v1beta1/zz_networkinsightspath_types.go +++ b/apis/ec2/v1beta1/zz_networkinsightspath_types.go @@ -19,18 +19,44 @@ import ( type NetworkInsightsPathInitParameters struct { + // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Destination *string `json:"destination,omitempty" tf:"destination,omitempty"` + // IP address of the destination resource. DestinationIP *string `json:"destinationIp,omitempty" tf:"destination_ip,omitempty"` // Destination port to analyze access to. DestinationPort *float64 `json:"destinationPort,omitempty" tf:"destination_port,omitempty"` + // Reference to a NetworkInterface in ec2 to populate destination. + // +kubebuilder:validation:Optional + DestinationRef *v1.Reference `json:"destinationRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface in ec2 to populate destination. + // +kubebuilder:validation:Optional + DestinationSelector *v1.Selector `json:"destinationSelector,omitempty" tf:"-"` + // Protocol to use for analysis. Valid options are tcp or udp. Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + // ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Source *string `json:"source,omitempty" tf:"source,omitempty"` + // IP address of the source resource. SourceIP *string `json:"sourceIp,omitempty" tf:"source_ip,omitempty"` + // Reference to a NetworkInterface in ec2 to populate source. + // +kubebuilder:validation:Optional + SourceRef *v1.Reference `json:"sourceRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface in ec2 to populate source. + // +kubebuilder:validation:Optional + SourceSelector *v1.Selector `json:"sourceSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_networkinterface_types.go b/apis/ec2/v1beta1/zz_networkinterface_types.go index 2914dcb131..4a748b3948 100755 --- a/apis/ec2/v1beta1/zz_networkinterface_types.go +++ b/apis/ec2/v1beta1/zz_networkinterface_types.go @@ -85,9 +85,36 @@ type NetworkInterfaceInitParameters_2 struct { // Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default. PrivateIpsCount *float64 `json:"privateIpsCount,omitempty" tf:"private_ips_count,omitempty"` + // References to SecurityGroup to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // List of security group IDs to assign to the ENI. + // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + // Whether to enable source destination checking for the ENI. Default true. SourceDestCheck *bool `json:"sourceDestCheck,omitempty" tf:"source_dest_check,omitempty"` + // Subnet ID to create the ENI in. + // +crossplane:generate:reference:type=Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go b/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go index a38c65a7d2..2c3ef70f4f 100755 --- a/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go +++ b/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go @@ -21,6 +21,32 @@ type NetworkInterfaceAttachmentInitParameters struct { // Network interface index (int). DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"` + + // Instance ID to attach. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + + // ENI ID to attach. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` } type NetworkInterfaceAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_networkinterfacesgattachment_types.go b/apis/ec2/v1beta1/zz_networkinterfacesgattachment_types.go index 7fb2c22c4e..39bfc1a131 100755 --- a/apis/ec2/v1beta1/zz_networkinterfacesgattachment_types.go +++ b/apis/ec2/v1beta1/zz_networkinterfacesgattachment_types.go @@ -18,6 +18,31 @@ import ( ) type NetworkInterfaceSgAttachmentInitParameters struct { + + // The ID of the network interface to attach to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("primary_network_interface_id",true) + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a Instance in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` + + // The ID of the security group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + 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:"-"` } type NetworkInterfaceSgAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_route_types.go b/apis/ec2/v1beta1/zz_route_types.go index 908a036449..a28c4e73f5 100755 --- a/apis/ec2/v1beta1/zz_route_types.go +++ b/apis/ec2/v1beta1/zz_route_types.go @@ -31,8 +31,117 @@ type RouteInitParameters_2 struct { // The destination IPv6 CIDR block. DestinationIPv6CidrBlock *string `json:"destinationIpv6CidrBlock,omitempty" tf:"destination_ipv6_cidr_block,omitempty"` + // The ID of a managed prefix list destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + DestinationPrefixListID *string `json:"destinationPrefixListId,omitempty" tf:"destination_prefix_list_id,omitempty"` + + // Reference to a ManagedPrefixList in ec2 to populate destinationPrefixListId. + // +kubebuilder:validation:Optional + DestinationPrefixListIDRef *v1.Reference `json:"destinationPrefixListIdRef,omitempty" tf:"-"` + + // Selector for a ManagedPrefixList in ec2 to populate destinationPrefixListId. + // +kubebuilder:validation:Optional + DestinationPrefixListIDSelector *v1.Selector `json:"destinationPrefixListIdSelector,omitempty" tf:"-"` + + // Identifier of a VPC Egress Only Internet Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EgressOnlyInternetGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + EgressOnlyGatewayID *string `json:"egressOnlyGatewayId,omitempty" tf:"egress_only_gateway_id,omitempty"` + + // Reference to a EgressOnlyInternetGateway in ec2 to populate egressOnlyGatewayId. + // +kubebuilder:validation:Optional + EgressOnlyGatewayIDRef *v1.Reference `json:"egressOnlyGatewayIdRef,omitempty" tf:"-"` + + // Selector for a EgressOnlyInternetGateway in ec2 to populate egressOnlyGatewayId. + // +kubebuilder:validation:Optional + EgressOnlyGatewayIDSelector *v1.Selector `json:"egressOnlyGatewayIdSelector,omitempty" tf:"-"` + + // Identifier of a VPC internet gateway or a virtual private gateway. Specify local when updating a previously imported local route. + // +crossplane:generate:reference:type=InternetGateway + GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` + + // Reference to a InternetGateway to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"` + + // Selector for a InternetGateway to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"` + // Identifier of a Outpost local gateway. LocalGatewayID *string `json:"localGatewayId,omitempty" tf:"local_gateway_id,omitempty"` + + // Identifier of a VPC NAT gateway. + // +crossplane:generate:reference:type=NATGateway + NATGatewayID *string `json:"natGatewayId,omitempty" tf:"nat_gateway_id,omitempty"` + + // Reference to a NATGateway to populate natGatewayId. + // +kubebuilder:validation:Optional + NATGatewayIDRef *v1.Reference `json:"natGatewayIdRef,omitempty" tf:"-"` + + // Selector for a NATGateway to populate natGatewayId. + // +kubebuilder:validation:Optional + NATGatewayIDSelector *v1.Selector `json:"natGatewayIdSelector,omitempty" tf:"-"` + + // Identifier of an EC2 network interface. + // +crossplane:generate:reference:type=NetworkInterface + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` + + // The ID of the routing table. + // +crossplane:generate:reference:type=RouteTable + RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` + + // Reference to a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDRef *v1.Reference `json:"routeTableIdRef,omitempty" tf:"-"` + + // Selector for a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` + + // Identifier of an EC2 Transit Gateway. + // +crossplane:generate:reference:type=TransitGateway + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` + + // Identifier of a VPC Endpoint. + // +crossplane:generate:reference:type=VPCEndpoint + VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // Reference to a VPCEndpoint to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDRef *v1.Reference `json:"vpcEndpointIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpoint to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDSelector *v1.Selector `json:"vpcEndpointIdSelector,omitempty" tf:"-"` + + // Identifier of a VPC peering connection. + // +crossplane:generate:reference:type=VPCPeeringConnection + VPCPeeringConnectionID *string `json:"vpcPeeringConnectionId,omitempty" tf:"vpc_peering_connection_id,omitempty"` + + // Reference to a VPCPeeringConnection to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDRef *v1.Reference `json:"vpcPeeringConnectionIdRef,omitempty" tf:"-"` + + // Selector for a VPCPeeringConnection to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDSelector *v1.Selector `json:"vpcPeeringConnectionIdSelector,omitempty" tf:"-"` } type RouteObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_routetable_types.go b/apis/ec2/v1beta1/zz_routetable_types.go index 1d7a66e401..21ad089a3a 100755 --- a/apis/ec2/v1beta1/zz_routetable_types.go +++ b/apis/ec2/v1beta1/zz_routetable_types.go @@ -22,6 +22,18 @@ type RouteTableInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type RouteTableObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_routetableassociation_types.go b/apis/ec2/v1beta1/zz_routetableassociation_types.go index 001ef6af93..4481a053d8 100755 --- a/apis/ec2/v1beta1/zz_routetableassociation_types.go +++ b/apis/ec2/v1beta1/zz_routetableassociation_types.go @@ -18,6 +18,43 @@ import ( ) type RouteTableAssociationInitParameters struct { + + // The gateway ID to create an association. Conflicts with subnet_id. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.InternetGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` + + // Reference to a InternetGateway in ec2 to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"` + + // Selector for a InternetGateway in ec2 to populate gatewayId. + // +kubebuilder:validation:Optional + GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"` + + // The ID of the routing table to associate with. + // +crossplane:generate:reference:type=RouteTable + RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` + + // Reference to a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDRef *v1.Reference `json:"routeTableIdRef,omitempty" tf:"-"` + + // Selector for a RouteTable to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` + + // The subnet ID to create an association. Conflicts with gateway_id. + // +crossplane:generate:reference:type=Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type RouteTableAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_securitygroup_types.go b/apis/ec2/v1beta1/zz_securitygroup_types.go index 466a354cbc..3c0847b68a 100755 --- a/apis/ec2/v1beta1/zz_securitygroup_types.go +++ b/apis/ec2/v1beta1/zz_securitygroup_types.go @@ -105,6 +105,18 @@ type SecurityGroupInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // VPC ID. Defaults to the region's default VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type SecurityGroupObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go index 3f006e272e..e26627cfc2 100755 --- a/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupegressrule_types.go @@ -34,6 +34,42 @@ type SecurityGroupEgressRuleInitParameters struct { // The IP protocol name or number. Use -1 to specify all protocols. Note that if ip_protocol is set to -1, it translates to all protocols, all port ranges, and from_port and to_port values should not be defined. 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 + 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 + 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:"-"` + + // The ID of the security group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + 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. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go index 5fc97053bf..677d1bb909 100755 --- a/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go +++ b/apis/ec2/v1beta1/zz_securitygroupingressrule_types.go @@ -34,6 +34,42 @@ type SecurityGroupIngressRuleInitParameters struct { // The IP protocol name or number. Use -1 to specify all protocols. Note that if ip_protocol is set to -1, it translates to all protocols, all port ranges, and from_port and to_port values should not be defined. 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 + 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 + 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:"-"` + + // The ID of the security group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + 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. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_securitygrouprule_types.go b/apis/ec2/v1beta1/zz_securitygrouprule_types.go index ddd31393d3..6d39767503 100755 --- a/apis/ec2/v1beta1/zz_securitygrouprule_types.go +++ b/apis/ec2/v1beta1/zz_securitygrouprule_types.go @@ -31,12 +31,50 @@ type SecurityGroupRuleInitParameters_2 struct { // List of IPv6 CIDR blocks. Cannot be specified with source_security_group_id or self. IPv6CidrBlocks []*string `json:"ipv6CidrBlocks,omitempty" tf:"ipv6_cidr_blocks,omitempty"` + // References to ManagedPrefixList in ec2 to populate prefixListIds. + // +kubebuilder:validation:Optional + PrefixListIDRefs []v1.Reference `json:"prefixListIdRefs,omitempty" tf:"-"` + + // Selector for a list of ManagedPrefixList in ec2 to populate prefixListIds. + // +kubebuilder:validation:Optional + PrefixListIDSelector *v1.Selector `json:"prefixListIdSelector,omitempty" tf:"-"` + + // List of Prefix List IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:refFieldName=PrefixListIDRefs + // +crossplane:generate:reference:selectorFieldName=PrefixListIDSelector + PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids,omitempty"` + // Protocol. If not icmp, icmpv6, tcp, udp, or all use the protocol number Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + // Security group to apply this rule to. + // +crossplane:generate:reference:type=SecurityGroup + SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` + + // Reference to a SecurityGroup to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup to populate securityGroupId. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + // Whether the security group itself will be added as a source to this ingress rule. Cannot be specified with cidr_blocks, ipv6_cidr_blocks, or source_security_group_id. Self *bool `json:"self,omitempty" tf:"self,omitempty"` + // Security group id to allow access to/from, depending on the type. Cannot be specified with cidr_blocks, ipv6_cidr_blocks, or self. + // +crossplane:generate:reference:type=SecurityGroup + SourceSecurityGroupID *string `json:"sourceSecurityGroupId,omitempty" tf:"source_security_group_id,omitempty"` + + // Reference to a SecurityGroup to populate sourceSecurityGroupId. + // +kubebuilder:validation:Optional + SourceSecurityGroupIDRef *v1.Reference `json:"sourceSecurityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup to populate sourceSecurityGroupId. + // +kubebuilder:validation:Optional + SourceSecurityGroupIDSelector *v1.Selector `json:"sourceSecurityGroupIdSelector,omitempty" tf:"-"` + // End port (or ICMP code if protocol is "icmp"). ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"` diff --git a/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go b/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go index e589f87eda..0d07770894 100755 --- a/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go +++ b/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go @@ -21,6 +21,19 @@ type SnapshotCreateVolumePermissionInitParameters struct { // An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapshot's owner AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + + // A snapshot ID + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EBSSnapshot + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` + + // Reference to a EBSSnapshot in ec2 to populate snapshotId. + // +kubebuilder:validation:Optional + SnapshotIDRef *v1.Reference `json:"snapshotIdRef,omitempty" tf:"-"` + + // Selector for a EBSSnapshot in ec2 to populate snapshotId. + // +kubebuilder:validation:Optional + SnapshotIDSelector *v1.Selector `json:"snapshotIdSelector,omitempty" tf:"-"` } type SnapshotCreateVolumePermissionObservation struct { diff --git a/apis/ec2/v1beta1/zz_spotfleetrequest_types.go b/apis/ec2/v1beta1/zz_spotfleetrequest_types.go index f79e28e601..352bc9e4c0 100755 --- a/apis/ec2/v1beta1/zz_spotfleetrequest_types.go +++ b/apis/ec2/v1beta1/zz_spotfleetrequest_types.go @@ -421,6 +421,19 @@ type LaunchSpecificationInitParameters struct { IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"` + // takes aws_iam_instance_profile attribute arn as input. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + IAMInstanceProfileArn *string `json:"iamInstanceProfileArn,omitempty" tf:"iam_instance_profile_arn,omitempty"` + + // Reference to a InstanceProfile in iam to populate iamInstanceProfileArn. + // +kubebuilder:validation:Optional + IAMInstanceProfileArnRef *v1.Reference `json:"iamInstanceProfileArnRef,omitempty" tf:"-"` + + // Selector for a InstanceProfile in iam to populate iamInstanceProfileArn. + // +kubebuilder:validation:Optional + IAMInstanceProfileArnSelector *v1.Selector `json:"iamInstanceProfileArnSelector,omitempty" tf:"-"` + // The type of instance to request. InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` @@ -679,8 +692,34 @@ type LaunchTemplateConfigParameters struct { type LaunchTemplateSpecificationInitParameters struct { + // The ID of the launch template. Conflicts with name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate id. + // +kubebuilder:validation:Optional + IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate id. + // +kubebuilder:validation:Optional + IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` + // The name of the launch template. Conflicts with id. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Template version. Unlike the autoscaling equivalent, does not support $Latest or $Default, so use the launch_template resource's attribute, e.g., "${aws_launch_template.foo.latest_version}". It will use the default version if omitted. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("latest_version",true) + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"` } type LaunchTemplateSpecificationObservation struct { diff --git a/apis/ec2/v1beta1/zz_spotinstancerequest_types.go b/apis/ec2/v1beta1/zz_spotinstancerequest_types.go index c938acc696..2634a02df8 100755 --- a/apis/ec2/v1beta1/zz_spotinstancerequest_types.go +++ b/apis/ec2/v1beta1/zz_spotinstancerequest_types.go @@ -338,6 +338,18 @@ type SpotInstanceRequestInitParameters struct { // the instance is terminated, the spot request will be closed. SpotType *string `json:"spotType,omitempty" tf:"spot_type,omitempty"` + // The Spot Instance Request ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -350,6 +362,20 @@ type SpotInstanceRequestInitParameters struct { UserDataReplaceOnChange *bool `json:"userDataReplaceOnChange,omitempty" tf:"user_data_replace_on_change,omitempty"` + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` + // The start date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"` diff --git a/apis/ec2/v1beta1/zz_subnet_types.go b/apis/ec2/v1beta1/zz_subnet_types.go index a3c1166ac3..d907349768 100755 --- a/apis/ec2/v1beta1/zz_subnet_types.go +++ b/apis/ec2/v1beta1/zz_subnet_types.go @@ -72,6 +72,18 @@ type SubnetInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type SubnetObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go b/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go index e5c95fa138..f5141ae32b 100755 --- a/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go +++ b/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go @@ -27,6 +27,18 @@ type SubnetCidrReservationInitParameters struct { // The type of reservation to create. Valid values: explicit, prefix ReservationType *string `json:"reservationType,omitempty" tf:"reservation_type,omitempty"` + + // The ID of the subnet to create the reservation for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type SubnetCidrReservationObservation struct { diff --git a/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go b/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go index a3b29dd5ed..e0b4d112ad 100755 --- a/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go +++ b/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go @@ -103,6 +103,19 @@ type TrafficMirrorFilterRuleInitParameters struct { // Direction of traffic to be captured. Valid values are ingress and egress TrafficDirection *string `json:"trafficDirection,omitempty" tf:"traffic_direction,omitempty"` + + // ID of the traffic mirror filter to which this rule should be added + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TrafficMirrorFilter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TrafficMirrorFilterID *string `json:"trafficMirrorFilterId,omitempty" tf:"traffic_mirror_filter_id,omitempty"` + + // Reference to a TrafficMirrorFilter in ec2 to populate trafficMirrorFilterId. + // +kubebuilder:validation:Optional + TrafficMirrorFilterIDRef *v1.Reference `json:"trafficMirrorFilterIdRef,omitempty" tf:"-"` + + // Selector for a TrafficMirrorFilter in ec2 to populate trafficMirrorFilterId. + // +kubebuilder:validation:Optional + TrafficMirrorFilterIDSelector *v1.Selector `json:"trafficMirrorFilterIdSelector,omitempty" tf:"-"` } type TrafficMirrorFilterRuleObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayconnect_types.go b/apis/ec2/v1beta1/zz_transitgatewayconnect_types.go index 637073c542..122e12ce99 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayconnect_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayconnect_types.go @@ -31,6 +31,32 @@ type TransitGatewayConnectInitParameters struct { // Boolean whether the Connect should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true. TransitGatewayDefaultRouteTablePropagation *bool `json:"transitGatewayDefaultRouteTablePropagation,omitempty" tf:"transit_gateway_default_route_table_propagation,omitempty"` + + // Identifier of EC2 Transit Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` + + // The underlaying VPC attachment + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayVPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransportAttachmentID *string `json:"transportAttachmentId,omitempty" tf:"transport_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment in ec2 to populate transportAttachmentId. + // +kubebuilder:validation:Optional + TransportAttachmentIDRef *v1.Reference `json:"transportAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment in ec2 to populate transportAttachmentId. + // +kubebuilder:validation:Optional + TransportAttachmentIDSelector *v1.Selector `json:"transportAttachmentIdSelector,omitempty" tf:"-"` } type TransitGatewayConnectObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go b/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go index ebfdc5aca6..c0e054d90b 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go @@ -35,6 +35,19 @@ type TransitGatewayConnectPeerInitParameters struct { // The IP address assigned to Transit Gateway, which will be used as tunnel endpoint. This address must be from associated Transit Gateway CIDR block. The address must be from the same address family as peer_address. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks TransitGatewayAddress *string `json:"transitGatewayAddress,omitempty" tf:"transit_gateway_address,omitempty"` + + // The Transit Gateway Connect + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayConnect + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayConnect in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayConnect in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` } type TransitGatewayConnectPeerObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastdomain_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastdomain_types.go index 7841f8cefe..67abefd662 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastdomain_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastdomain_types.go @@ -31,6 +31,18 @@ type TransitGatewayMulticastDomainInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // EC2 Transit Gateway identifier. The EC2 Transit Gateway must have multicast_support enabled. + // +crossplane:generate:reference:type=TransitGateway + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` } type TransitGatewayMulticastDomainObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastdomainassociation_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastdomainassociation_types.go index 033f2dc636..eb8eaad2c2 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastdomainassociation_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastdomainassociation_types.go @@ -18,6 +18,44 @@ import ( ) type TransitGatewayMulticastDomainAssociationInitParameters struct { + + // The ID of the subnet to associate with the transit gateway multicast domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // The ID of the transit gateway attachment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayVPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + + // The ID of the transit gateway multicast domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayMulticastDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayMulticastDomainID *string `json:"transitGatewayMulticastDomainId,omitempty" tf:"transit_gateway_multicast_domain_id,omitempty"` + + // Reference to a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDRef *v1.Reference `json:"transitGatewayMulticastDomainIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDSelector *v1.Selector `json:"transitGatewayMulticastDomainIdSelector,omitempty" tf:"-"` } type TransitGatewayMulticastDomainAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go index 9cd533e9e7..a7fe4edea9 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go @@ -21,6 +21,32 @@ type TransitGatewayMulticastGroupMemberInitParameters struct { // The IP address assigned to the transit gateway multicast group. GroupIPAddress *string `json:"groupIpAddress,omitempty" tf:"group_ip_address,omitempty"` + + // The group members' network interface ID to register with the transit gateway multicast group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` + + // The ID of the transit gateway multicast domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayMulticastDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayMulticastDomainID *string `json:"transitGatewayMulticastDomainId,omitempty" tf:"transit_gateway_multicast_domain_id,omitempty"` + + // Reference to a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDRef *v1.Reference `json:"transitGatewayMulticastDomainIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDSelector *v1.Selector `json:"transitGatewayMulticastDomainIdSelector,omitempty" tf:"-"` } type TransitGatewayMulticastGroupMemberObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go index db0489335a..ca2e7abde3 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go @@ -21,6 +21,32 @@ type TransitGatewayMulticastGroupSourceInitParameters struct { // The IP address assigned to the transit gateway multicast group. GroupIPAddress *string `json:"groupIpAddress,omitempty" tf:"group_ip_address,omitempty"` + + // The group members' network interface ID to register with the transit gateway multicast group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.NetworkInterface + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + + // Reference to a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` + + // Selector for a NetworkInterface in ec2 to populate networkInterfaceId. + // +kubebuilder:validation:Optional + NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` + + // The ID of the transit gateway multicast domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayMulticastDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayMulticastDomainID *string `json:"transitGatewayMulticastDomainId,omitempty" tf:"transit_gateway_multicast_domain_id,omitempty"` + + // Reference to a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDRef *v1.Reference `json:"transitGatewayMulticastDomainIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayMulticastDomain in ec2 to populate transitGatewayMulticastDomainId. + // +kubebuilder:validation:Optional + TransitGatewayMulticastDomainIDSelector *v1.Selector `json:"transitGatewayMulticastDomainIdSelector,omitempty" tf:"-"` } type TransitGatewayMulticastGroupSourceObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go index 0de4a7a874..23b7e2d082 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go @@ -25,9 +25,35 @@ type TransitGatewayPeeringAttachmentInitParameters struct { // Region of EC2 Transit Gateway to peer with. PeerRegion *string `json:"peerRegion,omitempty" tf:"peer_region,omitempty"` + // Identifier of EC2 Transit Gateway to peer with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PeerTransitGatewayID *string `json:"peerTransitGatewayId,omitempty" tf:"peer_transit_gateway_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate peerTransitGatewayId. + // +kubebuilder:validation:Optional + PeerTransitGatewayIDRef *v1.Reference `json:"peerTransitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate peerTransitGatewayId. + // +kubebuilder:validation:Optional + PeerTransitGatewayIDSelector *v1.Selector `json:"peerTransitGatewayIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of EC2 Transit Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` } type TransitGatewayPeeringAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachmentaccepter_types.go b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachmentaccepter_types.go index 21fabcc195..dee67f6884 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachmentaccepter_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachmentaccepter_types.go @@ -22,6 +22,19 @@ type TransitGatewayPeeringAttachmentAccepterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the EC2 Transit Gateway Peering Attachment to manage. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayPeeringAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayPeeringAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayPeeringAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` } type TransitGatewayPeeringAttachmentAccepterObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewaypolicytable_types.go b/apis/ec2/v1beta1/zz_transitgatewaypolicytable_types.go index 2b1d14aff7..18b326fd85 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaypolicytable_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaypolicytable_types.go @@ -22,6 +22,19 @@ type TransitGatewayPolicyTableInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // EC2 Transit Gateway identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` } type TransitGatewayPolicyTableObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayprefixlistreference_types.go b/apis/ec2/v1beta1/zz_transitgatewayprefixlistreference_types.go index 02d40e0b22..17f94a0f69 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayprefixlistreference_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayprefixlistreference_types.go @@ -21,6 +21,45 @@ type TransitGatewayPrefixListReferenceInitParameters struct { // Indicates whether to drop traffic that matches the Prefix List. Defaults to false. Blackhole *bool `json:"blackhole,omitempty" tf:"blackhole,omitempty"` + + // Identifier of EC2 Prefix List. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + 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:"-"` + + // Identifier of EC2 Transit Gateway Attachment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGatewayVPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment in ec2 to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + + // Identifier of EC2 Transit Gateway Route Table. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("association_default_route_table_id",true) + TransitGatewayRouteTableID *string `json:"transitGatewayRouteTableId,omitempty" tf:"transit_gateway_route_table_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDRef *v1.Reference `json:"transitGatewayRouteTableIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDSelector *v1.Selector `json:"transitGatewayRouteTableIdSelector,omitempty" tf:"-"` } type TransitGatewayPrefixListReferenceObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayroute_types.go b/apis/ec2/v1beta1/zz_transitgatewayroute_types.go index dc39a5c76e..bc0cfded28 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayroute_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayroute_types.go @@ -24,6 +24,30 @@ type TransitGatewayRouteInitParameters struct { // IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match. DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty" tf:"destination_cidr_block,omitempty"` + + // Identifier of EC2 Transit Gateway Attachment . + // +crossplane:generate:reference:type=TransitGatewayVPCAttachment + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + + // Identifier of EC2 Transit Gateway Route Table. + // +crossplane:generate:reference:type=TransitGatewayRouteTable + TransitGatewayRouteTableID *string `json:"transitGatewayRouteTableId,omitempty" tf:"transit_gateway_route_table_id,omitempty"` + + // Reference to a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDRef *v1.Reference `json:"transitGatewayRouteTableIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDSelector *v1.Selector `json:"transitGatewayRouteTableIdSelector,omitempty" tf:"-"` } type TransitGatewayRouteObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayroutetable_types.go b/apis/ec2/v1beta1/zz_transitgatewayroutetable_types.go index 5d8a73b180..5d9baab35e 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayroutetable_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayroutetable_types.go @@ -22,6 +22,18 @@ type TransitGatewayRouteTableInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of EC2 Transit Gateway. + // +crossplane:generate:reference:type=TransitGateway + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` } type TransitGatewayRouteTableObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayroutetableassociation_types.go b/apis/ec2/v1beta1/zz_transitgatewayroutetableassociation_types.go index 5d116ce56f..6bf83f4165 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayroutetableassociation_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayroutetableassociation_types.go @@ -21,6 +21,30 @@ type TransitGatewayRouteTableAssociationInitParameters struct { // Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: false. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the transit_gateway_default_route_table_association argument of the aws_ec2_transit_gateway_vpc_attachment resource should be used. ReplaceExistingAssociation *bool `json:"replaceExistingAssociation,omitempty" tf:"replace_existing_association,omitempty"` + + // Identifier of EC2 Transit Gateway Attachment. + // +crossplane:generate:reference:type=TransitGatewayVPCAttachment + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + + // Identifier of EC2 Transit Gateway Route Table. + // +crossplane:generate:reference:type=TransitGatewayRouteTable + TransitGatewayRouteTableID *string `json:"transitGatewayRouteTableId,omitempty" tf:"transit_gateway_route_table_id,omitempty"` + + // Reference to a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDRef *v1.Reference `json:"transitGatewayRouteTableIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDSelector *v1.Selector `json:"transitGatewayRouteTableIdSelector,omitempty" tf:"-"` } type TransitGatewayRouteTableAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayroutetablepropagation_types.go b/apis/ec2/v1beta1/zz_transitgatewayroutetablepropagation_types.go index 2778aa77c6..8ea262f62d 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayroutetablepropagation_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayroutetablepropagation_types.go @@ -18,6 +18,30 @@ import ( ) type TransitGatewayRouteTablePropagationInitParameters struct { + + // Identifier of EC2 Transit Gateway Attachment. + // +crossplane:generate:reference:type=TransitGatewayVPCAttachment + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + + // Identifier of EC2 Transit Gateway Route Table. + // +crossplane:generate:reference:type=TransitGatewayRouteTable + TransitGatewayRouteTableID *string `json:"transitGatewayRouteTableId,omitempty" tf:"transit_gateway_route_table_id,omitempty"` + + // Reference to a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDRef *v1.Reference `json:"transitGatewayRouteTableIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayRouteTable to populate transitGatewayRouteTableId. + // +kubebuilder:validation:Optional + TransitGatewayRouteTableIDSelector *v1.Selector `json:"transitGatewayRouteTableIdSelector,omitempty" tf:"-"` } type TransitGatewayRouteTablePropagationObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayvpcattachment_types.go b/apis/ec2/v1beta1/zz_transitgatewayvpcattachment_types.go index 033fc91e3f..3a03b56cf7 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayvpcattachment_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayvpcattachment_types.go @@ -28,6 +28,21 @@ type TransitGatewayVPCAttachmentInitParameters struct { // Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable. IPv6Support *string `json:"ipv6Support,omitempty" tf:"ipv6_support,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Identifiers of EC2 Subnets. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -37,6 +52,30 @@ type TransitGatewayVPCAttachmentInitParameters struct { // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true. TransitGatewayDefaultRouteTablePropagation *bool `json:"transitGatewayDefaultRouteTablePropagation,omitempty" tf:"transit_gateway_default_route_table_propagation,omitempty"` + + // Identifier of EC2 Transit Gateway. + // +crossplane:generate:reference:type=TransitGateway + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` + + // Identifier of EC2 VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type TransitGatewayVPCAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_transitgatewayvpcattachmentaccepter_types.go b/apis/ec2/v1beta1/zz_transitgatewayvpcattachmentaccepter_types.go index 76f31ab85c..2a7a48add7 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayvpcattachmentaccepter_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayvpcattachmentaccepter_types.go @@ -23,6 +23,18 @@ type TransitGatewayVPCAttachmentAccepterInitParameters struct { // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // The ID of the EC2 Transit Gateway Attachment to manage. + // +crossplane:generate:reference:type=TransitGatewayVPCAttachment + TransitGatewayAttachmentID *string `json:"transitGatewayAttachmentId,omitempty" tf:"transit_gateway_attachment_id,omitempty"` + + // Reference to a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDRef *v1.Reference `json:"transitGatewayAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a TransitGatewayVPCAttachment to populate transitGatewayAttachmentId. + // +kubebuilder:validation:Optional + TransitGatewayAttachmentIDSelector *v1.Selector `json:"transitGatewayAttachmentIdSelector,omitempty" tf:"-"` + // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true. TransitGatewayDefaultRouteTableAssociation *bool `json:"transitGatewayDefaultRouteTableAssociation,omitempty" tf:"transit_gateway_default_route_table_association,omitempty"` diff --git a/apis/ec2/v1beta1/zz_volumeattachment_types.go b/apis/ec2/v1beta1/zz_volumeattachment_types.go index ef8aa43af4..0b0547118c 100755 --- a/apis/ec2/v1beta1/zz_volumeattachment_types.go +++ b/apis/ec2/v1beta1/zz_volumeattachment_types.go @@ -29,6 +29,19 @@ type VolumeAttachmentInitParameters struct { // Detaching an Amazon EBS Volume from an Instance for more information. ForceDetach *bool `json:"forceDetach,omitempty" tf:"force_detach,omitempty"` + // ID of the Instance to attach to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + + // Reference to a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate instanceId. + // +kubebuilder:validation:Optional + InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` + // This is // useful when destroying an instance which has volumes created by some other // means attached. @@ -37,6 +50,19 @@ type VolumeAttachmentInitParameters struct { // Set this to true to ensure that the target instance is stopped // before trying to detach the volume. Stops the instance, if it is not already stopped. StopInstanceBeforeDetaching *bool `json:"stopInstanceBeforeDetaching,omitempty" tf:"stop_instance_before_detaching,omitempty"` + + // ID of the Volume to be attached + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.EBSVolume + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"` + + // Reference to a EBSVolume in ec2 to populate volumeId. + // +kubebuilder:validation:Optional + VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"` + + // Selector for a EBSVolume in ec2 to populate volumeId. + // +kubebuilder:validation:Optional + VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"` } type VolumeAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpc_types.go b/apis/ec2/v1beta1/zz_vpc_types.go index 61f026a3aa..5f7b685808 100755 --- a/apis/ec2/v1beta1/zz_vpc_types.go +++ b/apis/ec2/v1beta1/zz_vpc_types.go @@ -34,6 +34,19 @@ type VPCInitParameters_2 struct { // Indicates whether Network Address Usage metrics are enabled for your VPC. Defaults to false. EnableNetworkAddressUsageMetrics *bool `json:"enableNetworkAddressUsageMetrics,omitempty" tf:"enable_network_address_usage_metrics,omitempty"` + // The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCIpamPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IPv4IpamPoolID *string `json:"ipv4IpamPoolId,omitempty" tf:"ipv4_ipam_pool_id,omitempty"` + + // Reference to a VPCIpamPool in ec2 to populate ipv4IpamPoolId. + // +kubebuilder:validation:Optional + IPv4IpamPoolIDRef *v1.Reference `json:"ipv4IpamPoolIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpamPool in ec2 to populate ipv4IpamPoolId. + // +kubebuilder:validation:Optional + IPv4IpamPoolIDSelector *v1.Selector `json:"ipv4IpamPoolIdSelector,omitempty" tf:"-"` + // The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id. IPv4NetmaskLength *float64 `json:"ipv4NetmaskLength,omitempty" tf:"ipv4_netmask_length,omitempty"` diff --git a/apis/ec2/v1beta1/zz_vpcdhcpoptionsassociation_types.go b/apis/ec2/v1beta1/zz_vpcdhcpoptionsassociation_types.go index 7cb58f54c3..085703f820 100755 --- a/apis/ec2/v1beta1/zz_vpcdhcpoptionsassociation_types.go +++ b/apis/ec2/v1beta1/zz_vpcdhcpoptionsassociation_types.go @@ -18,6 +18,31 @@ import ( ) type VPCDHCPOptionsAssociationInitParameters struct { + + // The ID of the DHCP Options Set to associate to the VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCDHCPOptions + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DHCPOptionsID *string `json:"dhcpOptionsId,omitempty" tf:"dhcp_options_id,omitempty"` + + // Reference to a VPCDHCPOptions in ec2 to populate dhcpOptionsId. + // +kubebuilder:validation:Optional + DHCPOptionsIDRef *v1.Reference `json:"dhcpOptionsIdRef,omitempty" tf:"-"` + + // Selector for a VPCDHCPOptions in ec2 to populate dhcpOptionsId. + // +kubebuilder:validation:Optional + DHCPOptionsIDSelector *v1.Selector `json:"dhcpOptionsIdSelector,omitempty" tf:"-"` + + // The ID of the VPC to which we would like to associate a DHCP Options Set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCDHCPOptionsAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpoint_types.go b/apis/ec2/v1beta1/zz_vpcendpoint_types.go index b923fc7610..26d7d091f3 100755 --- a/apis/ec2/v1beta1/zz_vpcendpoint_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpoint_types.go @@ -79,12 +79,37 @@ type VPCEndpointInitParameters_2 struct { // Defaults to false. PrivateDNSEnabled *bool `json:"privateDnsEnabled,omitempty" tf:"private_dns_enabled,omitempty"` + // The service name. For AWS services the service name is usually in the form com.amazonaws.. (the SageMaker Notebook service is an exception to this rule, the service name is in the form aws.sagemaker..notebook). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpointService + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("service_name",true) + ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` + + // Reference to a VPCEndpointService in ec2 to populate serviceName. + // +kubebuilder:validation:Optional + ServiceNameRef *v1.Reference `json:"serviceNameRef,omitempty" tf:"-"` + + // Selector for a VPCEndpointService in ec2 to populate serviceName. + // +kubebuilder:validation:Optional + ServiceNameSelector *v1.Selector `json:"serviceNameSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The VPC endpoint type, Gateway, GatewayLoadBalancer, or Interface. Defaults to Gateway. VPCEndpointType *string `json:"vpcEndpointType,omitempty" tf:"vpc_endpoint_type,omitempty"` + + // The ID of the VPC in which the endpoint will be used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCEndpointObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go b/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go index 1ccbf7d3ea..3ba4afeca2 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go @@ -23,8 +23,34 @@ type VPCEndpointConnectionNotificationInitParameters struct { // +listType=set ConnectionEvents []*string `json:"connectionEvents,omitempty" tf:"connection_events,omitempty"` + // The ARN of the SNS topic for the notifications. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ConnectionNotificationArn *string `json:"connectionNotificationArn,omitempty" tf:"connection_notification_arn,omitempty"` + + // Reference to a Topic in sns to populate connectionNotificationArn. + // +kubebuilder:validation:Optional + ConnectionNotificationArnRef *v1.Reference `json:"connectionNotificationArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate connectionNotificationArn. + // +kubebuilder:validation:Optional + ConnectionNotificationArnSelector *v1.Selector `json:"connectionNotificationArnSelector,omitempty" tf:"-"` + // The ID of the VPC Endpoint to receive notifications for. VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // The ID of the VPC Endpoint Service to receive notifications for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpointService + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCEndpointServiceID *string `json:"vpcEndpointServiceId,omitempty" tf:"vpc_endpoint_service_id,omitempty"` + + // Reference to a VPCEndpointService in ec2 to populate vpcEndpointServiceId. + // +kubebuilder:validation:Optional + VPCEndpointServiceIDRef *v1.Reference `json:"vpcEndpointServiceIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpointService in ec2 to populate vpcEndpointServiceId. + // +kubebuilder:validation:Optional + VPCEndpointServiceIDSelector *v1.Selector `json:"vpcEndpointServiceIdSelector,omitempty" tf:"-"` } type VPCEndpointConnectionNotificationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpointroutetableassociation_types.go b/apis/ec2/v1beta1/zz_vpcendpointroutetableassociation_types.go index cb98c999d5..5649100a19 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointroutetableassociation_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointroutetableassociation_types.go @@ -18,6 +18,32 @@ import ( ) type VPCEndpointRouteTableAssociationInitParameters struct { + + // Identifier of the EC2 Route Table to be associated with the VPC Endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.RouteTable + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` + + // Reference to a RouteTable in ec2 to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDRef *v1.Reference `json:"routeTableIdRef,omitempty" tf:"-"` + + // Selector for a RouteTable in ec2 to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` + + // Identifier of the VPC Endpoint with which the EC2 Route Table will be associated. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDRef *v1.Reference `json:"vpcEndpointIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDSelector *v1.Selector `json:"vpcEndpointIdSelector,omitempty" tf:"-"` } type VPCEndpointRouteTableAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpointsecuritygroupassociation_types.go b/apis/ec2/v1beta1/zz_vpcendpointsecuritygroupassociation_types.go index 196828dee9..0fec563a01 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointsecuritygroupassociation_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointsecuritygroupassociation_types.go @@ -21,6 +21,31 @@ type VPCEndpointSecurityGroupAssociationInitParameters struct { // Whether this association should replace the association with the VPC's default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with replace_default_association = true. ReplaceDefaultAssociation *bool `json:"replaceDefaultAssociation,omitempty" tf:"replace_default_association,omitempty"` + + // The ID of the security group to be associated with the VPC endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + 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:"-"` + + // The ID of the VPC endpoint with which the security group will be associated. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDRef *v1.Reference `json:"vpcEndpointIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDSelector *v1.Selector `json:"vpcEndpointIdSelector,omitempty" tf:"-"` } type VPCEndpointSecurityGroupAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go b/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go index f5f55cf389..0f76c92715 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go @@ -21,6 +21,19 @@ type VPCEndpointServiceAllowedPrincipalInitParameters struct { // The ARN of the principal to allow permissions. PrincipalArn *string `json:"principalArn,omitempty" tf:"principal_arn,omitempty"` + + // The ID of the VPC endpoint service to allow permission. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpointService + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCEndpointServiceID *string `json:"vpcEndpointServiceId,omitempty" tf:"vpc_endpoint_service_id,omitempty"` + + // Reference to a VPCEndpointService in ec2 to populate vpcEndpointServiceId. + // +kubebuilder:validation:Optional + VPCEndpointServiceIDRef *v1.Reference `json:"vpcEndpointServiceIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpointService in ec2 to populate vpcEndpointServiceId. + // +kubebuilder:validation:Optional + VPCEndpointServiceIDSelector *v1.Selector `json:"vpcEndpointServiceIdSelector,omitempty" tf:"-"` } type VPCEndpointServiceAllowedPrincipalObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcendpointsubnetassociation_types.go b/apis/ec2/v1beta1/zz_vpcendpointsubnetassociation_types.go index 4fe1eeda4e..10622aa500 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointsubnetassociation_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointsubnetassociation_types.go @@ -18,6 +18,31 @@ import ( ) type VPCEndpointSubnetAssociationInitParameters struct { + + // The ID of the subnet to be associated with the VPC endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // The ID of the VPC endpoint with which the subnet will be associated. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCEndpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDRef *v1.Reference `json:"vpcEndpointIdRef,omitempty" tf:"-"` + + // Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + // +kubebuilder:validation:Optional + VPCEndpointIDSelector *v1.Selector `json:"vpcEndpointIdSelector,omitempty" tf:"-"` } type VPCEndpointSubnetAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcipampool_types.go b/apis/ec2/v1beta1/zz_vpcipampool_types.go index 7ce9b5d6d1..28de00803e 100755 --- a/apis/ec2/v1beta1/zz_vpcipampool_types.go +++ b/apis/ec2/v1beta1/zz_vpcipampool_types.go @@ -45,6 +45,18 @@ type VPCIpamPoolInitParameters struct { // A description for the IPAM pool. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the scope in which you would like to create the IPAM pool. + // +crossplane:generate:reference:type=VPCIpamScope + IpamScopeID *string `json:"ipamScopeId,omitempty" tf:"ipam_scope_id,omitempty"` + + // Reference to a VPCIpamScope to populate ipamScopeId. + // +kubebuilder:validation:Optional + IpamScopeIDRef *v1.Reference `json:"ipamScopeIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpamScope to populate ipamScopeId. + // +kubebuilder:validation:Optional + IpamScopeIDSelector *v1.Selector `json:"ipamScopeIdSelector,omitempty" tf:"-"` + // The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as us-east-1. Locale *string `json:"locale,omitempty" tf:"locale,omitempty"` @@ -54,6 +66,19 @@ type VPCIpamPoolInitParameters struct { // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if address_family = "ipv6" and public_ip_source = "byoip", default is false. This option is not available for IPv4 pool space or if public_ip_source = "amazon". PubliclyAdvertisable *bool `json:"publiclyAdvertisable,omitempty" tf:"publicly_advertisable,omitempty"` + // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCIpamPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SourceIpamPoolID *string `json:"sourceIpamPoolId,omitempty" tf:"source_ipam_pool_id,omitempty"` + + // Reference to a VPCIpamPool in ec2 to populate sourceIpamPoolId. + // +kubebuilder:validation:Optional + SourceIpamPoolIDRef *v1.Reference `json:"sourceIpamPoolIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpamPool in ec2 to populate sourceIpamPoolId. + // +kubebuilder:validation:Optional + SourceIpamPoolIDSelector *v1.Selector `json:"sourceIpamPoolIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_vpcipampoolcidr_types.go b/apis/ec2/v1beta1/zz_vpcipampoolcidr_types.go index 1a614c330e..f9a5a0a820 100755 --- a/apis/ec2/v1beta1/zz_vpcipampoolcidr_types.go +++ b/apis/ec2/v1beta1/zz_vpcipampoolcidr_types.go @@ -54,6 +54,19 @@ type VPCIpamPoolCidrInitParameters struct { // A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. This is not stored in the state file. See cidr_authorization_context for more information. CidrAuthorizationContext []CidrAuthorizationContextInitParameters `json:"cidrAuthorizationContext,omitempty" tf:"cidr_authorization_context,omitempty"` + // The ID of the pool to which you want to assign a CIDR. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCIpamPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IpamPoolID *string `json:"ipamPoolId,omitempty" tf:"ipam_pool_id,omitempty"` + + // Reference to a VPCIpamPool in ec2 to populate ipamPoolId. + // +kubebuilder:validation:Optional + IpamPoolIDRef *v1.Reference `json:"ipamPoolIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpamPool in ec2 to populate ipamPoolId. + // +kubebuilder:validation:Optional + IpamPoolIDSelector *v1.Selector `json:"ipamPoolIdSelector,omitempty" tf:"-"` + // If provided, the cidr provisioned into the specified pool will be the next available cidr given this declared netmask length. Conflicts with cidr. NetmaskLength *float64 `json:"netmaskLength,omitempty" tf:"netmask_length,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcipampoolcidrallocation_types.go b/apis/ec2/v1beta1/zz_vpcipampoolcidrallocation_types.go index ed2dfaa497..8b2fb8f07b 100755 --- a/apis/ec2/v1beta1/zz_vpcipampoolcidrallocation_types.go +++ b/apis/ec2/v1beta1/zz_vpcipampoolcidrallocation_types.go @@ -29,6 +29,19 @@ type VPCIpamPoolCidrAllocationInitParameters struct { // +listType=set DisallowedCidrs []*string `json:"disallowedCidrs,omitempty" tf:"disallowed_cidrs,omitempty"` + // The ID of the pool to which you want to assign a CIDR. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCIpamPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IpamPoolID *string `json:"ipamPoolId,omitempty" tf:"ipam_pool_id,omitempty"` + + // Reference to a VPCIpamPool in ec2 to populate ipamPoolId. + // +kubebuilder:validation:Optional + IpamPoolIDRef *v1.Reference `json:"ipamPoolIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpamPool in ec2 to populate ipamPoolId. + // +kubebuilder:validation:Optional + IpamPoolIDSelector *v1.Selector `json:"ipamPoolIdSelector,omitempty" tf:"-"` + // The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: 0-128. NetmaskLength *float64 `json:"netmaskLength,omitempty" tf:"netmask_length,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcipamscope_types.go b/apis/ec2/v1beta1/zz_vpcipamscope_types.go index 5dd93b11c4..0d1141642b 100755 --- a/apis/ec2/v1beta1/zz_vpcipamscope_types.go +++ b/apis/ec2/v1beta1/zz_vpcipamscope_types.go @@ -22,6 +22,18 @@ type VPCIpamScopeInitParameters struct { // A description for the scope you're creating. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the IPAM for which you're creating this scope. + // +crossplane:generate:reference:type=VPCIpam + IpamID *string `json:"ipamId,omitempty" tf:"ipam_id,omitempty"` + + // Reference to a VPCIpam to populate ipamId. + // +kubebuilder:validation:Optional + IpamIDRef *v1.Reference `json:"ipamIdRef,omitempty" tf:"-"` + + // Selector for a VPCIpam to populate ipamId. + // +kubebuilder:validation:Optional + IpamIDSelector *v1.Selector `json:"ipamIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/ec2/v1beta1/zz_vpcipv4cidrblockassociation_types.go b/apis/ec2/v1beta1/zz_vpcipv4cidrblockassociation_types.go index bb4a9d17bd..039ec5bcf4 100755 --- a/apis/ec2/v1beta1/zz_vpcipv4cidrblockassociation_types.go +++ b/apis/ec2/v1beta1/zz_vpcipv4cidrblockassociation_types.go @@ -27,6 +27,18 @@ type VPCIPv4CidrBlockAssociationInitParameters struct { // The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id. IPv4NetmaskLength *float64 `json:"ipv4NetmaskLength,omitempty" tf:"ipv4_netmask_length,omitempty"` + + // The ID of the VPC to make the association with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCIPv4CidrBlockAssociationObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcpeeringconnection_types.go b/apis/ec2/v1beta1/zz_vpcpeeringconnection_types.go index 054b67f292..95100ed394 100755 --- a/apis/ec2/v1beta1/zz_vpcpeeringconnection_types.go +++ b/apis/ec2/v1beta1/zz_vpcpeeringconnection_types.go @@ -56,9 +56,33 @@ type VPCPeeringConnectionInitParameters_2 struct { // and use the aws_vpc_peering_connection_accepter to manage the accepter side. PeerRegion *string `json:"peerRegion,omitempty" tf:"peer_region,omitempty"` + // The ID of the VPC with which you are creating the VPC Peering Connection. + // +crossplane:generate:reference:type=VPC + PeerVPCID *string `json:"peerVpcId,omitempty" tf:"peer_vpc_id,omitempty"` + + // Reference to a VPC to populate peerVpcId. + // +kubebuilder:validation:Optional + PeerVPCIDRef *v1.Reference `json:"peerVpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC to populate peerVpcId. + // +kubebuilder:validation:Optional + PeerVPCIDSelector *v1.Selector `json:"peerVpcIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the requester VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCPeeringConnectionObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_vpcpeeringconnectionaccepter_types.go b/apis/ec2/v1beta1/zz_vpcpeeringconnectionaccepter_types.go index 93c6461f41..e38e6db3b9 100755 --- a/apis/ec2/v1beta1/zz_vpcpeeringconnectionaccepter_types.go +++ b/apis/ec2/v1beta1/zz_vpcpeeringconnectionaccepter_types.go @@ -55,6 +55,19 @@ type VPCPeeringConnectionAccepterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC Peering Connection ID to manage. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCPeeringConnection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCPeeringConnectionID *string `json:"vpcPeeringConnectionId,omitempty" tf:"vpc_peering_connection_id,omitempty"` + + // Reference to a VPCPeeringConnection in ec2 to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDRef *v1.Reference `json:"vpcPeeringConnectionIdRef,omitempty" tf:"-"` + + // Selector for a VPCPeeringConnection in ec2 to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDSelector *v1.Selector `json:"vpcPeeringConnectionIdSelector,omitempty" tf:"-"` } type VPCPeeringConnectionAccepterObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpcpeeringconnectionoptions_types.go b/apis/ec2/v1beta1/zz_vpcpeeringconnectionoptions_types.go index 6b98230feb..5f47a33b0c 100755 --- a/apis/ec2/v1beta1/zz_vpcpeeringconnectionoptions_types.go +++ b/apis/ec2/v1beta1/zz_vpcpeeringconnectionoptions_types.go @@ -43,6 +43,19 @@ type VPCPeeringConnectionOptionsInitParameters struct { // A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requeststhe peering connection (a maximum of one). Requester []VPCPeeringConnectionOptionsRequesterInitParameters `json:"requester,omitempty" tf:"requester,omitempty"` + + // The ID of the requester VPC peering connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPCPeeringConnection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCPeeringConnectionID *string `json:"vpcPeeringConnectionId,omitempty" tf:"vpc_peering_connection_id,omitempty"` + + // Reference to a VPCPeeringConnection in ec2 to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDRef *v1.Reference `json:"vpcPeeringConnectionIdRef,omitempty" tf:"-"` + + // Selector for a VPCPeeringConnection in ec2 to populate vpcPeeringConnectionId. + // +kubebuilder:validation:Optional + VPCPeeringConnectionIDSelector *v1.Selector `json:"vpcPeeringConnectionIdSelector,omitempty" tf:"-"` } type VPCPeeringConnectionOptionsObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpnconnection_types.go b/apis/ec2/v1beta1/zz_vpnconnection_types.go index c1d12025b4..3d8878dc23 100755 --- a/apis/ec2/v1beta1/zz_vpnconnection_types.go +++ b/apis/ec2/v1beta1/zz_vpnconnection_types.go @@ -153,6 +153,19 @@ type Tunnel2LogOptionsParameters struct { type VPNConnectionInitParameters_2 struct { + // The ID of the customer gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.CustomerGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + CustomerGatewayID *string `json:"customerGatewayId,omitempty" tf:"customer_gateway_id,omitempty"` + + // Reference to a CustomerGateway in ec2 to populate customerGatewayId. + // +kubebuilder:validation:Optional + CustomerGatewayIDRef *v1.Reference `json:"customerGatewayIdRef,omitempty" tf:"-"` + + // Selector for a CustomerGateway in ec2 to populate customerGatewayId. + // +kubebuilder:validation:Optional + CustomerGatewayIDSelector *v1.Selector `json:"customerGatewayIdSelector,omitempty" tf:"-"` + // Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway. EnableAcceleration *bool `json:"enableAcceleration,omitempty" tf:"enable_acceleration,omitempty"` @@ -178,6 +191,19 @@ type VPNConnectionInitParameters_2 struct { // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // The ID of the EC2 Transit Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.TransitGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + + // Reference to a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDRef *v1.Reference `json:"transitGatewayIdRef,omitempty" tf:"-"` + + // Selector for a TransitGateway in ec2 to populate transitGatewayId. + // +kubebuilder:validation:Optional + TransitGatewayIDSelector *v1.Selector `json:"transitGatewayIdSelector,omitempty" tf:"-"` + // . The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data source only. TransportTransitGatewayAttachmentID *string `json:"transportTransitGatewayAttachmentId,omitempty" tf:"transport_transit_gateway_attachment_id,omitempty"` @@ -311,6 +337,31 @@ type VPNConnectionInitParameters_2 struct { // Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are ipv4 | ipv6. ipv6 Supports only EC2 Transit Gateway. TunnelInsideIPVersion *string `json:"tunnelInsideIpVersion,omitempty" tf:"tunnel_inside_ip_version,omitempty"` + + // The type of VPN connection. The only type AWS supports at this time is "ipsec.1". + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.CustomerGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("type",false) + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Reference to a CustomerGateway in ec2 to populate type. + // +kubebuilder:validation:Optional + TypeRef *v1.Reference `json:"typeRef,omitempty" tf:"-"` + + // Selector for a CustomerGateway in ec2 to populate type. + // +kubebuilder:validation:Optional + TypeSelector *v1.Selector `json:"typeSelector,omitempty" tf:"-"` + + // The ID of the Virtual Private Gateway. + // +crossplane:generate:reference:type=VPNGateway + VPNGatewayID *string `json:"vpnGatewayId,omitempty" tf:"vpn_gateway_id,omitempty"` + + // Reference to a VPNGateway to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDRef *v1.Reference `json:"vpnGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDSelector *v1.Selector `json:"vpnGatewayIdSelector,omitempty" tf:"-"` } type VPNConnectionObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go b/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go index 630d51938e..fd6c1736b9 100755 --- a/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go +++ b/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go @@ -21,6 +21,19 @@ type VPNConnectionRouteInitParameters struct { // The CIDR block associated with the local subnet of the customer network. DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty" tf:"destination_cidr_block,omitempty"` + + // The ID of the VPN connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNConnection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPNConnectionID *string `json:"vpnConnectionId,omitempty" tf:"vpn_connection_id,omitempty"` + + // Reference to a VPNConnection in ec2 to populate vpnConnectionId. + // +kubebuilder:validation:Optional + VPNConnectionIDRef *v1.Reference `json:"vpnConnectionIdRef,omitempty" tf:"-"` + + // Selector for a VPNConnection in ec2 to populate vpnConnectionId. + // +kubebuilder:validation:Optional + VPNConnectionIDSelector *v1.Selector `json:"vpnConnectionIdSelector,omitempty" tf:"-"` } type VPNConnectionRouteObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpngateway_types.go b/apis/ec2/v1beta1/zz_vpngateway_types.go index 8520d15409..679d661e4d 100755 --- a/apis/ec2/v1beta1/zz_vpngateway_types.go +++ b/apis/ec2/v1beta1/zz_vpngateway_types.go @@ -28,6 +28,18 @@ type VPNGatewayInitParameters_2 struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The VPC ID to create in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPNGatewayObservation_2 struct { diff --git a/apis/ec2/v1beta1/zz_vpngatewayattachment_types.go b/apis/ec2/v1beta1/zz_vpngatewayattachment_types.go index 4c6c771b9f..a3da93b9d2 100755 --- a/apis/ec2/v1beta1/zz_vpngatewayattachment_types.go +++ b/apis/ec2/v1beta1/zz_vpngatewayattachment_types.go @@ -18,6 +18,31 @@ import ( ) type VPNGatewayAttachmentInitParameters struct { + + // The ID of the VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` + + // The ID of the Virtual Private Gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPNGatewayID *string `json:"vpnGatewayId,omitempty" tf:"vpn_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDRef *v1.Reference `json:"vpnGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDSelector *v1.Selector `json:"vpnGatewayIdSelector,omitempty" tf:"-"` } type VPNGatewayAttachmentObservation struct { diff --git a/apis/ec2/v1beta1/zz_vpngatewayroutepropagation_types.go b/apis/ec2/v1beta1/zz_vpngatewayroutepropagation_types.go index 7f9c0d4432..c79d36f9c0 100755 --- a/apis/ec2/v1beta1/zz_vpngatewayroutepropagation_types.go +++ b/apis/ec2/v1beta1/zz_vpngatewayroutepropagation_types.go @@ -18,6 +18,32 @@ import ( ) type VPNGatewayRoutePropagationInitParameters struct { + + // The id of the aws_route_table to propagate routes into. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.RouteTable + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` + + // Reference to a RouteTable in ec2 to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDRef *v1.Reference `json:"routeTableIdRef,omitempty" tf:"-"` + + // Selector for a RouteTable in ec2 to populate routeTableId. + // +kubebuilder:validation:Optional + RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` + + // The id of the aws_vpn_gateway to propagate routes from. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPNGateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPNGatewayID *string `json:"vpnGatewayId,omitempty" tf:"vpn_gateway_id,omitempty"` + + // Reference to a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDRef *v1.Reference `json:"vpnGatewayIdRef,omitempty" tf:"-"` + + // Selector for a VPNGateway in ec2 to populate vpnGatewayId. + // +kubebuilder:validation:Optional + VPNGatewayIDSelector *v1.Selector `json:"vpnGatewayIdSelector,omitempty" tf:"-"` } type VPNGatewayRoutePropagationObservation struct { diff --git a/apis/ecr/v1beta1/zz_generated.deepcopy.go b/apis/ecr/v1beta1/zz_generated.deepcopy.go index 7ff4c0ac2b..2c62e550c5 100644 --- a/apis/ecr/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecr/v1beta1/zz_generated.deepcopy.go @@ -91,6 +91,21 @@ func (in *EncryptionConfigurationInitParameters) DeepCopyInto(out *EncryptionCon *out = new(string) **out = **in } + if in.KMSKey != nil { + in, out := &in.KMSKey, &out.KMSKey + *out = new(string) + **out = **in + } + if in.KMSKeyRef != nil { + in, out := &in.KMSKeyRef, &out.KMSKeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeySelector != nil { + in, out := &in.KMSKeySelector, &out.KMSKeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationInitParameters. @@ -258,6 +273,21 @@ func (in *LifecyclePolicyInitParameters) DeepCopyInto(out *LifecyclePolicyInitPa *out = new(string) **out = **in } + if in.Repository != nil { + in, out := &in.Repository, &out.Repository + *out = new(string) + **out = **in + } + if in.RepositoryRef != nil { + in, out := &in.RepositoryRef, &out.RepositoryRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RepositorySelector != nil { + in, out := &in.RepositorySelector, &out.RepositorySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecyclePolicyInitParameters. @@ -1658,6 +1688,21 @@ func (in *RepositoryPolicyInitParameters) DeepCopyInto(out *RepositoryPolicyInit *out = new(string) **out = **in } + if in.Repository != nil { + in, out := &in.Repository, &out.Repository + *out = new(string) + **out = **in + } + if in.RepositoryRef != nil { + in, out := &in.RepositoryRef, &out.RepositoryRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RepositorySelector != nil { + in, out := &in.RepositorySelector, &out.RepositorySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyInitParameters. diff --git a/apis/ecr/v1beta1/zz_generated.resolvers.go b/apis/ecr/v1beta1/zz_generated.resolvers.go index 73663b3878..7645ed4c78 100644 --- a/apis/ecr/v1beta1/zz_generated.resolvers.go +++ b/apis/ecr/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *LifecyclePolicy) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.Repository = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RepositoryRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Repository), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RepositoryRef, + Selector: mg.Spec.InitProvider.RepositorySelector, + To: reference.To{ + List: &RepositoryList{}, + Managed: &Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Repository") + } + mg.Spec.InitProvider.Repository = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RepositoryRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,24 @@ func (mg *Repository) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.EncryptionConfiguration[i3].KMSKey = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EncryptionConfiguration[i3].KMSKeyRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKey), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKeyRef, + Selector: mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKeySelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKey") + } + mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKey = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionConfiguration[i3].KMSKeyRef = rsp.ResolvedReference + } return nil @@ -92,5 +126,21 @@ func (mg *RepositoryPolicy) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.Repository = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RepositoryRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Repository), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RepositoryRef, + Selector: mg.Spec.InitProvider.RepositorySelector, + To: reference.To{ + List: &RepositoryList{}, + Managed: &Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Repository") + } + mg.Spec.InitProvider.Repository = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RepositoryRef = rsp.ResolvedReference + return nil } diff --git a/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go b/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go index 7956c12130..009b412740 100755 --- a/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go +++ b/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go @@ -21,6 +21,18 @@ type LifecyclePolicyInitParameters struct { // The policy document. This is a JSON formatted string. See more details about Policy Parameters in the official AWS docs. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Name of the repository to apply the policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecr/v1beta1.Repository + Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` + + // Reference to a Repository in ecr to populate repository. + // +kubebuilder:validation:Optional + RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` + + // Selector for a Repository in ecr to populate repository. + // +kubebuilder:validation:Optional + RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` } type LifecyclePolicyObservation struct { diff --git a/apis/ecr/v1beta1/zz_repository_types.go b/apis/ecr/v1beta1/zz_repository_types.go index c2ffefdfa4..32ca62f98f 100755 --- a/apis/ecr/v1beta1/zz_repository_types.go +++ b/apis/ecr/v1beta1/zz_repository_types.go @@ -21,6 +21,19 @@ type EncryptionConfigurationInitParameters struct { // The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256. EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` + + // The ARN of the KMS key to use when encryption_type is KMS. If not specified, uses the default AWS managed key for ECR. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"` + + // Reference to a Key in kms to populate kmsKey. + // +kubebuilder:validation:Optional + KMSKeyRef *v1.Reference `json:"kmsKeyRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKey. + // +kubebuilder:validation:Optional + KMSKeySelector *v1.Selector `json:"kmsKeySelector,omitempty" tf:"-"` } type EncryptionConfigurationObservation struct { diff --git a/apis/ecr/v1beta1/zz_repositorypolicy_types.go b/apis/ecr/v1beta1/zz_repositorypolicy_types.go index e2b79f077b..aa44928ac2 100755 --- a/apis/ecr/v1beta1/zz_repositorypolicy_types.go +++ b/apis/ecr/v1beta1/zz_repositorypolicy_types.go @@ -21,6 +21,18 @@ type RepositoryPolicyInitParameters struct { // The policy document. This is a JSON formatted string Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Name of the repository to apply the policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecr/v1beta1.Repository + Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` + + // Reference to a Repository in ecr to populate repository. + // +kubebuilder:validation:Optional + RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` + + // Selector for a Repository in ecr to populate repository. + // +kubebuilder:validation:Optional + RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` } type RepositoryPolicyObservation struct { diff --git a/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go b/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go index 31e95f1381..efe5611f4f 100644 --- a/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go @@ -448,6 +448,21 @@ func (in *RepositoryPolicyInitParameters) DeepCopyInto(out *RepositoryPolicyInit *out = new(string) **out = **in } + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RepositoryNameRef != nil { + in, out := &in.RepositoryNameRef, &out.RepositoryNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RepositoryNameSelector != nil { + in, out := &in.RepositoryNameSelector, &out.RepositoryNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyInitParameters. diff --git a/apis/ecrpublic/v1beta1/zz_generated.resolvers.go b/apis/ecrpublic/v1beta1/zz_generated.resolvers.go index c7ddcf43d2..343c5cb7d1 100644 --- a/apis/ecrpublic/v1beta1/zz_generated.resolvers.go +++ b/apis/ecrpublic/v1beta1/zz_generated.resolvers.go @@ -35,5 +35,21 @@ func (mg *RepositoryPolicy) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.RepositoryName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RepositoryNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RepositoryName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RepositoryNameRef, + Selector: mg.Spec.InitProvider.RepositoryNameSelector, + To: reference.To{ + List: &RepositoryList{}, + Managed: &Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RepositoryName") + } + mg.Spec.InitProvider.RepositoryName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RepositoryNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go b/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go index 21755b202b..8682368df0 100755 --- a/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go +++ b/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go @@ -21,6 +21,18 @@ type RepositoryPolicyInitParameters struct { // The policy document. This is a JSON formatted string Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Name of the repository to apply the policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecrpublic/v1beta1.Repository + RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` + + // Reference to a Repository in ecrpublic to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"` + + // Selector for a Repository in ecrpublic to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"` } type RepositoryPolicyObservation struct { diff --git a/apis/ecs/v1beta1/zz_capacityprovider_types.go b/apis/ecs/v1beta1/zz_capacityprovider_types.go index 372e8633ef..91e4b01580 100755 --- a/apis/ecs/v1beta1/zz_capacityprovider_types.go +++ b/apis/ecs/v1beta1/zz_capacityprovider_types.go @@ -19,6 +19,19 @@ import ( type AutoScalingGroupProviderInitParameters struct { + // - ARN of the associated auto scaling group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/autoscaling/v1beta1.AutoscalingGroup + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + AutoScalingGroupArn *string `json:"autoScalingGroupArn,omitempty" tf:"auto_scaling_group_arn,omitempty"` + + // Reference to a AutoscalingGroup in autoscaling to populate autoScalingGroupArn. + // +kubebuilder:validation:Optional + AutoScalingGroupArnRef *v1.Reference `json:"autoScalingGroupArnRef,omitempty" tf:"-"` + + // Selector for a AutoscalingGroup in autoscaling to populate autoScalingGroupArn. + // +kubebuilder:validation:Optional + AutoScalingGroupArnSelector *v1.Selector `json:"autoScalingGroupArnSelector,omitempty" tf:"-"` + // - Configuration block defining the parameters of the auto scaling. Detailed below. ManagedScaling []ManagedScalingInitParameters `json:"managedScaling,omitempty" tf:"managed_scaling,omitempty"` diff --git a/apis/ecs/v1beta1/zz_clustercapacityproviders_types.go b/apis/ecs/v1beta1/zz_clustercapacityproviders_types.go index 8dc62313ca..e4f85b2efb 100755 --- a/apis/ecs/v1beta1/zz_clustercapacityproviders_types.go +++ b/apis/ecs/v1beta1/zz_clustercapacityproviders_types.go @@ -23,6 +23,18 @@ type ClusterCapacityProvidersInitParameters struct { // +listType=set CapacityProviders []*string `json:"capacityProviders,omitempty" tf:"capacity_providers,omitempty"` + // Name of the ECS cluster to manage capacity providers for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecs/v1beta1.Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster in ecs to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster in ecs to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + // Set of capacity provider strategies to use by default for the cluster. Detailed below. DefaultCapacityProviderStrategy []DefaultCapacityProviderStrategyInitParameters `json:"defaultCapacityProviderStrategy,omitempty" tf:"default_capacity_provider_strategy,omitempty"` } diff --git a/apis/ecs/v1beta1/zz_generated.deepcopy.go b/apis/ecs/v1beta1/zz_generated.deepcopy.go index 33f9548dc0..8e48bd8edd 100644 --- a/apis/ecs/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecs/v1beta1/zz_generated.deepcopy.go @@ -383,6 +383,21 @@ func (in *AuthorizationConfigParameters) DeepCopy() *AuthorizationConfigParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AutoScalingGroupProviderInitParameters) DeepCopyInto(out *AutoScalingGroupProviderInitParameters) { *out = *in + if in.AutoScalingGroupArn != nil { + in, out := &in.AutoScalingGroupArn, &out.AutoScalingGroupArn + *out = new(string) + **out = **in + } + if in.AutoScalingGroupArnRef != nil { + in, out := &in.AutoScalingGroupArnRef, &out.AutoScalingGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AutoScalingGroupArnSelector != nil { + in, out := &in.AutoScalingGroupArnSelector, &out.AutoScalingGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ManagedScaling != nil { in, out := &in.ManagedScaling, &out.ManagedScaling *out = make([]ManagedScalingInitParameters, len(*in)) @@ -953,6 +968,21 @@ func (in *ClusterCapacityProvidersInitParameters) DeepCopyInto(out *ClusterCapac } } } + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DefaultCapacityProviderStrategy != nil { in, out := &in.DefaultCapacityProviderStrategy, &out.DefaultCapacityProviderStrategy *out = make([]DefaultCapacityProviderStrategyInitParameters, len(*in)) @@ -2412,6 +2442,21 @@ func (in *LoadBalancerInitParameters) DeepCopyInto(out *LoadBalancerInitParamete *out = new(string) **out = **in } + if in.TargetGroupArn != nil { + in, out := &in.TargetGroupArn, &out.TargetGroupArn + *out = new(string) + **out = **in + } + if in.TargetGroupArnRef != nil { + in, out := &in.TargetGroupArnRef, &out.TargetGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetGroupArnSelector != nil { + in, out := &in.TargetGroupArnSelector, &out.TargetGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerInitParameters. @@ -2752,6 +2797,52 @@ func (in *NetworkConfigurationInitParameters) DeepCopyInto(out *NetworkConfigura *out = new(bool) **out = **in } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SubnetRefs != nil { + in, out := &in.SubnetRefs, &out.SubnetRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetSelector != nil { + in, out := &in.SubnetSelector, &out.SubnetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationInitParameters. @@ -3756,6 +3847,21 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = new(string) + **out = **in + } + if in.ClusterRef != nil { + in, out := &in.ClusterRef, &out.ClusterRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterSelector != nil { + in, out := &in.ClusterSelector, &out.ClusterSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DeploymentCircuitBreaker != nil { in, out := &in.DeploymentCircuitBreaker, &out.DeploymentCircuitBreaker *out = make([]DeploymentCircuitBreakerInitParameters, len(*in)) @@ -3805,6 +3911,21 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { *out = new(float64) **out = **in } + if in.IAMRole != nil { + in, out := &in.IAMRole, &out.IAMRole + *out = new(string) + **out = **in + } + if in.IAMRoleRef != nil { + in, out := &in.IAMRoleRef, &out.IAMRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LaunchType != nil { in, out := &in.LaunchType, &out.LaunchType *out = new(string) @@ -3883,6 +4004,21 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { (*out)[key] = outVal } } + if in.TaskDefinition != nil { + in, out := &in.TaskDefinition, &out.TaskDefinition + *out = new(string) + **out = **in + } + if in.TaskDefinitionRef != nil { + in, out := &in.TaskDefinitionRef, &out.TaskDefinitionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TaskDefinitionSelector != nil { + in, out := &in.TaskDefinitionSelector, &out.TaskDefinitionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Triggers != nil { in, out := &in.Triggers, &out.Triggers *out = make(map[string]*string, len(*in)) @@ -4650,6 +4786,21 @@ func (in *TaskDefinitionInitParameters) DeepCopyInto(out *TaskDefinitionInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Family != nil { in, out := &in.Family, &out.Family *out = new(string) diff --git a/apis/ecs/v1beta1/zz_generated.resolvers.go b/apis/ecs/v1beta1/zz_generated.resolvers.go index 21ef93c45f..8e43b44be8 100644 --- a/apis/ecs/v1beta1/zz_generated.resolvers.go +++ b/apis/ecs/v1beta1/zz_generated.resolvers.go @@ -41,6 +41,24 @@ func (mg *CapacityProvider) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.AutoScalingGroupProvider); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArnRef, + Selector: mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArnSelector, + To: reference.To{ + List: &v1beta1.AutoscalingGroupList{}, + Managed: &v1beta1.AutoscalingGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArn") + } + mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AutoScalingGroupProvider[i3].AutoScalingGroupArnRef = rsp.ResolvedReference + } return nil @@ -69,6 +87,22 @@ func (mg *ClusterCapacityProviders) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterNameRef, + Selector: mg.Spec.InitProvider.ClusterNameSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterName") + } + mg.Spec.InitProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterNameRef = rsp.ResolvedReference + return nil } @@ -182,6 +216,108 @@ func (mg *Service) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.TaskDefinition = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TaskDefinitionRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Cluster), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterRef, + Selector: mg.Spec.InitProvider.ClusterSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Cluster") + } + mg.Spec.InitProvider.Cluster = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRole), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleRef, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRole") + } + mg.Spec.InitProvider.IAMRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoadBalancer); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArnRef, + Selector: mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArnSelector, + To: reference.To{ + List: &v1beta12.LBTargetGroupList{}, + Managed: &v1beta12.LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArn") + } + mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancer[i3].TargetGroupArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkConfiguration); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroupRefs, + Selector: mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroupSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroups") + } + mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.NetworkConfiguration[i3].SecurityGroupRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkConfiguration); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.NetworkConfiguration[i3].Subnets), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.NetworkConfiguration[i3].SubnetRefs, + Selector: mg.Spec.InitProvider.NetworkConfiguration[i3].SubnetSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NetworkConfiguration[i3].Subnets") + } + mg.Spec.InitProvider.NetworkConfiguration[i3].Subnets = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.NetworkConfiguration[i3].SubnetRefs = mrsp.ResolvedReferences + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TaskDefinition), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TaskDefinitionRef, + Selector: mg.Spec.InitProvider.TaskDefinitionSelector, + To: reference.To{ + List: &TaskDefinitionList{}, + Managed: &TaskDefinition{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TaskDefinition") + } + mg.Spec.InitProvider.TaskDefinition = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TaskDefinitionRef = rsp.ResolvedReference + return nil } @@ -208,5 +344,21 @@ func (mg *TaskDefinition) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExecutionRoleArn") + } + mg.Spec.InitProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExecutionRoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/ecs/v1beta1/zz_service_types.go b/apis/ecs/v1beta1/zz_service_types.go index aa3028c331..27b2897317 100755 --- a/apis/ecs/v1beta1/zz_service_types.go +++ b/apis/ecs/v1beta1/zz_service_types.go @@ -185,6 +185,18 @@ type LoadBalancerInitParameters struct { // Name of the ELB (Classic) to associate with the service. ELBName *string `json:"elbName,omitempty" tf:"elb_name,omitempty"` + + // ARN of the Load Balancer target group to associate with the service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBTargetGroup + TargetGroupArn *string `json:"targetGroupArn,omitempty" tf:"target_group_arn,omitempty"` + + // Reference to a LBTargetGroup in elbv2 to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnRef *v1.Reference `json:"targetGroupArnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup in elbv2 to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnSelector *v1.Selector `json:"targetGroupArnSelector,omitempty" tf:"-"` } type LoadBalancerObservation struct { @@ -234,6 +246,36 @@ type NetworkConfigurationInitParameters struct { // Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false. AssignPublicIP *bool `json:"assignPublicIp,omitempty" tf:"assign_public_ip,omitempty"` + + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // References to Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetRefs []v1.Reference `json:"subnetRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetSelector *v1.Selector `json:"subnetSelector,omitempty" tf:"-"` + + // Subnets associated with the task or service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetRefs + // +crossplane:generate:reference:selectorFieldName=SubnetSelector + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` } type NetworkConfigurationObservation struct { @@ -533,6 +575,18 @@ type ServiceInitParameters struct { // Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if force_new_deployment = true and not changing from 0 capacity_provider_strategy blocks to greater than 0, or vice versa. See below. CapacityProviderStrategy []CapacityProviderStrategyInitParameters `json:"capacityProviderStrategy,omitempty" tf:"capacity_provider_strategy,omitempty"` + // Name of an ECS cluster. + // +crossplane:generate:reference:type=Cluster + Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // Reference to a Cluster to populate cluster. + // +kubebuilder:validation:Optional + ClusterRef *v1.Reference `json:"clusterRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate cluster. + // +kubebuilder:validation:Optional + ClusterSelector *v1.Selector `json:"clusterSelector,omitempty" tf:"-"` + // Configuration block for deployment circuit breaker. See below. DeploymentCircuitBreaker []DeploymentCircuitBreakerInitParameters `json:"deploymentCircuitBreaker,omitempty" tf:"deployment_circuit_breaker,omitempty"` @@ -560,6 +614,19 @@ type ServiceInitParameters struct { // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds *float64 `json:"healthCheckGracePeriodSeconds,omitempty" tf:"health_check_grace_period_seconds,omitempty"` + // ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the awsvpc network mode. If using awsvpc network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRole *string `json:"iamRole,omitempty" tf:"iam_role,omitempty"` + + // Reference to a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleRef *v1.Reference `json:"iamRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + // Launch type on which to run your service. The valid values are EC2, FARGATE, and EXTERNAL. Defaults to EC2. LaunchType *string `json:"launchType,omitempty" tf:"launch_type,omitempty"` @@ -594,6 +661,18 @@ type ServiceInitParameters struct { // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // Family and revision (family:revision) or full ARN of the task definition that you want to run in your service. Required unless using the EXTERNAL deployment controller. If a revision is not specified, the latest ACTIVE revision is used. + // +crossplane:generate:reference:type=TaskDefinition + TaskDefinition *string `json:"taskDefinition,omitempty" tf:"task_definition,omitempty"` + + // Reference to a TaskDefinition to populate taskDefinition. + // +kubebuilder:validation:Optional + TaskDefinitionRef *v1.Reference `json:"taskDefinitionRef,omitempty" tf:"-"` + + // Selector for a TaskDefinition to populate taskDefinition. + // +kubebuilder:validation:Optional + TaskDefinitionSelector *v1.Selector `json:"taskDefinitionSelector,omitempty" tf:"-"` + // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with timestamp(). See example above. // +mapType=granular Triggers map[string]*string `json:"triggers,omitempty" tf:"triggers,omitempty"` diff --git a/apis/ecs/v1beta1/zz_taskdefinition_types.go b/apis/ecs/v1beta1/zz_taskdefinition_types.go index 037a0cbfaf..462e3e6b26 100755 --- a/apis/ecs/v1beta1/zz_taskdefinition_types.go +++ b/apis/ecs/v1beta1/zz_taskdefinition_types.go @@ -368,6 +368,19 @@ type TaskDefinitionInitParameters struct { // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage. EphemeralStorage []EphemeralStorageInitParameters `json:"ephemeralStorage,omitempty" tf:"ephemeral_storage,omitempty"` + // ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"` + // A unique name for your task definition. Family *string `json:"family,omitempty" tf:"family,omitempty"` diff --git a/apis/efs/v1beta1/zz_accesspoint_types.go b/apis/efs/v1beta1/zz_accesspoint_types.go index c565e3733a..3d2de82a70 100755 --- a/apis/efs/v1beta1/zz_accesspoint_types.go +++ b/apis/efs/v1beta1/zz_accesspoint_types.go @@ -19,6 +19,18 @@ import ( type AccessPointInitParameters struct { + // ID of the file system for which the access point is intended. + // +crossplane:generate:reference:type=FileSystem + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // Operating system user and group applied to all file system requests made using the access point. Detailed below. PosixUser []PosixUserInitParameters `json:"posixUser,omitempty" tf:"posix_user,omitempty"` diff --git a/apis/efs/v1beta1/zz_backuppolicy_types.go b/apis/efs/v1beta1/zz_backuppolicy_types.go index 42569449c3..b35e2c23ec 100755 --- a/apis/efs/v1beta1/zz_backuppolicy_types.go +++ b/apis/efs/v1beta1/zz_backuppolicy_types.go @@ -40,6 +40,18 @@ type BackupPolicyInitParameters struct { // A backup_policy object (documented below). BackupPolicy []BackupPolicyBackupPolicyInitParameters `json:"backupPolicy,omitempty" tf:"backup_policy,omitempty"` + + // The ID of the EFS file system. + // +crossplane:generate:reference:type=FileSystem + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` } type BackupPolicyObservation struct { diff --git a/apis/efs/v1beta1/zz_filesystem_types.go b/apis/efs/v1beta1/zz_filesystem_types.go index 5111da575a..56eff649ec 100755 --- a/apis/efs/v1beta1/zz_filesystem_types.go +++ b/apis/efs/v1beta1/zz_filesystem_types.go @@ -31,6 +31,19 @@ type FileSystemInitParameters struct { // If true, the disk will be encrypted. Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + // The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // A file system lifecycle policy object (documented below). LifecyclePolicy []LifecyclePolicyInitParameters `json:"lifecyclePolicy,omitempty" tf:"lifecycle_policy,omitempty"` diff --git a/apis/efs/v1beta1/zz_filesystempolicy_types.go b/apis/efs/v1beta1/zz_filesystempolicy_types.go index 6c2ef00995..5f6beb29de 100755 --- a/apis/efs/v1beta1/zz_filesystempolicy_types.go +++ b/apis/efs/v1beta1/zz_filesystempolicy_types.go @@ -22,6 +22,18 @@ type FileSystemPolicyInitParameters struct { // A flag to indicate whether to bypass the aws_efs_file_system_policy lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future PutFileSystemPolicy requests on the file system. Set bypass_policy_lockout_safety_check to true only when you intend to prevent the principal that is making the request from making a subsequent PutFileSystemPolicy request on the file system. The default value is false. BypassPolicyLockoutSafetyCheck *bool `json:"bypassPolicyLockoutSafetyCheck,omitempty" tf:"bypass_policy_lockout_safety_check,omitempty"` + // The ID of the EFS file system. + // +crossplane:generate:reference:type=FileSystem + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // The JSON formatted file system policy for the EFS file system. see Docs for more info. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/efs/v1beta1/zz_generated.deepcopy.go b/apis/efs/v1beta1/zz_generated.deepcopy.go index bbe43e4014..c21c5b57ee 100644 --- a/apis/efs/v1beta1/zz_generated.deepcopy.go +++ b/apis/efs/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,21 @@ func (in *AccessPoint) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AccessPointInitParameters) DeepCopyInto(out *AccessPointInitParameters) { *out = *in + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PosixUser != nil { in, out := &in.PosixUser, &out.PosixUser *out = make([]PosixUserInitParameters, len(*in)) @@ -400,6 +415,21 @@ func (in *BackupPolicyInitParameters) DeepCopyInto(out *BackupPolicyInitParamete (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyInitParameters. @@ -783,6 +813,21 @@ func (in *FileSystemInitParameters) DeepCopyInto(out *FileSystemInitParameters) *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LifecyclePolicy != nil { in, out := &in.LifecyclePolicy, &out.LifecyclePolicy *out = make([]LifecyclePolicyInitParameters, len(*in)) @@ -1119,6 +1164,21 @@ func (in *FileSystemPolicyInitParameters) DeepCopyInto(out *FileSystemPolicyInit *out = new(bool) **out = **in } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -1423,11 +1483,64 @@ func (in *MountTarget) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MountTargetInitParameters) DeepCopyInto(out *MountTargetInitParameters) { *out = *in + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IPAddress != nil { in, out := &in.IPAddress, &out.IPAddress *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.SecurityGroupsRefs != nil { + in, out := &in.SecurityGroupsRefs, &out.SecurityGroupsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupsSelector != nil { + in, out := &in.SecurityGroupsSelector, &out.SecurityGroupsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MountTargetInitParameters. @@ -1811,6 +1924,21 @@ func (in *ReplicationConfigurationInitParameters) DeepCopyInto(out *ReplicationC (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SourceFileSystemID != nil { + in, out := &in.SourceFileSystemID, &out.SourceFileSystemID + *out = new(string) + **out = **in + } + if in.SourceFileSystemIDRef != nil { + in, out := &in.SourceFileSystemIDRef, &out.SourceFileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceFileSystemIDSelector != nil { + in, out := &in.SourceFileSystemIDSelector, &out.SourceFileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationConfigurationInitParameters. diff --git a/apis/efs/v1beta1/zz_generated.resolvers.go b/apis/efs/v1beta1/zz_generated.resolvers.go index b8739c2b62..0218194f56 100644 --- a/apis/efs/v1beta1/zz_generated.resolvers.go +++ b/apis/efs/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,22 @@ func (mg *AccessPoint) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &FileSystemList{}, + Managed: &FileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -65,6 +81,22 @@ func (mg *BackupPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &FileSystemList{}, + Managed: &FileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -91,6 +123,22 @@ func (mg *FileSystem) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -117,6 +165,22 @@ func (mg *FileSystemPolicy) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &FileSystemList{}, + Managed: &FileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -176,6 +240,54 @@ func (mg *MountTarget) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &FileSystemList{}, + Managed: &FileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupsRefs, + Selector: mg.Spec.InitProvider.SecurityGroupsSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroups") + } + mg.Spec.InitProvider.SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupsRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -202,5 +314,21 @@ func (mg *ReplicationConfiguration) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.SourceFileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceFileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceFileSystemID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceFileSystemIDRef, + Selector: mg.Spec.InitProvider.SourceFileSystemIDSelector, + To: reference.To{ + List: &FileSystemList{}, + Managed: &FileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceFileSystemID") + } + mg.Spec.InitProvider.SourceFileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceFileSystemIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/efs/v1beta1/zz_mounttarget_types.go b/apis/efs/v1beta1/zz_mounttarget_types.go index 5a4cec0a63..955f9cde29 100755 --- a/apis/efs/v1beta1/zz_mounttarget_types.go +++ b/apis/efs/v1beta1/zz_mounttarget_types.go @@ -19,9 +19,47 @@ import ( type MountTargetInitParameters struct { + // The ID of the file system for which the mount target is intended. + // +crossplane:generate:reference:type=FileSystem + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a FileSystem to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // The address (within the address range of the specified subnet) at // which the file system may be mounted via the mount target. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // A list of up to 5 VPC security group IDs (that must + // be for the same VPC as subnet specified) in effect for the mount target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupsRefs []v1.Reference `json:"securityGroupsRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupsSelector *v1.Selector `json:"securityGroupsSelector,omitempty" tf:"-"` + + // The ID of the subnet to add the mount target in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type MountTargetObservation struct { diff --git a/apis/efs/v1beta1/zz_replicationconfiguration_types.go b/apis/efs/v1beta1/zz_replicationconfiguration_types.go index d7729f39de..d6ec161fb4 100755 --- a/apis/efs/v1beta1/zz_replicationconfiguration_types.go +++ b/apis/efs/v1beta1/zz_replicationconfiguration_types.go @@ -63,6 +63,19 @@ type ReplicationConfigurationInitParameters struct { // A destination configuration block (documented below). Destination []DestinationInitParameters `json:"destination,omitempty" tf:"destination,omitempty"` + + // The ID of the file system that is to be replicated. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/efs/v1beta1.FileSystem + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SourceFileSystemID *string `json:"sourceFileSystemId,omitempty" tf:"source_file_system_id,omitempty"` + + // Reference to a FileSystem in efs to populate sourceFileSystemId. + // +kubebuilder:validation:Optional + SourceFileSystemIDRef *v1.Reference `json:"sourceFileSystemIdRef,omitempty" tf:"-"` + + // Selector for a FileSystem in efs to populate sourceFileSystemId. + // +kubebuilder:validation:Optional + SourceFileSystemIDSelector *v1.Selector `json:"sourceFileSystemIdSelector,omitempty" tf:"-"` } type ReplicationConfigurationObservation struct { diff --git a/apis/eks/v1beta1/zz_addon_types.go b/apis/eks/v1beta1/zz_addon_types.go index 12781f5847..036a4880fa 100755 --- a/apis/eks/v1beta1/zz_addon_types.go +++ b/apis/eks/v1beta1/zz_addon_types.go @@ -27,6 +27,18 @@ type AddonInitParameters struct { // match one of the versions returned by describe-addon-versions. AddonVersion *string `json:"addonVersion,omitempty" tf:"addon_version,omitempty"` + // 100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (^[0-9A-Za-z][A-Za-z0-9\-_]+$). + // +crossplane:generate:reference:type=Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + // custom configuration values for addons with single JSON string. This JSON string value must match the JSON schema derived from describe-addon-configuration. ConfigurationValues *string `json:"configurationValues,omitempty" tf:"configuration_values,omitempty"` @@ -42,6 +54,24 @@ type AddonInitParameters struct { // How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are NONE, OVERWRITE, and PRESERVE. For more details see the UpdateAddon API Docs. ResolveConflictsOnUpdate *string `json:"resolveConflictsOnUpdate,omitempty" tf:"resolve_conflicts_on_update,omitempty"` + // The Amazon Resource Name (ARN) of an + // existing IAM role to bind to the add-on's service account. The role must be + // assigned the IAM permissions required by the add-on. If you don't specify + // an existing IAM role, then the add-on uses the permissions assigned to the node + // IAM role. For more information, see Amazon EKS node IAM role + // in the Amazon EKS User Guide. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceAccountRoleArn *string `json:"serviceAccountRoleArn,omitempty" tf:"service_account_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceAccountRoleArn. + // +kubebuilder:validation:Optional + ServiceAccountRoleArnRef *v1.Reference `json:"serviceAccountRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceAccountRoleArn. + // +kubebuilder:validation:Optional + ServiceAccountRoleArnSelector *v1.Selector `json:"serviceAccountRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/eks/v1beta1/zz_cluster_types.go b/apis/eks/v1beta1/zz_cluster_types.go index b19a93c19e..a154dbf139 100755 --- a/apis/eks/v1beta1/zz_cluster_types.go +++ b/apis/eks/v1beta1/zz_cluster_types.go @@ -44,6 +44,19 @@ type ClusterInitParameters struct { // Configuration block representing the configuration of your local Amazon EKS cluster on an AWS Outpost. This block isn't available for creating Amazon EKS clusters on the AWS cloud. OutpostConfig []OutpostConfigInitParameters `json:"outpostConfig,omitempty" tf:"outpost_config,omitempty"` + // ARN of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. Ensure the resource configuration includes explicit dependencies on the IAM Role permissions by adding depends_on if using the aws_iam_role_policy resource or aws_iam_role_policy_attachment resource, otherwise EKS cannot delete EKS managed EC2 infrastructure such as Security Groups on EKS Cluster deletion. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -349,6 +362,36 @@ type VPCConfigInitParameters struct { // List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with 0.0.0.0/0. // +listType=set PublicAccessCidrs []*string `json:"publicAccessCidrs,omitempty" tf:"public_access_cidrs,omitempty"` + + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type VPCConfigObservation struct { diff --git a/apis/eks/v1beta1/zz_fargateprofile_types.go b/apis/eks/v1beta1/zz_fargateprofile_types.go index 37f3cad4dc..da0cca9985 100755 --- a/apis/eks/v1beta1/zz_fargateprofile_types.go +++ b/apis/eks/v1beta1/zz_fargateprofile_types.go @@ -19,9 +19,49 @@ import ( type FargateProfileInitParameters struct { + // 100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (^[0-9A-Za-z][A-Za-z0-9\-_]+$). + // +crossplane:generate:reference:type=Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + + // – Amazon Resource Name (ARN) of the IAM Role that provides permissions for the EKS Fargate Profile. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PodExecutionRoleArn *string `json:"podExecutionRoleArn,omitempty" tf:"pod_execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate podExecutionRoleArn. + // +kubebuilder:validation:Optional + PodExecutionRoleArnRef *v1.Reference `json:"podExecutionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate podExecutionRoleArn. + // +kubebuilder:validation:Optional + PodExecutionRoleArnSelector *v1.Selector `json:"podExecutionRoleArnSelector,omitempty" tf:"-"` + // Configuration block(s) for selecting Kubernetes Pods to execute with this EKS Fargate Profile. Detailed below. Selector []SelectorInitParameters `json:"selector,omitempty" tf:"selector,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // – Identifiers of private EC2 Subnets to associate with the EKS Fargate Profile. These subnets must have the following resource tag: kubernetes.io/cluster/CLUSTER_NAME (where CLUSTER_NAME is replaced with the name of the EKS Cluster). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/eks/v1beta1/zz_generated.deepcopy.go b/apis/eks/v1beta1/zz_generated.deepcopy.go index 895c43ceeb..5b115b4964 100644 --- a/apis/eks/v1beta1/zz_generated.deepcopy.go +++ b/apis/eks/v1beta1/zz_generated.deepcopy.go @@ -54,6 +54,21 @@ func (in *AddonInitParameters) DeepCopyInto(out *AddonInitParameters) { *out = new(string) **out = **in } + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConfigurationValues != nil { in, out := &in.ConfigurationValues, &out.ConfigurationValues *out = new(string) @@ -79,6 +94,21 @@ func (in *AddonInitParameters) DeepCopyInto(out *AddonInitParameters) { *out = new(string) **out = **in } + if in.ServiceAccountRoleArn != nil { + in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn + *out = new(string) + **out = **in + } + if in.ServiceAccountRoleArnRef != nil { + in, out := &in.ServiceAccountRoleArnRef, &out.ServiceAccountRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceAccountRoleArnSelector != nil { + in, out := &in.ServiceAccountRoleArnSelector, &out.ServiceAccountRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -691,6 +721,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1227,6 +1272,36 @@ func (in *FargateProfile) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FargateProfileInitParameters) DeepCopyInto(out *FargateProfileInitParameters) { *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PodExecutionRoleArn != nil { + in, out := &in.PodExecutionRoleArn, &out.PodExecutionRoleArn + *out = new(string) + **out = **in + } + if in.PodExecutionRoleArnRef != nil { + in, out := &in.PodExecutionRoleArnRef, &out.PodExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PodExecutionRoleArnSelector != nil { + in, out := &in.PodExecutionRoleArnSelector, &out.PodExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make([]SelectorInitParameters, len(*in)) @@ -1234,6 +1309,29 @@ func (in *FargateProfileInitParameters) DeepCopyInto(out *FargateProfileInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -1597,6 +1695,21 @@ func (in *IdentityProviderConfig) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IdentityProviderConfigInitParameters) DeepCopyInto(out *IdentityProviderConfigInitParameters) { *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Oidc != nil { in, out := &in.Oidc, &out.Oidc *out = make([]IdentityProviderConfigOidcInitParameters, len(*in)) @@ -2268,6 +2381,21 @@ func (in *NodeGroupInitParameters) DeepCopyInto(out *NodeGroupInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.NodeRoleArn != nil { + in, out := &in.NodeRoleArn, &out.NodeRoleArn + *out = new(string) + **out = **in + } + if in.NodeRoleArnRef != nil { + in, out := &in.NodeRoleArnRef, &out.NodeRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NodeRoleArnSelector != nil { + in, out := &in.NodeRoleArnSelector, &out.NodeRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ReleaseVersion != nil { in, out := &in.ReleaseVersion, &out.ReleaseVersion *out = new(string) @@ -2287,6 +2415,29 @@ func (in *NodeGroupInitParameters) DeepCopyInto(out *NodeGroupInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -2317,6 +2468,21 @@ func (in *NodeGroupInitParameters) DeepCopyInto(out *NodeGroupInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroupInitParameters. @@ -3001,6 +3167,29 @@ func (in *RemoteAccessInitParameters) DeepCopyInto(out *RemoteAccessInitParamete *out = new(string) **out = **in } + if in.SourceSecurityGroupIDRefs != nil { + in, out := &in.SourceSecurityGroupIDRefs, &out.SourceSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceSecurityGroupIDSelector != nil { + in, out := &in.SourceSecurityGroupIDSelector, &out.SourceSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SourceSecurityGroupIds != nil { + in, out := &in.SourceSecurityGroupIds, &out.SourceSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAccessInitParameters. @@ -3531,6 +3720,52 @@ func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { } } } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigInitParameters. diff --git a/apis/eks/v1beta1/zz_generated.resolvers.go b/apis/eks/v1beta1/zz_generated.resolvers.go index edcccd9373..173ba32026 100644 --- a/apis/eks/v1beta1/zz_generated.resolvers.go +++ b/apis/eks/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *Addon) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.ServiceAccountRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceAccountRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterNameRef, + Selector: mg.Spec.InitProvider.ClusterNameSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterName") + } + mg.Spec.InitProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceAccountRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceAccountRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceAccountRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceAccountRoleArn") + } + mg.Spec.InitProvider.ServiceAccountRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceAccountRoleArnRef = rsp.ResolvedReference + return nil } @@ -117,6 +149,58 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } return nil @@ -204,6 +288,54 @@ func (mg *FargateProfile) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterNameRef, + Selector: mg.Spec.InitProvider.ClusterNameSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterName") + } + mg.Spec.InitProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PodExecutionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PodExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.PodExecutionRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PodExecutionRoleArn") + } + mg.Spec.InitProvider.PodExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PodExecutionRoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -230,6 +362,22 @@ func (mg *IdentityProviderConfig) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterNameRef, + Selector: mg.Spec.InitProvider.ClusterNameSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterName") + } + mg.Spec.InitProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterNameRef = rsp.ResolvedReference + return nil } @@ -323,5 +471,71 @@ func (mg *NodeGroup) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.Version = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VersionRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NodeRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.NodeRoleArnRef, + Selector: mg.Spec.InitProvider.NodeRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NodeRoleArn") + } + mg.Spec.InitProvider.NodeRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NodeRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.RemoteAccess); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIds") + } + mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.RemoteAccess[i3].SourceSecurityGroupIDRefs = mrsp.ResolvedReferences + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Version), + Extract: resource.ExtractParamPath("version", false), + Reference: mg.Spec.InitProvider.VersionRef, + Selector: mg.Spec.InitProvider.VersionSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Version") + } + mg.Spec.InitProvider.Version = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VersionRef = rsp.ResolvedReference + return nil } diff --git a/apis/eks/v1beta1/zz_identityproviderconfig_types.go b/apis/eks/v1beta1/zz_identityproviderconfig_types.go index dd74810eeb..e7526969b7 100755 --- a/apis/eks/v1beta1/zz_identityproviderconfig_types.go +++ b/apis/eks/v1beta1/zz_identityproviderconfig_types.go @@ -19,6 +19,18 @@ import ( type IdentityProviderConfigInitParameters struct { + // – Name of the EKS Cluster. + // +crossplane:generate:reference:type=Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + // Nested attribute containing OpenID Connect identity provider information for the cluster. Detailed below. Oidc []IdentityProviderConfigOidcInitParameters `json:"oidc,omitempty" tf:"oidc,omitempty"` diff --git a/apis/eks/v1beta1/zz_nodegroup_types.go b/apis/eks/v1beta1/zz_nodegroup_types.go index 4afd7b1ee1..008ca20e70 100755 --- a/apis/eks/v1beta1/zz_nodegroup_types.go +++ b/apis/eks/v1beta1/zz_nodegroup_types.go @@ -92,6 +92,19 @@ type NodeGroupInitParameters struct { // Configuration block with Launch Template settings. See launch_template below for details. LaunchTemplate []LaunchTemplateInitParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"` + // – Amazon Resource Name (ARN) of the IAM Role that provides permissions for the EKS Node Group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + NodeRoleArn *string `json:"nodeRoleArn,omitempty" tf:"node_role_arn,omitempty"` + + // Reference to a Role in iam to populate nodeRoleArn. + // +kubebuilder:validation:Optional + NodeRoleArnRef *v1.Reference `json:"nodeRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate nodeRoleArn. + // +kubebuilder:validation:Optional + NodeRoleArnSelector *v1.Selector `json:"nodeRoleArnSelector,omitempty" tf:"-"` + // – AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version. ReleaseVersion *string `json:"releaseVersion,omitempty" tf:"release_version,omitempty"` @@ -101,6 +114,21 @@ type NodeGroupInitParameters struct { // Configuration block with scaling settings. See scaling_config below for details. ScalingConfig []ScalingConfigInitParameters `json:"scalingConfig,omitempty" tf:"scaling_config,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Identifiers of EC2 Subnets to associate with the EKS Node Group. Amazon EKS managed node groups can be launched in both public and private subnets. If you plan to deploy load balancers to a subnet, the private subnet must have tag kubernetes.io/role/internal-elb, the public subnet must have tag kubernetes.io/role/elb. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -110,6 +138,19 @@ type NodeGroupInitParameters struct { // Configuration block with update settings. See update_config below for details. UpdateConfig []UpdateConfigInitParameters `json:"updateConfig,omitempty" tf:"update_config,omitempty"` + + // – Kubernetes version. Defaults to EKS Cluster Kubernetes version. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/eks/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("version",false) + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + // Reference to a Cluster in eks to populate version. + // +kubebuilder:validation:Optional + VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"` + + // Selector for a Cluster in eks to populate version. + // +kubebuilder:validation:Optional + VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"` } type NodeGroupObservation struct { @@ -309,6 +350,21 @@ type RemoteAccessInitParameters struct { // EC2 Key Pair name that provides access for remote communication with the worker nodes in the EKS Node Group. If you specify this configuration, but do not specify source_security_group_ids when you create an EKS Node Group, either port 3389 for Windows, or port 22 for all other operating systems is opened on the worker nodes to the Internet (0.0.0.0/0). For Windows nodes, this will allow you to use RDP, for all others this allows you to SSH into the worker nodes. EC2SSHKey *string `json:"ec2SshKey,omitempty" tf:"ec2_ssh_key,omitempty"` + + // References to SecurityGroup in ec2 to populate sourceSecurityGroupIds. + // +kubebuilder:validation:Optional + SourceSecurityGroupIDRefs []v1.Reference `json:"sourceSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate sourceSecurityGroupIds. + // +kubebuilder:validation:Optional + SourceSecurityGroupIDSelector *v1.Selector `json:"sourceSecurityGroupIdSelector,omitempty" tf:"-"` + + // Set of EC2 Security Group IDs to allow SSH access (port 22) from on the worker nodes. If you specify ec2_ssh_key, but do not specify this configuration when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SourceSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SourceSecurityGroupIDSelector + // +listType=set + SourceSecurityGroupIds []*string `json:"sourceSecurityGroupIds,omitempty" tf:"source_security_group_ids,omitempty"` } type RemoteAccessObservation struct { diff --git a/apis/elasticache/v1beta1/zz_cluster_types.go b/apis/elasticache/v1beta1/zz_cluster_types.go index 3739b03476..1007d87f13 100755 --- a/apis/elasticache/v1beta1/zz_cluster_types.go +++ b/apis/elasticache/v1beta1/zz_cluster_types.go @@ -95,6 +95,18 @@ type ClusterInitParameters struct { // Specify the outpost mode that will apply to the cache cluster creation. Valid values are "single-outpost" and "cross-outpost", however AWS currently only supports "single-outpost" mode. OutpostMode *string `json:"outpostMode,omitempty" tf:"outpost_mode,omitempty"` + // – The name of the parameter group to associate with this cache cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticache/v1beta1.ParameterGroup + ParameterGroupName *string `json:"parameterGroupName,omitempty" tf:"parameter_group_name,omitempty"` + + // Reference to a ParameterGroup in elasticache to populate parameterGroupName. + // +kubebuilder:validation:Optional + ParameterGroupNameRef *v1.Reference `json:"parameterGroupNameRef,omitempty" tf:"-"` + + // Selector for a ParameterGroup in elasticache to populate parameterGroupName. + // +kubebuilder:validation:Optional + ParameterGroupNameSelector *v1.Selector `json:"parameterGroupNameSelector,omitempty" tf:"-"` + // create the resource. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` @@ -104,6 +116,34 @@ type ClusterInitParameters struct { // The outpost ARN in which the cache cluster will be created. PreferredOutpostArn *string `json:"preferredOutpostArn,omitempty" tf:"preferred_outpost_arn,omitempty"` + // ID of the replication group to which this cluster should belong. If this parameter is specified, the cluster is added to the specified replication group as a read replica; otherwise, the cluster is a standalone primary that is not part of any replication group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticache/v1beta1.ReplicationGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ReplicationGroupID *string `json:"replicationGroupId,omitempty" tf:"replication_group_id,omitempty"` + + // Reference to a ReplicationGroup in elasticache to populate replicationGroupId. + // +kubebuilder:validation:Optional + ReplicationGroupIDRef *v1.Reference `json:"replicationGroupIdRef,omitempty" tf:"-"` + + // Selector for a ReplicationGroup in elasticache to populate replicationGroupId. + // +kubebuilder:validation:Optional + ReplicationGroupIDSelector *v1.Selector `json:"replicationGroupIdSelector,omitempty" tf:"-"` + + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // – One or more VPC security groups associated with the cache cluster. Cannot be provided with replication_group_id. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. The object name cannot contain any commas. Changing snapshot_arns forces a new resource. SnapshotArns []*string `json:"snapshotArns,omitempty" tf:"snapshot_arns,omitempty"` @@ -116,6 +156,18 @@ type ClusterInitParameters struct { // Daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 SnapshotWindow *string `json:"snapshotWindow,omitempty" tf:"snapshot_window,omitempty"` + // create the resource. Cannot be provided with replication_group_id. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticache/v1beta1.SubnetGroup + SubnetGroupName *string `json:"subnetGroupName,omitempty" tf:"subnet_group_name,omitempty"` + + // Reference to a SubnetGroup in elasticache to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameRef *v1.Reference `json:"subnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup in elasticache to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameSelector *v1.Selector `json:"subnetGroupNameSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/elasticache/v1beta1/zz_generated.deepcopy.go b/apis/elasticache/v1beta1/zz_generated.deepcopy.go index 1275da9f6d..0707a2a0ab 100644 --- a/apis/elasticache/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticache/v1beta1/zz_generated.deepcopy.go @@ -264,6 +264,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.ParameterGroupName != nil { + in, out := &in.ParameterGroupName, &out.ParameterGroupName + *out = new(string) + **out = **in + } + if in.ParameterGroupNameRef != nil { + in, out := &in.ParameterGroupNameRef, &out.ParameterGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ParameterGroupNameSelector != nil { + in, out := &in.ParameterGroupNameSelector, &out.ParameterGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(float64) @@ -285,6 +300,44 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.ReplicationGroupID != nil { + in, out := &in.ReplicationGroupID, &out.ReplicationGroupID + *out = new(string) + **out = **in + } + if in.ReplicationGroupIDRef != nil { + in, out := &in.ReplicationGroupIDRef, &out.ReplicationGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReplicationGroupIDSelector != nil { + in, out := &in.ReplicationGroupIDSelector, &out.ReplicationGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.SnapshotArns != nil { in, out := &in.SnapshotArns, &out.SnapshotArns *out = make([]*string, len(*in)) @@ -311,6 +364,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.SubnetGroupName != nil { + in, out := &in.SubnetGroupName, &out.SubnetGroupName + *out = new(string) + **out = **in + } + if in.SubnetGroupNameRef != nil { + in, out := &in.SubnetGroupNameRef, &out.SubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetGroupNameSelector != nil { + in, out := &in.SubnetGroupNameSelector, &out.SubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1432,6 +1500,21 @@ func (in *ReplicationGroupInitParameters) DeepCopyInto(out *ReplicationGroupInit *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LogDeliveryConfiguration != nil { in, out := &in.LogDeliveryConfiguration, &out.LogDeliveryConfiguration *out = make([]ReplicationGroupLogDeliveryConfigurationInitParameters, len(*in)) @@ -1500,6 +1583,29 @@ func (in *ReplicationGroupInitParameters) DeepCopyInto(out *ReplicationGroupInit *out = new(float64) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.SecurityGroupNames != nil { in, out := &in.SecurityGroupNames, &out.SecurityGroupNames *out = make([]*string, len(*in)) @@ -1537,6 +1643,21 @@ func (in *ReplicationGroupInitParameters) DeepCopyInto(out *ReplicationGroupInit *out = new(string) **out = **in } + if in.SubnetGroupName != nil { + in, out := &in.SubnetGroupName, &out.SubnetGroupName + *out = new(string) + **out = **in + } + if in.SubnetGroupNameRef != nil { + in, out := &in.SubnetGroupNameRef, &out.SubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetGroupNameSelector != nil { + in, out := &in.SubnetGroupNameSelector, &out.SubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2358,6 +2479,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -2668,6 +2812,29 @@ func (in *UserGroupInitParameters) DeepCopyInto(out *UserGroupInitParameters) { (*out)[key] = outVal } } + if in.UserIDRefs != nil { + in, out := &in.UserIDRefs, &out.UserIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UserIDSelector != nil { + in, out := &in.UserIDSelector, &out.UserIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserIds != nil { + in, out := &in.UserIds, &out.UserIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserGroupInitParameters. diff --git a/apis/elasticache/v1beta1/zz_generated.resolvers.go b/apis/elasticache/v1beta1/zz_generated.resolvers.go index c1cbd77086..a41c653175 100644 --- a/apis/elasticache/v1beta1/zz_generated.resolvers.go +++ b/apis/elasticache/v1beta1/zz_generated.resolvers.go @@ -87,6 +87,70 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ParameterGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ParameterGroupNameRef, + Selector: mg.Spec.InitProvider.ParameterGroupNameSelector, + To: reference.To{ + List: &ParameterGroupList{}, + Managed: &ParameterGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ParameterGroupName") + } + mg.Spec.InitProvider.ParameterGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ParameterGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReplicationGroupID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ReplicationGroupIDRef, + Selector: mg.Spec.InitProvider.ReplicationGroupIDSelector, + To: reference.To{ + List: &ReplicationGroupList{}, + Managed: &ReplicationGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplicationGroupID") + } + mg.Spec.InitProvider.ReplicationGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReplicationGroupIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetGroupNameRef, + Selector: mg.Spec.InitProvider.SubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetGroupName") + } + mg.Spec.InitProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetGroupNameRef = rsp.ResolvedReference + return nil } @@ -146,6 +210,54 @@ func (mg *ReplicationGroup) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetGroupNameRef, + Selector: mg.Spec.InitProvider.SubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetGroupName") + } + mg.Spec.InitProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetGroupNameRef = rsp.ResolvedReference + return nil } @@ -172,6 +284,22 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -198,5 +326,21 @@ func (mg *UserGroup) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.UserIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.UserIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.UserIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.UserIDRefs, + Selector: mg.Spec.InitProvider.UserIDSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserIds") + } + mg.Spec.InitProvider.UserIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.UserIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/elasticache/v1beta1/zz_replicationgroup_types.go b/apis/elasticache/v1beta1/zz_replicationgroup_types.go index e4f2a40c85..d7e4250821 100755 --- a/apis/elasticache/v1beta1/zz_replicationgroup_types.go +++ b/apis/elasticache/v1beta1/zz_replicationgroup_types.go @@ -62,6 +62,18 @@ type ReplicationGroupInitParameters struct { // The IP version to advertise in the discovery protocol. Valid values are ipv4 or ipv6. IPDiscovery *string `json:"ipDiscovery,omitempty" tf:"ip_discovery,omitempty"` + // The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if at_rest_encryption_enabled = true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specifies the destination and format of Redis SLOWLOG or Redis Engine Log. See the documentation on Amazon ElastiCache. See Log Delivery Configuration below for more details. LogDeliveryConfiguration []ReplicationGroupLogDeliveryConfigurationInitParameters `json:"logDeliveryConfiguration,omitempty" tf:"log_delivery_configuration,omitempty"` @@ -101,6 +113,21 @@ type ReplicationGroupInitParameters struct { // Valid values are 0 to 5. ReplicasPerNodeGroup *float64 `json:"replicasPerNodeGroup,omitempty" tf:"replicas_per_node_group,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // IDs of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // Names of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud. // +listType=set SecurityGroupNames []*string `json:"securityGroupNames,omitempty" tf:"security_group_names,omitempty"` @@ -118,6 +145,18 @@ type ReplicationGroupInitParameters struct { // Daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: 05:00-09:00 SnapshotWindow *string `json:"snapshotWindow,omitempty" tf:"snapshot_window,omitempty"` + // Name of the cache subnet group to be used for the replication group. + // +crossplane:generate:reference:type=SubnetGroup + SubnetGroupName *string `json:"subnetGroupName,omitempty" tf:"subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameRef *v1.Reference `json:"subnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameSelector *v1.Selector `json:"subnetGroupNameSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/elasticache/v1beta1/zz_subnetgroup_types.go b/apis/elasticache/v1beta1/zz_subnetgroup_types.go index d7443c074e..bed1e2c6ab 100755 --- a/apis/elasticache/v1beta1/zz_subnetgroup_types.go +++ b/apis/elasticache/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,21 @@ type SubnetGroupInitParameters struct { // – Description for the cache subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // – List of VPC Subnet IDs for the cache subnet group + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/elasticache/v1beta1/zz_usergroup_types.go b/apis/elasticache/v1beta1/zz_usergroup_types.go index 58ca827410..186e2c50da 100755 --- a/apis/elasticache/v1beta1/zz_usergroup_types.go +++ b/apis/elasticache/v1beta1/zz_usergroup_types.go @@ -25,6 +25,21 @@ type UserGroupInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to User to populate userIds. + // +kubebuilder:validation:Optional + UserIDRefs []v1.Reference `json:"userIdRefs,omitempty" tf:"-"` + + // Selector for a list of User to populate userIds. + // +kubebuilder:validation:Optional + UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"` + + // The list of user IDs that belong to the user group. + // +crossplane:generate:reference:type=User + // +crossplane:generate:reference:refFieldName=UserIDRefs + // +crossplane:generate:reference:selectorFieldName=UserIDSelector + // +listType=set + UserIds []*string `json:"userIds,omitempty" tf:"user_ids,omitempty"` } type UserGroupObservation struct { diff --git a/apis/elasticbeanstalk/v1beta1/zz_application_types.go b/apis/elasticbeanstalk/v1beta1/zz_application_types.go index 47e2a1970d..3bc00b40f8 100755 --- a/apis/elasticbeanstalk/v1beta1/zz_application_types.go +++ b/apis/elasticbeanstalk/v1beta1/zz_application_types.go @@ -78,6 +78,19 @@ type AppversionLifecycleInitParameters struct { // The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"` + + // The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ServiceRole *string `json:"serviceRole,omitempty" tf:"service_role,omitempty"` + + // Reference to a Role in iam to populate serviceRole. + // +kubebuilder:validation:Optional + ServiceRoleRef *v1.Reference `json:"serviceRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRole. + // +kubebuilder:validation:Optional + ServiceRoleSelector *v1.Selector `json:"serviceRoleSelector,omitempty" tf:"-"` } type AppversionLifecycleObservation struct { diff --git a/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go b/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go index b98046a43d..cad8ffd76f 100755 --- a/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go +++ b/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go @@ -22,12 +22,38 @@ type ApplicationVersionInitParameters struct { // Name of the Beanstalk Application the version is associated with. Application *string `json:"application,omitempty" tf:"application,omitempty"` + // S3 bucket that contains the Application Version source bundle. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Short description of the Application Version. Description *string `json:"description,omitempty" tf:"description,omitempty"` // On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments. ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` + // S3 object that is the Application Version source bundle. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Object + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Reference to a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeyRef *v1.Reference `json:"keyRef,omitempty" tf:"-"` + + // Selector for a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeySelector *v1.Selector `json:"keySelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/elasticbeanstalk/v1beta1/zz_configurationtemplate_types.go b/apis/elasticbeanstalk/v1beta1/zz_configurationtemplate_types.go index cc5d2c0d6b..65f260d8d1 100755 --- a/apis/elasticbeanstalk/v1beta1/zz_configurationtemplate_types.go +++ b/apis/elasticbeanstalk/v1beta1/zz_configurationtemplate_types.go @@ -19,6 +19,18 @@ import ( type ConfigurationTemplateInitParameters struct { + // – name of the application to associate with this configuration template + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticbeanstalk/v1beta1.Application + Application *string `json:"application,omitempty" tf:"application,omitempty"` + + // Reference to a Application in elasticbeanstalk to populate application. + // +kubebuilder:validation:Optional + ApplicationRef *v1.Reference `json:"applicationRef,omitempty" tf:"-"` + + // Selector for a Application in elasticbeanstalk to populate application. + // +kubebuilder:validation:Optional + ApplicationSelector *v1.Selector `json:"applicationSelector,omitempty" tf:"-"` + // Short description of the Template Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go b/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go index 4e7cb686f9..b4ccfbe734 100644 --- a/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go @@ -302,6 +302,21 @@ func (in *ApplicationVersionInitParameters) DeepCopyInto(out *ApplicationVersion *out = new(string) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) @@ -312,6 +327,21 @@ func (in *ApplicationVersionInitParameters) DeepCopyInto(out *ApplicationVersion *out = new(bool) **out = **in } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.KeyRef != nil { + in, out := &in.KeyRef, &out.KeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeySelector != nil { + in, out := &in.KeySelector, &out.KeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -588,6 +618,21 @@ func (in *AppversionLifecycleInitParameters) DeepCopyInto(out *AppversionLifecyc *out = new(float64) **out = **in } + if in.ServiceRole != nil { + in, out := &in.ServiceRole, &out.ServiceRole + *out = new(string) + **out = **in + } + if in.ServiceRoleRef != nil { + in, out := &in.ServiceRoleRef, &out.ServiceRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleSelector != nil { + in, out := &in.ServiceRoleSelector, &out.ServiceRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppversionLifecycleInitParameters. @@ -710,6 +755,21 @@ func (in *ConfigurationTemplate) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigurationTemplateInitParameters) DeepCopyInto(out *ConfigurationTemplateInitParameters) { *out = *in + if in.Application != nil { + in, out := &in.Application, &out.Application + *out = new(string) + **out = **in + } + if in.ApplicationRef != nil { + in, out := &in.ApplicationRef, &out.ApplicationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationSelector != nil { + in, out := &in.ApplicationSelector, &out.ApplicationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) diff --git a/apis/elasticbeanstalk/v1beta1/zz_generated.resolvers.go b/apis/elasticbeanstalk/v1beta1/zz_generated.resolvers.go index 2c8c06ce0d..304c84fb36 100644 --- a/apis/elasticbeanstalk/v1beta1/zz_generated.resolvers.go +++ b/apis/elasticbeanstalk/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,24 @@ func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.AppversionLifecycle[i3].ServiceRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AppversionLifecycle[i3].ServiceRoleRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.AppversionLifecycle); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRole), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRoleRef, + Selector: mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRoleSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRole") + } + mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AppversionLifecycle[i3].ServiceRoleRef = rsp.ResolvedReference + } return nil @@ -83,6 +101,38 @@ func (mg *ApplicationVersion) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.Key = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &v1beta11.BucketList{}, + Managed: &v1beta11.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Key), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.KeyRef, + Selector: mg.Spec.InitProvider.KeySelector, + To: reference.To{ + List: &v1beta11.ObjectList{}, + Managed: &v1beta11.Object{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Key") + } + mg.Spec.InitProvider.Key = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyRef = rsp.ResolvedReference + return nil } @@ -109,5 +159,21 @@ func (mg *ConfigurationTemplate) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.Application = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ApplicationRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Application), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ApplicationRef, + Selector: mg.Spec.InitProvider.ApplicationSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Application") + } + mg.Spec.InitProvider.Application = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationRef = rsp.ResolvedReference + return nil } diff --git a/apis/elasticsearch/v1beta1/zz_domain_types.go b/apis/elasticsearch/v1beta1/zz_domain_types.go index 74e186e71f..a47600e0ff 100755 --- a/apis/elasticsearch/v1beta1/zz_domain_types.go +++ b/apis/elasticsearch/v1beta1/zz_domain_types.go @@ -648,6 +648,19 @@ type EncryptAtRestParameters struct { type LogPublishingOptionsInitParameters struct { + // ARN of the Cloudwatch log group to which log needs to be published. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnRef *v1.Reference `json:"cloudwatchLogGroupArnRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnSelector *v1.Selector `json:"cloudwatchLogGroupArnSelector,omitempty" tf:"-"` + // Whether given log publishing option is enabled or not. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` diff --git a/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go b/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go index 30aeaae538..a16228b13d 100755 --- a/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go +++ b/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go @@ -21,6 +21,18 @@ type DomainPolicyInitParameters struct { // IAM policy document specifying the access policies for the domain AccessPolicies *string `json:"accessPolicies,omitempty" tf:"access_policies,omitempty"` + + // Name of the domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticsearch/v1beta1.Domain + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a Domain in elasticsearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a Domain in elasticsearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` } type DomainPolicyObservation struct { diff --git a/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go b/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go index 602cd2a07b..e5c48c4740 100644 --- a/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go @@ -1254,6 +1254,21 @@ func (in *DomainPolicyInitParameters) DeepCopyInto(out *DomainPolicyInitParamete *out = new(string) **out = **in } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainPolicyInitParameters. @@ -1956,6 +1971,21 @@ func (in *IdpParameters) DeepCopy() *IdpParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LogPublishingOptionsInitParameters) DeepCopyInto(out *LogPublishingOptionsInitParameters) { *out = *in + if in.CloudwatchLogGroupArn != nil { + in, out := &in.CloudwatchLogGroupArn, &out.CloudwatchLogGroupArn + *out = new(string) + **out = **in + } + if in.CloudwatchLogGroupArnRef != nil { + in, out := &in.CloudwatchLogGroupArnRef, &out.CloudwatchLogGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchLogGroupArnSelector != nil { + in, out := &in.CloudwatchLogGroupArnSelector, &out.CloudwatchLogGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) diff --git a/apis/elasticsearch/v1beta1/zz_generated.resolvers.go b/apis/elasticsearch/v1beta1/zz_generated.resolvers.go index 1aaff2beb2..eeb4a7a445 100644 --- a/apis/elasticsearch/v1beta1/zz_generated.resolvers.go +++ b/apis/elasticsearch/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *Domain) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LogPublishingOptions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef, + Selector: mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnSelector, + To: reference.To{ + List: &v1beta1.GroupList{}, + Managed: &v1beta1.Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn") + } + mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef = rsp.ResolvedReference + } return nil @@ -66,5 +84,21 @@ func (mg *DomainPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go b/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go index c7bc59b769..2b5adc231f 100644 --- a/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go +++ b/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go @@ -241,6 +241,21 @@ func (in *AudioParameters) DeepCopy() *AudioParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ContentConfigInitParameters) DeepCopyInto(out *ContentConfigInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageClass != nil { in, out := &in.StorageClass, &out.StorageClass *out = new(string) @@ -580,6 +595,21 @@ func (in *PipelineInitParameters) DeepCopyInto(out *PipelineInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InputBucket != nil { + in, out := &in.InputBucket, &out.InputBucket + *out = new(string) + **out = **in + } + if in.InputBucketRef != nil { + in, out := &in.InputBucketRef, &out.InputBucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InputBucketSelector != nil { + in, out := &in.InputBucketSelector, &out.InputBucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -597,6 +627,21 @@ func (in *PipelineInitParameters) DeepCopyInto(out *PipelineInitParameters) { *out = new(string) **out = **in } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ThumbnailConfig != nil { in, out := &in.ThumbnailConfig, &out.ThumbnailConfig *out = make([]ThumbnailConfigInitParameters, len(*in)) @@ -1245,6 +1290,21 @@ func (in *PresetStatus) DeepCopy() *PresetStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ThumbnailConfigInitParameters) DeepCopyInto(out *ThumbnailConfigInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageClass != nil { in, out := &in.StorageClass, &out.StorageClass *out = new(string) diff --git a/apis/elastictranscoder/v1beta1/zz_generated.resolvers.go b/apis/elastictranscoder/v1beta1/zz_generated.resolvers.go index fd80e2272c..13ab349d0b 100644 --- a/apis/elastictranscoder/v1beta1/zz_generated.resolvers.go +++ b/apis/elastictranscoder/v1beta1/zz_generated.resolvers.go @@ -89,6 +89,74 @@ func (mg *Pipeline) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.ThumbnailConfig[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ThumbnailConfig[i3].BucketRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ContentConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ContentConfig[i3].Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ContentConfig[i3].BucketRef, + Selector: mg.Spec.InitProvider.ContentConfig[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ContentConfig[i3].Bucket") + } + mg.Spec.InitProvider.ContentConfig[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ContentConfig[i3].BucketRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InputBucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InputBucketRef, + Selector: mg.Spec.InitProvider.InputBucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InputBucket") + } + mg.Spec.InitProvider.InputBucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InputBucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.ThumbnailConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ThumbnailConfig[i3].Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ThumbnailConfig[i3].BucketRef, + Selector: mg.Spec.InitProvider.ThumbnailConfig[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ThumbnailConfig[i3].Bucket") + } + mg.Spec.InitProvider.ThumbnailConfig[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ThumbnailConfig[i3].BucketRef = rsp.ResolvedReference + } return nil diff --git a/apis/elastictranscoder/v1beta1/zz_pipeline_types.go b/apis/elastictranscoder/v1beta1/zz_pipeline_types.go index 716bae850a..4a65c1a52e 100755 --- a/apis/elastictranscoder/v1beta1/zz_pipeline_types.go +++ b/apis/elastictranscoder/v1beta1/zz_pipeline_types.go @@ -19,6 +19,19 @@ import ( type ContentConfigInitParameters struct { + // The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket. StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"` } @@ -152,6 +165,19 @@ type PipelineInitParameters struct { // The permissions for the content_config object. (documented below) ContentConfigPermissions []ContentConfigPermissionsInitParameters `json:"contentConfigPermissions,omitempty" tf:"content_config_permissions,omitempty"` + // The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InputBucket *string `json:"inputBucket,omitempty" tf:"input_bucket,omitempty"` + + // Reference to a Bucket in s3 to populate inputBucket. + // +kubebuilder:validation:Optional + InputBucketRef *v1.Reference `json:"inputBucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate inputBucket. + // +kubebuilder:validation:Optional + InputBucketSelector *v1.Selector `json:"inputBucketSelector,omitempty" tf:"-"` + // The name of the pipeline. Maximum 40 characters Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -161,6 +187,19 @@ type PipelineInitParameters struct { // The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. OutputBucket *string `json:"outputBucket,omitempty" tf:"output_bucket,omitempty"` + // The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + // The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below) ThumbnailConfig []ThumbnailConfigInitParameters `json:"thumbnailConfig,omitempty" tf:"thumbnail_config,omitempty"` @@ -277,6 +316,19 @@ type PipelineParameters struct { type ThumbnailConfigInitParameters struct { + // The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket. StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"` } diff --git a/apis/elb/v1beta1/zz_attachment_types.go b/apis/elb/v1beta1/zz_attachment_types.go index 470f0fc411..29c177a0af 100755 --- a/apis/elb/v1beta1/zz_attachment_types.go +++ b/apis/elb/v1beta1/zz_attachment_types.go @@ -18,6 +18,30 @@ import ( ) type AttachmentInitParameters struct { + + // The name of the ELB. + // +crossplane:generate:reference:type=ELB + ELB *string `json:"elb,omitempty" tf:"elb,omitempty"` + + // Reference to a ELB to populate elb. + // +kubebuilder:validation:Optional + ELBRef *v1.Reference `json:"elbRef,omitempty" tf:"-"` + + // Selector for a ELB to populate elb. + // +kubebuilder:validation:Optional + ELBSelector *v1.Selector `json:"elbSelector,omitempty" tf:"-"` + + // Instance ID to place in the ELB pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` + + // Reference to a Instance in ec2 to populate instance. + // +kubebuilder:validation:Optional + InstanceRef *v1.Reference `json:"instanceRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate instance. + // +kubebuilder:validation:Optional + InstanceSelector *v1.Selector `json:"instanceSelector,omitempty" tf:"-"` } type AttachmentObservation struct { diff --git a/apis/elb/v1beta1/zz_backendserverpolicy_types.go b/apis/elb/v1beta1/zz_backendserverpolicy_types.go index 705431f523..bf78fee9a2 100755 --- a/apis/elb/v1beta1/zz_backendserverpolicy_types.go +++ b/apis/elb/v1beta1/zz_backendserverpolicy_types.go @@ -22,6 +22,18 @@ type BackendServerPolicyInitParameters struct { // The instance port to apply the policy to. InstancePort *float64 `json:"instancePort,omitempty" tf:"instance_port,omitempty"` + // The load balancer to attach the policy to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + LoadBalancerName *string `json:"loadBalancerName,omitempty" tf:"load_balancer_name,omitempty"` + + // Reference to a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameRef *v1.Reference `json:"loadBalancerNameRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameSelector *v1.Selector `json:"loadBalancerNameSelector,omitempty" tf:"-"` + // List of Policy Names to apply to the backend server. // +listType=set PolicyNames []*string `json:"policyNames,omitempty" tf:"policy_names,omitempty"` diff --git a/apis/elb/v1beta1/zz_elb_types.go b/apis/elb/v1beta1/zz_elb_types.go index 90a02f82cd..12dc0a6ff5 100755 --- a/apis/elb/v1beta1/zz_elb_types.go +++ b/apis/elb/v1beta1/zz_elb_types.go @@ -93,6 +93,19 @@ type ELBInitParameters struct { // The time in seconds that the connection is allowed to be idle. Default: 60 IdleTimeout *float64 `json:"idleTimeout,omitempty" tf:"idle_timeout,omitempty"` + // A list of instance ids to place in the ELB pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +listType=set + Instances []*string `json:"instances,omitempty" tf:"instances,omitempty"` + + // References to Instance in ec2 to populate instances. + // +kubebuilder:validation:Optional + InstancesRefs []v1.Reference `json:"instancesRefs,omitempty" tf:"-"` + + // Selector for a list of Instance in ec2 to populate instances. + // +kubebuilder:validation:Optional + InstancesSelector *v1.Selector `json:"instancesSelector,omitempty" tf:"-"` + // If true, ELB will be an internal ELB. Internal *bool `json:"internal,omitempty" tf:"internal,omitempty"` @@ -109,6 +122,19 @@ type ELBInitParameters struct { // instances. Use this for Classic or Default VPC only. SourceSecurityGroup *string `json:"sourceSecurityGroup,omitempty" tf:"source_security_group,omitempty"` + // A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` + + // References to Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetsRefs []v1.Reference `json:"subnetsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetsSelector *v1.Selector `json:"subnetsSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/elb/v1beta1/zz_generated.deepcopy.go b/apis/elb/v1beta1/zz_generated.deepcopy.go index 4b8eb86b2d..16ec6df7bd 100644 --- a/apis/elb/v1beta1/zz_generated.deepcopy.go +++ b/apis/elb/v1beta1/zz_generated.deepcopy.go @@ -342,6 +342,36 @@ func (in *Attachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AttachmentInitParameters) DeepCopyInto(out *AttachmentInitParameters) { *out = *in + if in.ELB != nil { + in, out := &in.ELB, &out.ELB + *out = new(string) + **out = **in + } + if in.ELBRef != nil { + in, out := &in.ELBRef, &out.ELBRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ELBSelector != nil { + in, out := &in.ELBSelector, &out.ELBSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Instance != nil { + in, out := &in.Instance, &out.Instance + *out = new(string) + **out = **in + } + if in.InstanceRef != nil { + in, out := &in.InstanceRef, &out.InstanceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceSelector != nil { + in, out := &in.InstanceSelector, &out.InstanceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachmentInitParameters. @@ -471,7 +501,7 @@ func (in *AttachmentSpec) DeepCopyInto(out *AttachmentSpec) { *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 AttachmentSpec. @@ -611,6 +641,21 @@ func (in *BackendServerPolicyInitParameters) DeepCopyInto(out *BackendServerPoli *out = new(float64) **out = **in } + if in.LoadBalancerName != nil { + in, out := &in.LoadBalancerName, &out.LoadBalancerName + *out = new(string) + **out = **in + } + if in.LoadBalancerNameRef != nil { + in, out := &in.LoadBalancerNameRef, &out.LoadBalancerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerNameSelector != nil { + in, out := &in.LoadBalancerNameSelector, &out.LoadBalancerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PolicyNames != nil { in, out := &in.PolicyNames, &out.PolicyNames *out = make([]*string, len(*in)) @@ -873,6 +918,29 @@ func (in *ELBInitParameters) DeepCopyInto(out *ELBInitParameters) { *out = new(float64) **out = **in } + if in.Instances != nil { + in, out := &in.Instances, &out.Instances + *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.InstancesRefs != nil { + in, out := &in.InstancesRefs, &out.InstancesRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstancesSelector != nil { + in, out := &in.InstancesSelector, &out.InstancesSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Internal != nil { in, out := &in.Internal, &out.Internal *out = new(bool) @@ -901,6 +969,29 @@ func (in *ELBInitParameters) DeepCopyInto(out *ELBInitParameters) { *out = new(string) **out = **in } + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *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.SubnetsRefs != nil { + in, out := &in.SubnetsRefs, &out.SubnetsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetsSelector != nil { + in, out := &in.SubnetsSelector, &out.SubnetsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1488,6 +1579,21 @@ func (in *LBCookieStickinessPolicyInitParameters) DeepCopyInto(out *LBCookieStic *out = new(float64) **out = **in } + if in.LoadBalancer != nil { + in, out := &in.LoadBalancer, &out.LoadBalancer + *out = new(string) + **out = **in + } + if in.LoadBalancerRef != nil { + in, out := &in.LoadBalancerRef, &out.LoadBalancerRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerSelector != nil { + in, out := &in.LoadBalancerSelector, &out.LoadBalancerSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1704,6 +1810,21 @@ func (in *LBSSLNegotiationPolicyInitParameters) DeepCopyInto(out *LBSSLNegotiati *out = new(float64) **out = **in } + if in.LoadBalancer != nil { + in, out := &in.LoadBalancer, &out.LoadBalancer + *out = new(string) + **out = **in + } + if in.LoadBalancerRef != nil { + in, out := &in.LoadBalancerRef, &out.LoadBalancerRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerSelector != nil { + in, out := &in.LoadBalancerSelector, &out.LoadBalancerSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -2080,6 +2201,21 @@ func (in *ListenerPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ListenerPolicyInitParameters) DeepCopyInto(out *ListenerPolicyInitParameters) { *out = *in + if in.LoadBalancerName != nil { + in, out := &in.LoadBalancerName, &out.LoadBalancerName + *out = new(string) + **out = **in + } + if in.LoadBalancerNameRef != nil { + in, out := &in.LoadBalancerNameRef, &out.LoadBalancerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerNameSelector != nil { + in, out := &in.LoadBalancerNameSelector, &out.LoadBalancerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LoadBalancerPort != nil { in, out := &in.LoadBalancerPort, &out.LoadBalancerPort *out = new(float64) @@ -2350,6 +2486,21 @@ func (in *PolicyAttributeInitParameters) DeepCopyInto(out *PolicyAttributeInitPa *out = new(string) **out = **in } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } + if in.ValueRef != nil { + in, out := &in.ValueRef, &out.ValueRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ValueSelector != nil { + in, out := &in.ValueSelector, &out.ValueSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttributeInitParameters. @@ -2425,6 +2576,21 @@ func (in *PolicyAttributeParameters) DeepCopy() *PolicyAttributeParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { *out = *in + if in.LoadBalancerName != nil { + in, out := &in.LoadBalancerName, &out.LoadBalancerName + *out = new(string) + **out = **in + } + if in.LoadBalancerNameRef != nil { + in, out := &in.LoadBalancerNameRef, &out.LoadBalancerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerNameSelector != nil { + in, out := &in.LoadBalancerNameSelector, &out.LoadBalancerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PolicyAttribute != nil { in, out := &in.PolicyAttribute, &out.PolicyAttribute *out = make([]PolicyAttributeInitParameters, len(*in)) @@ -2656,6 +2822,21 @@ func (in *ProxyProtocolPolicyInitParameters) DeepCopyInto(out *ProxyProtocolPoli } } } + if in.LoadBalancer != nil { + in, out := &in.LoadBalancer, &out.LoadBalancer + *out = new(string) + **out = **in + } + if in.LoadBalancerRef != nil { + in, out := &in.LoadBalancerRef, &out.LoadBalancerRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerSelector != nil { + in, out := &in.LoadBalancerSelector, &out.LoadBalancerSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyProtocolPolicyInitParameters. diff --git a/apis/elb/v1beta1/zz_generated.resolvers.go b/apis/elb/v1beta1/zz_generated.resolvers.go index 9cea6d917e..f415baa1cc 100644 --- a/apis/elb/v1beta1/zz_generated.resolvers.go +++ b/apis/elb/v1beta1/zz_generated.resolvers.go @@ -79,6 +79,38 @@ func (mg *Attachment) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Instance = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ELB), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ELBRef, + Selector: mg.Spec.InitProvider.ELBSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ELB") + } + mg.Spec.InitProvider.ELB = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ELBRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Instance), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceRef, + Selector: mg.Spec.InitProvider.InstanceSelector, + To: reference.To{ + List: &v1beta1.InstanceList{}, + Managed: &v1beta1.Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Instance") + } + mg.Spec.InitProvider.Instance = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceRef = rsp.ResolvedReference + return nil } @@ -105,6 +137,22 @@ func (mg *BackendServerPolicy) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.LoadBalancerName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerNameRef, + Selector: mg.Spec.InitProvider.LoadBalancerNameSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerName") + } + mg.Spec.InitProvider.LoadBalancerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerNameRef = rsp.ResolvedReference + return nil } @@ -147,6 +195,38 @@ func (mg *ELB) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetsRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Instances), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.InstancesRefs, + Selector: mg.Spec.InitProvider.InstancesSelector, + To: reference.To{ + List: &v1beta1.InstanceList{}, + Managed: &v1beta1.Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Instances") + } + mg.Spec.InitProvider.Instances = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.InstancesRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Subnets), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetsRefs, + Selector: mg.Spec.InitProvider.SubnetsSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Subnets") + } + mg.Spec.InitProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetsRefs = mrsp.ResolvedReferences + return nil } @@ -173,6 +253,22 @@ func (mg *LBCookieStickinessPolicy) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancer), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LoadBalancerRef, + Selector: mg.Spec.InitProvider.LoadBalancerSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancer") + } + mg.Spec.InitProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerRef = rsp.ResolvedReference + return nil } @@ -199,6 +295,22 @@ func (mg *LBSSLNegotiationPolicy) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancer), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LoadBalancerRef, + Selector: mg.Spec.InitProvider.LoadBalancerSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancer") + } + mg.Spec.InitProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerRef = rsp.ResolvedReference + return nil } @@ -225,6 +337,22 @@ func (mg *ListenerPolicy) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.LoadBalancerName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerNameRef, + Selector: mg.Spec.InitProvider.LoadBalancerNameSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerName") + } + mg.Spec.InitProvider.LoadBalancerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerNameRef = rsp.ResolvedReference + return nil } @@ -268,6 +396,40 @@ func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.PolicyAttribute[i3].Value = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PolicyAttribute[i3].ValueRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerNameRef, + Selector: mg.Spec.InitProvider.LoadBalancerNameSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerName") + } + mg.Spec.InitProvider.LoadBalancerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.PolicyAttribute); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyAttribute[i3].Value), + Extract: resource.ExtractParamPath("policy_name", false), + Reference: mg.Spec.InitProvider.PolicyAttribute[i3].ValueRef, + Selector: mg.Spec.InitProvider.PolicyAttribute[i3].ValueSelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyAttribute[i3].Value") + } + mg.Spec.InitProvider.PolicyAttribute[i3].Value = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyAttribute[i3].ValueRef = rsp.ResolvedReference + } return nil @@ -296,5 +458,21 @@ func (mg *ProxyProtocolPolicy) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancer), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerRef, + Selector: mg.Spec.InitProvider.LoadBalancerSelector, + To: reference.To{ + List: &ELBList{}, + Managed: &ELB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancer") + } + mg.Spec.InitProvider.LoadBalancer = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerRef = rsp.ResolvedReference + return nil } diff --git a/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go b/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go index 9998a29df5..57ca205961 100755 --- a/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go +++ b/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go @@ -28,6 +28,20 @@ type LBCookieStickinessPolicyInitParameters struct { // balancer. LBPort *float64 `json:"lbPort,omitempty" tf:"lb_port,omitempty"` + // The load balancer to which the policy + // should be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LoadBalancer *string `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"` + + // Reference to a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerRef *v1.Reference `json:"loadBalancerRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerSelector *v1.Selector `json:"loadBalancerSelector,omitempty" tf:"-"` + // The name of the stickiness policy. Name *string `json:"name,omitempty" tf:"name,omitempty"` } diff --git a/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go b/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go index d7338b2e62..2a63528ec7 100755 --- a/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go +++ b/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go @@ -56,6 +56,20 @@ type LBSSLNegotiationPolicyInitParameters struct { // balancer. LBPort *float64 `json:"lbPort,omitempty" tf:"lb_port,omitempty"` + // The load balancer to which the policy + // should be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LoadBalancer *string `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"` + + // Reference to a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerRef *v1.Reference `json:"loadBalancerRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerSelector *v1.Selector `json:"loadBalancerSelector,omitempty" tf:"-"` + // The name of the SSL negotiation policy. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/elb/v1beta1/zz_listenerpolicy_types.go b/apis/elb/v1beta1/zz_listenerpolicy_types.go index aa3e1e1686..75788be0f5 100755 --- a/apis/elb/v1beta1/zz_listenerpolicy_types.go +++ b/apis/elb/v1beta1/zz_listenerpolicy_types.go @@ -19,6 +19,18 @@ import ( type ListenerPolicyInitParameters struct { + // The load balancer to attach the policy to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + LoadBalancerName *string `json:"loadBalancerName,omitempty" tf:"load_balancer_name,omitempty"` + + // Reference to a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameRef *v1.Reference `json:"loadBalancerNameRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameSelector *v1.Selector `json:"loadBalancerNameSelector,omitempty" tf:"-"` + // The load balancer listener port to apply the policy to. LoadBalancerPort *float64 `json:"loadBalancerPort,omitempty" tf:"load_balancer_port,omitempty"` diff --git a/apis/elb/v1beta1/zz_policy_types.go b/apis/elb/v1beta1/zz_policy_types.go index 4932eb4398..19b2390de8 100755 --- a/apis/elb/v1beta1/zz_policy_types.go +++ b/apis/elb/v1beta1/zz_policy_types.go @@ -19,6 +19,18 @@ import ( type PolicyAttributeInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.Policy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("policy_name",false) + Value *string `json:"value,omitempty" tf:"value,omitempty"` + + // Reference to a Policy in elb to populate value. + // +kubebuilder:validation:Optional + ValueRef *v1.Reference `json:"valueRef,omitempty" tf:"-"` + + // Selector for a Policy in elb to populate value. + // +kubebuilder:validation:Optional + ValueSelector *v1.Selector `json:"valueSelector,omitempty" tf:"-"` } type PolicyAttributeObservation struct { @@ -48,6 +60,18 @@ type PolicyAttributeParameters struct { type PolicyInitParameters struct { + // The load balancer on which the policy is defined. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + LoadBalancerName *string `json:"loadBalancerName,omitempty" tf:"load_balancer_name,omitempty"` + + // Reference to a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameRef *v1.Reference `json:"loadBalancerNameRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancerName. + // +kubebuilder:validation:Optional + LoadBalancerNameSelector *v1.Selector `json:"loadBalancerNameSelector,omitempty" tf:"-"` + // Policy attribute to apply to the policy. PolicyAttribute []PolicyAttributeInitParameters `json:"policyAttribute,omitempty" tf:"policy_attribute,omitempty"` diff --git a/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go b/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go index dc8baf9621..454d077eef 100755 --- a/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go +++ b/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go @@ -23,6 +23,19 @@ type ProxyProtocolPolicyInitParameters struct { // should be applied. This can be specified if the protocol is SSL or TCP. // +listType=set InstancePorts []*string `json:"instancePorts,omitempty" tf:"instance_ports,omitempty"` + + // The load balancer to which the policy + // should be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elb/v1beta1.ELB + LoadBalancer *string `json:"loadBalancer,omitempty" tf:"load_balancer,omitempty"` + + // Reference to a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerRef *v1.Reference `json:"loadBalancerRef,omitempty" tf:"-"` + + // Selector for a ELB in elb to populate loadBalancer. + // +kubebuilder:validation:Optional + LoadBalancerSelector *v1.Selector `json:"loadBalancerSelector,omitempty" tf:"-"` } type ProxyProtocolPolicyObservation struct { diff --git a/apis/elbv2/v1beta1/zz_generated.deepcopy.go b/apis/elbv2/v1beta1/zz_generated.deepcopy.go index 7503254b32..6fb4599892 100644 --- a/apis/elbv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/elbv2/v1beta1/zz_generated.deepcopy.go @@ -16,6 +16,21 @@ import ( // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AccessLogsInitParameters) DeepCopyInto(out *AccessLogsInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) @@ -147,6 +162,51 @@ func (in *ActionAuthenticateCognitoInitParameters) DeepCopyInto(out *ActionAuthe *out = new(float64) **out = **in } + if in.UserPoolArn != nil { + in, out := &in.UserPoolArn, &out.UserPoolArn + *out = new(string) + **out = **in + } + if in.UserPoolArnRef != nil { + in, out := &in.UserPoolArnRef, &out.UserPoolArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolArnSelector != nil { + in, out := &in.UserPoolArnSelector, &out.UserPoolArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPoolClientID != nil { + in, out := &in.UserPoolClientID, &out.UserPoolClientID + *out = new(string) + **out = **in + } + if in.UserPoolClientIDRef != nil { + in, out := &in.UserPoolClientIDRef, &out.UserPoolClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolClientIDSelector != nil { + in, out := &in.UserPoolClientIDSelector, &out.UserPoolClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPoolDomain != nil { + in, out := &in.UserPoolDomain, &out.UserPoolDomain + *out = new(string) + **out = **in + } + if in.UserPoolDomainRef != nil { + in, out := &in.UserPoolDomainRef, &out.UserPoolDomainRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolDomainSelector != nil { + in, out := &in.UserPoolDomainSelector, &out.UserPoolDomainSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionAuthenticateCognitoInitParameters. @@ -770,6 +830,21 @@ func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.TargetGroupArn != nil { + in, out := &in.TargetGroupArn, &out.TargetGroupArn + *out = new(string) + **out = **in + } + if in.TargetGroupArnRef != nil { + in, out := &in.TargetGroupArnRef, &out.TargetGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetGroupArnSelector != nil { + in, out := &in.TargetGroupArnSelector, &out.TargetGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1793,6 +1868,21 @@ func (in *DefaultActionInitParameters) DeepCopyInto(out *DefaultActionInitParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.TargetGroupArn != nil { + in, out := &in.TargetGroupArn, &out.TargetGroupArn + *out = new(string) + **out = **in + } + if in.TargetGroupArnRef != nil { + in, out := &in.TargetGroupArnRef, &out.TargetGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetGroupArnSelector != nil { + in, out := &in.TargetGroupArnSelector, &out.TargetGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -2205,6 +2295,21 @@ func (in *ForwardStickinessParameters) DeepCopy() *ForwardStickinessParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ForwardTargetGroupInitParameters) DeepCopyInto(out *ForwardTargetGroupInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(float64) @@ -2840,6 +2945,29 @@ func (in *LBInitParameters) DeepCopyInto(out *LBInitParameters) { *out = new(bool) **out = **in } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SubnetMapping != nil { in, out := &in.SubnetMapping, &out.SubnetMapping *out = make([]SubnetMappingInitParameters, len(*in)) @@ -2847,6 +2975,29 @@ func (in *LBInitParameters) DeepCopyInto(out *LBInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetRefs != nil { + in, out := &in.SubnetRefs, &out.SubnetRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetSelector != nil { + in, out := &in.SubnetSelector, &out.SubnetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *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)) @@ -2969,6 +3120,36 @@ func (in *LBListenerCertificate) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LBListenerCertificateInitParameters) DeepCopyInto(out *LBListenerCertificateInitParameters) { *out = *in + if in.CertificateArn != nil { + in, out := &in.CertificateArn, &out.CertificateArn + *out = new(string) + **out = **in + } + if in.CertificateArnRef != nil { + in, out := &in.CertificateArnRef, &out.CertificateArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateArnSelector != nil { + in, out := &in.CertificateArnSelector, &out.CertificateArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ListenerArn != nil { + in, out := &in.ListenerArn, &out.ListenerArn + *out = new(string) + **out = **in + } + if in.ListenerArnRef != nil { + in, out := &in.ListenerArnRef, &out.ListenerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ListenerArnSelector != nil { + in, out := &in.ListenerArnSelector, &out.ListenerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBListenerCertificateInitParameters. @@ -3098,7 +3279,7 @@ func (in *LBListenerCertificateSpec) DeepCopyInto(out *LBListenerCertificateSpec *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 LBListenerCertificateSpec. @@ -3148,6 +3329,21 @@ func (in *LBListenerInitParameters) DeepCopyInto(out *LBListenerInitParameters) (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LoadBalancerArn != nil { + in, out := &in.LoadBalancerArn, &out.LoadBalancerArn + *out = new(string) + **out = **in + } + if in.LoadBalancerArnRef != nil { + in, out := &in.LoadBalancerArnRef, &out.LoadBalancerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoadBalancerArnSelector != nil { + in, out := &in.LoadBalancerArnSelector, &out.LoadBalancerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MutualAuthentication != nil { in, out := &in.MutualAuthentication, &out.MutualAuthentication *out = make([]MutualAuthenticationInitParameters, len(*in)) @@ -3465,6 +3661,21 @@ func (in *LBListenerRuleInitParameters) DeepCopyInto(out *LBListenerRuleInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ListenerArn != nil { + in, out := &in.ListenerArn, &out.ListenerArn + *out = new(string) + **out = **in + } + if in.ListenerArnRef != nil { + in, out := &in.ListenerArnRef, &out.ListenerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ListenerArnSelector != nil { + in, out := &in.ListenerArnSelector, &out.ListenerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Priority != nil { in, out := &in.Priority, &out.Priority *out = new(float64) @@ -4256,6 +4467,21 @@ func (in *LBTargetGroupAttachmentInitParameters) DeepCopyInto(out *LBTargetGroup *out = new(float64) **out = **in } + if in.TargetGroupArn != nil { + in, out := &in.TargetGroupArn, &out.TargetGroupArn + *out = new(string) + **out = **in + } + if in.TargetGroupArnRef != nil { + in, out := &in.TargetGroupArnRef, &out.TargetGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetGroupArnSelector != nil { + in, out := &in.TargetGroupArnSelector, &out.TargetGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TargetID != nil { in, out := &in.TargetID, &out.TargetID *out = new(string) @@ -4547,6 +4773,21 @@ func (in *LBTargetGroupInitParameters) DeepCopyInto(out *LBTargetGroupInitParame *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 LBTargetGroupInitParameters. @@ -5594,6 +5835,21 @@ func (in *SubnetMappingInitParameters) DeepCopyInto(out *SubnetMappingInitParame *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetMappingInitParameters. @@ -5769,6 +6025,21 @@ func (in *TargetFailoverParameters) DeepCopy() *TargetFailoverParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TargetGroupInitParameters) DeepCopyInto(out *TargetGroupInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(float64) diff --git a/apis/elbv2/v1beta1/zz_generated.resolvers.go b/apis/elbv2/v1beta1/zz_generated.resolvers.go index 24e6211043..ace47afb2f 100644 --- a/apis/elbv2/v1beta1/zz_generated.resolvers.go +++ b/apis/elbv2/v1beta1/zz_generated.resolvers.go @@ -93,6 +93,74 @@ func (mg *LB) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.AccessLogs); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AccessLogs[i3].Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AccessLogs[i3].BucketRef, + Selector: mg.Spec.InitProvider.AccessLogs[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AccessLogs[i3].Bucket") + } + mg.Spec.InitProvider.AccessLogs[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AccessLogs[i3].BucketRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupRefs, + Selector: mg.Spec.InitProvider.SecurityGroupSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroups") + } + mg.Spec.InitProvider.SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupRefs = mrsp.ResolvedReferences + + for i3 := 0; i3 < len(mg.Spec.InitProvider.SubnetMapping); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetMapping[i3].SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetMapping[i3].SubnetID") + } + mg.Spec.InitProvider.SubnetMapping[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Subnets), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetRefs, + Selector: mg.Spec.InitProvider.SubnetSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Subnets") + } + mg.Spec.InitProvider.Subnets = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetRefs = mrsp.ResolvedReferences + return nil } @@ -159,6 +227,62 @@ func (mg *LBListener) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.LoadBalancerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoadBalancerArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.DefaultAction); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DefaultAction[i3].Forward); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].Arn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].ArnRef, + Selector: mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].ArnSelector, + To: reference.To{ + List: &LBTargetGroupList{}, + Managed: &LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].Arn") + } + mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultAction[i3].Forward[i4].TargetGroup[i5].ArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DefaultAction); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArnRef, + Selector: mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArnSelector, + To: reference.To{ + List: &LBTargetGroupList{}, + Managed: &LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArn") + } + mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultAction[i3].TargetGroupArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoadBalancerArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoadBalancerArnRef, + Selector: mg.Spec.InitProvider.LoadBalancerArnSelector, + To: reference.To{ + List: &LBList{}, + Managed: &LB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoadBalancerArn") + } + mg.Spec.InitProvider.LoadBalancerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoadBalancerArnRef = rsp.ResolvedReference + return nil } @@ -201,6 +325,38 @@ func (mg *LBListenerCertificate) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ListenerArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CertificateArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CertificateArnRef, + Selector: mg.Spec.InitProvider.CertificateArnSelector, + To: reference.To{ + List: &v1beta12.CertificateList{}, + Managed: &v1beta12.Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CertificateArn") + } + mg.Spec.InitProvider.CertificateArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ListenerArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ListenerArnRef, + Selector: mg.Spec.InitProvider.ListenerArnSelector, + To: reference.To{ + List: &LBListenerList{}, + Managed: &LBListener{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ListenerArn") + } + mg.Spec.InitProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ListenerArnRef = rsp.ResolvedReference + return nil } @@ -327,6 +483,122 @@ func (mg *LBListenerRule) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ListenerArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.Action); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Action[i3].AuthenticateCognito); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArnRef, + Selector: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArnSelector, + To: reference.To{ + List: &v1beta13.UserPoolList{}, + Managed: &v1beta13.UserPool{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArn") + } + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Action); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Action[i3].AuthenticateCognito); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientIDRef, + Selector: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientIDSelector, + To: reference.To{ + List: &v1beta13.UserPoolClientList{}, + Managed: &v1beta13.UserPoolClient{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientID") + } + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolClientIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Action); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Action[i3].AuthenticateCognito); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomain), + Extract: resource.ExtractParamPath("domain", false), + Reference: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomainRef, + Selector: mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomainSelector, + To: reference.To{ + List: &v1beta13.UserPoolDomainList{}, + Managed: &v1beta13.UserPoolDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomain") + } + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomain = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Action[i3].AuthenticateCognito[i4].UserPoolDomainRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Action); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Action[i3].Forward); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].Arn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].ArnRef, + Selector: mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].ArnSelector, + To: reference.To{ + List: &LBTargetGroupList{}, + Managed: &LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].Arn") + } + mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Action[i3].Forward[i4].TargetGroup[i5].ArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Action); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Action[i3].TargetGroupArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Action[i3].TargetGroupArnRef, + Selector: mg.Spec.InitProvider.Action[i3].TargetGroupArnSelector, + To: reference.To{ + List: &LBTargetGroupList{}, + Managed: &LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Action[i3].TargetGroupArn") + } + mg.Spec.InitProvider.Action[i3].TargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Action[i3].TargetGroupArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ListenerArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ListenerArnRef, + Selector: mg.Spec.InitProvider.ListenerArnSelector, + To: reference.To{ + List: &LBListenerList{}, + Managed: &LBListener{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ListenerArn") + } + mg.Spec.InitProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ListenerArnRef = rsp.ResolvedReference + return nil } @@ -353,6 +625,22 @@ func (mg *LBTargetGroup) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -379,5 +667,21 @@ func (mg *LBTargetGroupAttachment) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.TargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetGroupArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetGroupArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TargetGroupArnRef, + Selector: mg.Spec.InitProvider.TargetGroupArnSelector, + To: reference.To{ + List: &LBTargetGroupList{}, + Managed: &LBTargetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetGroupArn") + } + mg.Spec.InitProvider.TargetGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetGroupArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/elbv2/v1beta1/zz_lb_types.go b/apis/elbv2/v1beta1/zz_lb_types.go index 566a006157..618f76a9f5 100755 --- a/apis/elbv2/v1beta1/zz_lb_types.go +++ b/apis/elbv2/v1beta1/zz_lb_types.go @@ -19,6 +19,18 @@ import ( type AccessLogsInitParameters struct { + // The S3 bucket name to store the logs in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` @@ -161,9 +173,39 @@ type LBInitParameters struct { // Indicates whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to false. PreserveHostHeader *bool `json:"preserveHostHeader,omitempty" tf:"preserve_host_header,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application or network. For load balancers of type network security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + // A subnet mapping block as documented below. For Load Balancers of type network subnet mappings can only be added. SubnetMapping []SubnetMappingInitParameters `json:"subnetMapping,omitempty" tf:"subnet_mapping,omitempty"` + // References to Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetRefs []v1.Reference `json:"subnetRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnets. + // +kubebuilder:validation:Optional + SubnetSelector *v1.Selector `json:"subnetSelector,omitempty" tf:"-"` + + // A list of subnet IDs to attach to the LB. For Load Balancers of type network subnets can only be added (see Availability Zones), deleting a subnet for load balancers of type network will force a recreation of the resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetRefs + // +crossplane:generate:reference:selectorFieldName=SubnetSelector + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -413,6 +455,18 @@ type SubnetMappingInitParameters struct { // The private IPv4 address for an internal load balancer. PrivateIPv4Address *string `json:"privateIpv4Address,omitempty" tf:"private_ipv4_address,omitempty"` + + // ID of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type SubnetMappingObservation struct { diff --git a/apis/elbv2/v1beta1/zz_lblistener_types.go b/apis/elbv2/v1beta1/zz_lblistener_types.go index 93916dc341..fd30bb3b3e 100755 --- a/apis/elbv2/v1beta1/zz_lblistener_types.go +++ b/apis/elbv2/v1beta1/zz_lblistener_types.go @@ -245,6 +245,18 @@ type DefaultActionInitParameters struct { // Configuration block for creating a redirect action. Required if type is redirect. Detailed below. Redirect []RedirectInitParameters `json:"redirect,omitempty" tf:"redirect,omitempty"` + // ARN of the Target Group to which to route traffic. Specify only if type is forward and you want to route to a single target group. To route to one or more target groups, use a forward block instead. + // +crossplane:generate:reference:type=LBTargetGroup + TargetGroupArn *string `json:"targetGroupArn,omitempty" tf:"target_group_arn,omitempty"` + + // Reference to a LBTargetGroup to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnRef *v1.Reference `json:"targetGroupArnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnSelector *v1.Selector `json:"targetGroupArnSelector,omitempty" tf:"-"` + // Type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc. Type *string `json:"type,omitempty" tf:"type,omitempty"` } @@ -399,6 +411,18 @@ type LBListenerInitParameters struct { // Configuration block for default actions. Detailed below. DefaultAction []DefaultActionInitParameters `json:"defaultAction,omitempty" tf:"default_action,omitempty"` + // ARN of the load balancer. + // +crossplane:generate:reference:type=LB + LoadBalancerArn *string `json:"loadBalancerArn,omitempty" tf:"load_balancer_arn,omitempty"` + + // Reference to a LB to populate loadBalancerArn. + // +kubebuilder:validation:Optional + LoadBalancerArnRef *v1.Reference `json:"loadBalancerArnRef,omitempty" tf:"-"` + + // Selector for a LB to populate loadBalancerArn. + // +kubebuilder:validation:Optional + LoadBalancerArnSelector *v1.Selector `json:"loadBalancerArnSelector,omitempty" tf:"-"` + // The mutual authentication configuration information. Detailed below. MutualAuthentication []MutualAuthenticationInitParameters `json:"mutualAuthentication,omitempty" tf:"mutual_authentication,omitempty"` @@ -650,6 +674,18 @@ type StickinessParameters struct { type TargetGroupInitParameters struct { + // ARN of the target group. + // +crossplane:generate:reference:type=LBTargetGroup + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a LBTargetGroup to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Weight. The range is 0 to 999. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` } diff --git a/apis/elbv2/v1beta1/zz_lblistenercertificate_types.go b/apis/elbv2/v1beta1/zz_lblistenercertificate_types.go index e49678632d..bdff03aad1 100755 --- a/apis/elbv2/v1beta1/zz_lblistenercertificate_types.go +++ b/apis/elbv2/v1beta1/zz_lblistenercertificate_types.go @@ -18,6 +18,32 @@ import ( ) type LBListenerCertificateInitParameters struct { + + // The ARN of the certificate to attach to the listener. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"` + + // Reference to a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"` + + // Selector for a Certificate in acm to populate certificateArn. + // +kubebuilder:validation:Optional + CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"` + + // The ARN of the listener to which to attach the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBListener + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ListenerArn *string `json:"listenerArn,omitempty" tf:"listener_arn,omitempty"` + + // Reference to a LBListener in elbv2 to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnRef *v1.Reference `json:"listenerArnRef,omitempty" tf:"-"` + + // Selector for a LBListener in elbv2 to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnSelector *v1.Selector `json:"listenerArnSelector,omitempty" tf:"-"` } type LBListenerCertificateObservation struct { diff --git a/apis/elbv2/v1beta1/zz_lblistenerrule_types.go b/apis/elbv2/v1beta1/zz_lblistenerrule_types.go index ca68072413..23cd7e26f3 100755 --- a/apis/elbv2/v1beta1/zz_lblistenerrule_types.go +++ b/apis/elbv2/v1beta1/zz_lblistenerrule_types.go @@ -34,6 +34,45 @@ type ActionAuthenticateCognitoInitParameters struct { // The maximum duration of the authentication session, in seconds. SessionTimeout *float64 `json:"sessionTimeout,omitempty" tf:"session_timeout,omitempty"` + + // The ARN of the Cognito user pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPool + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + UserPoolArn *string `json:"userPoolArn,omitempty" tf:"user_pool_arn,omitempty"` + + // Reference to a UserPool in cognitoidp to populate userPoolArn. + // +kubebuilder:validation:Optional + UserPoolArnRef *v1.Reference `json:"userPoolArnRef,omitempty" tf:"-"` + + // Selector for a UserPool in cognitoidp to populate userPoolArn. + // +kubebuilder:validation:Optional + UserPoolArnSelector *v1.Selector `json:"userPoolArnSelector,omitempty" tf:"-"` + + // The ID of the Cognito user pool client. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolClient + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UserPoolClientID *string `json:"userPoolClientId,omitempty" tf:"user_pool_client_id,omitempty"` + + // Reference to a UserPoolClient in cognitoidp to populate userPoolClientId. + // +kubebuilder:validation:Optional + UserPoolClientIDRef *v1.Reference `json:"userPoolClientIdRef,omitempty" tf:"-"` + + // Selector for a UserPoolClient in cognitoidp to populate userPoolClientId. + // +kubebuilder:validation:Optional + UserPoolClientIDSelector *v1.Selector `json:"userPoolClientIdSelector,omitempty" tf:"-"` + + // The domain prefix or fully-qualified domain name of the Cognito user pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain",false) + UserPoolDomain *string `json:"userPoolDomain,omitempty" tf:"user_pool_domain,omitempty"` + + // Reference to a UserPoolDomain in cognitoidp to populate userPoolDomain. + // +kubebuilder:validation:Optional + UserPoolDomainRef *v1.Reference `json:"userPoolDomainRef,omitempty" tf:"-"` + + // Selector for a UserPoolDomain in cognitoidp to populate userPoolDomain. + // +kubebuilder:validation:Optional + UserPoolDomainSelector *v1.Selector `json:"userPoolDomainSelector,omitempty" tf:"-"` } type ActionAuthenticateCognitoObservation struct { @@ -333,6 +372,19 @@ type ActionInitParameters struct { // Information for creating a redirect action. Required if type is redirect. Redirect []ActionRedirectInitParameters `json:"redirect,omitempty" tf:"redirect,omitempty"` + // The ARN of the Target Group to which to route traffic. Specify only if type is forward and you want to route to a single target group. To route to one or more target groups, use a forward block instead. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBTargetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TargetGroupArn *string `json:"targetGroupArn,omitempty" tf:"target_group_arn,omitempty"` + + // Reference to a LBTargetGroup in elbv2 to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnRef *v1.Reference `json:"targetGroupArnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup in elbv2 to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnSelector *v1.Selector `json:"targetGroupArnSelector,omitempty" tf:"-"` + // The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc. Type *string `json:"type,omitempty" tf:"type,omitempty"` } @@ -576,6 +628,19 @@ type ForwardStickinessParameters struct { type ForwardTargetGroupInitParameters struct { + // The Amazon Resource Name (ARN) of the target group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBTargetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a LBTargetGroup in elbv2 to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup in elbv2 to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // The weight. The range is 0 to 999. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` } @@ -694,6 +759,19 @@ type LBListenerRuleInitParameters struct { // A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below. Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"` + // The ARN of the listener to which to attach the rule. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elbv2/v1beta1.LBListener + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ListenerArn *string `json:"listenerArn,omitempty" tf:"listener_arn,omitempty"` + + // Reference to a LBListener in elbv2 to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnRef *v1.Reference `json:"listenerArnRef,omitempty" tf:"-"` + + // Selector for a LBListener in elbv2 to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnSelector *v1.Selector `json:"listenerArnSelector,omitempty" tf:"-"` + // The priority for the rule between 1 and 50000. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` diff --git a/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go b/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go index 1fcf452e07..6def23d3a1 100755 --- a/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go +++ b/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go @@ -198,6 +198,18 @@ type LBTargetGroupInitParameters struct { // See doc for supported values. // The default is instance. TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"` + + // Identifier of the VPC in which to create the target group. Required when target_type is instance, ip or alb. Does not apply when target_type is lambda. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type LBTargetGroupObservation struct { diff --git a/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go b/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go index a2fe31353f..50e517c7ef 100755 --- a/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go +++ b/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go @@ -25,6 +25,18 @@ type LBTargetGroupAttachmentInitParameters struct { // The port on which targets receive traffic. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` + // The ARN of the target group with which to register targets. + // +crossplane:generate:reference:type=LBTargetGroup + TargetGroupArn *string `json:"targetGroupArn,omitempty" tf:"target_group_arn,omitempty"` + + // Reference to a LBTargetGroup to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnRef *v1.Reference `json:"targetGroupArnRef,omitempty" tf:"-"` + + // Selector for a LBTargetGroup to populate targetGroupArn. + // +kubebuilder:validation:Optional + TargetGroupArnSelector *v1.Selector `json:"targetGroupArnSelector,omitempty" tf:"-"` + // The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the Lambda function ARN. If the target type is alb, specify the ALB ARN. TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"` } diff --git a/apis/firehose/v1beta1/zz_deliverystream_types.go b/apis/firehose/v1beta1/zz_deliverystream_types.go index 6280797189..744a6cf05a 100755 --- a/apis/firehose/v1beta1/zz_deliverystream_types.go +++ b/apis/firehose/v1beta1/zz_deliverystream_types.go @@ -419,6 +419,19 @@ type ElasticsearchConfigurationInitParameters struct { // The endpoint to use when communicating with the cluster. Conflicts with domain_arn. ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"` + // The ARN of the Amazon ES domain. The pattern needs to be arn:.*. Conflicts with cluster_endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticsearch/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DomainArn *string `json:"domainArn,omitempty" tf:"domain_arn,omitempty"` + + // Reference to a Domain in elasticsearch to populate domainArn. + // +kubebuilder:validation:Optional + DomainArnRef *v1.Reference `json:"domainArnRef,omitempty" tf:"-"` + + // Selector for a Domain in elasticsearch to populate domainArn. + // +kubebuilder:validation:Optional + DomainArnSelector *v1.Selector `json:"domainArnSelector,omitempty" tf:"-"` + // The Elasticsearch index name. IndexName *string `json:"indexName,omitempty" tf:"index_name,omitempty"` @@ -431,6 +444,19 @@ type ElasticsearchConfigurationInitParameters struct { // The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"` @@ -609,6 +635,19 @@ type ExtendedS3ConfigurationCloudwatchLoggingOptionsParameters struct { type ExtendedS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -640,6 +679,19 @@ type ExtendedS3ConfigurationInitParameters struct { // The data processing configuration. More details are given below. ProcessingConfiguration []ExtendedS3ConfigurationProcessingConfigurationInitParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object. S3BackupConfiguration []S3BackupConfigurationInitParameters `json:"s3BackupConfiguration,omitempty" tf:"s3_backup_configuration,omitempty"` @@ -864,6 +916,19 @@ type HTTPEndpointConfigurationInitParameters struct { // The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"` @@ -1070,6 +1135,19 @@ type HTTPEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters type HTTPEndpointConfigurationS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -1091,6 +1169,19 @@ type HTTPEndpointConfigurationS3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type HTTPEndpointConfigurationS3ConfigurationObservation struct { @@ -1385,6 +1476,19 @@ type OpensearchConfigurationInitParameters struct { // The endpoint to use when communicating with the cluster. Conflicts with domain_arn. ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"` + // The ARN of the Amazon ES domain. The pattern needs to be arn:.*. Conflicts with cluster_endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opensearch/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DomainArn *string `json:"domainArn,omitempty" tf:"domain_arn,omitempty"` + + // Reference to a Domain in opensearch to populate domainArn. + // +kubebuilder:validation:Optional + DomainArnRef *v1.Reference `json:"domainArnRef,omitempty" tf:"-"` + + // Selector for a Domain in opensearch to populate domainArn. + // +kubebuilder:validation:Optional + DomainArnSelector *v1.Selector `json:"domainArnSelector,omitempty" tf:"-"` + // The Elasticsearch index name. IndexName *string `json:"indexName,omitempty" tf:"index_name,omitempty"` @@ -1397,6 +1501,19 @@ type OpensearchConfigurationInitParameters struct { // The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"` @@ -1662,6 +1779,19 @@ type OpensearchConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters st type OpensearchConfigurationS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -1683,6 +1813,19 @@ type OpensearchConfigurationS3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type OpensearchConfigurationS3ConfigurationObservation struct { @@ -1778,6 +1921,19 @@ type OpensearchConfigurationS3ConfigurationParameters struct { type OpensearchConfigurationVPCConfigInitParameters struct { + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // A list of security group IDs to associate with Kinesis Firehose. // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` @@ -1892,6 +2048,19 @@ type OpensearchserverlessConfigurationInitParameters struct { // The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"` @@ -2123,6 +2292,19 @@ type OpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsPar type OpensearchserverlessConfigurationS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -2144,6 +2326,19 @@ type OpensearchserverlessConfigurationS3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type OpensearchserverlessConfigurationS3ConfigurationObservation struct { @@ -2717,6 +2912,19 @@ type RedshiftConfigurationInitParameters struct { // The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object. S3BackupConfiguration []RedshiftConfigurationS3BackupConfigurationInitParameters `json:"s3BackupConfiguration,omitempty" tf:"s3_backup_configuration,omitempty"` @@ -2962,6 +3170,19 @@ type RedshiftConfigurationS3BackupConfigurationCloudwatchLoggingOptionsParameter type RedshiftConfigurationS3BackupConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -2983,6 +3204,19 @@ type RedshiftConfigurationS3BackupConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type RedshiftConfigurationS3BackupConfigurationObservation struct { @@ -3117,6 +3351,19 @@ type RedshiftConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters stru type RedshiftConfigurationS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -3138,6 +3385,19 @@ type RedshiftConfigurationS3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type RedshiftConfigurationS3ConfigurationObservation struct { @@ -3442,6 +3702,19 @@ type S3ConfigurationCloudwatchLoggingOptionsParameters struct { type S3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -3463,6 +3736,19 @@ type S3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type S3ConfigurationObservation struct { @@ -3564,6 +3850,31 @@ type SchemaConfigurationInitParameters struct { // Specifies the name of the AWS Glue database that contains the schema for the output data. DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // Specifies the AWS Glue table that contains the column information that constitutes your data schema. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogTable + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` + + // Reference to a CatalogTable in glue to populate tableName. + // +kubebuilder:validation:Optional + TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"` + + // Selector for a CatalogTable in glue to populate tableName. + // +kubebuilder:validation:Optional + TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"` + // Specifies the table version for the output data schema. Defaults to LATEST. VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"` } @@ -3963,6 +4274,19 @@ type SplunkConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters struct type SplunkConfigurationS3ConfigurationInitParameters struct { + // The ARN of the S3 bucket + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s. BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"` @@ -3984,6 +4308,19 @@ type SplunkConfigurationS3ConfigurationInitParameters struct { // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` + + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type SplunkConfigurationS3ConfigurationObservation struct { @@ -4079,6 +4416,19 @@ type SplunkConfigurationS3ConfigurationParameters struct { type VPCConfigInitParameters struct { + // The ARN of the role that provides access to the source Kinesis stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // A list of security group IDs to associate with Kinesis Firehose. // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` diff --git a/apis/firehose/v1beta1/zz_generated.deepcopy.go b/apis/firehose/v1beta1/zz_generated.deepcopy.go index c862dfed57..20ec958aba 100644 --- a/apis/firehose/v1beta1/zz_generated.deepcopy.go +++ b/apis/firehose/v1beta1/zz_generated.deepcopy.go @@ -1061,6 +1061,21 @@ func (in *ElasticsearchConfigurationInitParameters) DeepCopyInto(out *Elasticsea *out = new(string) **out = **in } + if in.DomainArn != nil { + in, out := &in.DomainArn, &out.DomainArn + *out = new(string) + **out = **in + } + if in.DomainArnRef != nil { + in, out := &in.DomainArnRef, &out.DomainArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainArnSelector != nil { + in, out := &in.DomainArnSelector, &out.DomainArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IndexName != nil { in, out := &in.IndexName, &out.IndexName *out = new(string) @@ -1083,6 +1098,21 @@ func (in *ElasticsearchConfigurationInitParameters) DeepCopyInto(out *Elasticsea *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupMode != nil { in, out := &in.S3BackupMode, &out.S3BackupMode *out = new(string) @@ -1418,6 +1448,21 @@ func (in *ExtendedS3ConfigurationCloudwatchLoggingOptionsParameters) DeepCopy() // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExtendedS3ConfigurationInitParameters) DeepCopyInto(out *ExtendedS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -1476,6 +1521,21 @@ func (in *ExtendedS3ConfigurationInitParameters) DeepCopyInto(out *ExtendedS3Con (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupConfiguration != nil { in, out := &in.S3BackupConfiguration, &out.S3BackupConfiguration *out = make([]S3BackupConfigurationInitParameters, len(*in)) @@ -1925,6 +1985,21 @@ func (in *HTTPEndpointConfigurationInitParameters) DeepCopyInto(out *HTTPEndpoin *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupMode != nil { in, out := &in.S3BackupMode, &out.S3BackupMode *out = new(string) @@ -2380,6 +2455,21 @@ func (in *HTTPEndpointConfigurationS3ConfigurationCloudwatchLoggingOptionsParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPEndpointConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *HTTPEndpointConfigurationS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -2417,6 +2507,21 @@ func (in *HTTPEndpointConfigurationS3ConfigurationInitParameters) DeepCopyInto(o *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPEndpointConfigurationS3ConfigurationInitParameters. @@ -3126,6 +3231,21 @@ func (in *OpensearchConfigurationInitParameters) DeepCopyInto(out *OpensearchCon *out = new(string) **out = **in } + if in.DomainArn != nil { + in, out := &in.DomainArn, &out.DomainArn + *out = new(string) + **out = **in + } + if in.DomainArnRef != nil { + in, out := &in.DomainArnRef, &out.DomainArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainArnSelector != nil { + in, out := &in.DomainArnSelector, &out.DomainArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IndexName != nil { in, out := &in.IndexName, &out.IndexName *out = new(string) @@ -3148,6 +3268,21 @@ func (in *OpensearchConfigurationInitParameters) DeepCopyInto(out *OpensearchCon *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupMode != nil { in, out := &in.S3BackupMode, &out.S3BackupMode *out = new(string) @@ -3720,6 +3855,21 @@ func (in *OpensearchConfigurationS3ConfigurationCloudwatchLoggingOptionsParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OpensearchConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *OpensearchConfigurationS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -3757,6 +3907,21 @@ func (in *OpensearchConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchConfigurationS3ConfigurationInitParameters. @@ -3916,6 +4081,21 @@ func (in *OpensearchConfigurationS3ConfigurationParameters) DeepCopy() *Opensear // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OpensearchConfigurationVPCConfigInitParameters) DeepCopyInto(out *OpensearchConfigurationVPCConfigInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecurityGroupIds != nil { in, out := &in.SecurityGroupIds, &out.SecurityGroupIds *out = make([]*string, len(*in)) @@ -4181,6 +4361,21 @@ func (in *OpensearchserverlessConfigurationInitParameters) DeepCopyInto(out *Ope *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupMode != nil { in, out := &in.S3BackupMode, &out.S3BackupMode *out = new(string) @@ -4708,6 +4903,21 @@ func (in *OpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptio // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OpensearchserverlessConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *OpensearchserverlessConfigurationS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -4745,6 +4955,21 @@ func (in *OpensearchserverlessConfigurationS3ConfigurationInitParameters) DeepCo *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchserverlessConfigurationS3ConfigurationInitParameters. @@ -6046,6 +6271,21 @@ func (in *RedshiftConfigurationInitParameters) DeepCopyInto(out *RedshiftConfigu *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3BackupConfiguration != nil { in, out := &in.S3BackupConfiguration, &out.S3BackupConfiguration *out = make([]RedshiftConfigurationS3BackupConfigurationInitParameters, len(*in)) @@ -6589,6 +6829,21 @@ func (in *RedshiftConfigurationS3BackupConfigurationCloudwatchLoggingOptionsPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RedshiftConfigurationS3BackupConfigurationInitParameters) DeepCopyInto(out *RedshiftConfigurationS3BackupConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -6626,6 +6881,21 @@ func (in *RedshiftConfigurationS3BackupConfigurationInitParameters) DeepCopyInto *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedshiftConfigurationS3BackupConfigurationInitParameters. @@ -6875,6 +7145,21 @@ func (in *RedshiftConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RedshiftConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *RedshiftConfigurationS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -6912,6 +7197,21 @@ func (in *RedshiftConfigurationS3ConfigurationInitParameters) DeepCopyInto(out * *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedshiftConfigurationS3ConfigurationInitParameters. @@ -7518,6 +7818,21 @@ func (in *S3ConfigurationCloudwatchLoggingOptionsParameters) DeepCopy() *S3Confi // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3ConfigurationInitParameters) DeepCopyInto(out *S3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -7555,6 +7870,21 @@ func (in *S3ConfigurationInitParameters) DeepCopyInto(out *S3ConfigurationInitPa *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3ConfigurationInitParameters. @@ -7724,6 +8054,36 @@ func (in *SchemaConfigurationInitParameters) DeepCopyInto(out *SchemaConfigurati *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } + if in.TableNameRef != nil { + in, out := &in.TableNameRef, &out.TableNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TableNameSelector != nil { + in, out := &in.TableNameSelector, &out.TableNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.VersionID != nil { in, out := &in.VersionID, &out.VersionID *out = new(string) @@ -8632,6 +8992,21 @@ func (in *SplunkConfigurationS3ConfigurationCloudwatchLoggingOptionsParameters) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SplunkConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *SplunkConfigurationS3ConfigurationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BufferingInterval != nil { in, out := &in.BufferingInterval, &out.BufferingInterval *out = new(float64) @@ -8669,6 +9044,21 @@ func (in *SplunkConfigurationS3ConfigurationInitParameters) DeepCopyInto(out *Sp *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SplunkConfigurationS3ConfigurationInitParameters. @@ -8828,6 +9218,21 @@ func (in *SplunkConfigurationS3ConfigurationParameters) DeepCopy() *SplunkConfig // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecurityGroupIds != nil { in, out := &in.SecurityGroupIds, &out.SecurityGroupIds *out = make([]*string, len(*in)) diff --git a/apis/firehose/v1beta1/zz_generated.resolvers.go b/apis/firehose/v1beta1/zz_generated.resolvers.go index 16aa9dfd40..a0fb284c8f 100644 --- a/apis/firehose/v1beta1/zz_generated.resolvers.go +++ b/apis/firehose/v1beta1/zz_generated.resolvers.go @@ -552,6 +552,532 @@ func (mg *DeliveryStream) ResolveReferences(ctx context.Context, c client.Reader } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ElasticsearchConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArnRef, + Selector: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArnSelector, + To: reference.To{ + List: &v1beta1.DomainList{}, + Managed: &v1beta1.Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArn") + } + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].DomainArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ElasticsearchConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ElasticsearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ElasticsearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ElasticsearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArn") + } + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ElasticsearchConfiguration[i3].VPCConfig[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ExtendedS3Configuration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArnRef, + Selector: mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArn") + } + mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExtendedS3Configuration[i3].BucketArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ExtendedS3Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArnRef, + Selector: mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArn") + } + mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].RoleArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ExtendedS3Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableNameRef, + Selector: mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableNameSelector, + To: reference.To{ + List: &v1beta13.CatalogTableList{}, + Managed: &v1beta13.CatalogTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableName") + } + mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExtendedS3Configuration[i3].DataFormatConversionConfiguration[i4].SchemaConfiguration[i5].TableNameRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ExtendedS3Configuration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArn") + } + mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExtendedS3Configuration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.HTTPEndpointConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.HTTPEndpointConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.HTTPEndpointConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPEndpointConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArnRef, + Selector: mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArnSelector, + To: reference.To{ + List: &v1beta14.DomainList{}, + Managed: &v1beta14.Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArn") + } + mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchConfiguration[i3].DomainArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArn") + } + mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchConfiguration[i3].VPCConfig[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchserverlessConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchserverlessConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.OpensearchserverlessConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OpensearchserverlessConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RedshiftConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RedshiftConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RedshiftConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArn") + } + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RedshiftConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArn") + } + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3BackupConfiguration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RedshiftConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RedshiftConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RedshiftConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SplunkConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArnSelector, + To: reference.To{ + List: &v1beta12.BucketList{}, + Managed: &v1beta12.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArn") + } + mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].BucketArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SplunkConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArn") + } + mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SplunkConfiguration[i3].S3Configuration[i4].RoleArnRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/fis/v1beta1/zz_experimenttemplate_types.go b/apis/fis/v1beta1/zz_experimenttemplate_types.go index 6c3fa93b65..479523d1f5 100755 --- a/apis/fis/v1beta1/zz_experimenttemplate_types.go +++ b/apis/fis/v1beta1/zz_experimenttemplate_types.go @@ -119,6 +119,19 @@ type ExperimentTemplateInitParameters struct { // The configuration for experiment logging. See below. LogConfiguration []LogConfigurationInitParameters `json:"logConfiguration,omitempty" tf:"log_configuration,omitempty"` + // ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // When an ongoing experiment should be stopped. See below. StopCondition []StopConditionInitParameters `json:"stopCondition,omitempty" tf:"stop_condition,omitempty"` diff --git a/apis/fis/v1beta1/zz_generated.deepcopy.go b/apis/fis/v1beta1/zz_generated.deepcopy.go index 194090e522..3808e77aad 100644 --- a/apis/fis/v1beta1/zz_generated.deepcopy.go +++ b/apis/fis/v1beta1/zz_generated.deepcopy.go @@ -287,6 +287,21 @@ func (in *ExperimentTemplateInitParameters) DeepCopyInto(out *ExperimentTemplate (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StopCondition != nil { in, out := &in.StopCondition, &out.StopCondition *out = make([]StopConditionInitParameters, len(*in)) diff --git a/apis/fis/v1beta1/zz_generated.resolvers.go b/apis/fis/v1beta1/zz_generated.resolvers.go index 68c935882d..f9438d3d18 100644 --- a/apis/fis/v1beta1/zz_generated.resolvers.go +++ b/apis/fis/v1beta1/zz_generated.resolvers.go @@ -37,5 +37,21 @@ func (mg *ExperimentTemplate) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/fsx/v1beta1/zz_backup_types.go b/apis/fsx/v1beta1/zz_backup_types.go index 55c9ce135a..af7dcb2e4b 100755 --- a/apis/fsx/v1beta1/zz_backup_types.go +++ b/apis/fsx/v1beta1/zz_backup_types.go @@ -19,6 +19,19 @@ import ( type BackupInitParameters struct { + // The ID of the file system to back up. Required if backing up Lustre or Windows file systems. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/fsx/v1beta1.LustreFileSystem + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a LustreFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a LustreFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go b/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go index bb145d2906..8008b7e92d 100755 --- a/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go +++ b/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go @@ -66,6 +66,19 @@ type DataRepositoryAssociationInitParameters struct { // Set to true to delete files from the file system upon deleting this data repository association. Defaults to false. DeleteDataInFilesystem *bool `json:"deleteDataInFilesystem,omitempty" tf:"delete_data_in_filesystem,omitempty"` + // The ID of the Amazon FSx file system to on which to create a data repository association. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/fsx/v1beta1.LustreFileSystem + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a LustreFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a LustreFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with data_repository_path. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. FileSystemPath *string `json:"fileSystemPath,omitempty" tf:"file_system_path,omitempty"` diff --git a/apis/fsx/v1beta1/zz_generated.deepcopy.go b/apis/fsx/v1beta1/zz_generated.deepcopy.go index 4d79acf2b5..e59eb37155 100644 --- a/apis/fsx/v1beta1/zz_generated.deepcopy.go +++ b/apis/fsx/v1beta1/zz_generated.deepcopy.go @@ -370,6 +370,21 @@ func (in *Backup) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BackupInitParameters) DeepCopyInto(out *BackupInitParameters) { *out = *in + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -653,6 +668,21 @@ func (in *DataRepositoryAssociationInitParameters) DeepCopyInto(out *DataReposit *out = new(bool) **out = **in } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FileSystemPath != nil { in, out := &in.FileSystemPath, &out.FileSystemPath *out = new(string) @@ -1429,6 +1459,21 @@ func (in *LustreFileSystemInitParameters) DeepCopyInto(out *LustreFileSystemInit *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LogConfiguration != nil { in, out := &in.LogConfiguration, &out.LogConfiguration *out = make([]LogConfigurationInitParameters, len(*in)) @@ -1448,6 +1493,29 @@ func (in *LustreFileSystemInitParameters) DeepCopyInto(out *LustreFileSystemInit (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.StorageCapacity != nil { in, out := &in.StorageCapacity, &out.StorageCapacity *out = new(float64) @@ -1458,6 +1526,29 @@ func (in *LustreFileSystemInitParameters) DeepCopyInto(out *LustreFileSystemInit *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -2137,6 +2228,36 @@ func (in *OntapFileSystemInitParameters) DeepCopyInto(out *OntapFileSystemInitPa *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PreferredSubnetID != nil { + in, out := &in.PreferredSubnetID, &out.PreferredSubnetID + *out = new(string) + **out = **in + } + if in.PreferredSubnetIDRef != nil { + in, out := &in.PreferredSubnetIDRef, &out.PreferredSubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PreferredSubnetIDSelector != nil { + in, out := &in.PreferredSubnetIDSelector, &out.PreferredSubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RouteTableIds != nil { in, out := &in.RouteTableIds, &out.RouteTableIds *out = make([]*string, len(*in)) @@ -2148,6 +2269,29 @@ func (in *OntapFileSystemInitParameters) DeepCopyInto(out *OntapFileSystemInitPa } } } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.StorageCapacity != nil { in, out := &in.StorageCapacity, &out.StorageCapacity *out = new(float64) @@ -2158,6 +2302,29 @@ func (in *OntapFileSystemInitParameters) DeepCopyInto(out *OntapFileSystemInitPa *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -2728,6 +2895,21 @@ func (in *OntapStorageVirtualMachineInitParameters) DeepCopyInto(out *OntapStora (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemIDRef != nil { + in, out := &in.FileSystemIDRef, &out.FileSystemIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileSystemIDSelector != nil { + in, out := &in.FileSystemIDSelector, &out.FileSystemIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -3626,6 +3808,21 @@ func (in *WindowsFileSystemDiskIopsConfigurationParameters) DeepCopy() *WindowsF // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WindowsFileSystemInitParameters) DeepCopyInto(out *WindowsFileSystemInitParameters) { *out = *in + if in.ActiveDirectoryID != nil { + in, out := &in.ActiveDirectoryID, &out.ActiveDirectoryID + *out = new(string) + **out = **in + } + if in.ActiveDirectoryIDRef != nil { + in, out := &in.ActiveDirectoryIDRef, &out.ActiveDirectoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ActiveDirectoryIDSelector != nil { + in, out := &in.ActiveDirectoryIDSelector, &out.ActiveDirectoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Aliases != nil { in, out := &in.Aliases, &out.Aliases *out = make([]*string, len(*in)) @@ -3676,11 +3873,49 @@ func (in *WindowsFileSystemInitParameters) DeepCopyInto(out *WindowsFileSystemIn (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PreferredSubnetID != nil { in, out := &in.PreferredSubnetID, &out.PreferredSubnetID *out = new(string) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.SelfManagedActiveDirectory != nil { in, out := &in.SelfManagedActiveDirectory, &out.SelfManagedActiveDirectory *out = make([]SelfManagedActiveDirectoryInitParameters, len(*in)) @@ -3703,6 +3938,29 @@ func (in *WindowsFileSystemInitParameters) DeepCopyInto(out *WindowsFileSystemIn *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/fsx/v1beta1/zz_generated.resolvers.go b/apis/fsx/v1beta1/zz_generated.resolvers.go index ba24aa05fc..9b129e5977 100644 --- a/apis/fsx/v1beta1/zz_generated.resolvers.go +++ b/apis/fsx/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *Backup) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &LustreFileSystemList{}, + Managed: &LustreFileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -66,6 +82,22 @@ func (mg *DataRepositoryAssociation) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &LustreFileSystemList{}, + Managed: &LustreFileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -125,6 +157,54 @@ func (mg *LustreFileSystem) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -200,6 +280,70 @@ func (mg *OntapFileSystem) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PreferredSubnetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PreferredSubnetIDRef, + Selector: mg.Spec.InitProvider.PreferredSubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PreferredSubnetID") + } + mg.Spec.InitProvider.PreferredSubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PreferredSubnetIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -226,6 +370,22 @@ func (mg *OntapStorageVirtualMachine) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.FileSystemIDRef, + Selector: mg.Spec.InitProvider.FileSystemIDSelector, + To: reference.To{ + List: &OntapFileSystemList{}, + Managed: &OntapFileSystem{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemID") + } + mg.Spec.InitProvider.FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemIDRef = rsp.ResolvedReference + return nil } @@ -301,5 +461,69 @@ func (mg *WindowsFileSystem) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ActiveDirectoryID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ActiveDirectoryIDRef, + Selector: mg.Spec.InitProvider.ActiveDirectoryIDSelector, + To: reference.To{ + List: &v1beta12.DirectoryList{}, + Managed: &v1beta12.Directory{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ActiveDirectoryID") + } + mg.Spec.InitProvider.ActiveDirectoryID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ActiveDirectoryIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/fsx/v1beta1/zz_lustrefilesystem_types.go b/apis/fsx/v1beta1/zz_lustrefilesystem_types.go index de761bae25..9afa5b6661 100755 --- a/apis/fsx/v1beta1/zz_lustrefilesystem_types.go +++ b/apis/fsx/v1beta1/zz_lustrefilesystem_types.go @@ -84,6 +84,18 @@ type LustreFileSystemInitParameters struct { // For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with import_path argument. Defaults to 1024. Minimum of 1 and maximum of 512000. Only supported on PERSISTENT_1 deployment types. ImportedFileChunkSize *float64 `json:"importedFileChunkSize,omitempty" tf:"imported_file_chunk_size,omitempty"` + // ARN for the KMS Key to encrypt the file system at rest, applicable for PERSISTENT_1 and PERSISTENT_2 deployment_type. Defaults to an AWS managed KMS Key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The Lustre logging configuration used when creating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs. LogConfiguration []LogConfigurationInitParameters `json:"logConfiguration,omitempty" tf:"log_configuration,omitempty"` @@ -93,12 +105,41 @@ type LustreFileSystemInitParameters struct { // The Lustre root squash configuration used when creating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user. RootSquashConfiguration []RootSquashConfigurationInitParameters `json:"rootSquashConfiguration,omitempty" tf:"root_squash_configuration,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // The storage capacity (GiB) of the file system. Minimum of 1200. See more details at Allowed values for Fsx storage capacity. Update is allowed only for SCRATCH_2, PERSISTENT_1 and PERSISTENT_2 deployment types, See more details at Fsx Storage Capacity Update. Required when not creating filesystem for a backup. StorageCapacity *float64 `json:"storageCapacity,omitempty" tf:"storage_capacity,omitempty"` // - The filesystem storage type. Either SSD or HDD, defaults to SSD. HDD is only supported on PERSISTENT_1 deployment types. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/fsx/v1beta1/zz_ontapfilesystem_types.go b/apis/fsx/v1beta1/zz_ontapfilesystem_types.go index 34153c36df..1daf3640d3 100755 --- a/apis/fsx/v1beta1/zz_ontapfilesystem_types.go +++ b/apis/fsx/v1beta1/zz_ontapfilesystem_types.go @@ -110,16 +110,70 @@ type OntapFileSystemInitParameters struct { // Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range. EndpointIPAddressRange *string `json:"endpointIpAddressRange,omitempty" tf:"endpoint_ip_address_range,omitempty"` + // ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + + // The ID for a subnet. A subnet is a range of IP addresses in your virtual private cloud (VPC). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PreferredSubnetID *string `json:"preferredSubnetId,omitempty" tf:"preferred_subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate preferredSubnetId. + // +kubebuilder:validation:Optional + PreferredSubnetIDRef *v1.Reference `json:"preferredSubnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate preferredSubnetId. + // +kubebuilder:validation:Optional + PreferredSubnetIDSelector *v1.Selector `json:"preferredSubnetIdSelector,omitempty" tf:"-"` + // Specifies the VPC route tables in which your file system's endpoints will be created. You should specify all VPC route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. // +listType=set RouteTableIds []*string `json:"routeTableIds,omitempty" tf:"route_table_ids,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // The storage capacity (GiB) of the file system. Valid values between 1024 and 196608. StorageCapacity *float64 `json:"storageCapacity,omitempty" tf:"storage_capacity,omitempty"` // - The filesystem storage type. defaults to SSD. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of IDs for the subnets that the file system will be accessible from. Upto 2 subnets can be provided. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go b/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go index 85e442ea38..f8c16a5c42 100755 --- a/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go +++ b/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go @@ -120,6 +120,19 @@ type OntapStorageVirtualMachineInitParameters struct { // Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below. ActiveDirectoryConfiguration []ActiveDirectoryConfigurationInitParameters `json:"activeDirectoryConfiguration,omitempty" tf:"active_directory_configuration,omitempty"` + // The ID of the Amazon FSx ONTAP File System that this SVM will be created on. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/fsx/v1beta1.OntapFileSystem + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + FileSystemID *string `json:"fileSystemId,omitempty" tf:"file_system_id,omitempty"` + + // Reference to a OntapFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDRef *v1.Reference `json:"fileSystemIdRef,omitempty" tf:"-"` + + // Selector for a OntapFileSystem in fsx to populate fileSystemId. + // +kubebuilder:validation:Optional + FileSystemIDSelector *v1.Selector `json:"fileSystemIdSelector,omitempty" tf:"-"` + // The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/fsx/v1beta1/zz_windowsfilesystem_types.go b/apis/fsx/v1beta1/zz_windowsfilesystem_types.go index fd70ad1436..fe280fb402 100755 --- a/apis/fsx/v1beta1/zz_windowsfilesystem_types.go +++ b/apis/fsx/v1beta1/zz_windowsfilesystem_types.go @@ -153,6 +153,19 @@ type WindowsFileSystemDiskIopsConfigurationParameters struct { type WindowsFileSystemInitParameters struct { + // The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with self_managed_active_directory. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta1.Directory + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ActiveDirectoryID *string `json:"activeDirectoryId,omitempty" tf:"active_directory_id,omitempty"` + + // Reference to a Directory in ds to populate activeDirectoryId. + // +kubebuilder:validation:Optional + ActiveDirectoryIDRef *v1.Reference `json:"activeDirectoryIdRef,omitempty" tf:"-"` + + // Selector for a Directory in ds to populate activeDirectoryId. + // +kubebuilder:validation:Optional + ActiveDirectoryIDSelector *v1.Selector `json:"activeDirectoryIdSelector,omitempty" tf:"-"` + // An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases // +listType=set Aliases []*string `json:"aliases,omitempty" tf:"aliases,omitempty"` @@ -178,9 +191,37 @@ type WindowsFileSystemInitParameters struct { // The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See Disk Iops Configuration below. DiskIopsConfiguration []WindowsFileSystemDiskIopsConfigurationInitParameters `json:"diskIopsConfiguration,omitempty" tf:"disk_iops_configuration,omitempty"` + // ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is MULTI_AZ_1. PreferredSubnetID *string `json:"preferredSubnetId,omitempty" tf:"preferred_subnet_id,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with active_directory_id. See Self-Managed Active Directory below. SelfManagedActiveDirectory []SelfManagedActiveDirectoryInitParameters `json:"selfManagedActiveDirectory,omitempty" tf:"self_managed_active_directory,omitempty"` @@ -193,6 +234,20 @@ type WindowsFileSystemInitParameters struct { // Specifies the storage type, Valid values are SSD and HDD. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types. Default value is SSD. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set deployment_type to MULTI_AZ_1. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/gamelift/v1beta1/zz_build_types.go b/apis/gamelift/v1beta1/zz_build_types.go index 6d7fa2295e..063c1057d0 100755 --- a/apis/gamelift/v1beta1/zz_build_types.go +++ b/apis/gamelift/v1beta1/zz_build_types.go @@ -96,8 +96,46 @@ type BuildParameters struct { type StorageLocationInitParameters struct { + // Name of your S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + + // Name of the zip file containing your build files. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Object + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key",false) + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Reference to a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeyRef *v1.Reference `json:"keyRef,omitempty" tf:"-"` + + // Selector for a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeySelector *v1.Selector `json:"keySelector,omitempty" tf:"-"` + // A specific version of the file. If not set, the latest version of the file is retrieved. ObjectVersion *string `json:"objectVersion,omitempty" tf:"object_version,omitempty"` + + // ARN of the access role that allows Amazon GameLift to access your S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type StorageLocationObservation struct { diff --git a/apis/gamelift/v1beta1/zz_fleet_types.go b/apis/gamelift/v1beta1/zz_fleet_types.go index 3d36d4f6d9..c02eea36cf 100755 --- a/apis/gamelift/v1beta1/zz_fleet_types.go +++ b/apis/gamelift/v1beta1/zz_fleet_types.go @@ -87,6 +87,18 @@ type EC2InboundPermissionParameters struct { type FleetInitParameters struct { + // ID of the GameLift Build to be deployed on the fleet. + // +crossplane:generate:reference:type=Build + BuildID *string `json:"buildId,omitempty" tf:"build_id,omitempty"` + + // Reference to a Build to populate buildId. + // +kubebuilder:validation:Optional + BuildIDRef *v1.Reference `json:"buildIdRef,omitempty" tf:"-"` + + // Selector for a Build to populate buildId. + // +kubebuilder:validation:Optional + BuildIDSelector *v1.Selector `json:"buildIdSelector,omitempty" tf:"-"` + // Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration. CertificateConfiguration []CertificateConfigurationInitParameters `json:"certificateConfiguration,omitempty" tf:"certificate_configuration,omitempty"` @@ -102,6 +114,19 @@ type FleetInitParameters struct { // Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND. FleetType *string `json:"fleetType,omitempty" tf:"fleet_type,omitempty"` + // ARN of an IAM role that instances in the fleet can assume. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + InstanceRoleArn *string `json:"instanceRoleArn,omitempty" tf:"instance_role_arn,omitempty"` + + // Reference to a Role in iam to populate instanceRoleArn. + // +kubebuilder:validation:Optional + InstanceRoleArnRef *v1.Reference `json:"instanceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate instanceRoleArn. + // +kubebuilder:validation:Optional + InstanceRoleArnSelector *v1.Selector `json:"instanceRoleArnSelector,omitempty" tf:"-"` + // List of names of metric groups to add this fleet to. A metric group tracks metrics across all fleets in the group. Defaults to default. MetricGroups []*string `json:"metricGroups,omitempty" tf:"metric_groups,omitempty"` diff --git a/apis/gamelift/v1beta1/zz_gamesessionqueue_types.go b/apis/gamelift/v1beta1/zz_gamesessionqueue_types.go index edeea1bfc4..14e8cf2a58 100755 --- a/apis/gamelift/v1beta1/zz_gamesessionqueue_types.go +++ b/apis/gamelift/v1beta1/zz_gamesessionqueue_types.go @@ -25,6 +25,19 @@ type GameSessionQueueInitParameters struct { // List of fleet/alias ARNs used by session queue for placing game sessions. Destinations []*string `json:"destinations,omitempty" tf:"destinations,omitempty"` + // An SNS topic ARN that is set up to receive game session placement notifications. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + NotificationTarget *string `json:"notificationTarget,omitempty" tf:"notification_target,omitempty"` + + // Reference to a Topic in sns to populate notificationTarget. + // +kubebuilder:validation:Optional + NotificationTargetRef *v1.Reference `json:"notificationTargetRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate notificationTarget. + // +kubebuilder:validation:Optional + NotificationTargetSelector *v1.Selector `json:"notificationTargetSelector,omitempty" tf:"-"` + // One or more policies used to choose fleet based on player latency. See below. PlayerLatencyPolicy []PlayerLatencyPolicyInitParameters `json:"playerLatencyPolicy,omitempty" tf:"player_latency_policy,omitempty"` diff --git a/apis/gamelift/v1beta1/zz_generated.deepcopy.go b/apis/gamelift/v1beta1/zz_generated.deepcopy.go index a8a7405f7a..b4509e6f84 100644 --- a/apis/gamelift/v1beta1/zz_generated.deepcopy.go +++ b/apis/gamelift/v1beta1/zz_generated.deepcopy.go @@ -761,6 +761,21 @@ func (in *Fleet) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { *out = *in + if in.BuildID != nil { + in, out := &in.BuildID, &out.BuildID + *out = new(string) + **out = **in + } + if in.BuildIDRef != nil { + in, out := &in.BuildIDRef, &out.BuildIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BuildIDSelector != nil { + in, out := &in.BuildIDSelector, &out.BuildIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CertificateConfiguration != nil { in, out := &in.CertificateConfiguration, &out.CertificateConfiguration *out = make([]CertificateConfigurationInitParameters, len(*in)) @@ -790,6 +805,21 @@ func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { *out = new(string) **out = **in } + if in.InstanceRoleArn != nil { + in, out := &in.InstanceRoleArn, &out.InstanceRoleArn + *out = new(string) + **out = **in + } + if in.InstanceRoleArnRef != nil { + in, out := &in.InstanceRoleArnRef, &out.InstanceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceRoleArnSelector != nil { + in, out := &in.InstanceRoleArnSelector, &out.InstanceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MetricGroups != nil { in, out := &in.MetricGroups, &out.MetricGroups *out = make([]*string, len(*in)) @@ -1268,6 +1298,21 @@ func (in *GameSessionQueueInitParameters) DeepCopyInto(out *GameSessionQueueInit } } } + if in.NotificationTarget != nil { + in, out := &in.NotificationTarget, &out.NotificationTarget + *out = new(string) + **out = **in + } + if in.NotificationTargetRef != nil { + in, out := &in.NotificationTargetRef, &out.NotificationTargetRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NotificationTargetSelector != nil { + in, out := &in.NotificationTargetSelector, &out.NotificationTargetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PlayerLatencyPolicy != nil { in, out := &in.PlayerLatencyPolicy, &out.PlayerLatencyPolicy *out = make([]PlayerLatencyPolicyInitParameters, len(*in)) @@ -2167,11 +2212,56 @@ func (in *ScriptStatus) DeepCopy() *ScriptStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScriptStorageLocationInitParameters) DeepCopyInto(out *ScriptStorageLocationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.KeyRef != nil { + in, out := &in.KeyRef, &out.KeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeySelector != nil { + in, out := &in.KeySelector, &out.KeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ObjectVersion != nil { in, out := &in.ObjectVersion, &out.ObjectVersion *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScriptStorageLocationInitParameters. @@ -2377,11 +2467,56 @@ func (in *ServerProcessParameters) DeepCopy() *ServerProcessParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StorageLocationInitParameters) DeepCopyInto(out *StorageLocationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.KeyRef != nil { + in, out := &in.KeyRef, &out.KeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeySelector != nil { + in, out := &in.KeySelector, &out.KeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ObjectVersion != nil { in, out := &in.ObjectVersion, &out.ObjectVersion *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocationInitParameters. diff --git a/apis/gamelift/v1beta1/zz_generated.resolvers.go b/apis/gamelift/v1beta1/zz_generated.resolvers.go index 599a43725c..d5cedb8044 100644 --- a/apis/gamelift/v1beta1/zz_generated.resolvers.go +++ b/apis/gamelift/v1beta1/zz_generated.resolvers.go @@ -77,6 +77,60 @@ func (mg *Build) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.StorageLocation[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageLocation[i3].RoleArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.StorageLocation[i3].BucketRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].Bucket") + } + mg.Spec.InitProvider.StorageLocation[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].BucketRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].Key), + Extract: resource.ExtractParamPath("key", false), + Reference: mg.Spec.InitProvider.StorageLocation[i3].KeyRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].KeySelector, + To: reference.To{ + List: &v1beta1.ObjectList{}, + Managed: &v1beta1.Object{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].Key") + } + mg.Spec.InitProvider.StorageLocation[i3].Key = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].KeyRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.StorageLocation[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].RoleArn") + } + mg.Spec.InitProvider.StorageLocation[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].RoleArnRef = rsp.ResolvedReference + } return nil @@ -121,6 +175,38 @@ func (mg *Fleet) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.InstanceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BuildID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BuildIDRef, + Selector: mg.Spec.InitProvider.BuildIDSelector, + To: reference.To{ + List: &BuildList{}, + Managed: &Build{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BuildID") + } + mg.Spec.InitProvider.BuildID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BuildIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.InstanceRoleArnRef, + Selector: mg.Spec.InitProvider.InstanceRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceRoleArn") + } + mg.Spec.InitProvider.InstanceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceRoleArnRef = rsp.ResolvedReference + return nil } @@ -147,6 +233,22 @@ func (mg *GameSessionQueue) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.NotificationTarget = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NotificationTargetRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NotificationTarget), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.NotificationTargetRef, + Selector: mg.Spec.InitProvider.NotificationTargetSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NotificationTarget") + } + mg.Spec.InitProvider.NotificationTarget = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NotificationTargetRef = rsp.ResolvedReference + return nil } @@ -210,6 +312,60 @@ func (mg *Script) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.StorageLocation[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageLocation[i3].RoleArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.StorageLocation[i3].BucketRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].Bucket") + } + mg.Spec.InitProvider.StorageLocation[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].BucketRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].Key), + Extract: resource.ExtractParamPath("key", false), + Reference: mg.Spec.InitProvider.StorageLocation[i3].KeyRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].KeySelector, + To: reference.To{ + List: &v1beta1.ObjectList{}, + Managed: &v1beta1.Object{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].Key") + } + mg.Spec.InitProvider.StorageLocation[i3].Key = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].KeyRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLocation[i3].RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.StorageLocation[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.StorageLocation[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLocation[i3].RoleArn") + } + mg.Spec.InitProvider.StorageLocation[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLocation[i3].RoleArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/gamelift/v1beta1/zz_script_types.go b/apis/gamelift/v1beta1/zz_script_types.go index 08931601ab..ffa1fbac39 100755 --- a/apis/gamelift/v1beta1/zz_script_types.go +++ b/apis/gamelift/v1beta1/zz_script_types.go @@ -96,8 +96,46 @@ type ScriptParameters struct { type ScriptStorageLocationInitParameters struct { + // Name of your S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + + // Name of the zip file containing your script files. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Object + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key",false) + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Reference to a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeyRef *v1.Reference `json:"keyRef,omitempty" tf:"-"` + + // Selector for a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeySelector *v1.Selector `json:"keySelector,omitempty" tf:"-"` + // A specific version of the file. If not set, the latest version of the file is retrieved. ObjectVersion *string `json:"objectVersion,omitempty" tf:"object_version,omitempty"` + + // ARN of the access role that allows Amazon GameLift to access your S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type ScriptStorageLocationObservation struct { diff --git a/apis/glacier/v1beta1/zz_generated.deepcopy.go b/apis/glacier/v1beta1/zz_generated.deepcopy.go index 771716cbe3..05366f6a8a 100644 --- a/apis/glacier/v1beta1/zz_generated.deepcopy.go +++ b/apis/glacier/v1beta1/zz_generated.deepcopy.go @@ -27,6 +27,21 @@ func (in *NotificationInitParameters) DeepCopyInto(out *NotificationInitParamete } } } + if in.SnsTopic != nil { + in, out := &in.SnsTopic, &out.SnsTopic + *out = new(string) + **out = **in + } + if in.SnsTopicRef != nil { + in, out := &in.SnsTopicRef, &out.SnsTopicRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicSelector != nil { + in, out := &in.SnsTopicSelector, &out.SnsTopicSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationInitParameters. @@ -258,6 +273,21 @@ func (in *VaultLockInitParameters) DeepCopyInto(out *VaultLockInitParameters) { *out = new(string) **out = **in } + if in.VaultName != nil { + in, out := &in.VaultName, &out.VaultName + *out = new(string) + **out = **in + } + if in.VaultNameRef != nil { + in, out := &in.VaultNameRef, &out.VaultNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VaultNameSelector != nil { + in, out := &in.VaultNameSelector, &out.VaultNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultLockInitParameters. diff --git a/apis/glacier/v1beta1/zz_generated.resolvers.go b/apis/glacier/v1beta1/zz_generated.resolvers.go index b1d7bc24c5..9863168a5c 100644 --- a/apis/glacier/v1beta1/zz_generated.resolvers.go +++ b/apis/glacier/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *Vault) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Notification[i3].SnsTopic = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Notification[i3].SnsTopicRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Notification); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Notification[i3].SnsTopic), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Notification[i3].SnsTopicRef, + Selector: mg.Spec.InitProvider.Notification[i3].SnsTopicSelector, + To: reference.To{ + List: &v1beta1.TopicList{}, + Managed: &v1beta1.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Notification[i3].SnsTopic") + } + mg.Spec.InitProvider.Notification[i3].SnsTopic = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Notification[i3].SnsTopicRef = rsp.ResolvedReference + } return nil @@ -66,5 +84,21 @@ func (mg *VaultLock) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.VaultName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VaultNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VaultName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VaultNameRef, + Selector: mg.Spec.InitProvider.VaultNameSelector, + To: reference.To{ + List: &VaultList{}, + Managed: &Vault{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VaultName") + } + mg.Spec.InitProvider.VaultName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VaultNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/glacier/v1beta1/zz_vault_types.go b/apis/glacier/v1beta1/zz_vault_types.go index 54600a0b02..5cfd5fb050 100755 --- a/apis/glacier/v1beta1/zz_vault_types.go +++ b/apis/glacier/v1beta1/zz_vault_types.go @@ -22,6 +22,19 @@ type NotificationInitParameters struct { // You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events. // +listType=set Events []*string `json:"events,omitempty" tf:"events,omitempty"` + + // The SNS Topic ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"` + + // Reference to a Topic in sns to populate snsTopic. + // +kubebuilder:validation:Optional + SnsTopicRef *v1.Reference `json:"snsTopicRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopic. + // +kubebuilder:validation:Optional + SnsTopicSelector *v1.Selector `json:"snsTopicSelector,omitempty" tf:"-"` } type NotificationObservation struct { diff --git a/apis/glacier/v1beta1/zz_vaultlock_types.go b/apis/glacier/v1beta1/zz_vaultlock_types.go index d1674ae93a..24ad234543 100755 --- a/apis/glacier/v1beta1/zz_vaultlock_types.go +++ b/apis/glacier/v1beta1/zz_vaultlock_types.go @@ -27,6 +27,18 @@ type VaultLockInitParameters struct { // JSON string containing the IAM policy to apply as the Glacier Vault Lock policy. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // The name of the Glacier Vault. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glacier/v1beta1.Vault + VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"` + + // Reference to a Vault in glacier to populate vaultName. + // +kubebuilder:validation:Optional + VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"` + + // Selector for a Vault in glacier to populate vaultName. + // +kubebuilder:validation:Optional + VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"` } type VaultLockObservation struct { diff --git a/apis/globalaccelerator/v1beta1/zz_endpointgroup_types.go b/apis/globalaccelerator/v1beta1/zz_endpointgroup_types.go index 8691f3f51e..645d5dc0a6 100755 --- a/apis/globalaccelerator/v1beta1/zz_endpointgroup_types.go +++ b/apis/globalaccelerator/v1beta1/zz_endpointgroup_types.go @@ -76,6 +76,18 @@ type EndpointGroupInitParameters struct { // The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP. HealthCheckProtocol *string `json:"healthCheckProtocol,omitempty" tf:"health_check_protocol,omitempty"` + // The Amazon Resource Name (ARN) of the listener. + // +crossplane:generate:reference:type=Listener + ListenerArn *string `json:"listenerArn,omitempty" tf:"listener_arn,omitempty"` + + // Reference to a Listener to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnRef *v1.Reference `json:"listenerArnRef,omitempty" tf:"-"` + + // Selector for a Listener to populate listenerArn. + // +kubebuilder:validation:Optional + ListenerArnSelector *v1.Selector `json:"listenerArnSelector,omitempty" tf:"-"` + // Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below. PortOverride []PortOverrideInitParameters `json:"portOverride,omitempty" tf:"port_override,omitempty"` diff --git a/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go b/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go index 8307918c8e..222c1e3ba0 100644 --- a/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go +++ b/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go @@ -589,6 +589,21 @@ func (in *EndpointGroupInitParameters) DeepCopyInto(out *EndpointGroupInitParame *out = new(string) **out = **in } + if in.ListenerArn != nil { + in, out := &in.ListenerArn, &out.ListenerArn + *out = new(string) + **out = **in + } + if in.ListenerArnRef != nil { + in, out := &in.ListenerArnRef, &out.ListenerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ListenerArnSelector != nil { + in, out := &in.ListenerArnSelector, &out.ListenerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PortOverride != nil { in, out := &in.PortOverride, &out.PortOverride *out = make([]PortOverrideInitParameters, len(*in)) @@ -939,6 +954,21 @@ func (in *Listener) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ListenerInitParameters) DeepCopyInto(out *ListenerInitParameters) { *out = *in + if in.AcceleratorArn != nil { + in, out := &in.AcceleratorArn, &out.AcceleratorArn + *out = new(string) + **out = **in + } + if in.AcceleratorArnRef != nil { + in, out := &in.AcceleratorArnRef, &out.AcceleratorArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AcceleratorArnSelector != nil { + in, out := &in.AcceleratorArnSelector, &out.AcceleratorArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ClientAffinity != nil { in, out := &in.ClientAffinity, &out.ClientAffinity *out = new(string) diff --git a/apis/globalaccelerator/v1beta1/zz_generated.resolvers.go b/apis/globalaccelerator/v1beta1/zz_generated.resolvers.go index f6f967a03e..8e78080060 100644 --- a/apis/globalaccelerator/v1beta1/zz_generated.resolvers.go +++ b/apis/globalaccelerator/v1beta1/zz_generated.resolvers.go @@ -35,6 +35,22 @@ func (mg *EndpointGroup) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ListenerArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ListenerArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ListenerArnRef, + Selector: mg.Spec.InitProvider.ListenerArnSelector, + To: reference.To{ + List: &ListenerList{}, + Managed: &Listener{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ListenerArn") + } + mg.Spec.InitProvider.ListenerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ListenerArnRef = rsp.ResolvedReference + return nil } @@ -61,5 +77,21 @@ func (mg *Listener) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.AcceleratorArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AcceleratorArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AcceleratorArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AcceleratorArnRef, + Selector: mg.Spec.InitProvider.AcceleratorArnSelector, + To: reference.To{ + List: &AcceleratorList{}, + Managed: &Accelerator{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AcceleratorArn") + } + mg.Spec.InitProvider.AcceleratorArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AcceleratorArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/globalaccelerator/v1beta1/zz_listener_types.go b/apis/globalaccelerator/v1beta1/zz_listener_types.go index 1694084e12..b20b955eb9 100755 --- a/apis/globalaccelerator/v1beta1/zz_listener_types.go +++ b/apis/globalaccelerator/v1beta1/zz_listener_types.go @@ -19,6 +19,18 @@ import ( type ListenerInitParameters struct { + // The Amazon Resource Name (ARN) of your accelerator. + // +crossplane:generate:reference:type=Accelerator + AcceleratorArn *string `json:"acceleratorArn,omitempty" tf:"accelerator_arn,omitempty"` + + // Reference to a Accelerator to populate acceleratorArn. + // +kubebuilder:validation:Optional + AcceleratorArnRef *v1.Reference `json:"acceleratorArnRef,omitempty" tf:"-"` + + // Selector for a Accelerator to populate acceleratorArn. + // +kubebuilder:validation:Optional + AcceleratorArnSelector *v1.Selector `json:"acceleratorArnSelector,omitempty" tf:"-"` + // Direct all requests from a user to the same endpoint. Valid values are NONE, SOURCE_IP. Default: NONE. If NONE, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If SOURCE_IP, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value. ClientAffinity *string `json:"clientAffinity,omitempty" tf:"client_affinity,omitempty"` diff --git a/apis/glue/v1beta1/zz_connection_types.go b/apis/glue/v1beta1/zz_connection_types.go index 8121c6dcfa..d5d43eeb3e 100755 --- a/apis/glue/v1beta1/zz_connection_types.go +++ b/apis/glue/v1beta1/zz_connection_types.go @@ -107,9 +107,35 @@ type ConnectionParameters struct { type PhysicalConnectionRequirementsInitParameters struct { + // The availability zone of the connection. This field is redundant and implied by subnet_id, but is currently an api requirement. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("availability_zone",false) + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // Reference to a Subnet in ec2 to populate availabilityZone. + // +kubebuilder:validation:Optional + AvailabilityZoneRef *v1.Reference `json:"availabilityZoneRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate availabilityZone. + // +kubebuilder:validation:Optional + AvailabilityZoneSelector *v1.Selector `json:"availabilityZoneSelector,omitempty" tf:"-"` + // The security group ID list used by the connection. // +listType=set SecurityGroupIDList []*string `json:"securityGroupIdList,omitempty" tf:"security_group_id_list,omitempty"` + + // The subnet ID used by the connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type PhysicalConnectionRequirementsObservation struct { diff --git a/apis/glue/v1beta1/zz_crawler_types.go b/apis/glue/v1beta1/zz_crawler_types.go index 5c4a1f8f72..892648c9f0 100755 --- a/apis/glue/v1beta1/zz_crawler_types.go +++ b/apis/glue/v1beta1/zz_crawler_types.go @@ -22,6 +22,18 @@ type CatalogTargetInitParameters struct { // The name of the connection to use to connect to the JDBC target. ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"` + // Glue database where results are written. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogDatabase + DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` + + // Reference to a CatalogDatabase in glue to populate databaseName. + // +kubebuilder:validation:Optional + DatabaseNameRef *v1.Reference `json:"databaseNameRef,omitempty" tf:"-"` + + // Selector for a CatalogDatabase in glue to populate databaseName. + // +kubebuilder:validation:Optional + DatabaseNameSelector *v1.Selector `json:"databaseNameSelector,omitempty" tf:"-"` + // The ARN of the dead-letter SQS queue. DlqEventQueueArn *string `json:"dlqEventQueueArn,omitempty" tf:"dlq_event_queue_arn,omitempty"` @@ -93,6 +105,18 @@ type CrawlerInitParameters struct { // JSON string of configuration information. For more details see Setting Crawler Configuration Options. Configuration *string `json:"configuration,omitempty" tf:"configuration,omitempty"` + // Glue database where results are written. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogDatabase + DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` + + // Reference to a CatalogDatabase in glue to populate databaseName. + // +kubebuilder:validation:Optional + DatabaseNameRef *v1.Reference `json:"databaseNameRef,omitempty" tf:"-"` + + // Selector for a CatalogDatabase in glue to populate databaseName. + // +kubebuilder:validation:Optional + DatabaseNameSelector *v1.Selector `json:"databaseNameSelector,omitempty" tf:"-"` + // List of nested Delta Lake target arguments. See Delta Target below. DeltaTarget []DeltaTargetInitParameters `json:"deltaTarget,omitempty" tf:"delta_target,omitempty"` @@ -123,6 +147,19 @@ type CrawlerInitParameters struct { // A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.. See Recrawl Policy below. RecrawlPolicy []RecrawlPolicyInitParameters `json:"recrawlPolicy,omitempty" tf:"recrawl_policy,omitempty"` + // The IAM role friendly name (including path without leading slash), or ARN of an IAM role, used by the crawler to access other resources. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + // List of nested Amazon S3 target arguments. See S3 Target below. S3Target []S3TargetInitParameters `json:"s3Target,omitempty" tf:"s3_target,omitempty"` @@ -529,6 +566,18 @@ type IcebergTargetParameters struct { type JdbcTargetInitParameters struct { + // The name of the connection to use to connect to the JDBC target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Connection + ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"` + + // Reference to a Connection in glue to populate connectionName. + // +kubebuilder:validation:Optional + ConnectionNameRef *v1.Reference `json:"connectionNameRef,omitempty" tf:"-"` + + // Selector for a Connection in glue to populate connectionName. + // +kubebuilder:validation:Optional + ConnectionNameSelector *v1.Selector `json:"connectionNameSelector,omitempty" tf:"-"` + // Specify a value of RAWTYPES or COMMENTS to enable additional metadata intable responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database. EnableAdditionalMetadata []*string `json:"enableAdditionalMetadata,omitempty" tf:"enable_additional_metadata,omitempty"` @@ -632,6 +681,18 @@ type LineageConfigurationParameters struct { type MongodbTargetInitParameters struct { + // The name of the connection to use to connect to the JDBC target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Connection + ConnectionName *string `json:"connectionName,omitempty" tf:"connection_name,omitempty"` + + // Reference to a Connection in glue to populate connectionName. + // +kubebuilder:validation:Optional + ConnectionNameRef *v1.Reference `json:"connectionNameRef,omitempty" tf:"-"` + + // Selector for a Connection in glue to populate connectionName. + // +kubebuilder:validation:Optional + ConnectionNameSelector *v1.Selector `json:"connectionNameSelector,omitempty" tf:"-"` + // The name of the DynamoDB table to crawl. Path *string `json:"path,omitempty" tf:"path,omitempty"` diff --git a/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go b/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go index d5b7e42911..c3a9127a6f 100755 --- a/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go +++ b/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go @@ -19,6 +19,19 @@ import ( type ConnectionPasswordEncryptionInitParameters struct { + // A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + AwsKMSKeyID *string `json:"awsKmsKeyId,omitempty" tf:"aws_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate awsKmsKeyId. + // +kubebuilder:validation:Optional + AwsKMSKeyIDRef *v1.Reference `json:"awsKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate awsKmsKeyId. + // +kubebuilder:validation:Optional + AwsKMSKeyIDSelector *v1.Selector `json:"awsKmsKeyIdSelector,omitempty" tf:"-"` + // When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption. ReturnConnectionPasswordEncrypted *bool `json:"returnConnectionPasswordEncrypted,omitempty" tf:"return_connection_password_encrypted,omitempty"` } @@ -123,6 +136,19 @@ type EncryptionAtRestInitParameters struct { // The encryption-at-rest mode for encrypting Data Catalog data. Valid values are DISABLED and SSE-KMS. CatalogEncryptionMode *string `json:"catalogEncryptionMode,omitempty" tf:"catalog_encryption_mode,omitempty"` + + // The ARN of the AWS KMS key to use for encryption at rest. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SseAwsKMSKeyID *string `json:"sseAwsKmsKeyId,omitempty" tf:"sse_aws_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate sseAwsKmsKeyId. + // +kubebuilder:validation:Optional + SseAwsKMSKeyIDRef *v1.Reference `json:"sseAwsKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate sseAwsKmsKeyId. + // +kubebuilder:validation:Optional + SseAwsKMSKeyIDSelector *v1.Selector `json:"sseAwsKmsKeyIdSelector,omitempty" tf:"-"` } type EncryptionAtRestObservation struct { diff --git a/apis/glue/v1beta1/zz_generated.deepcopy.go b/apis/glue/v1beta1/zz_generated.deepcopy.go index 704823fbc3..3cfa460292 100644 --- a/apis/glue/v1beta1/zz_generated.deepcopy.go +++ b/apis/glue/v1beta1/zz_generated.deepcopy.go @@ -32,6 +32,36 @@ func (in *ActionsInitParameters) DeepCopyInto(out *ActionsInitParameters) { (*out)[key] = outVal } } + if in.CrawlerName != nil { + in, out := &in.CrawlerName, &out.CrawlerName + *out = new(string) + **out = **in + } + if in.CrawlerNameRef != nil { + in, out := &in.CrawlerNameRef, &out.CrawlerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CrawlerNameSelector != nil { + in, out := &in.CrawlerNameSelector, &out.CrawlerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.JobName != nil { + in, out := &in.JobName, &out.JobName + *out = new(string) + **out = **in + } + if in.JobNameRef != nil { + in, out := &in.JobNameRef, &out.JobNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.JobNameSelector != nil { + in, out := &in.JobNameSelector, &out.JobNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NotificationProperty != nil { in, out := &in.NotificationProperty, &out.NotificationProperty *out = make([]ActionsNotificationPropertyInitParameters, len(*in)) @@ -1040,6 +1070,21 @@ func (in *CatalogTargetInitParameters) DeepCopyInto(out *CatalogTargetInitParame *out = new(string) **out = **in } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.DatabaseNameRef != nil { + in, out := &in.DatabaseNameRef, &out.DatabaseNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DatabaseNameSelector != nil { + in, out := &in.DatabaseNameSelector, &out.DatabaseNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DlqEventQueueArn != nil { in, out := &in.DlqEventQueueArn, &out.DlqEventQueueArn *out = new(string) @@ -1416,6 +1461,21 @@ func (in *CloudwatchEncryptionInitParameters) DeepCopyInto(out *CloudwatchEncryp *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchEncryptionInitParameters. @@ -1739,6 +1799,36 @@ func (in *ConditionsInitParameters) DeepCopyInto(out *ConditionsInitParameters) *out = new(string) **out = **in } + if in.CrawlerName != nil { + in, out := &in.CrawlerName, &out.CrawlerName + *out = new(string) + **out = **in + } + if in.CrawlerNameRef != nil { + in, out := &in.CrawlerNameRef, &out.CrawlerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CrawlerNameSelector != nil { + in, out := &in.CrawlerNameSelector, &out.CrawlerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.JobName != nil { + in, out := &in.JobName, &out.JobName + *out = new(string) + **out = **in + } + if in.JobNameRef != nil { + in, out := &in.JobNameRef, &out.JobNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.JobNameSelector != nil { + in, out := &in.JobNameSelector, &out.JobNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LogicalOperator != nil { in, out := &in.LogicalOperator, &out.LogicalOperator *out = new(string) @@ -2146,6 +2236,21 @@ func (in *ConnectionParameters) DeepCopy() *ConnectionParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConnectionPasswordEncryptionInitParameters) DeepCopyInto(out *ConnectionPasswordEncryptionInitParameters) { *out = *in + if in.AwsKMSKeyID != nil { + in, out := &in.AwsKMSKeyID, &out.AwsKMSKeyID + *out = new(string) + **out = **in + } + if in.AwsKMSKeyIDRef != nil { + in, out := &in.AwsKMSKeyIDRef, &out.AwsKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AwsKMSKeyIDSelector != nil { + in, out := &in.AwsKMSKeyIDSelector, &out.AwsKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ReturnConnectionPasswordEncrypted != nil { in, out := &in.ReturnConnectionPasswordEncrypted, &out.ReturnConnectionPasswordEncrypted *out = new(bool) @@ -2311,6 +2416,21 @@ func (in *CrawlerInitParameters) DeepCopyInto(out *CrawlerInitParameters) { *out = new(string) **out = **in } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.DatabaseNameRef != nil { + in, out := &in.DatabaseNameRef, &out.DatabaseNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DatabaseNameSelector != nil { + in, out := &in.DatabaseNameSelector, &out.DatabaseNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DeltaTarget != nil { in, out := &in.DeltaTarget, &out.DeltaTarget *out = make([]DeltaTargetInitParameters, len(*in)) @@ -2379,6 +2499,21 @@ func (in *CrawlerInitParameters) DeepCopyInto(out *CrawlerInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3Target != nil { in, out := &in.S3Target, &out.S3Target *out = make([]S3TargetInitParameters, len(*in)) @@ -3669,6 +3804,21 @@ func (in *EncryptionAtRestInitParameters) DeepCopyInto(out *EncryptionAtRestInit *out = new(string) **out = **in } + if in.SseAwsKMSKeyID != nil { + in, out := &in.SseAwsKMSKeyID, &out.SseAwsKMSKeyID + *out = new(string) + **out = **in + } + if in.SseAwsKMSKeyIDRef != nil { + in, out := &in.SseAwsKMSKeyIDRef, &out.SseAwsKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SseAwsKMSKeyIDSelector != nil { + in, out := &in.SseAwsKMSKeyIDSelector, &out.SseAwsKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionAtRestInitParameters. @@ -4494,6 +4644,21 @@ func (in *JSONClassifierParameters) DeepCopy() *JSONClassifierParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *JdbcTargetInitParameters) DeepCopyInto(out *JdbcTargetInitParameters) { *out = *in + if in.ConnectionName != nil { + in, out := &in.ConnectionName, &out.ConnectionName + *out = new(string) + **out = **in + } + if in.ConnectionNameRef != nil { + in, out := &in.ConnectionNameRef, &out.ConnectionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionNameSelector != nil { + in, out := &in.ConnectionNameSelector, &out.ConnectionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EnableAdditionalMetadata != nil { in, out := &in.EnableAdditionalMetadata, &out.EnableAdditionalMetadata *out = make([]*string, len(*in)) @@ -4672,6 +4837,21 @@ func (in *JobBookmarksEncryptionInitParameters) DeepCopyInto(out *JobBookmarksEn *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobBookmarksEncryptionInitParameters. @@ -4841,6 +5021,21 @@ func (in *JobInitParameters) DeepCopyInto(out *JobInitParameters) { *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecurityConfiguration != nil { in, out := &in.SecurityConfiguration, &out.SecurityConfiguration *out = new(string) @@ -5420,6 +5615,21 @@ func (in *LineageConfigurationParameters) DeepCopy() *LineageConfigurationParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MongodbTargetInitParameters) DeepCopyInto(out *MongodbTargetInitParameters) { *out = *in + if in.ConnectionName != nil { + in, out := &in.ConnectionName, &out.ConnectionName + *out = new(string) + **out = **in + } + if in.ConnectionNameRef != nil { + in, out := &in.ConnectionNameRef, &out.ConnectionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectionNameSelector != nil { + in, out := &in.ConnectionNameSelector, &out.ConnectionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Path != nil { in, out := &in.Path, &out.Path *out = new(string) @@ -5829,6 +6039,21 @@ func (in *PartitionKeysParameters) DeepCopy() *PartitionKeysParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PhysicalConnectionRequirementsInitParameters) DeepCopyInto(out *PhysicalConnectionRequirementsInitParameters) { *out = *in + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.AvailabilityZoneRef != nil { + in, out := &in.AvailabilityZoneRef, &out.AvailabilityZoneRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AvailabilityZoneSelector != nil { + in, out := &in.AvailabilityZoneSelector, &out.AvailabilityZoneSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SecurityGroupIDList != nil { in, out := &in.SecurityGroupIDList, &out.SecurityGroupIDList *out = make([]*string, len(*in)) @@ -5840,6 +6065,21 @@ func (in *PhysicalConnectionRequirementsInitParameters) DeepCopyInto(out *Physic } } } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhysicalConnectionRequirementsInitParameters. @@ -6635,6 +6875,21 @@ func (in *ResourceUrisParameters) DeepCopy() *ResourceUrisParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3EncryptionInitParameters) DeepCopyInto(out *S3EncryptionInitParameters) { *out = *in + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3EncryptionMode != nil { in, out := &in.S3EncryptionMode, &out.S3EncryptionMode *out = new(string) @@ -7075,6 +7330,21 @@ func (in *SchemaInitParameters) DeepCopyInto(out *SchemaInitParameters) { *out = new(string) **out = **in } + if in.RegistryArn != nil { + in, out := &in.RegistryArn, &out.RegistryArn + *out = new(string) + **out = **in + } + if in.RegistryArnRef != nil { + in, out := &in.RegistryArnRef, &out.RegistryArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RegistryArnSelector != nil { + in, out := &in.RegistryArnSelector, &out.RegistryArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SchemaDefinition != nil { in, out := &in.SchemaDefinition, &out.SchemaDefinition *out = new(string) diff --git a/apis/glue/v1beta1/zz_generated.resolvers.go b/apis/glue/v1beta1/zz_generated.resolvers.go index 6984036b48..c566061020 100644 --- a/apis/glue/v1beta1/zz_generated.resolvers.go +++ b/apis/glue/v1beta1/zz_generated.resolvers.go @@ -85,6 +85,42 @@ func (mg *Connection) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.PhysicalConnectionRequirements[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PhysicalConnectionRequirements[i3].SubnetIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.PhysicalConnectionRequirements); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZone), + Extract: resource.ExtractParamPath("availability_zone", false), + Reference: mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZoneRef, + Selector: mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZoneSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZone") + } + mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZone = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].AvailabilityZoneRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.PhysicalConnectionRequirements); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetIDRef, + Selector: mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetID") + } + mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PhysicalConnectionRequirements[i3].SubnetIDRef = rsp.ResolvedReference + } return nil @@ -183,6 +219,92 @@ func (mg *Crawler) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.CatalogTarget); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CatalogTarget[i3].DatabaseName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CatalogTarget[i3].DatabaseNameRef, + Selector: mg.Spec.InitProvider.CatalogTarget[i3].DatabaseNameSelector, + To: reference.To{ + List: &CatalogDatabaseList{}, + Managed: &CatalogDatabase{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CatalogTarget[i3].DatabaseName") + } + mg.Spec.InitProvider.CatalogTarget[i3].DatabaseName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CatalogTarget[i3].DatabaseNameRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DatabaseName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DatabaseNameRef, + Selector: mg.Spec.InitProvider.DatabaseNameSelector, + To: reference.To{ + List: &CatalogDatabaseList{}, + Managed: &CatalogDatabase{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DatabaseName") + } + mg.Spec.InitProvider.DatabaseName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DatabaseNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.JdbcTarget); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.JdbcTarget[i3].ConnectionName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.JdbcTarget[i3].ConnectionNameRef, + Selector: mg.Spec.InitProvider.JdbcTarget[i3].ConnectionNameSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.JdbcTarget[i3].ConnectionName") + } + mg.Spec.InitProvider.JdbcTarget[i3].ConnectionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.JdbcTarget[i3].ConnectionNameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.MongodbTarget); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MongodbTarget[i3].ConnectionName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.MongodbTarget[i3].ConnectionNameRef, + Selector: mg.Spec.InitProvider.MongodbTarget[i3].ConnectionNameSelector, + To: reference.To{ + List: &ConnectionList{}, + Managed: &Connection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MongodbTarget[i3].ConnectionName") + } + mg.Spec.InitProvider.MongodbTarget[i3].ConnectionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MongodbTarget[i3].ConnectionNameRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + return nil } @@ -233,6 +355,46 @@ func (mg *DataCatalogEncryptionSettings) ResolveReferences(ctx context.Context, } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DataCatalogEncryptionSettings); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyIDRef, + Selector: mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyID") + } + mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].ConnectionPasswordEncryption[i4].AwsKMSKeyIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DataCatalogEncryptionSettings); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyIDRef, + Selector: mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyID") + } + mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataCatalogEncryptionSettings[i3].EncryptionAtRest[i4].SseAwsKMSKeyIDRef = rsp.ResolvedReference + + } + } return nil } @@ -260,6 +422,22 @@ func (mg *Job) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -286,6 +464,22 @@ func (mg *Schema) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RegistryArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RegistryArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegistryArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RegistryArnRef, + Selector: mg.Spec.InitProvider.RegistryArnSelector, + To: reference.To{ + List: &RegistryList{}, + Managed: &Registry{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RegistryArn") + } + mg.Spec.InitProvider.RegistryArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RegistryArnRef = rsp.ResolvedReference + return nil } @@ -356,6 +550,66 @@ func (mg *SecurityConfiguration) ResolveReferences(ctx context.Context, c client } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArnSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArn") + } + mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionConfiguration[i3].CloudwatchEncryption[i4].KMSKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArnSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArn") + } + mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionConfiguration[i3].JobBookmarksEncryption[i4].KMSKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArnSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArn") + } + mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionConfiguration[i3].S3Encryption[i4].KMSKeyArnRef = rsp.ResolvedReference + + } + } return nil } @@ -443,6 +697,82 @@ func (mg *Trigger) ResolveReferences(ctx context.Context, c client.Reader) error } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Actions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Actions[i3].CrawlerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Actions[i3].CrawlerNameRef, + Selector: mg.Spec.InitProvider.Actions[i3].CrawlerNameSelector, + To: reference.To{ + List: &CrawlerList{}, + Managed: &Crawler{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Actions[i3].CrawlerName") + } + mg.Spec.InitProvider.Actions[i3].CrawlerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Actions[i3].CrawlerNameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Actions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Actions[i3].JobName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Actions[i3].JobNameRef, + Selector: mg.Spec.InitProvider.Actions[i3].JobNameSelector, + To: reference.To{ + List: &JobList{}, + Managed: &Job{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Actions[i3].JobName") + } + mg.Spec.InitProvider.Actions[i3].JobName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Actions[i3].JobNameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicate); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Predicate[i3].Conditions); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerNameRef, + Selector: mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerNameSelector, + To: reference.To{ + List: &CrawlerList{}, + Managed: &Crawler{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerName") + } + mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicate[i3].Conditions[i4].CrawlerNameRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicate); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Predicate[i3].Conditions); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobNameRef, + Selector: mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobNameSelector, + To: reference.To{ + List: &JobList{}, + Managed: &Job{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobName") + } + mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicate[i3].Conditions[i4].JobNameRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/glue/v1beta1/zz_job_types.go b/apis/glue/v1beta1/zz_job_types.go index 68aa1cf6b8..cbebb5e8d8 100755 --- a/apis/glue/v1beta1/zz_job_types.go +++ b/apis/glue/v1beta1/zz_job_types.go @@ -125,6 +125,19 @@ type JobInitParameters struct { // The number of workers of a defined workerType that are allocated when a job runs. NumberOfWorkers *float64 `json:"numberOfWorkers,omitempty" tf:"number_of_workers,omitempty"` + // – The ARN of the IAM role associated with this job. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The name of the Security Configuration to be associated with the job. SecurityConfiguration *string `json:"securityConfiguration,omitempty" tf:"security_configuration,omitempty"` diff --git a/apis/glue/v1beta1/zz_schema_types.go b/apis/glue/v1beta1/zz_schema_types.go index 52ba347d2b..0ef837bbbc 100755 --- a/apis/glue/v1beta1/zz_schema_types.go +++ b/apis/glue/v1beta1/zz_schema_types.go @@ -28,6 +28,19 @@ type SchemaInitParameters struct { // – A description of the schema. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ARN of the Glue Registry to create the schema in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Registry + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RegistryArn *string `json:"registryArn,omitempty" tf:"registry_arn,omitempty"` + + // Reference to a Registry in glue to populate registryArn. + // +kubebuilder:validation:Optional + RegistryArnRef *v1.Reference `json:"registryArnRef,omitempty" tf:"-"` + + // Selector for a Registry in glue to populate registryArn. + // +kubebuilder:validation:Optional + RegistryArnSelector *v1.Selector `json:"registryArnSelector,omitempty" tf:"-"` + // The schema definition using the data_format setting for schema_name. SchemaDefinition *string `json:"schemaDefinition,omitempty" tf:"schema_definition,omitempty"` diff --git a/apis/glue/v1beta1/zz_securityconfiguration_types.go b/apis/glue/v1beta1/zz_securityconfiguration_types.go index 3d8a6faadf..00440f995a 100755 --- a/apis/glue/v1beta1/zz_securityconfiguration_types.go +++ b/apis/glue/v1beta1/zz_securityconfiguration_types.go @@ -21,6 +21,19 @@ type CloudwatchEncryptionInitParameters struct { // Encryption mode to use for CloudWatch data. Valid values: DISABLED, SSE-KMS. Default value: DISABLED. CloudwatchEncryptionMode *string `json:"cloudwatchEncryptionMode,omitempty" tf:"cloudwatch_encryption_mode,omitempty"` + + // Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` } type CloudwatchEncryptionObservation struct { @@ -88,6 +101,19 @@ type JobBookmarksEncryptionInitParameters struct { // Encryption mode to use for job bookmarks data. Valid values: CSE-KMS, DISABLED. Default value: DISABLED. JobBookmarksEncryptionMode *string `json:"jobBookmarksEncryptionMode,omitempty" tf:"job_bookmarks_encryption_mode,omitempty"` + + // Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` } type JobBookmarksEncryptionObservation struct { @@ -122,6 +148,19 @@ type JobBookmarksEncryptionParameters struct { type S3EncryptionInitParameters struct { + // Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Encryption mode to use for S3 data. Valid values: DISABLED, SSE-KMS, SSE-S3. Default value: DISABLED. S3EncryptionMode *string `json:"s3EncryptionMode,omitempty" tf:"s3_encryption_mode,omitempty"` } diff --git a/apis/glue/v1beta1/zz_trigger_types.go b/apis/glue/v1beta1/zz_trigger_types.go index 79f4369bf9..485708feca 100755 --- a/apis/glue/v1beta1/zz_trigger_types.go +++ b/apis/glue/v1beta1/zz_trigger_types.go @@ -23,6 +23,30 @@ type ActionsInitParameters struct { // +mapType=granular Arguments map[string]*string `json:"arguments,omitempty" tf:"arguments,omitempty"` + // The name of the crawler to be executed. Conflicts with job_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Crawler + CrawlerName *string `json:"crawlerName,omitempty" tf:"crawler_name,omitempty"` + + // Reference to a Crawler in glue to populate crawlerName. + // +kubebuilder:validation:Optional + CrawlerNameRef *v1.Reference `json:"crawlerNameRef,omitempty" tf:"-"` + + // Selector for a Crawler in glue to populate crawlerName. + // +kubebuilder:validation:Optional + CrawlerNameSelector *v1.Selector `json:"crawlerNameSelector,omitempty" tf:"-"` + + // The name of a job to be executed. Conflicts with crawler_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Job + JobName *string `json:"jobName,omitempty" tf:"job_name,omitempty"` + + // Reference to a Job in glue to populate jobName. + // +kubebuilder:validation:Optional + JobNameRef *v1.Reference `json:"jobNameRef,omitempty" tf:"-"` + + // Selector for a Job in glue to populate jobName. + // +kubebuilder:validation:Optional + JobNameSelector *v1.Selector `json:"jobNameSelector,omitempty" tf:"-"` + // Specifies configuration properties of a job run notification. See Notification Property details below. NotificationProperty []ActionsNotificationPropertyInitParameters `json:"notificationProperty,omitempty" tf:"notification_property,omitempty"` @@ -125,6 +149,30 @@ type ConditionsInitParameters struct { // The condition crawl state. Currently, the values supported are RUNNING, SUCCEEDED, CANCELLED, and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state. CrawlState *string `json:"crawlState,omitempty" tf:"crawl_state,omitempty"` + // The name of the crawler to be executed. Conflicts with job_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Crawler + CrawlerName *string `json:"crawlerName,omitempty" tf:"crawler_name,omitempty"` + + // Reference to a Crawler in glue to populate crawlerName. + // +kubebuilder:validation:Optional + CrawlerNameRef *v1.Reference `json:"crawlerNameRef,omitempty" tf:"-"` + + // Selector for a Crawler in glue to populate crawlerName. + // +kubebuilder:validation:Optional + CrawlerNameSelector *v1.Selector `json:"crawlerNameSelector,omitempty" tf:"-"` + + // The name of a job to be executed. Conflicts with crawler_name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.Job + JobName *string `json:"jobName,omitempty" tf:"job_name,omitempty"` + + // Reference to a Job in glue to populate jobName. + // +kubebuilder:validation:Optional + JobNameRef *v1.Reference `json:"jobNameRef,omitempty" tf:"-"` + + // Selector for a Job in glue to populate jobName. + // +kubebuilder:validation:Optional + JobNameSelector *v1.Selector `json:"jobNameSelector,omitempty" tf:"-"` + // A logical operator. Defaults to EQUALS. LogicalOperator *string `json:"logicalOperator,omitempty" tf:"logical_operator,omitempty"` diff --git a/apis/grafana/v1beta1/zz_generated.deepcopy.go b/apis/grafana/v1beta1/zz_generated.deepcopy.go index fe832e71be..f2d9f2d504 100644 --- a/apis/grafana/v1beta1/zz_generated.deepcopy.go +++ b/apis/grafana/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *LicenseAssociationInitParameters) DeepCopyInto(out *LicenseAssociation *out = new(string) **out = **in } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceIDRef != nil { + in, out := &in.WorkspaceIDRef, &out.WorkspaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkspaceIDSelector != nil { + in, out := &in.WorkspaceIDSelector, &out.WorkspaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationInitParameters. @@ -375,6 +390,21 @@ func (in *RoleAssociationInitParameters) DeepCopyInto(out *RoleAssociationInitPa } } } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceIDRef != nil { + in, out := &in.WorkspaceIDRef, &out.WorkspaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkspaceIDSelector != nil { + in, out := &in.WorkspaceIDSelector, &out.WorkspaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationInitParameters. @@ -751,6 +781,21 @@ func (in *WorkspaceAPIKeyInitParameters) DeepCopyInto(out *WorkspaceAPIKeyInitPa *out = new(float64) **out = **in } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceIDRef != nil { + in, out := &in.WorkspaceIDRef, &out.WorkspaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkspaceIDSelector != nil { + in, out := &in.WorkspaceIDSelector, &out.WorkspaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyInitParameters. @@ -1009,6 +1054,21 @@ func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StackSetName != nil { in, out := &in.StackSetName, &out.StackSetName *out = new(string) @@ -1508,6 +1568,21 @@ func (in *WorkspaceSAMLConfigurationInitParameters) DeepCopyInto(out *WorkspaceS *out = new(string) **out = **in } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceIDRef != nil { + in, out := &in.WorkspaceIDRef, &out.WorkspaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkspaceIDSelector != nil { + in, out := &in.WorkspaceIDSelector, &out.WorkspaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationInitParameters. diff --git a/apis/grafana/v1beta1/zz_generated.resolvers.go b/apis/grafana/v1beta1/zz_generated.resolvers.go index dc26123d29..e6870393ef 100644 --- a/apis/grafana/v1beta1/zz_generated.resolvers.go +++ b/apis/grafana/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *LicenseAssociation) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkspaceIDRef, + Selector: mg.Spec.InitProvider.WorkspaceIDSelector, + To: reference.To{ + List: &WorkspaceList{}, + Managed: &Workspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceID") + } + mg.Spec.InitProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceIDRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,22 @@ func (mg *RoleAssociation) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.WorkspaceIDRef, + Selector: mg.Spec.InitProvider.WorkspaceIDSelector, + To: reference.To{ + List: &WorkspaceList{}, + Managed: &Workspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceID") + } + mg.Spec.InitProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceIDRef = rsp.ResolvedReference + return nil } @@ -90,6 +122,22 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -116,6 +164,22 @@ func (mg *WorkspaceAPIKey) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkspaceIDRef, + Selector: mg.Spec.InitProvider.WorkspaceIDSelector, + To: reference.To{ + List: &WorkspaceList{}, + Managed: &Workspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceID") + } + mg.Spec.InitProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceIDRef = rsp.ResolvedReference + return nil } @@ -142,5 +206,21 @@ func (mg *WorkspaceSAMLConfiguration) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.WorkspaceIDRef, + Selector: mg.Spec.InitProvider.WorkspaceIDSelector, + To: reference.To{ + List: &WorkspaceList{}, + Managed: &Workspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceID") + } + mg.Spec.InitProvider.WorkspaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/grafana/v1beta1/zz_licenseassociation_types.go b/apis/grafana/v1beta1/zz_licenseassociation_types.go index 27fa2e9b24..53c179a7f3 100755 --- a/apis/grafana/v1beta1/zz_licenseassociation_types.go +++ b/apis/grafana/v1beta1/zz_licenseassociation_types.go @@ -21,6 +21,19 @@ type LicenseAssociationInitParameters struct { // The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL. LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // The workspace id. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/grafana/v1beta1.Workspace + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // Reference to a Workspace in grafana to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` + + // Selector for a Workspace in grafana to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } type LicenseAssociationObservation struct { diff --git a/apis/grafana/v1beta1/zz_roleassociation_types.go b/apis/grafana/v1beta1/zz_roleassociation_types.go index d5803005f6..90745e620f 100755 --- a/apis/grafana/v1beta1/zz_roleassociation_types.go +++ b/apis/grafana/v1beta1/zz_roleassociation_types.go @@ -29,6 +29,18 @@ type RoleAssociationInitParameters struct { // The AWS SSO user ids to be assigned the role given in role. // +listType=set UserIds []*string `json:"userIds,omitempty" tf:"user_ids,omitempty"` + + // The workspace id. + // +crossplane:generate:reference:type=Workspace + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // Reference to a Workspace to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` + + // Selector for a Workspace to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } type RoleAssociationObservation struct { diff --git a/apis/grafana/v1beta1/zz_workspace_types.go b/apis/grafana/v1beta1/zz_workspace_types.go index daa726a9a6..425d5290df 100755 --- a/apis/grafana/v1beta1/zz_workspace_types.go +++ b/apis/grafana/v1beta1/zz_workspace_types.go @@ -125,6 +125,19 @@ type WorkspaceInitParameters struct { // The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created. PermissionType *string `json:"permissionType,omitempty" tf:"permission_type,omitempty"` + // The IAM role ARN that the workspace assumes. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace. StackSetName *string `json:"stackSetName,omitempty" tf:"stack_set_name,omitempty"` diff --git a/apis/grafana/v1beta1/zz_workspaceapikey_types.go b/apis/grafana/v1beta1/zz_workspaceapikey_types.go index c8c6f0a156..f7b9d05f0a 100755 --- a/apis/grafana/v1beta1/zz_workspaceapikey_types.go +++ b/apis/grafana/v1beta1/zz_workspaceapikey_types.go @@ -27,6 +27,19 @@ type WorkspaceAPIKeyInitParameters struct { // Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days. SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"` + + // The ID of the workspace that the API key is valid for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/grafana/v1beta1.Workspace + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // Reference to a Workspace in grafana to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` + + // Selector for a Workspace in grafana to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } type WorkspaceAPIKeyObservation struct { diff --git a/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go b/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go index bb53b95294..768d557e94 100755 --- a/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go +++ b/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go @@ -54,6 +54,18 @@ type WorkspaceSAMLConfigurationInitParameters struct { // The role assertion. RoleAssertion *string `json:"roleAssertion,omitempty" tf:"role_assertion,omitempty"` + + // The workspace id. + // +crossplane:generate:reference:type=Workspace + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // Reference to a Workspace to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` + + // Selector for a Workspace to populate workspaceId. + // +kubebuilder:validation:Optional + WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } type WorkspaceSAMLConfigurationObservation struct { diff --git a/apis/guardduty/v1beta1/zz_generated.deepcopy.go b/apis/guardduty/v1beta1/zz_generated.deepcopy.go index 71947cb859..1b4636d209 100644 --- a/apis/guardduty/v1beta1/zz_generated.deepcopy.go +++ b/apis/guardduty/v1beta1/zz_generated.deepcopy.go @@ -1233,6 +1233,36 @@ func (in *Member) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MemberInitParameters) DeepCopyInto(out *MemberInitParameters) { *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.AccountIDRef != nil { + in, out := &in.AccountIDRef, &out.AccountIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AccountIDSelector != nil { + in, out := &in.AccountIDSelector, &out.AccountIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DetectorID != nil { + in, out := &in.DetectorID, &out.DetectorID + *out = new(string) + **out = **in + } + if in.DetectorIDRef != nil { + in, out := &in.DetectorIDRef, &out.DetectorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DetectorIDSelector != nil { + in, out := &in.DetectorIDSelector, &out.DetectorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DisableEmailNotification != nil { in, out := &in.DisableEmailNotification, &out.DisableEmailNotification *out = new(bool) diff --git a/apis/guardduty/v1beta1/zz_generated.resolvers.go b/apis/guardduty/v1beta1/zz_generated.resolvers.go index 75a1efc3c5..b090085b3a 100644 --- a/apis/guardduty/v1beta1/zz_generated.resolvers.go +++ b/apis/guardduty/v1beta1/zz_generated.resolvers.go @@ -78,5 +78,37 @@ func (mg *Member) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.DetectorID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DetectorIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AccountID), + Extract: resource.ExtractParamPath("account_id", true), + Reference: mg.Spec.InitProvider.AccountIDRef, + Selector: mg.Spec.InitProvider.AccountIDSelector, + To: reference.To{ + List: &DetectorList{}, + Managed: &Detector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AccountID") + } + mg.Spec.InitProvider.AccountID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AccountIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DetectorID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DetectorIDRef, + Selector: mg.Spec.InitProvider.DetectorIDSelector, + To: reference.To{ + List: &DetectorList{}, + Managed: &Detector{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DetectorID") + } + mg.Spec.InitProvider.DetectorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DetectorIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/guardduty/v1beta1/zz_member_types.go b/apis/guardduty/v1beta1/zz_member_types.go index 343af15080..25718afd4f 100755 --- a/apis/guardduty/v1beta1/zz_member_types.go +++ b/apis/guardduty/v1beta1/zz_member_types.go @@ -19,6 +19,32 @@ import ( type MemberInitParameters struct { + // AWS account ID for member account. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("account_id",true) + AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + + // Reference to a Detector in guardduty to populate accountId. + // +kubebuilder:validation:Optional + AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` + + // Selector for a Detector in guardduty to populate accountId. + // +kubebuilder:validation:Optional + AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` + + // The detector ID of the GuardDuty account where you want to create member accounts. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"` + + // Reference to a Detector in guardduty to populate detectorId. + // +kubebuilder:validation:Optional + DetectorIDRef *v1.Reference `json:"detectorIdRef,omitempty" tf:"-"` + + // Selector for a Detector in guardduty to populate detectorId. + // +kubebuilder:validation:Optional + DetectorIDSelector *v1.Selector `json:"detectorIdSelector,omitempty" tf:"-"` + // Boolean whether an email notification is sent to the accounts. Defaults to false. DisableEmailNotification *bool `json:"disableEmailNotification,omitempty" tf:"disable_email_notification,omitempty"` diff --git a/apis/iam/v1beta1/zz_accesskey_types.go b/apis/iam/v1beta1/zz_accesskey_types.go index f2604c762f..e58d548991 100755 --- a/apis/iam/v1beta1/zz_accesskey_types.go +++ b/apis/iam/v1beta1/zz_accesskey_types.go @@ -24,6 +24,18 @@ type AccessKeyInitParameters struct { // Access key status to apply. Defaults to Active. Valid values are Active and Inactive. Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // IAM user to associate with this access key. + // +crossplane:generate:reference:type=User + User *string `json:"user,omitempty" tf:"user,omitempty"` + + // Reference to a User to populate user. + // +kubebuilder:validation:Optional + UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` + + // Selector for a User to populate user. + // +kubebuilder:validation:Optional + UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` } type AccessKeyObservation struct { diff --git a/apis/iam/v1beta1/zz_generated.deepcopy.go b/apis/iam/v1beta1/zz_generated.deepcopy.go index da7534b73e..5d88986910 100644 --- a/apis/iam/v1beta1/zz_generated.deepcopy.go +++ b/apis/iam/v1beta1/zz_generated.deepcopy.go @@ -53,6 +53,21 @@ func (in *AccessKeyInitParameters) DeepCopyInto(out *AccessKeyInitParameters) { *out = new(string) **out = **in } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } + if in.UserRef != nil { + in, out := &in.UserRef, &out.UserRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserSelector != nil { + in, out := &in.UserSelector, &out.UserSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessKeyInitParameters. @@ -764,11 +779,49 @@ func (in *GroupMembership) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GroupMembershipInitParameters) DeepCopyInto(out *GroupMembershipInitParameters) { *out = *in + if in.Group != nil { + in, out := &in.Group, &out.Group + *out = new(string) + **out = **in + } + if in.GroupRef != nil { + in, out := &in.GroupRef, &out.GroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GroupSelector != nil { + in, out := &in.GroupSelector, &out.GroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.UserRefs != nil { + in, out := &in.UserRefs, &out.UserRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UserSelector != nil { + in, out := &in.UserSelector, &out.UserSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Users != nil { + in, out := &in.Users, &out.Users + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMembershipInitParameters. @@ -1032,6 +1085,36 @@ func (in *GroupPolicyAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GroupPolicyAttachmentInitParameters) DeepCopyInto(out *GroupPolicyAttachmentInitParameters) { *out = *in + if in.Group != nil { + in, out := &in.Group, &out.Group + *out = new(string) + **out = **in + } + if in.GroupRef != nil { + in, out := &in.GroupRef, &out.GroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GroupSelector != nil { + in, out := &in.GroupSelector, &out.GroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn + *out = new(string) + **out = **in + } + if in.PolicyArnRef != nil { + in, out := &in.PolicyArnRef, &out.PolicyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyArnSelector != nil { + in, out := &in.PolicyArnSelector, &out.PolicyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAttachmentInitParameters. @@ -1156,7 +1239,7 @@ func (in *GroupPolicyAttachmentSpec) DeepCopyInto(out *GroupPolicyAttachmentSpec *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 GroupPolicyAttachmentSpec. @@ -1331,6 +1414,21 @@ func (in *InstanceProfileInitParameters) DeepCopyInto(out *InstanceProfileInitPa *out = new(string) **out = **in } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2500,6 +2598,36 @@ func (in *RolePolicyAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RolePolicyAttachmentInitParameters) DeepCopyInto(out *RolePolicyAttachmentInitParameters) { *out = *in + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn + *out = new(string) + **out = **in + } + if in.PolicyArnRef != nil { + in, out := &in.PolicyArnRef, &out.PolicyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyArnSelector != nil { + in, out := &in.PolicyArnSelector, &out.PolicyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePolicyAttachmentInitParameters. @@ -2624,7 +2752,7 @@ func (in *RolePolicyAttachmentSpec) DeepCopyInto(out *RolePolicyAttachmentSpec) *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 RolePolicyAttachmentSpec. @@ -3661,6 +3789,21 @@ func (in *ServiceSpecificCredentialInitParameters) DeepCopyInto(out *ServiceSpec *out = new(string) **out = **in } + if in.UserName != nil { + in, out := &in.UserName, &out.UserName + *out = new(string) + **out = **in + } + if in.UserNameRef != nil { + in, out := &in.UserNameRef, &out.UserNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserNameSelector != nil { + in, out := &in.UserNameSelector, &out.UserNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecificCredentialInitParameters. @@ -4076,6 +4219,44 @@ func (in *UserGroupMembership) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UserGroupMembershipInitParameters) DeepCopyInto(out *UserGroupMembershipInitParameters) { *out = *in + if in.GroupRefs != nil { + in, out := &in.GroupRefs, &out.GroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GroupSelector != nil { + in, out := &in.GroupSelector, &out.GroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Groups != nil { + in, out := &in.Groups, &out.Groups + *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.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } + if in.UserRef != nil { + in, out := &in.UserRef, &out.UserRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserSelector != nil { + in, out := &in.UserSelector, &out.UserSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserGroupMembershipInitParameters. @@ -4214,7 +4395,7 @@ func (in *UserGroupMembershipSpec) DeepCopyInto(out *UserGroupMembershipSpec) { *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 UserGroupMembershipSpec. @@ -4367,6 +4548,21 @@ func (in *UserLoginProfileInitParameters) DeepCopyInto(out *UserLoginProfileInit *out = new(string) **out = **in } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } + if in.UserRef != nil { + in, out := &in.UserRef, &out.UserRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserSelector != nil { + in, out := &in.UserSelector, &out.UserSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserLoginProfileInitParameters. @@ -4699,6 +4895,36 @@ func (in *UserPolicyAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UserPolicyAttachmentInitParameters) DeepCopyInto(out *UserPolicyAttachmentInitParameters) { *out = *in + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn + *out = new(string) + **out = **in + } + if in.PolicyArnRef != nil { + in, out := &in.PolicyArnRef, &out.PolicyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyArnSelector != nil { + in, out := &in.PolicyArnSelector, &out.PolicyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } + if in.UserRef != nil { + in, out := &in.UserRef, &out.UserRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserSelector != nil { + in, out := &in.UserSelector, &out.UserSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPolicyAttachmentInitParameters. @@ -4823,7 +5049,7 @@ func (in *UserPolicyAttachmentSpec) DeepCopyInto(out *UserPolicyAttachmentSpec) *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 UserPolicyAttachmentSpec. @@ -4898,6 +5124,21 @@ func (in *UserSSHKeyInitParameters) DeepCopyInto(out *UserSSHKeyInitParameters) *out = new(string) **out = **in } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.UsernameRef != nil { + in, out := &in.UsernameRef, &out.UsernameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UsernameSelector != nil { + in, out := &in.UsernameSelector, &out.UsernameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSSHKeyInitParameters. diff --git a/apis/iam/v1beta1/zz_generated.resolvers.go b/apis/iam/v1beta1/zz_generated.resolvers.go index da0cc3cf0a..f435d25309 100644 --- a/apis/iam/v1beta1/zz_generated.resolvers.go +++ b/apis/iam/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *AccessKey) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.User = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.User), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserRef, + Selector: mg.Spec.InitProvider.UserSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.User") + } + mg.Spec.InitProvider.User = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserRef = rsp.ResolvedReference + return nil } @@ -80,6 +96,38 @@ func (mg *GroupMembership) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.Users = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.UserRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Group), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.GroupRef, + Selector: mg.Spec.InitProvider.GroupSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Group") + } + mg.Spec.InitProvider.Group = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GroupRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Users), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.UserRefs, + Selector: mg.Spec.InitProvider.UserSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Users") + } + mg.Spec.InitProvider.Users = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.UserRefs = mrsp.ResolvedReferences + return nil } @@ -122,6 +170,38 @@ func (mg *GroupPolicyAttachment) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.PolicyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PolicyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Group), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.GroupRef, + Selector: mg.Spec.InitProvider.GroupSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Group") + } + mg.Spec.InitProvider.Group = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GroupRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PolicyArnRef, + Selector: mg.Spec.InitProvider.PolicyArnSelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyArn") + } + mg.Spec.InitProvider.PolicyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyArnRef = rsp.ResolvedReference + return nil } @@ -148,6 +228,22 @@ func (mg *InstanceProfile) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &RoleList{}, + Managed: &Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + return nil } @@ -216,6 +312,38 @@ func (mg *RolePolicyAttachment) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PolicyArnRef, + Selector: mg.Spec.InitProvider.PolicyArnSelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyArn") + } + mg.Spec.InitProvider.PolicyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &RoleList{}, + Managed: &Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + return nil } @@ -242,6 +370,22 @@ func (mg *ServiceSpecificCredential) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.UserName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserNameRef, + Selector: mg.Spec.InitProvider.UserNameSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserName") + } + mg.Spec.InitProvider.UserName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserNameRef = rsp.ResolvedReference + return nil } @@ -285,6 +429,38 @@ func (mg *UserGroupMembership) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.User = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.Groups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.GroupRefs, + Selector: mg.Spec.InitProvider.GroupSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Groups") + } + mg.Spec.InitProvider.Groups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.GroupRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.User), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserRef, + Selector: mg.Spec.InitProvider.UserSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.User") + } + mg.Spec.InitProvider.User = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserRef = rsp.ResolvedReference + return nil } @@ -311,6 +487,22 @@ func (mg *UserLoginProfile) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.User = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.User), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserRef, + Selector: mg.Spec.InitProvider.UserSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.User") + } + mg.Spec.InitProvider.User = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserRef = rsp.ResolvedReference + return nil } @@ -353,6 +545,38 @@ func (mg *UserPolicyAttachment) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.User = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PolicyArnRef, + Selector: mg.Spec.InitProvider.PolicyArnSelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyArn") + } + mg.Spec.InitProvider.PolicyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.User), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserRef, + Selector: mg.Spec.InitProvider.UserSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.User") + } + mg.Spec.InitProvider.User = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserRef = rsp.ResolvedReference + return nil } @@ -379,5 +603,21 @@ func (mg *UserSSHKey) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Username = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UsernameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Username), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UsernameRef, + Selector: mg.Spec.InitProvider.UsernameSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Username") + } + mg.Spec.InitProvider.Username = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UsernameRef = rsp.ResolvedReference + return nil } diff --git a/apis/iam/v1beta1/zz_groupmembership_types.go b/apis/iam/v1beta1/zz_groupmembership_types.go index 294b9416f7..135827fa84 100755 --- a/apis/iam/v1beta1/zz_groupmembership_types.go +++ b/apis/iam/v1beta1/zz_groupmembership_types.go @@ -19,8 +19,35 @@ import ( type GroupMembershipInitParameters struct { + // – The IAM Group name to attach the list of users to + // +crossplane:generate:reference:type=Group + Group *string `json:"group,omitempty" tf:"group,omitempty"` + + // Reference to a Group to populate group. + // +kubebuilder:validation:Optional + GroupRef *v1.Reference `json:"groupRef,omitempty" tf:"-"` + + // Selector for a Group to populate group. + // +kubebuilder:validation:Optional + GroupSelector *v1.Selector `json:"groupSelector,omitempty" tf:"-"` + // The name to identify the Group Membership Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // References to User to populate users. + // +kubebuilder:validation:Optional + UserRefs []v1.Reference `json:"userRefs,omitempty" tf:"-"` + + // Selector for a list of User to populate users. + // +kubebuilder:validation:Optional + UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` + + // A list of IAM User names to associate with the Group + // +crossplane:generate:reference:type=User + // +crossplane:generate:reference:refFieldName=UserRefs + // +crossplane:generate:reference:selectorFieldName=UserSelector + // +listType=set + Users []*string `json:"users,omitempty" tf:"users,omitempty"` } type GroupMembershipObservation struct { diff --git a/apis/iam/v1beta1/zz_grouppolicyattachment_types.go b/apis/iam/v1beta1/zz_grouppolicyattachment_types.go index 4f441ad686..daa7deb367 100755 --- a/apis/iam/v1beta1/zz_grouppolicyattachment_types.go +++ b/apis/iam/v1beta1/zz_grouppolicyattachment_types.go @@ -18,6 +18,31 @@ import ( ) type GroupPolicyAttachmentInitParameters struct { + + // The group the policy should be applied to + // +crossplane:generate:reference:type=Group + Group *string `json:"group,omitempty" tf:"group,omitempty"` + + // Reference to a Group to populate group. + // +kubebuilder:validation:Optional + GroupRef *v1.Reference `json:"groupRef,omitempty" tf:"-"` + + // Selector for a Group to populate group. + // +kubebuilder:validation:Optional + GroupSelector *v1.Selector `json:"groupSelector,omitempty" tf:"-"` + + // The ARN of the policy you want to apply + // +crossplane:generate:reference:type=Policy + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Reference to a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnRef *v1.Reference `json:"policyArnRef,omitempty" tf:"-"` + + // Selector for a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnSelector *v1.Selector `json:"policyArnSelector,omitempty" tf:"-"` } type GroupPolicyAttachmentObservation struct { diff --git a/apis/iam/v1beta1/zz_instanceprofile_types.go b/apis/iam/v1beta1/zz_instanceprofile_types.go index 64d1b0f10b..85f214df06 100755 --- a/apis/iam/v1beta1/zz_instanceprofile_types.go +++ b/apis/iam/v1beta1/zz_instanceprofile_types.go @@ -22,6 +22,18 @@ type InstanceProfileInitParameters struct { // Path to the instance profile. For more information about paths, see IAM Identifiers in the IAM User Guide. Can be a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. Can include any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercase letters. Path *string `json:"path,omitempty" tf:"path,omitempty"` + // Name of the role to add to the profile. + // +crossplane:generate:reference:type=Role + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/iam/v1beta1/zz_rolepolicyattachment_types.go b/apis/iam/v1beta1/zz_rolepolicyattachment_types.go index 48ad47fb20..99f99d8baf 100755 --- a/apis/iam/v1beta1/zz_rolepolicyattachment_types.go +++ b/apis/iam/v1beta1/zz_rolepolicyattachment_types.go @@ -18,6 +18,31 @@ import ( ) type RolePolicyAttachmentInitParameters struct { + + // The ARN of the policy you want to apply + // +crossplane:generate:reference:type=Policy + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Reference to a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnRef *v1.Reference `json:"policyArnRef,omitempty" tf:"-"` + + // Selector for a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnSelector *v1.Selector `json:"policyArnSelector,omitempty" tf:"-"` + + // The name of the IAM role to which the policy should be applied + // +crossplane:generate:reference:type=Role + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` } type RolePolicyAttachmentObservation struct { diff --git a/apis/iam/v1beta1/zz_servicespecificcredential_types.go b/apis/iam/v1beta1/zz_servicespecificcredential_types.go index 2ef79bea97..09a22ed43a 100755 --- a/apis/iam/v1beta1/zz_servicespecificcredential_types.go +++ b/apis/iam/v1beta1/zz_servicespecificcredential_types.go @@ -24,6 +24,18 @@ type ServiceSpecificCredentialInitParameters struct { // The status to be assigned to the service-specific credential. Valid values are Active and Inactive. Default value is Active. Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service. + // +crossplane:generate:reference:type=User + UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"` + + // Reference to a User to populate userName. + // +kubebuilder:validation:Optional + UserNameRef *v1.Reference `json:"userNameRef,omitempty" tf:"-"` + + // Selector for a User to populate userName. + // +kubebuilder:validation:Optional + UserNameSelector *v1.Selector `json:"userNameSelector,omitempty" tf:"-"` } type ServiceSpecificCredentialObservation struct { diff --git a/apis/iam/v1beta1/zz_usergroupmembership_types.go b/apis/iam/v1beta1/zz_usergroupmembership_types.go index 4327e5b0fc..6481e4f660 100755 --- a/apis/iam/v1beta1/zz_usergroupmembership_types.go +++ b/apis/iam/v1beta1/zz_usergroupmembership_types.go @@ -18,6 +18,33 @@ import ( ) type UserGroupMembershipInitParameters struct { + + // References to Group to populate groups. + // +kubebuilder:validation:Optional + GroupRefs []v1.Reference `json:"groupRefs,omitempty" tf:"-"` + + // Selector for a list of Group to populate groups. + // +kubebuilder:validation:Optional + GroupSelector *v1.Selector `json:"groupSelector,omitempty" tf:"-"` + + // A list of IAM Groups to add the user to + // +crossplane:generate:reference:type=Group + // +crossplane:generate:reference:refFieldName=GroupRefs + // +crossplane:generate:reference:selectorFieldName=GroupSelector + // +listType=set + Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` + + // The name of the IAM User to add to groups + // +crossplane:generate:reference:type=User + User *string `json:"user,omitempty" tf:"user,omitempty"` + + // Reference to a User to populate user. + // +kubebuilder:validation:Optional + UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` + + // Selector for a User to populate user. + // +kubebuilder:validation:Optional + UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` } type UserGroupMembershipObservation struct { diff --git a/apis/iam/v1beta1/zz_userloginprofile_types.go b/apis/iam/v1beta1/zz_userloginprofile_types.go index 2f2dde48c3..8a7b6a4380 100755 --- a/apis/iam/v1beta1/zz_userloginprofile_types.go +++ b/apis/iam/v1beta1/zz_userloginprofile_types.go @@ -27,6 +27,18 @@ type UserLoginProfileInitParameters struct { // Either a base-64 encoded PGP public key, or a keybase username in the form keybase:username. Only applies on resource creation. Drift detection is not possible with this argument. PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"` + + // The IAM user's name. + // +crossplane:generate:reference:type=User + User *string `json:"user,omitempty" tf:"user,omitempty"` + + // Reference to a User to populate user. + // +kubebuilder:validation:Optional + UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` + + // Selector for a User to populate user. + // +kubebuilder:validation:Optional + UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` } type UserLoginProfileObservation struct { diff --git a/apis/iam/v1beta1/zz_userpolicyattachment_types.go b/apis/iam/v1beta1/zz_userpolicyattachment_types.go index 67899b3715..11b4c3c404 100755 --- a/apis/iam/v1beta1/zz_userpolicyattachment_types.go +++ b/apis/iam/v1beta1/zz_userpolicyattachment_types.go @@ -18,6 +18,31 @@ import ( ) type UserPolicyAttachmentInitParameters struct { + + // The ARN of the policy you want to apply + // +crossplane:generate:reference:type=Policy + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Reference to a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnRef *v1.Reference `json:"policyArnRef,omitempty" tf:"-"` + + // Selector for a Policy to populate policyArn. + // +kubebuilder:validation:Optional + PolicyArnSelector *v1.Selector `json:"policyArnSelector,omitempty" tf:"-"` + + // The user the policy should be applied to + // +crossplane:generate:reference:type=User + User *string `json:"user,omitempty" tf:"user,omitempty"` + + // Reference to a User to populate user. + // +kubebuilder:validation:Optional + UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` + + // Selector for a User to populate user. + // +kubebuilder:validation:Optional + UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` } type UserPolicyAttachmentObservation struct { diff --git a/apis/iam/v1beta1/zz_usersshkey_types.go b/apis/iam/v1beta1/zz_usersshkey_types.go index d74b9d39fb..79638884a7 100755 --- a/apis/iam/v1beta1/zz_usersshkey_types.go +++ b/apis/iam/v1beta1/zz_usersshkey_types.go @@ -27,6 +27,18 @@ type UserSSHKeyInitParameters struct { // The status to assign to the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. Default is active. Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // The name of the IAM user to associate the SSH public key with. + // +crossplane:generate:reference:type=User + Username *string `json:"username,omitempty" tf:"username,omitempty"` + + // Reference to a User to populate username. + // +kubebuilder:validation:Optional + UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"` + + // Selector for a User to populate username. + // +kubebuilder:validation:Optional + UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"` } type UserSSHKeyObservation struct { diff --git a/apis/identitystore/v1beta1/zz_generated.deepcopy.go b/apis/identitystore/v1beta1/zz_generated.deepcopy.go index 2447fe0fdf..6c8c7c886b 100644 --- a/apis/identitystore/v1beta1/zz_generated.deepcopy.go +++ b/apis/identitystore/v1beta1/zz_generated.deepcopy.go @@ -427,6 +427,36 @@ func (in *GroupMembership) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GroupMembershipInitParameters) DeepCopyInto(out *GroupMembershipInitParameters) { *out = *in + if in.GroupID != nil { + in, out := &in.GroupID, &out.GroupID + *out = new(string) + **out = **in + } + if in.GroupIDRef != nil { + in, out := &in.GroupIDRef, &out.GroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GroupIDSelector != nil { + in, out := &in.GroupIDSelector, &out.GroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MemberID != nil { + in, out := &in.MemberID, &out.MemberID + *out = new(string) + **out = **in + } + if in.MemberIDRef != nil { + in, out := &in.MemberIDRef, &out.MemberIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MemberIDSelector != nil { + in, out := &in.MemberIDSelector, &out.MemberIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMembershipInitParameters. @@ -571,7 +601,7 @@ func (in *GroupMembershipSpec) DeepCopyInto(out *GroupMembershipSpec) { *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 GroupMembershipSpec. diff --git a/apis/identitystore/v1beta1/zz_generated.resolvers.go b/apis/identitystore/v1beta1/zz_generated.resolvers.go index ed51da4424..214f9534b7 100644 --- a/apis/identitystore/v1beta1/zz_generated.resolvers.go +++ b/apis/identitystore/v1beta1/zz_generated.resolvers.go @@ -52,5 +52,37 @@ func (mg *GroupMembership) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.MemberID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.MemberIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GroupID), + Extract: resource.ExtractParamPath("group_id", true), + Reference: mg.Spec.InitProvider.GroupIDRef, + Selector: mg.Spec.InitProvider.GroupIDSelector, + To: reference.To{ + List: &GroupList{}, + Managed: &Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GroupID") + } + mg.Spec.InitProvider.GroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GroupIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemberID), + Extract: resource.ExtractParamPath("user_id", true), + Reference: mg.Spec.InitProvider.MemberIDRef, + Selector: mg.Spec.InitProvider.MemberIDSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemberID") + } + mg.Spec.InitProvider.MemberID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemberIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/identitystore/v1beta1/zz_groupmembership_types.go b/apis/identitystore/v1beta1/zz_groupmembership_types.go index 7ee8dea58c..8957bd72c6 100755 --- a/apis/identitystore/v1beta1/zz_groupmembership_types.go +++ b/apis/identitystore/v1beta1/zz_groupmembership_types.go @@ -18,6 +18,32 @@ import ( ) type GroupMembershipInitParameters struct { + + // The identifier for a group in the Identity Store. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/identitystore/v1beta1.Group + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("group_id",true) + GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"` + + // Reference to a Group in identitystore to populate groupId. + // +kubebuilder:validation:Optional + GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"` + + // Selector for a Group in identitystore to populate groupId. + // +kubebuilder:validation:Optional + GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"` + + // The identifier for a user in the Identity Store. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/identitystore/v1beta1.User + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("user_id",true) + MemberID *string `json:"memberId,omitempty" tf:"member_id,omitempty"` + + // Reference to a User in identitystore to populate memberId. + // +kubebuilder:validation:Optional + MemberIDRef *v1.Reference `json:"memberIdRef,omitempty" tf:"-"` + + // Selector for a User in identitystore to populate memberId. + // +kubebuilder:validation:Optional + MemberIDSelector *v1.Selector `json:"memberIdSelector,omitempty" tf:"-"` } type GroupMembershipObservation struct { diff --git a/apis/imagebuilder/v1beta1/zz_component_types.go b/apis/imagebuilder/v1beta1/zz_component_types.go index a29953badf..f85de88e41 100755 --- a/apis/imagebuilder/v1beta1/zz_component_types.go +++ b/apis/imagebuilder/v1beta1/zz_component_types.go @@ -28,6 +28,18 @@ type ComponentInitParameters struct { // Description of the component. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Name of the component. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go b/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go index ac9b26065d..fd5ff31f69 100755 --- a/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go +++ b/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go @@ -68,6 +68,19 @@ type BlockDeviceMappingParameters struct { type ContainerRecipeComponentInitParameters struct { + // Amazon Resource Name (ARN) of the Image Builder Component to associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.Component + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ComponentArn *string `json:"componentArn,omitempty" tf:"component_arn,omitempty"` + + // Reference to a Component in imagebuilder to populate componentArn. + // +kubebuilder:validation:Optional + ComponentArnRef *v1.Reference `json:"componentArnRef,omitempty" tf:"-"` + + // Selector for a Component in imagebuilder to populate componentArn. + // +kubebuilder:validation:Optional + ComponentArnSelector *v1.Selector `json:"componentArnSelector,omitempty" tf:"-"` + // Configuration block(s) for parameters to configure the component. Detailed below. Parameter []ParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` } @@ -122,6 +135,18 @@ type ContainerRecipeInitParameters struct { // Configuration block used to configure an instance for building and testing container images. Detailed below. InstanceConfiguration []InstanceConfigurationInitParameters `json:"instanceConfiguration,omitempty" tf:"instance_configuration,omitempty"` + // The KMS key used to encrypt the container image. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The name of the container recipe. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -435,6 +460,18 @@ type ParameterParameters struct { type TargetRepositoryInitParameters struct { + // The name of the container repository where the output container image is stored. This name is prefixed by the repository location. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecr/v1beta1.Repository + RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` + + // Reference to a Repository in ecr to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"` + + // Selector for a Repository in ecr to populate repositoryName. + // +kubebuilder:validation:Optional + RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"` + // The service in which this image is registered. Valid values: ECR. Service *string `json:"service,omitempty" tf:"service,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go b/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go index 0adecf1534..76c03c4fca 100644 --- a/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go +++ b/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go @@ -596,6 +596,21 @@ func (in *ComponentInitParameters) DeepCopyInto(out *ComponentInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1256,6 +1271,21 @@ func (in *ContainerRecipe) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ContainerRecipeComponentInitParameters) DeepCopyInto(out *ContainerRecipeComponentInitParameters) { *out = *in + if in.ComponentArn != nil { + in, out := &in.ComponentArn, &out.ComponentArn + *out = new(string) + **out = **in + } + if in.ComponentArnRef != nil { + in, out := &in.ComponentArnRef, &out.ComponentArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ComponentArnSelector != nil { + in, out := &in.ComponentArnSelector, &out.ComponentArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Parameter != nil { in, out := &in.Parameter, &out.Parameter *out = make([]ParameterInitParameters, len(*in)) @@ -1376,6 +1406,21 @@ func (in *ContainerRecipeInitParameters) DeepCopyInto(out *ContainerRecipeInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -2705,11 +2750,41 @@ func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { *out = new(string) **out = **in } + if in.DistributionConfigurationArn != nil { + in, out := &in.DistributionConfigurationArn, &out.DistributionConfigurationArn + *out = new(string) + **out = **in + } + if in.DistributionConfigurationArnRef != nil { + in, out := &in.DistributionConfigurationArnRef, &out.DistributionConfigurationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DistributionConfigurationArnSelector != nil { + in, out := &in.DistributionConfigurationArnSelector, &out.DistributionConfigurationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EnhancedImageMetadataEnabled != nil { in, out := &in.EnhancedImageMetadataEnabled, &out.EnhancedImageMetadataEnabled *out = new(bool) **out = **in } + if in.ImageRecipeArn != nil { + in, out := &in.ImageRecipeArn, &out.ImageRecipeArn + *out = new(string) + **out = **in + } + if in.ImageRecipeArnRef != nil { + in, out := &in.ImageRecipeArnRef, &out.ImageRecipeArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageRecipeArnSelector != nil { + in, out := &in.ImageRecipeArnSelector, &out.ImageRecipeArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ImageScanningConfiguration != nil { in, out := &in.ImageScanningConfiguration, &out.ImageScanningConfiguration *out = make([]ImageScanningConfigurationInitParameters, len(*in)) @@ -2724,6 +2799,21 @@ func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InfrastructureConfigurationArn != nil { + in, out := &in.InfrastructureConfigurationArn, &out.InfrastructureConfigurationArn + *out = new(string) + **out = **in + } + if in.InfrastructureConfigurationArnRef != nil { + in, out := &in.InfrastructureConfigurationArnRef, &out.InfrastructureConfigurationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InfrastructureConfigurationArnSelector != nil { + in, out := &in.InfrastructureConfigurationArnSelector, &out.InfrastructureConfigurationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -3223,6 +3313,21 @@ func (in *ImagePipelineInitParameters) DeepCopyInto(out *ImagePipelineInitParame *out = new(bool) **out = **in } + if in.ImageRecipeArn != nil { + in, out := &in.ImageRecipeArn, &out.ImageRecipeArn + *out = new(string) + **out = **in + } + if in.ImageRecipeArnRef != nil { + in, out := &in.ImageRecipeArnRef, &out.ImageRecipeArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageRecipeArnSelector != nil { + in, out := &in.ImageRecipeArnSelector, &out.ImageRecipeArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ImageScanningConfiguration != nil { in, out := &in.ImageScanningConfiguration, &out.ImageScanningConfiguration *out = make([]ImagePipelineImageScanningConfigurationInitParameters, len(*in)) @@ -3237,6 +3342,21 @@ func (in *ImagePipelineInitParameters) DeepCopyInto(out *ImagePipelineInitParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InfrastructureConfigurationArn != nil { + in, out := &in.InfrastructureConfigurationArn, &out.InfrastructureConfigurationArn + *out = new(string) + **out = **in + } + if in.InfrastructureConfigurationArnRef != nil { + in, out := &in.InfrastructureConfigurationArnRef, &out.InfrastructureConfigurationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InfrastructureConfigurationArnSelector != nil { + in, out := &in.InfrastructureConfigurationArnSelector, &out.InfrastructureConfigurationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -3750,6 +3870,21 @@ func (in *ImageRecipeBlockDeviceMappingParameters) DeepCopy() *ImageRecipeBlockD // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImageRecipeComponentInitParameters) DeepCopyInto(out *ImageRecipeComponentInitParameters) { *out = *in + if in.ComponentArn != nil { + in, out := &in.ComponentArn, &out.ComponentArn + *out = new(string) + **out = **in + } + if in.ComponentArnRef != nil { + in, out := &in.ComponentArnRef, &out.ComponentArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ComponentArnSelector != nil { + in, out := &in.ComponentArnSelector, &out.ComponentArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Parameter != nil { in, out := &in.Parameter, &out.Parameter *out = make([]ComponentParameterInitParameters, len(*in)) @@ -4518,6 +4653,21 @@ func (in *InfrastructureConfigurationInitParameters) DeepCopyInto(out *Infrastru (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.InstanceProfileName != nil { + in, out := &in.InstanceProfileName, &out.InstanceProfileName + *out = new(string) + **out = **in + } + if in.InstanceProfileNameRef != nil { + in, out := &in.InstanceProfileNameRef, &out.InstanceProfileNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceProfileNameSelector != nil { + in, out := &in.InstanceProfileNameSelector, &out.InstanceProfileNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.InstanceTypes != nil { in, out := &in.InstanceTypes, &out.InstanceTypes *out = make([]*string, len(*in)) @@ -4529,6 +4679,21 @@ func (in *InfrastructureConfigurationInitParameters) DeepCopyInto(out *Infrastru } } } + if in.KeyPair != nil { + in, out := &in.KeyPair, &out.KeyPair + *out = new(string) + **out = **in + } + if in.KeyPairRef != nil { + in, out := &in.KeyPairRef, &out.KeyPairRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyPairSelector != nil { + in, out := &in.KeyPairSelector, &out.KeyPairSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Logging != nil { in, out := &in.Logging, &out.Logging *out = make([]LoggingInitParameters, len(*in)) @@ -4557,6 +4722,59 @@ func (in *InfrastructureConfigurationInitParameters) DeepCopyInto(out *Infrastru (*out)[key] = outVal } } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -5702,6 +5920,21 @@ func (in *ParameterParameters) DeepCopy() *ParameterParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3LogsInitParameters) DeepCopyInto(out *S3LogsInitParameters) { *out = *in + if in.S3BucketName != nil { + in, out := &in.S3BucketName, &out.S3BucketName + *out = new(string) + **out = **in + } + if in.S3BucketNameRef != nil { + in, out := &in.S3BucketNameRef, &out.S3BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketNameSelector != nil { + in, out := &in.S3BucketNameSelector, &out.S3BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3KeyPrefix != nil { in, out := &in.S3KeyPrefix, &out.S3KeyPrefix *out = new(string) @@ -5992,6 +6225,21 @@ func (in *SystemsManagerAgentParameters) DeepCopy() *SystemsManagerAgentParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TargetRepositoryInitParameters) DeepCopyInto(out *TargetRepositoryInitParameters) { *out = *in + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RepositoryNameRef != nil { + in, out := &in.RepositoryNameRef, &out.RepositoryNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RepositoryNameSelector != nil { + in, out := &in.RepositoryNameSelector, &out.RepositoryNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Service != nil { in, out := &in.Service, &out.Service *out = new(string) diff --git a/apis/imagebuilder/v1beta1/zz_generated.resolvers.go b/apis/imagebuilder/v1beta1/zz_generated.resolvers.go index a0788d7a39..6207f1afe9 100644 --- a/apis/imagebuilder/v1beta1/zz_generated.resolvers.go +++ b/apis/imagebuilder/v1beta1/zz_generated.resolvers.go @@ -42,6 +42,22 @@ func (mg *Component) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -103,6 +119,58 @@ func (mg *ContainerRecipe) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.TargetRepository[i3].RepositoryName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetRepository[i3].RepositoryNameRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Component); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Component[i3].ComponentArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Component[i3].ComponentArnRef, + Selector: mg.Spec.InitProvider.Component[i3].ComponentArnSelector, + To: reference.To{ + List: &ComponentList{}, + Managed: &Component{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Component[i3].ComponentArn") + } + mg.Spec.InitProvider.Component[i3].ComponentArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Component[i3].ComponentArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.TargetRepository); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetRepository[i3].RepositoryName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TargetRepository[i3].RepositoryNameRef, + Selector: mg.Spec.InitProvider.TargetRepository[i3].RepositoryNameSelector, + To: reference.To{ + List: &v1beta11.RepositoryList{}, + Managed: &v1beta11.Repository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetRepository[i3].RepositoryName") + } + mg.Spec.InitProvider.TargetRepository[i3].RepositoryName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetRepository[i3].RepositoryNameRef = rsp.ResolvedReference + } return nil @@ -163,6 +231,54 @@ func (mg *Image) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.InfrastructureConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InfrastructureConfigurationArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DistributionConfigurationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.DistributionConfigurationArnRef, + Selector: mg.Spec.InitProvider.DistributionConfigurationArnSelector, + To: reference.To{ + List: &DistributionConfigurationList{}, + Managed: &DistributionConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DistributionConfigurationArn") + } + mg.Spec.InitProvider.DistributionConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DistributionConfigurationArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ImageRecipeArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ImageRecipeArnRef, + Selector: mg.Spec.InitProvider.ImageRecipeArnSelector, + To: reference.To{ + List: &ImageRecipeList{}, + Managed: &ImageRecipe{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ImageRecipeArn") + } + mg.Spec.InitProvider.ImageRecipeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ImageRecipeArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InfrastructureConfigurationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.InfrastructureConfigurationArnRef, + Selector: mg.Spec.InitProvider.InfrastructureConfigurationArnSelector, + To: reference.To{ + List: &InfrastructureConfigurationList{}, + Managed: &InfrastructureConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InfrastructureConfigurationArn") + } + mg.Spec.InitProvider.InfrastructureConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InfrastructureConfigurationArnRef = rsp.ResolvedReference + return nil } @@ -205,6 +321,38 @@ func (mg *ImagePipeline) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.InfrastructureConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InfrastructureConfigurationArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ImageRecipeArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ImageRecipeArnRef, + Selector: mg.Spec.InitProvider.ImageRecipeArnSelector, + To: reference.To{ + List: &ImageRecipeList{}, + Managed: &ImageRecipe{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ImageRecipeArn") + } + mg.Spec.InitProvider.ImageRecipeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ImageRecipeArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InfrastructureConfigurationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.InfrastructureConfigurationArnRef, + Selector: mg.Spec.InitProvider.InfrastructureConfigurationArnSelector, + To: reference.To{ + List: &InfrastructureConfigurationList{}, + Managed: &InfrastructureConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InfrastructureConfigurationArn") + } + mg.Spec.InitProvider.InfrastructureConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InfrastructureConfigurationArnRef = rsp.ResolvedReference + return nil } @@ -232,6 +380,24 @@ func (mg *ImageRecipe) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Component[i3].ComponentArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Component[i3].ComponentArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Component); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Component[i3].ComponentArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Component[i3].ComponentArnRef, + Selector: mg.Spec.InitProvider.Component[i3].ComponentArnSelector, + To: reference.To{ + List: &ComponentList{}, + Managed: &Component{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Component[i3].ComponentArn") + } + mg.Spec.InitProvider.Component[i3].ComponentArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Component[i3].ComponentArnRef = rsp.ResolvedReference + } return nil @@ -345,5 +511,105 @@ func (mg *InfrastructureConfiguration) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceProfileName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceProfileNameRef, + Selector: mg.Spec.InitProvider.InstanceProfileNameSelector, + To: reference.To{ + List: &v1beta12.InstanceProfileList{}, + Managed: &v1beta12.InstanceProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceProfileName") + } + mg.Spec.InitProvider.InstanceProfileName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceProfileNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyPair), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KeyPairRef, + Selector: mg.Spec.InitProvider.KeyPairSelector, + To: reference.To{ + List: &v1beta13.KeyPairList{}, + Managed: &v1beta13.KeyPair{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyPair") + } + mg.Spec.InitProvider.KeyPair = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyPairRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Logging); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Logging[i3].S3Logs); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketNameRef, + Selector: mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketNameSelector, + To: reference.To{ + List: &v1beta14.BucketList{}, + Managed: &v1beta14.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketName") + } + mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Logging[i3].S3Logs[i4].S3BucketNameRef = rsp.ResolvedReference + + } + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta15.TopicList{}, + Managed: &v1beta15.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/imagebuilder/v1beta1/zz_image_types.go b/apis/imagebuilder/v1beta1/zz_image_types.go index 866b0b7800..0ce24ebf67 100755 --- a/apis/imagebuilder/v1beta1/zz_image_types.go +++ b/apis/imagebuilder/v1beta1/zz_image_types.go @@ -94,15 +94,54 @@ type ImageInitParameters struct { // - Amazon Resource Name (ARN) of the container recipe. ContainerRecipeArn *string `json:"containerRecipeArn,omitempty" tf:"container_recipe_arn,omitempty"` + // Amazon Resource Name (ARN) of the Image Builder Distribution Configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.DistributionConfiguration + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DistributionConfigurationArn *string `json:"distributionConfigurationArn,omitempty" tf:"distribution_configuration_arn,omitempty"` + + // Reference to a DistributionConfiguration in imagebuilder to populate distributionConfigurationArn. + // +kubebuilder:validation:Optional + DistributionConfigurationArnRef *v1.Reference `json:"distributionConfigurationArnRef,omitempty" tf:"-"` + + // Selector for a DistributionConfiguration in imagebuilder to populate distributionConfigurationArn. + // +kubebuilder:validation:Optional + DistributionConfigurationArnSelector *v1.Selector `json:"distributionConfigurationArnSelector,omitempty" tf:"-"` + // Whether additional information about the image being created is collected. Defaults to true. EnhancedImageMetadataEnabled *bool `json:"enhancedImageMetadataEnabled,omitempty" tf:"enhanced_image_metadata_enabled,omitempty"` + // Amazon Resource Name (ARN) of the image recipe. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.ImageRecipe + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ImageRecipeArn *string `json:"imageRecipeArn,omitempty" tf:"image_recipe_arn,omitempty"` + + // Reference to a ImageRecipe in imagebuilder to populate imageRecipeArn. + // +kubebuilder:validation:Optional + ImageRecipeArnRef *v1.Reference `json:"imageRecipeArnRef,omitempty" tf:"-"` + + // Selector for a ImageRecipe in imagebuilder to populate imageRecipeArn. + // +kubebuilder:validation:Optional + ImageRecipeArnSelector *v1.Selector `json:"imageRecipeArnSelector,omitempty" tf:"-"` + // Configuration block with image scanning configuration. Detailed below. ImageScanningConfiguration []ImageScanningConfigurationInitParameters `json:"imageScanningConfiguration,omitempty" tf:"image_scanning_configuration,omitempty"` // Configuration block with image tests configuration. Detailed below. ImageTestsConfiguration []ImageTestsConfigurationInitParameters `json:"imageTestsConfiguration,omitempty" tf:"image_tests_configuration,omitempty"` + // Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.InfrastructureConfiguration + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + InfrastructureConfigurationArn *string `json:"infrastructureConfigurationArn,omitempty" tf:"infrastructure_configuration_arn,omitempty"` + + // Reference to a InfrastructureConfiguration in imagebuilder to populate infrastructureConfigurationArn. + // +kubebuilder:validation:Optional + InfrastructureConfigurationArnRef *v1.Reference `json:"infrastructureConfigurationArnRef,omitempty" tf:"-"` + + // Selector for a InfrastructureConfiguration in imagebuilder to populate infrastructureConfigurationArn. + // +kubebuilder:validation:Optional + InfrastructureConfigurationArnSelector *v1.Selector `json:"infrastructureConfigurationArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go b/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go index de80d2d68c..2c2e9f5d2b 100755 --- a/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go +++ b/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go @@ -89,12 +89,38 @@ type ImagePipelineInitParameters struct { // Whether additional information about the image being created is collected. Defaults to true. EnhancedImageMetadataEnabled *bool `json:"enhancedImageMetadataEnabled,omitempty" tf:"enhanced_image_metadata_enabled,omitempty"` + // Amazon Resource Name (ARN) of the image recipe. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.ImageRecipe + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ImageRecipeArn *string `json:"imageRecipeArn,omitempty" tf:"image_recipe_arn,omitempty"` + + // Reference to a ImageRecipe in imagebuilder to populate imageRecipeArn. + // +kubebuilder:validation:Optional + ImageRecipeArnRef *v1.Reference `json:"imageRecipeArnRef,omitempty" tf:"-"` + + // Selector for a ImageRecipe in imagebuilder to populate imageRecipeArn. + // +kubebuilder:validation:Optional + ImageRecipeArnSelector *v1.Selector `json:"imageRecipeArnSelector,omitempty" tf:"-"` + // Configuration block with image scanning configuration. Detailed below. ImageScanningConfiguration []ImagePipelineImageScanningConfigurationInitParameters `json:"imageScanningConfiguration,omitempty" tf:"image_scanning_configuration,omitempty"` // Configuration block with image tests configuration. Detailed below. ImageTestsConfiguration []ImagePipelineImageTestsConfigurationInitParameters `json:"imageTestsConfiguration,omitempty" tf:"image_tests_configuration,omitempty"` + // Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.InfrastructureConfiguration + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + InfrastructureConfigurationArn *string `json:"infrastructureConfigurationArn,omitempty" tf:"infrastructure_configuration_arn,omitempty"` + + // Reference to a InfrastructureConfiguration in imagebuilder to populate infrastructureConfigurationArn. + // +kubebuilder:validation:Optional + InfrastructureConfigurationArnRef *v1.Reference `json:"infrastructureConfigurationArnRef,omitempty" tf:"-"` + + // Selector for a InfrastructureConfiguration in imagebuilder to populate infrastructureConfigurationArn. + // +kubebuilder:validation:Optional + InfrastructureConfigurationArnSelector *v1.Selector `json:"infrastructureConfigurationArnSelector,omitempty" tf:"-"` + // Name of the image pipeline. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go b/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go index 503d513787..87953db299 100755 --- a/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go +++ b/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go @@ -186,6 +186,19 @@ type ImageRecipeBlockDeviceMappingParameters struct { type ImageRecipeComponentInitParameters struct { + // Amazon Resource Name (ARN) of the Image Builder Component to associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/imagebuilder/v1beta1.Component + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ComponentArn *string `json:"componentArn,omitempty" tf:"component_arn,omitempty"` + + // Reference to a Component in imagebuilder to populate componentArn. + // +kubebuilder:validation:Optional + ComponentArnRef *v1.Reference `json:"componentArnRef,omitempty" tf:"-"` + + // Selector for a Component in imagebuilder to populate componentArn. + // +kubebuilder:validation:Optional + ComponentArnSelector *v1.Selector `json:"componentArnSelector,omitempty" tf:"-"` + // Configuration block(s) for parameters to configure the component. Detailed below. Parameter []ComponentParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go b/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go index f2b9ac5107..d149bea27a 100755 --- a/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go +++ b/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go @@ -25,10 +25,34 @@ type InfrastructureConfigurationInitParameters struct { // Configuration block with instance metadata options for the HTTP requests that pipeline builds use to launch EC2 build and test instances. Detailed below. InstanceMetadataOptions []InstanceMetadataOptionsInitParameters `json:"instanceMetadataOptions,omitempty" tf:"instance_metadata_options,omitempty"` + // Name of IAM Instance Profile. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile + InstanceProfileName *string `json:"instanceProfileName,omitempty" tf:"instance_profile_name,omitempty"` + + // Reference to a InstanceProfile in iam to populate instanceProfileName. + // +kubebuilder:validation:Optional + InstanceProfileNameRef *v1.Reference `json:"instanceProfileNameRef,omitempty" tf:"-"` + + // Selector for a InstanceProfile in iam to populate instanceProfileName. + // +kubebuilder:validation:Optional + InstanceProfileNameSelector *v1.Selector `json:"instanceProfileNameSelector,omitempty" tf:"-"` + // Set of EC2 Instance Types. // +listType=set InstanceTypes []*string `json:"instanceTypes,omitempty" tf:"instance_types,omitempty"` + // Name of EC2 Key Pair. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.KeyPair + KeyPair *string `json:"keyPair,omitempty" tf:"key_pair,omitempty"` + + // Reference to a KeyPair in ec2 to populate keyPair. + // +kubebuilder:validation:Optional + KeyPairRef *v1.Reference `json:"keyPairRef,omitempty" tf:"-"` + + // Selector for a KeyPair in ec2 to populate keyPair. + // +kubebuilder:validation:Optional + KeyPairSelector *v1.Selector `json:"keyPairSelector,omitempty" tf:"-"` + // Configuration block with logging settings. Detailed below. Logging []LoggingInitParameters `json:"logging,omitempty" tf:"logging,omitempty"` @@ -39,6 +63,46 @@ type InfrastructureConfigurationInitParameters struct { // +mapType=granular ResourceTags map[string]*string `json:"resourceTags,omitempty" tf:"resource_tags,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Set of EC2 Security Group identifiers. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // Amazon Resource Name (ARN) of SNS Topic. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` + + // EC2 Subnet identifier. Also requires security_group_ids argument. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -271,6 +335,18 @@ type LoggingParameters struct { type S3LogsInitParameters struct { + // Name of the S3 Bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + S3BucketName *string `json:"s3BucketName,omitempty" tf:"s3_bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameRef *v1.Reference `json:"s3BucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3BucketName. + // +kubebuilder:validation:Optional + S3BucketNameSelector *v1.Selector `json:"s3BucketNameSelector,omitempty" tf:"-"` + // Prefix to use for S3 logs. Defaults to /. S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"` } diff --git a/apis/inspector/v1beta1/zz_assessmenttarget_types.go b/apis/inspector/v1beta1/zz_assessmenttarget_types.go index e91f34f0a9..c22b4561cd 100755 --- a/apis/inspector/v1beta1/zz_assessmenttarget_types.go +++ b/apis/inspector/v1beta1/zz_assessmenttarget_types.go @@ -21,6 +21,19 @@ type AssessmentTargetInitParameters struct { // The name of the assessment target. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Inspector Resource Group Amazon Resource Name (ARN) stating tags for instance matching. If not specified, all EC2 instances in the current AWS account and region are included in the assessment target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/inspector/v1beta1.ResourceGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceGroupArn *string `json:"resourceGroupArn,omitempty" tf:"resource_group_arn,omitempty"` + + // Reference to a ResourceGroup in inspector to populate resourceGroupArn. + // +kubebuilder:validation:Optional + ResourceGroupArnRef *v1.Reference `json:"resourceGroupArnRef,omitempty" tf:"-"` + + // Selector for a ResourceGroup in inspector to populate resourceGroupArn. + // +kubebuilder:validation:Optional + ResourceGroupArnSelector *v1.Selector `json:"resourceGroupArnSelector,omitempty" tf:"-"` } type AssessmentTargetObservation struct { diff --git a/apis/inspector/v1beta1/zz_assessmenttemplate_types.go b/apis/inspector/v1beta1/zz_assessmenttemplate_types.go index 576d804cd1..ce7acebe94 100755 --- a/apis/inspector/v1beta1/zz_assessmenttemplate_types.go +++ b/apis/inspector/v1beta1/zz_assessmenttemplate_types.go @@ -35,6 +35,19 @@ type AssessmentTemplateInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The assessment target ARN to attach the template to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/inspector/v1beta1.AssessmentTarget + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"` + + // Reference to a AssessmentTarget in inspector to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"` + + // Selector for a AssessmentTarget in inspector to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` } type AssessmentTemplateObservation struct { @@ -117,6 +130,19 @@ type EventSubscriptionInitParameters struct { // The event for which you want to receive SNS notifications. Valid values are ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, and FINDING_REPORTED. Event *string `json:"event,omitempty" tf:"event,omitempty"` + + // The ARN of the SNS topic to which notifications are sent. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type EventSubscriptionObservation struct { diff --git a/apis/inspector/v1beta1/zz_generated.deepcopy.go b/apis/inspector/v1beta1/zz_generated.deepcopy.go index a4a88f75a4..1edd59a6c9 100644 --- a/apis/inspector/v1beta1/zz_generated.deepcopy.go +++ b/apis/inspector/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *AssessmentTargetInitParameters) DeepCopyInto(out *AssessmentTargetInit *out = new(string) **out = **in } + if in.ResourceGroupArn != nil { + in, out := &in.ResourceGroupArn, &out.ResourceGroupArn + *out = new(string) + **out = **in + } + if in.ResourceGroupArnRef != nil { + in, out := &in.ResourceGroupArnRef, &out.ResourceGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceGroupArnSelector != nil { + in, out := &in.ResourceGroupArnSelector, &out.ResourceGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssessmentTargetInitParameters. @@ -276,6 +291,21 @@ func (in *AssessmentTemplateInitParameters) DeepCopyInto(out *AssessmentTemplate (*out)[key] = outVal } } + if in.TargetArn != nil { + in, out := &in.TargetArn, &out.TargetArn + *out = new(string) + **out = **in + } + if in.TargetArnRef != nil { + in, out := &in.TargetArnRef, &out.TargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssessmentTemplateInitParameters. @@ -532,6 +562,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn *out = new(string) **out = **in } + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionInitParameters. diff --git a/apis/inspector/v1beta1/zz_generated.resolvers.go b/apis/inspector/v1beta1/zz_generated.resolvers.go index a996292b80..f08d00af7c 100644 --- a/apis/inspector/v1beta1/zz_generated.resolvers.go +++ b/apis/inspector/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *AssessmentTarget) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.ResourceGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceGroupArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceGroupArnRef, + Selector: mg.Spec.InitProvider.ResourceGroupArnSelector, + To: reference.To{ + List: &ResourceGroupList{}, + Managed: &ResourceGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceGroupArn") + } + mg.Spec.InitProvider.ResourceGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceGroupArnRef = rsp.ResolvedReference + return nil } @@ -81,5 +97,39 @@ func (mg *AssessmentTemplate) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.EventSubscription); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventSubscription[i3].TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EventSubscription[i3].TopicArnRef, + Selector: mg.Spec.InitProvider.EventSubscription[i3].TopicArnSelector, + To: reference.To{ + List: &v1beta1.TopicList{}, + Managed: &v1beta1.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventSubscription[i3].TopicArn") + } + mg.Spec.InitProvider.EventSubscription[i3].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventSubscription[i3].TopicArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TargetArnRef, + Selector: mg.Spec.InitProvider.TargetArnSelector, + To: reference.To{ + List: &AssessmentTargetList{}, + Managed: &AssessmentTarget{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetArn") + } + mg.Spec.InitProvider.TargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/iot/v1beta1/zz_generated.deepcopy.go b/apis/iot/v1beta1/zz_generated.deepcopy.go index e891d7dd7d..784332db19 100644 --- a/apis/iot/v1beta1/zz_generated.deepcopy.go +++ b/apis/iot/v1beta1/zz_generated.deepcopy.go @@ -3710,6 +3710,21 @@ func (in *LoggingOptionsInitParameters) DeepCopyInto(out *LoggingOptionsInitPara *out = new(bool) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingOptionsInitParameters. @@ -4063,6 +4078,36 @@ func (in *PolicyAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PolicyAttachmentInitParameters) DeepCopyInto(out *PolicyAttachmentInitParameters) { *out = *in + if in.Policy != nil { + in, out := &in.Policy, &out.Policy + *out = new(string) + **out = **in + } + if in.PolicyRef != nil { + in, out := &in.PolicyRef, &out.PolicyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicySelector != nil { + in, out := &in.PolicySelector, &out.PolicySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.TargetRef != nil { + in, out := &in.TargetRef, &out.TargetRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetSelector != nil { + in, out := &in.TargetSelector, &out.TargetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentInitParameters. @@ -4192,7 +4237,7 @@ func (in *PolicyAttachmentSpec) DeepCopyInto(out *PolicyAttachmentSpec) { *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 PolicyAttachmentSpec. @@ -4572,6 +4617,21 @@ func (in *ProvisioningTemplateInitParameters) DeepCopyInto(out *ProvisioningTemp (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ProvisioningRoleArn != nil { + in, out := &in.ProvisioningRoleArn, &out.ProvisioningRoleArn + *out = new(string) + **out = **in + } + if in.ProvisioningRoleArnRef != nil { + in, out := &in.ProvisioningRoleArnRef, &out.ProvisioningRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProvisioningRoleArnSelector != nil { + in, out := &in.ProvisioningRoleArnSelector, &out.ProvisioningRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -5039,6 +5099,21 @@ func (in *RoleAliasInitParameters) DeepCopyInto(out *RoleAliasInitParameters) { *out = new(float64) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAliasInitParameters. @@ -5371,6 +5446,36 @@ func (in *SnsInitParameters) DeepCopyInto(out *SnsInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TargetArn != nil { + in, out := &in.TargetArn, &out.TargetArn + *out = new(string) + **out = **in + } + if in.TargetArnRef != nil { + in, out := &in.TargetArnRef, &out.TargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsInitParameters. @@ -5802,6 +5907,21 @@ func (in *ThingGroupIndexingConfigurationParameters) DeepCopy() *ThingGroupIndex // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ThingGroupInitParameters) DeepCopyInto(out *ThingGroupInitParameters) { *out = *in + if in.ParentGroupName != nil { + in, out := &in.ParentGroupName, &out.ParentGroupName + *out = new(string) + **out = **in + } + if in.ParentGroupNameRef != nil { + in, out := &in.ParentGroupNameRef, &out.ParentGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ParentGroupNameSelector != nil { + in, out := &in.ParentGroupNameSelector, &out.ParentGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Properties != nil { in, out := &in.Properties, &out.Properties *out = make([]PropertiesInitParameters, len(*in)) @@ -6750,6 +6870,36 @@ func (in *ThingPrincipalAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ThingPrincipalAttachmentInitParameters) DeepCopyInto(out *ThingPrincipalAttachmentInitParameters) { *out = *in + if in.Principal != nil { + in, out := &in.Principal, &out.Principal + *out = new(string) + **out = **in + } + if in.PrincipalRef != nil { + in, out := &in.PrincipalRef, &out.PrincipalRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrincipalSelector != nil { + in, out := &in.PrincipalSelector, &out.PrincipalSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Thing != nil { + in, out := &in.Thing, &out.Thing + *out = new(string) + **out = **in + } + if in.ThingRef != nil { + in, out := &in.ThingRef, &out.ThingRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ThingSelector != nil { + in, out := &in.ThingSelector, &out.ThingSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThingPrincipalAttachmentInitParameters. @@ -6879,7 +7029,7 @@ func (in *ThingPrincipalAttachmentSpec) DeepCopyInto(out *ThingPrincipalAttachme *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 ThingPrincipalAttachmentSpec. @@ -7728,7 +7878,9 @@ func (in *TopicRuleDestinationInitParameters) DeepCopyInto(out *TopicRuleDestina if in.VPCConfiguration != nil { in, out := &in.VPCConfiguration, &out.VPCConfiguration *out = make([]VPCConfigurationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -9437,6 +9589,36 @@ func (in *TopicRuleSnsInitParameters) DeepCopyInto(out *TopicRuleSnsInitParamete *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TargetArn != nil { + in, out := &in.TargetArn, &out.TargetArn + *out = new(string) + **out = **in + } + if in.TargetArnRef != nil { + in, out := &in.TargetArnRef, &out.TargetArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetArnSelector != nil { + in, out := &in.TargetArnSelector, &out.TargetArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicRuleSnsInitParameters. @@ -9879,6 +10061,82 @@ func (in *TopicRuleTimestreamParameters) DeepCopy() *TopicRuleTimestreamParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigurationInitParameters) DeepCopyInto(out *VPCConfigurationInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.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 VPCConfigurationInitParameters. diff --git a/apis/iot/v1beta1/zz_generated.resolvers.go b/apis/iot/v1beta1/zz_generated.resolvers.go index fc2c6fdee9..8604a80bec 100644 --- a/apis/iot/v1beta1/zz_generated.resolvers.go +++ b/apis/iot/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *LoggingOptions) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -82,6 +98,38 @@ func (mg *PolicyAttachment) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.Target = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Policy), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PolicyRef, + Selector: mg.Spec.InitProvider.PolicySelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Policy") + } + mg.Spec.InitProvider.Policy = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Target), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TargetRef, + Selector: mg.Spec.InitProvider.TargetSelector, + To: reference.To{ + List: &CertificateList{}, + Managed: &Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Target") + } + mg.Spec.InitProvider.Target = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetRef = rsp.ResolvedReference + return nil } @@ -108,6 +156,22 @@ func (mg *ProvisioningTemplate) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ProvisioningRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProvisioningRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProvisioningRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ProvisioningRoleArnRef, + Selector: mg.Spec.InitProvider.ProvisioningRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProvisioningRoleArn") + } + mg.Spec.InitProvider.ProvisioningRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProvisioningRoleArnRef = rsp.ResolvedReference + return nil } @@ -134,6 +198,22 @@ func (mg *RoleAlias) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -160,6 +240,22 @@ func (mg *ThingGroup) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ParentGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ParentGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ParentGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ParentGroupNameRef, + Selector: mg.Spec.InitProvider.ParentGroupNameSelector, + To: reference.To{ + List: &ThingGroupList{}, + Managed: &ThingGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ParentGroupName") + } + mg.Spec.InitProvider.ParentGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ParentGroupNameRef = rsp.ResolvedReference + return nil } @@ -202,6 +298,38 @@ func (mg *ThingPrincipalAttachment) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.Thing = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ThingRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Principal), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.PrincipalRef, + Selector: mg.Spec.InitProvider.PrincipalSelector, + To: reference.To{ + List: &CertificateList{}, + Managed: &Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Principal") + } + mg.Spec.InitProvider.Principal = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrincipalRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Thing), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ThingRef, + Selector: mg.Spec.InitProvider.ThingSelector, + To: reference.To{ + List: &ThingList{}, + Managed: &Thing{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Thing") + } + mg.Spec.InitProvider.Thing = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ThingRef = rsp.ResolvedReference + return nil } @@ -287,6 +415,82 @@ func (mg *TopicRule) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.Sns[i3].TargetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Sns[i3].TargetArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ErrorAction); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ErrorAction[i3].Sns); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArn") + } + mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ErrorAction); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ErrorAction[i3].Sns); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArnRef, + Selector: mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArnSelector, + To: reference.To{ + List: &v1beta11.TopicList{}, + Managed: &v1beta11.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArn") + } + mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ErrorAction[i3].Sns[i4].TargetArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Sns); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Sns[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Sns[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.Sns[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Sns[i3].RoleArn") + } + mg.Spec.InitProvider.Sns[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Sns[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Sns); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Sns[i3].TargetArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Sns[i3].TargetArnRef, + Selector: mg.Spec.InitProvider.Sns[i3].TargetArnSelector, + To: reference.To{ + List: &v1beta11.TopicList{}, + Managed: &v1beta11.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Sns[i3].TargetArn") + } + mg.Spec.InitProvider.Sns[i3].TargetArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Sns[i3].TargetArnRef = rsp.ResolvedReference + } return nil @@ -371,6 +575,78 @@ func (mg *TopicRuleDestination) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.VPCConfiguration[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCConfiguration[i3].VPCIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCConfiguration[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.VPCConfiguration[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.VPCConfiguration[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfiguration[i3].RoleArn") + } + mg.Spec.InitProvider.VPCConfiguration[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCConfiguration[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfiguration); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroupRefs, + Selector: mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroupSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroups") + } + mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfiguration[i3].SecurityGroupRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfiguration); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta12.SubnetList{}, + Managed: &v1beta12.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfiguration[i3].SubnetIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCConfiguration[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta12.VPCList{}, + Managed: &v1beta12.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfiguration[i3].VPCID") + } + mg.Spec.InitProvider.VPCConfiguration[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDRef = rsp.ResolvedReference + } return nil diff --git a/apis/iot/v1beta1/zz_loggingoptions_types.go b/apis/iot/v1beta1/zz_loggingoptions_types.go index df73af8b39..fd3e521804 100755 --- a/apis/iot/v1beta1/zz_loggingoptions_types.go +++ b/apis/iot/v1beta1/zz_loggingoptions_types.go @@ -24,6 +24,19 @@ type LoggingOptionsInitParameters struct { // If true all logs are disabled. The default is false. DisableAllLogs *bool `json:"disableAllLogs,omitempty" tf:"disable_all_logs,omitempty"` + + // The ARN of the role that allows IoT to write to Cloudwatch logs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type LoggingOptionsObservation struct { diff --git a/apis/iot/v1beta1/zz_policyattachment_types.go b/apis/iot/v1beta1/zz_policyattachment_types.go index be1503e7a7..3651603a74 100755 --- a/apis/iot/v1beta1/zz_policyattachment_types.go +++ b/apis/iot/v1beta1/zz_policyattachment_types.go @@ -18,6 +18,31 @@ import ( ) type PolicyAttachmentInitParameters struct { + + // The name of the policy to attach. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iot/v1beta1.Policy + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Reference to a Policy in iot to populate policy. + // +kubebuilder:validation:Optional + PolicyRef *v1.Reference `json:"policyRef,omitempty" tf:"-"` + + // Selector for a Policy in iot to populate policy. + // +kubebuilder:validation:Optional + PolicySelector *v1.Selector `json:"policySelector,omitempty" tf:"-"` + + // The identity to which the policy is attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iot/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Target *string `json:"target,omitempty" tf:"target,omitempty"` + + // Reference to a Certificate in iot to populate target. + // +kubebuilder:validation:Optional + TargetRef *v1.Reference `json:"targetRef,omitempty" tf:"-"` + + // Selector for a Certificate in iot to populate target. + // +kubebuilder:validation:Optional + TargetSelector *v1.Selector `json:"targetSelector,omitempty" tf:"-"` } type PolicyAttachmentObservation struct { diff --git a/apis/iot/v1beta1/zz_provisioningtemplate_types.go b/apis/iot/v1beta1/zz_provisioningtemplate_types.go index 1ba5f7977a..2ed8aeb2f5 100755 --- a/apis/iot/v1beta1/zz_provisioningtemplate_types.go +++ b/apis/iot/v1beta1/zz_provisioningtemplate_types.go @@ -57,6 +57,19 @@ type ProvisioningTemplateInitParameters struct { // Creates a pre-provisioning hook template. Details below. PreProvisioningHook []PreProvisioningHookInitParameters `json:"preProvisioningHook,omitempty" tf:"pre_provisioning_hook,omitempty"` + // The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ProvisioningRoleArn *string `json:"provisioningRoleArn,omitempty" tf:"provisioning_role_arn,omitempty"` + + // Reference to a Role in iam to populate provisioningRoleArn. + // +kubebuilder:validation:Optional + ProvisioningRoleArnRef *v1.Reference `json:"provisioningRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate provisioningRoleArn. + // +kubebuilder:validation:Optional + ProvisioningRoleArnSelector *v1.Selector `json:"provisioningRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/iot/v1beta1/zz_rolealias_types.go b/apis/iot/v1beta1/zz_rolealias_types.go index b8b69fbb03..3aca81d3c4 100755 --- a/apis/iot/v1beta1/zz_rolealias_types.go +++ b/apis/iot/v1beta1/zz_rolealias_types.go @@ -24,6 +24,19 @@ type RoleAliasInitParameters struct { // The duration of the credential, in seconds. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 43200 seconds (12 hours). CredentialDuration *float64 `json:"credentialDuration,omitempty" tf:"credential_duration,omitempty"` + + // The identity of the role to which the alias refers. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type RoleAliasObservation struct { diff --git a/apis/iot/v1beta1/zz_thinggroup_types.go b/apis/iot/v1beta1/zz_thinggroup_types.go index eff82d2f02..869b3be87f 100755 --- a/apis/iot/v1beta1/zz_thinggroup_types.go +++ b/apis/iot/v1beta1/zz_thinggroup_types.go @@ -100,6 +100,18 @@ type RootToParentGroupsParameters struct { type ThingGroupInitParameters struct { + // The name of the parent Thing Group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iot/v1beta1.ThingGroup + ParentGroupName *string `json:"parentGroupName,omitempty" tf:"parent_group_name,omitempty"` + + // Reference to a ThingGroup in iot to populate parentGroupName. + // +kubebuilder:validation:Optional + ParentGroupNameRef *v1.Reference `json:"parentGroupNameRef,omitempty" tf:"-"` + + // Selector for a ThingGroup in iot to populate parentGroupName. + // +kubebuilder:validation:Optional + ParentGroupNameSelector *v1.Selector `json:"parentGroupNameSelector,omitempty" tf:"-"` + // The Thing Group properties. Defined below. Properties []PropertiesInitParameters `json:"properties,omitempty" tf:"properties,omitempty"` diff --git a/apis/iot/v1beta1/zz_thingprincipalattachment_types.go b/apis/iot/v1beta1/zz_thingprincipalattachment_types.go index e18854f502..31625a3157 100755 --- a/apis/iot/v1beta1/zz_thingprincipalattachment_types.go +++ b/apis/iot/v1beta1/zz_thingprincipalattachment_types.go @@ -18,6 +18,31 @@ import ( ) type ThingPrincipalAttachmentInitParameters struct { + + // The AWS IoT Certificate ARN or Amazon Cognito Identity ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iot/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Principal *string `json:"principal,omitempty" tf:"principal,omitempty"` + + // Reference to a Certificate in iot to populate principal. + // +kubebuilder:validation:Optional + PrincipalRef *v1.Reference `json:"principalRef,omitempty" tf:"-"` + + // Selector for a Certificate in iot to populate principal. + // +kubebuilder:validation:Optional + PrincipalSelector *v1.Selector `json:"principalSelector,omitempty" tf:"-"` + + // The name of the thing. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iot/v1beta1.Thing + Thing *string `json:"thing,omitempty" tf:"thing,omitempty"` + + // Reference to a Thing in iot to populate thing. + // +kubebuilder:validation:Optional + ThingRef *v1.Reference `json:"thingRef,omitempty" tf:"-"` + + // Selector for a Thing in iot to populate thing. + // +kubebuilder:validation:Optional + ThingSelector *v1.Selector `json:"thingSelector,omitempty" tf:"-"` } type ThingPrincipalAttachmentObservation struct { diff --git a/apis/iot/v1beta1/zz_topicrule_types.go b/apis/iot/v1beta1/zz_topicrule_types.go index 8905aee7fb..401564b2a3 100755 --- a/apis/iot/v1beta1/zz_topicrule_types.go +++ b/apis/iot/v1beta1/zz_topicrule_types.go @@ -1426,6 +1426,32 @@ type SnsInitParameters struct { // The message format of the message to publish. Accepted values are "JSON" and "RAW". MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"` + + // The IAM role ARN that allows access to the CloudWatch alarm. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The ARN of the SNS topic. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"` + + // Reference to a Topic in sns to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` } type SnsObservation struct { @@ -2316,6 +2342,32 @@ type TopicRuleSnsInitParameters struct { // The message format of the message to publish. Accepted values are "JSON" and "RAW". MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"` + + // The IAM role ARN that allows access to the CloudWatch alarm. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The ARN of the SNS topic. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"` + + // Reference to a Topic in sns to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate targetArn. + // +kubebuilder:validation:Optional + TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"` } type TopicRuleSnsObservation struct { diff --git a/apis/iot/v1beta1/zz_topicruledestination_types.go b/apis/iot/v1beta1/zz_topicruledestination_types.go index e750c69e59..6689710e8d 100755 --- a/apis/iot/v1beta1/zz_topicruledestination_types.go +++ b/apis/iot/v1beta1/zz_topicruledestination_types.go @@ -57,6 +57,62 @@ type TopicRuleDestinationParameters struct { } type VPCConfigurationInitParameters struct { + + // The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // The security groups of the VPC destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // The subnet IDs of the VPC destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // The ID of the VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCConfigurationObservation struct { diff --git a/apis/kafka/v1beta1/zz_cluster_types.go b/apis/kafka/v1beta1/zz_cluster_types.go index 2a85d8e2fd..0622d90e12 100755 --- a/apis/kafka/v1beta1/zz_cluster_types.go +++ b/apis/kafka/v1beta1/zz_cluster_types.go @@ -50,12 +50,38 @@ type BrokerNodeGroupInfoInitParameters struct { // The distribution of broker nodes across availability zones (documentation). Currently the only valid value is DEFAULT. AzDistribution *string `json:"azDistribution,omitempty" tf:"az_distribution,omitempty"` + // A list of subnets to connect to in client VPC (documentation). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +listType=set + ClientSubnets []*string `json:"clientSubnets,omitempty" tf:"client_subnets,omitempty"` + + // References to Subnet in ec2 to populate clientSubnets. + // +kubebuilder:validation:Optional + ClientSubnetsRefs []v1.Reference `json:"clientSubnetsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate clientSubnets. + // +kubebuilder:validation:Optional + ClientSubnetsSelector *v1.Selector `json:"clientSubnetsSelector,omitempty" tf:"-"` + // Information about the cluster access configuration. See below. For security reasons, you can't turn on public access while creating an MSK cluster. However, you can update an existing cluster to make it publicly accessible. You can also create a new cluster and then update it to make it publicly accessible (documentation). ConnectivityInfo []ConnectivityInfoInitParameters `json:"connectivityInfo,omitempty" tf:"connectivity_info,omitempty"` // Specify the instance type to use for the kafka brokersE.g., kafka.m5.large. (Pricing info) InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + // A list of the security groups to associate with the elastic network interfaces to control who can communicate with the cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupsRefs []v1.Reference `json:"securityGroupsRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupsSelector *v1.Selector `json:"securityGroupsSelector,omitempty" tf:"-"` + // A block that contains information about storage volumes attached to MSK broker nodes. See below. StorageInfo []StorageInfoInitParameters `json:"storageInfo,omitempty" tf:"storage_info,omitempty"` } @@ -192,6 +218,18 @@ type CloudwatchLogsInitParameters struct { // Controls whether provisioned throughput is enabled or not. Default value: false. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // Name of the Cloudwatch Log Group to deliver logs to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + LogGroup *string `json:"logGroup,omitempty" tf:"log_group,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate logGroup. + // +kubebuilder:validation:Optional + LogGroupRef *v1.Reference `json:"logGroupRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate logGroup. + // +kubebuilder:validation:Optional + LogGroupSelector *v1.Selector `json:"logGroupSelector,omitempty" tf:"-"` } type CloudwatchLogsObservation struct { @@ -452,6 +490,19 @@ type ClusterParameters struct { type ConfigurationInfoInitParameters struct { + // Amazon Resource Name (ARN) of the MSK Configuration to use in the cluster. + // +crossplane:generate:reference:type=Configuration + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Configuration to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Configuration to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Revision of the MSK Configuration to use in the cluster. Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` } @@ -575,6 +626,19 @@ type EncryptionInTransitParameters struct { type EncryptionInfoInitParameters struct { + // The ARN of the KMS key used for encryption at rest of the broker data volumes. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + EncryptionAtRestKMSKeyArn *string `json:"encryptionAtRestKmsKeyArn,omitempty" tf:"encryption_at_rest_kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate encryptionAtRestKmsKeyArn. + // +kubebuilder:validation:Optional + EncryptionAtRestKMSKeyArnRef *v1.Reference `json:"encryptionAtRestKmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate encryptionAtRestKmsKeyArn. + // +kubebuilder:validation:Optional + EncryptionAtRestKMSKeyArnSelector *v1.Selector `json:"encryptionAtRestKmsKeyArnSelector,omitempty" tf:"-"` + // Configuration block to specify encryption in transit. See below. EncryptionInTransit []EncryptionInTransitInitParameters `json:"encryptionInTransit,omitempty" tf:"encryption_in_transit,omitempty"` } @@ -611,6 +675,19 @@ type EncryptionInfoParameters struct { type FirehoseInitParameters struct { + // Name of the Kinesis Data Firehose delivery stream to deliver logs to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + DeliveryStream *string `json:"deliveryStream,omitempty" tf:"delivery_stream,omitempty"` + + // Reference to a DeliveryStream in firehose to populate deliveryStream. + // +kubebuilder:validation:Optional + DeliveryStreamRef *v1.Reference `json:"deliveryStreamRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate deliveryStream. + // +kubebuilder:validation:Optional + DeliveryStreamSelector *v1.Selector `json:"deliveryStreamSelector,omitempty" tf:"-"` + // Controls whether provisioned throughput is enabled or not. Default value: false. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` } @@ -800,6 +877,18 @@ type PublicAccessParameters struct { type S3InitParameters struct { + // Name of the S3 bucket to deliver logs to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Controls whether provisioned throughput is enabled or not. Default value: false. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` diff --git a/apis/kafka/v1beta1/zz_generated.deepcopy.go b/apis/kafka/v1beta1/zz_generated.deepcopy.go index 87735377b3..56e4929f61 100644 --- a/apis/kafka/v1beta1/zz_generated.deepcopy.go +++ b/apis/kafka/v1beta1/zz_generated.deepcopy.go @@ -129,6 +129,29 @@ func (in *BrokerNodeGroupInfoInitParameters) DeepCopyInto(out *BrokerNodeGroupIn *out = new(string) **out = **in } + if in.ClientSubnets != nil { + in, out := &in.ClientSubnets, &out.ClientSubnets + *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.ClientSubnetsRefs != nil { + in, out := &in.ClientSubnetsRefs, &out.ClientSubnetsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientSubnetsSelector != nil { + in, out := &in.ClientSubnetsSelector, &out.ClientSubnetsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConnectivityInfo != nil { in, out := &in.ConnectivityInfo, &out.ConnectivityInfo *out = make([]ConnectivityInfoInitParameters, len(*in)) @@ -141,6 +164,29 @@ func (in *BrokerNodeGroupInfoInitParameters) DeepCopyInto(out *BrokerNodeGroupIn *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.SecurityGroupsRefs != nil { + in, out := &in.SecurityGroupsRefs, &out.SecurityGroupsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupsSelector != nil { + in, out := &in.SecurityGroupsSelector, &out.SecurityGroupsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageInfo != nil { in, out := &in.StorageInfo, &out.StorageInfo *out = make([]StorageInfoInitParameters, len(*in)) @@ -470,6 +516,21 @@ func (in *CloudwatchLogsInitParameters) DeepCopyInto(out *CloudwatchLogsInitPara *out = new(bool) **out = **in } + if in.LogGroup != nil { + in, out := &in.LogGroup, &out.LogGroup + *out = new(string) + **out = **in + } + if in.LogGroupRef != nil { + in, out := &in.LogGroupRef, &out.LogGroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogGroupSelector != nil { + in, out := &in.LogGroupSelector, &out.LogGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchLogsInitParameters. @@ -1163,6 +1224,21 @@ func (in *Configuration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigurationInfoInitParameters) DeepCopyInto(out *ConfigurationInfoInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Revision != nil { in, out := &in.Revision, &out.Revision *out = new(float64) @@ -1696,6 +1772,21 @@ func (in *EncryptionInTransitParameters) DeepCopy() *EncryptionInTransitParamete // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EncryptionInfoInitParameters) DeepCopyInto(out *EncryptionInfoInitParameters) { *out = *in + if in.EncryptionAtRestKMSKeyArn != nil { + in, out := &in.EncryptionAtRestKMSKeyArn, &out.EncryptionAtRestKMSKeyArn + *out = new(string) + **out = **in + } + if in.EncryptionAtRestKMSKeyArnRef != nil { + in, out := &in.EncryptionAtRestKMSKeyArnRef, &out.EncryptionAtRestKMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EncryptionAtRestKMSKeyArnSelector != nil { + in, out := &in.EncryptionAtRestKMSKeyArnSelector, &out.EncryptionAtRestKMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EncryptionInTransit != nil { in, out := &in.EncryptionInTransit, &out.EncryptionInTransit *out = make([]EncryptionInTransitInitParameters, len(*in)) @@ -1782,6 +1873,21 @@ func (in *EncryptionInfoParameters) DeepCopy() *EncryptionInfoParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FirehoseInitParameters) DeepCopyInto(out *FirehoseInitParameters) { *out = *in + if in.DeliveryStream != nil { + in, out := &in.DeliveryStream, &out.DeliveryStream + *out = new(string) + **out = **in + } + if in.DeliveryStreamRef != nil { + in, out := &in.DeliveryStreamRef, &out.DeliveryStreamRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeliveryStreamSelector != nil { + in, out := &in.DeliveryStreamSelector, &out.DeliveryStreamSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) @@ -2396,6 +2502,21 @@ func (in *PublicAccessParameters) DeepCopy() *PublicAccessParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3InitParameters) DeepCopyInto(out *S3InitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) @@ -2593,6 +2714,44 @@ func (in *ScramSecretAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScramSecretAssociationInitParameters) DeepCopyInto(out *ScramSecretAssociationInitParameters) { *out = *in + if in.ClusterArn != nil { + in, out := &in.ClusterArn, &out.ClusterArn + *out = new(string) + **out = **in + } + if in.ClusterArnRef != nil { + in, out := &in.ClusterArnRef, &out.ClusterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterArnSelector != nil { + in, out := &in.ClusterArnSelector, &out.ClusterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecretArnList != nil { + in, out := &in.SecretArnList, &out.SecretArnList + *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.SecretArnRefs != nil { + in, out := &in.SecretArnRefs, &out.SecretArnRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScramSecretAssociationInitParameters. @@ -2736,7 +2895,7 @@ func (in *ScramSecretAssociationSpec) DeepCopyInto(out *ScramSecretAssociationSp *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 ScramSecretAssociationSpec. @@ -2959,7 +3118,9 @@ func (in *ServerlessClusterInitParameters) DeepCopyInto(out *ServerlessClusterIn if in.VPCConfig != nil { in, out := &in.VPCConfig, &out.VPCConfig *out = make([]VPCConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -3323,6 +3484,52 @@ func (in *TLSParameters) DeepCopy() *TLSParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { *out = *in + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigInitParameters. diff --git a/apis/kafka/v1beta1/zz_generated.resolvers.go b/apis/kafka/v1beta1/zz_generated.resolvers.go index 1064013d77..38ffef7586 100644 --- a/apis/kafka/v1beta1/zz_generated.resolvers.go +++ b/apis/kafka/v1beta1/zz_generated.resolvers.go @@ -166,6 +166,144 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.BrokerNodeGroupInfo); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnets), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnetsRefs, + Selector: mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnetsSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnets") + } + mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnets = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].ClientSubnetsRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.BrokerNodeGroupInfo); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroupsRefs, + Selector: mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroupsSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroups") + } + mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.BrokerNodeGroupInfo[i3].SecurityGroupsRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ConfigurationInfo); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationInfo[i3].Arn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ConfigurationInfo[i3].ArnRef, + Selector: mg.Spec.InitProvider.ConfigurationInfo[i3].ArnSelector, + To: reference.To{ + List: &ConfigurationList{}, + Managed: &Configuration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationInfo[i3].Arn") + } + mg.Spec.InitProvider.ConfigurationInfo[i3].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationInfo[i3].ArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EncryptionInfo); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArn") + } + mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionInfo[i3].EncryptionAtRestKMSKeyArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoggingInfo); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroup), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroupRef, + Selector: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroupSelector, + To: reference.To{ + List: &v1beta12.GroupList{}, + Managed: &v1beta12.Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroup") + } + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroup = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].CloudwatchLogs[i5].LogGroupRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoggingInfo); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStream), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStreamRef, + Selector: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStreamSelector, + To: reference.To{ + List: &v1beta13.DeliveryStreamList{}, + Managed: &v1beta13.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStream") + } + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStream = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].Firehose[i5].DeliveryStreamRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoggingInfo); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].BucketRef, + Selector: mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].BucketSelector, + To: reference.To{ + List: &v1beta14.BucketList{}, + Managed: &v1beta14.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].Bucket") + } + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingInfo[i3].BrokerLogs[i4].S3[i5].BucketRef = rsp.ResolvedReference + + } + } + } return nil } @@ -210,6 +348,38 @@ func (mg *ScramSecretAssociation) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.SecretArnList = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SecretArnRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ClusterArnRef, + Selector: mg.Spec.InitProvider.ClusterArnSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterArn") + } + mg.Spec.InitProvider.ClusterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecretArnList), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecretArnRefs, + Selector: mg.Spec.InitProvider.SecretArnSelector, + To: reference.To{ + List: &v1beta15.SecretList{}, + Managed: &v1beta15.Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecretArnList") + } + mg.Spec.InitProvider.SecretArnList = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecretArnRefs = mrsp.ResolvedReferences + return nil } @@ -255,6 +425,42 @@ func (mg *ServerlessCluster) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } return nil diff --git a/apis/kafka/v1beta1/zz_scramsecretassociation_types.go b/apis/kafka/v1beta1/zz_scramsecretassociation_types.go index b5affc4b81..85ffcbe498 100755 --- a/apis/kafka/v1beta1/zz_scramsecretassociation_types.go +++ b/apis/kafka/v1beta1/zz_scramsecretassociation_types.go @@ -18,6 +18,34 @@ import ( ) type ScramSecretAssociationInitParameters struct { + + // Amazon Resource Name (ARN) of the MSK cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kafka/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"` + + // Reference to a Cluster in kafka to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"` + + // Selector for a Cluster in kafka to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"` + + // List of all AWS Secrets Manager secret ARNs to associate with the cluster. Secrets not referenced, selected or listed here will be disassociated from the cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:refFieldName=SecretArnRefs + // +crossplane:generate:reference:selectorFieldName=SecretArnSelector + // +listType=set + SecretArnList []*string `json:"secretArnList,omitempty" tf:"secret_arn_list,omitempty"` + + // References to Secret in secretsmanager to populate secretArnList. + // +kubebuilder:validation:Optional + SecretArnRefs []v1.Reference `json:"secretArnRefs,omitempty" tf:"-"` + + // Selector for a list of Secret in secretsmanager to populate secretArnList. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` } type ScramSecretAssociationObservation struct { diff --git a/apis/kafka/v1beta1/zz_serverlesscluster_types.go b/apis/kafka/v1beta1/zz_serverlesscluster_types.go index 370dd57fc0..f1db86f2a4 100755 --- a/apis/kafka/v1beta1/zz_serverlesscluster_types.go +++ b/apis/kafka/v1beta1/zz_serverlesscluster_types.go @@ -144,6 +144,36 @@ type ServerlessClusterParameters struct { } type VPCConfigInitParameters struct { + + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of subnets in at least two different Availability Zones that host your client applications. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type VPCConfigObservation struct { diff --git a/apis/kendra/v1beta1/zz_datasource_types.go b/apis/kendra/v1beta1/zz_datasource_types.go index a2e9d54f81..a1cbb21076 100755 --- a/apis/kendra/v1beta1/zz_datasource_types.go +++ b/apis/kendra/v1beta1/zz_datasource_types.go @@ -57,6 +57,19 @@ type AuthenticationConfigurationParameters struct { type BasicAuthenticationInitParameters struct { + // Your secret ARN, which you can create in AWS Secrets Manager. You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Credentials *string `json:"credentials,omitempty" tf:"credentials,omitempty"` + + // Reference to a Secret in secretsmanager to populate credentials. + // +kubebuilder:validation:Optional + CredentialsRef *v1.Reference `json:"credentialsRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate credentials. + // +kubebuilder:validation:Optional + CredentialsSelector *v1.Selector `json:"credentialsSelector,omitempty" tf:"-"` + // The name of the website host you want to connect to using authentication credentials. For example, the host name of https://a.example.com/page1.html is "a.example.com". Host *string `json:"host,omitempty" tf:"host,omitempty"` @@ -278,12 +291,38 @@ type DataSourceInitParameters struct { // A description for the Data Source connector. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The identifier of the index for your Amazon Kendra data source. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kendra/v1beta1.Index + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IndexID *string `json:"indexId,omitempty" tf:"index_id,omitempty"` + + // Reference to a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDRef *v1.Reference `json:"indexIdRef,omitempty" tf:"-"` + + // Selector for a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDSelector *v1.Selector `json:"indexIdSelector,omitempty" tf:"-"` + // The code for a language. This allows you to support a language for all documents when creating the Data Source connector. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English. LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"` // A name for your data source connector. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The Amazon Resource Name (ARN) of a role with permission to access the data source connector. For more information, see IAM roles for Amazon Kendra. You can't specify the role_arn parameter when the type parameter is set to CUSTOM. The role_arn parameter is required for all other data sources. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Sets the frequency for Amazon Kendra to check the documents in your Data Source repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob API to update the index. Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"` @@ -737,6 +776,19 @@ type PreExtractionHookConfigurationParameters struct { type ProxyConfigurationInitParameters struct { + // Your secret ARN, which you can create in AWS Secrets Manager. You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Credentials *string `json:"credentials,omitempty" tf:"credentials,omitempty"` + + // Reference to a Secret in secretsmanager to populate credentials. + // +kubebuilder:validation:Optional + CredentialsRef *v1.Reference `json:"credentialsRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate credentials. + // +kubebuilder:validation:Optional + CredentialsSelector *v1.Selector `json:"credentialsSelector,omitempty" tf:"-"` + // The name of the website host you want to connect to using authentication credentials. For example, the host name of https://a.example.com/page1.html is "a.example.com". Host *string `json:"host,omitempty" tf:"host,omitempty"` @@ -786,6 +838,19 @@ type S3ConfigurationInitParameters struct { // A block that provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see Access control for S3 data sources. Detailed below. AccessControlListConfiguration []AccessControlListConfigurationInitParameters `json:"accessControlListConfiguration,omitempty" tf:"access_control_list_configuration,omitempty"` + // The name of the bucket that contains the documents. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // A block that defines the Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. Detailed below. DocumentsMetadataConfiguration []DocumentsMetadataConfigurationInitParameters `json:"documentsMetadataConfiguration,omitempty" tf:"documents_metadata_configuration,omitempty"` diff --git a/apis/kendra/v1beta1/zz_experience_types.go b/apis/kendra/v1beta1/zz_experience_types.go index 24be31241f..ed5a297a29 100755 --- a/apis/kendra/v1beta1/zz_experience_types.go +++ b/apis/kendra/v1beta1/zz_experience_types.go @@ -114,8 +114,34 @@ type ExperienceInitParameters struct { // A description for your Amazon Kendra experience. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The identifier of the index for your Amazon Kendra experience. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kendra/v1beta1.Index + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IndexID *string `json:"indexId,omitempty" tf:"index_id,omitempty"` + + // Reference to a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDRef *v1.Reference `json:"indexIdRef,omitempty" tf:"-"` + + // Selector for a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDSelector *v1.Selector `json:"indexIdSelector,omitempty" tf:"-"` + // A name for your Amazon Kendra experience. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and AWS SSO that stores your user and group information. For more information, see IAM roles for Amazon Kendra. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type ExperienceObservation struct { diff --git a/apis/kendra/v1beta1/zz_generated.deepcopy.go b/apis/kendra/v1beta1/zz_generated.deepcopy.go index 0ae8a2a957..a6762e5e51 100644 --- a/apis/kendra/v1beta1/zz_generated.deepcopy.go +++ b/apis/kendra/v1beta1/zz_generated.deepcopy.go @@ -142,6 +142,21 @@ func (in *AuthenticationConfigurationParameters) DeepCopy() *AuthenticationConfi // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BasicAuthenticationInitParameters) DeepCopyInto(out *BasicAuthenticationInitParameters) { *out = *in + if in.Credentials != nil { + in, out := &in.Credentials, &out.Credentials + *out = new(string) + **out = **in + } + if in.CredentialsRef != nil { + in, out := &in.CredentialsRef, &out.CredentialsRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CredentialsSelector != nil { + in, out := &in.CredentialsSelector, &out.CredentialsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Host != nil { in, out := &in.Host, &out.Host *out = new(string) @@ -913,6 +928,21 @@ func (in *DataSourceInitParameters) DeepCopyInto(out *DataSourceInitParameters) *out = new(string) **out = **in } + if in.IndexID != nil { + in, out := &in.IndexID, &out.IndexID + *out = new(string) + **out = **in + } + if in.IndexIDRef != nil { + in, out := &in.IndexIDRef, &out.IndexIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IndexIDSelector != nil { + in, out := &in.IndexIDSelector, &out.IndexIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LanguageCode != nil { in, out := &in.LanguageCode, &out.LanguageCode *out = new(string) @@ -923,6 +953,21 @@ func (in *DataSourceInitParameters) DeepCopyInto(out *DataSourceInitParameters) *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Schedule != nil { in, out := &in.Schedule, &out.Schedule *out = new(string) @@ -1625,11 +1670,41 @@ func (in *ExperienceInitParameters) DeepCopyInto(out *ExperienceInitParameters) *out = new(string) **out = **in } + if in.IndexID != nil { + in, out := &in.IndexID, &out.IndexID + *out = new(string) + **out = **in + } + if in.IndexIDRef != nil { + in, out := &in.IndexIDRef, &out.IndexIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IndexIDSelector != nil { + in, out := &in.IndexIDSelector, &out.IndexIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExperienceInitParameters. @@ -1954,6 +2029,21 @@ func (in *IndexInitParameters) DeepCopyInto(out *IndexInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ServerSideEncryptionConfiguration != nil { in, out := &in.ServerSideEncryptionConfiguration, &out.ServerSideEncryptionConfiguration *out = make([]ServerSideEncryptionConfigurationInitParameters, len(*in)) @@ -3344,6 +3434,21 @@ func (in *PreExtractionHookConfigurationParameters) DeepCopy() *PreExtractionHoo // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProxyConfigurationInitParameters) DeepCopyInto(out *ProxyConfigurationInitParameters) { *out = *in + if in.Credentials != nil { + in, out := &in.Credentials, &out.Credentials + *out = new(string) + **out = **in + } + if in.CredentialsRef != nil { + in, out := &in.CredentialsRef, &out.CredentialsRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CredentialsSelector != nil { + in, out := &in.CredentialsSelector, &out.CredentialsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Host != nil { in, out := &in.Host, &out.Host *out = new(string) @@ -3471,11 +3576,41 @@ func (in *QuerySuggestionsBlockListInitParameters) DeepCopyInto(out *QuerySugges *out = new(string) **out = **in } + if in.IndexID != nil { + in, out := &in.IndexID, &out.IndexID + *out = new(string) + **out = **in + } + if in.IndexIDRef != nil { + in, out := &in.IndexIDRef, &out.IndexIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IndexIDSelector != nil { + in, out := &in.IndexIDSelector, &out.IndexIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceS3Path != nil { in, out := &in.SourceS3Path, &out.SourceS3Path *out = make([]SourceS3PathInitParameters, len(*in)) @@ -3918,6 +4053,21 @@ func (in *S3ConfigurationInitParameters) DeepCopyInto(out *S3ConfigurationInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DocumentsMetadataConfiguration != nil { in, out := &in.DocumentsMetadataConfiguration, &out.DocumentsMetadataConfiguration *out = make([]DocumentsMetadataConfigurationInitParameters, len(*in)) @@ -4453,6 +4603,21 @@ func (in *SiteMapsConfigurationParameters) DeepCopy() *SiteMapsConfigurationPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SourceS3PathInitParameters) DeepCopyInto(out *SourceS3PathInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) @@ -4839,15 +5004,47 @@ func (in *ThesaurusInitParameters) DeepCopyInto(out *ThesaurusInitParameters) { *out = new(string) **out = **in } + if in.IndexID != nil { + in, out := &in.IndexID, &out.IndexID + *out = new(string) + **out = **in + } + if in.IndexIDRef != nil { + in, out := &in.IndexIDRef, &out.IndexIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IndexIDSelector != nil { + in, out := &in.IndexIDSelector, &out.IndexIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceS3Path != nil { in, out := &in.SourceS3Path, &out.SourceS3Path *out = make([]ThesaurusSourceS3PathInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -5089,6 +5286,36 @@ func (in *ThesaurusParameters) DeepCopy() *ThesaurusParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ThesaurusSourceS3PathInitParameters) DeepCopyInto(out *ThesaurusSourceS3PathInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.KeyRef != nil { + in, out := &in.KeyRef, &out.KeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeySelector != nil { + in, out := &in.KeySelector, &out.KeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThesaurusSourceS3PathInitParameters. diff --git a/apis/kendra/v1beta1/zz_generated.resolvers.go b/apis/kendra/v1beta1/zz_generated.resolvers.go index 4a1f5f23ba..48b7dee8eb 100644 --- a/apis/kendra/v1beta1/zz_generated.resolvers.go +++ b/apis/kendra/v1beta1/zz_generated.resolvers.go @@ -122,6 +122,104 @@ func (mg *DataSource) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Configuration[i3].S3Configuration); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketNameRef, + Selector: mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketNameSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketName") + } + mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].S3Configuration[i4].BucketNameRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].Credentials), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].CredentialsRef, + Selector: mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].CredentialsSelector, + To: reference.To{ + List: &v1beta11.SecretList{}, + Managed: &v1beta11.Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].Credentials") + } + mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].Credentials = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].AuthenticationConfiguration[i5].BasicAuthentication[i6].CredentialsRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].Credentials), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].CredentialsRef, + Selector: mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].CredentialsSelector, + To: reference.To{ + List: &v1beta11.SecretList{}, + Managed: &v1beta11.Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].Credentials") + } + mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].Credentials = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].WebCrawlerConfiguration[i4].ProxyConfiguration[i5].CredentialsRef = rsp.ResolvedReference + + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IndexID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IndexIDRef, + Selector: mg.Spec.InitProvider.IndexIDSelector, + To: reference.To{ + List: &IndexList{}, + Managed: &Index{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IndexID") + } + mg.Spec.InitProvider.IndexID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IndexIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -164,6 +262,38 @@ func (mg *Experience) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IndexID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IndexIDRef, + Selector: mg.Spec.InitProvider.IndexIDSelector, + To: reference.To{ + List: &IndexList{}, + Managed: &Index{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IndexID") + } + mg.Spec.InitProvider.IndexID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IndexIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -190,6 +320,22 @@ func (mg *Index) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -249,6 +395,56 @@ func (mg *QuerySuggestionsBlockList) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.SourceS3Path[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceS3Path[i3].BucketRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IndexID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IndexIDRef, + Selector: mg.Spec.InitProvider.IndexIDSelector, + To: reference.To{ + List: &IndexList{}, + Managed: &Index{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IndexID") + } + mg.Spec.InitProvider.IndexID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IndexIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.SourceS3Path); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceS3Path[i3].Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceS3Path[i3].BucketRef, + Selector: mg.Spec.InitProvider.SourceS3Path[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceS3Path[i3].Bucket") + } + mg.Spec.InitProvider.SourceS3Path[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceS3Path[i3].BucketRef = rsp.ResolvedReference + } return nil @@ -328,6 +524,74 @@ func (mg *Thesaurus) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.SourceS3Path[i3].Key = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceS3Path[i3].KeyRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IndexID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IndexIDRef, + Selector: mg.Spec.InitProvider.IndexIDSelector, + To: reference.To{ + List: &IndexList{}, + Managed: &Index{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IndexID") + } + mg.Spec.InitProvider.IndexID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IndexIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.SourceS3Path); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceS3Path[i3].Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SourceS3Path[i3].BucketRef, + Selector: mg.Spec.InitProvider.SourceS3Path[i3].BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceS3Path[i3].Bucket") + } + mg.Spec.InitProvider.SourceS3Path[i3].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceS3Path[i3].BucketRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SourceS3Path); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceS3Path[i3].Key), + Extract: resource.ExtractParamPath("key", false), + Reference: mg.Spec.InitProvider.SourceS3Path[i3].KeyRef, + Selector: mg.Spec.InitProvider.SourceS3Path[i3].KeySelector, + To: reference.To{ + List: &v1beta1.ObjectList{}, + Managed: &v1beta1.Object{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceS3Path[i3].Key") + } + mg.Spec.InitProvider.SourceS3Path[i3].Key = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceS3Path[i3].KeyRef = rsp.ResolvedReference + } return nil diff --git a/apis/kendra/v1beta1/zz_index_types.go b/apis/kendra/v1beta1/zz_index_types.go index c0e6fdafe2..234c231221 100755 --- a/apis/kendra/v1beta1/zz_index_types.go +++ b/apis/kendra/v1beta1/zz_index_types.go @@ -124,6 +124,19 @@ type IndexInitParameters struct { // Specifies the name of the Index. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role you use when you call the BatchPutDocument API to index documents from an Amazon S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // A block that specifies the identifier of the AWS KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs. Detailed below. ServerSideEncryptionConfiguration []ServerSideEncryptionConfigurationInitParameters `json:"serverSideEncryptionConfiguration,omitempty" tf:"server_side_encryption_configuration,omitempty"` diff --git a/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go b/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go index 05e2919f6b..4f73251e97 100755 --- a/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go +++ b/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go @@ -22,9 +22,35 @@ type QuerySuggestionsBlockListInitParameters struct { // Description for a block list. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // Identifier of the index for a block list. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kendra/v1beta1.Index + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IndexID *string `json:"indexId,omitempty" tf:"index_id,omitempty"` + + // Reference to a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDRef *v1.Reference `json:"indexIdRef,omitempty" tf:"-"` + + // Selector for a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDSelector *v1.Selector `json:"indexIdSelector,omitempty" tf:"-"` + // Name for the block list. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // IAM (Identity and Access Management) role used to access the block list text file in S3. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // S3 path where your block list text file is located. See details below. SourceS3Path []SourceS3PathInitParameters `json:"sourceS3Path,omitempty" tf:"source_s3_path,omitempty"` @@ -124,6 +150,19 @@ type QuerySuggestionsBlockListParameters struct { type SourceS3PathInitParameters struct { + // Name of the S3 bucket that contains the file. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Name of the file. Key *string `json:"key,omitempty" tf:"key,omitempty"` } diff --git a/apis/kendra/v1beta1/zz_thesaurus_types.go b/apis/kendra/v1beta1/zz_thesaurus_types.go index 8454486523..8c0b414f04 100755 --- a/apis/kendra/v1beta1/zz_thesaurus_types.go +++ b/apis/kendra/v1beta1/zz_thesaurus_types.go @@ -22,9 +22,35 @@ type ThesaurusInitParameters struct { // The description for a thesaurus. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The identifier of the index for a thesaurus. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kendra/v1beta1.Index + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IndexID *string `json:"indexId,omitempty" tf:"index_id,omitempty"` + + // Reference to a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDRef *v1.Reference `json:"indexIdRef,omitempty" tf:"-"` + + // Selector for a Index in kendra to populate indexId. + // +kubebuilder:validation:Optional + IndexIDSelector *v1.Selector `json:"indexIdSelector,omitempty" tf:"-"` + // The name for the thesaurus. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The IAM (Identity and Access Management) role used to access the thesaurus file in S3. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The S3 path where your thesaurus file sits in S3. Detailed below. SourceS3Path []ThesaurusSourceS3PathInitParameters `json:"sourceS3Path,omitempty" tf:"source_s3_path,omitempty"` @@ -125,6 +151,32 @@ type ThesaurusParameters struct { } type ThesaurusSourceS3PathInitParameters struct { + + // The name of the S3 bucket that contains the file. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + + // The name of the file. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Object + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key",false) + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Reference to a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeyRef *v1.Reference `json:"keyRef,omitempty" tf:"-"` + + // Selector for a Object in s3 to populate key. + // +kubebuilder:validation:Optional + KeySelector *v1.Selector `json:"keySelector,omitempty" tf:"-"` } type ThesaurusSourceS3PathObservation struct { diff --git a/apis/keyspaces/v1beta1/zz_generated.deepcopy.go b/apis/keyspaces/v1beta1/zz_generated.deepcopy.go index c3a43302e4..a99b00812c 100644 --- a/apis/keyspaces/v1beta1/zz_generated.deepcopy.go +++ b/apis/keyspaces/v1beta1/zz_generated.deepcopy.go @@ -1098,6 +1098,21 @@ func (in *TableInitParameters) DeepCopyInto(out *TableInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.KeyspaceName != nil { + in, out := &in.KeyspaceName, &out.KeyspaceName + *out = new(string) + **out = **in + } + if in.KeyspaceNameRef != nil { + in, out := &in.KeyspaceNameRef, &out.KeyspaceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyspaceNameSelector != nil { + in, out := &in.KeyspaceNameSelector, &out.KeyspaceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PointInTimeRecovery != nil { in, out := &in.PointInTimeRecovery, &out.PointInTimeRecovery *out = make([]PointInTimeRecoveryInitParameters, len(*in)) diff --git a/apis/keyspaces/v1beta1/zz_generated.resolvers.go b/apis/keyspaces/v1beta1/zz_generated.resolvers.go index a4ccceb072..bddc8c58d4 100644 --- a/apis/keyspaces/v1beta1/zz_generated.resolvers.go +++ b/apis/keyspaces/v1beta1/zz_generated.resolvers.go @@ -35,5 +35,21 @@ func (mg *Table) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.KeyspaceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyspaceNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyspaceName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KeyspaceNameRef, + Selector: mg.Spec.InitProvider.KeyspaceNameSelector, + To: reference.To{ + List: &KeyspaceList{}, + Managed: &Keyspace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyspaceName") + } + mg.Spec.InitProvider.KeyspaceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyspaceNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/keyspaces/v1beta1/zz_table_types.go b/apis/keyspaces/v1beta1/zz_table_types.go index 64c1df8f39..6ff1f6a986 100755 --- a/apis/keyspaces/v1beta1/zz_table_types.go +++ b/apis/keyspaces/v1beta1/zz_table_types.go @@ -323,6 +323,18 @@ type TableInitParameters struct { // Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide. EncryptionSpecification []EncryptionSpecificationInitParameters `json:"encryptionSpecification,omitempty" tf:"encryption_specification,omitempty"` + // The name of the keyspace that the table is going to be created in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/keyspaces/v1beta1.Keyspace + KeyspaceName *string `json:"keyspaceName,omitempty" tf:"keyspace_name,omitempty"` + + // Reference to a Keyspace in keyspaces to populate keyspaceName. + // +kubebuilder:validation:Optional + KeyspaceNameRef *v1.Reference `json:"keyspaceNameRef,omitempty" tf:"-"` + + // Selector for a Keyspace in keyspaces to populate keyspaceName. + // +kubebuilder:validation:Optional + KeyspaceNameSelector *v1.Selector `json:"keyspaceNameSelector,omitempty" tf:"-"` + // Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide. PointInTimeRecovery []PointInTimeRecoveryInitParameters `json:"pointInTimeRecovery,omitempty" tf:"point_in_time_recovery,omitempty"` diff --git a/apis/kinesis/v1beta1/zz_generated.deepcopy.go b/apis/kinesis/v1beta1/zz_generated.deepcopy.go index 4db4664b23..6de458d980 100644 --- a/apis/kinesis/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesis/v1beta1/zz_generated.deepcopy.go @@ -75,6 +75,21 @@ func (in *StreamConsumerInitParameters) DeepCopyInto(out *StreamConsumerInitPara *out = new(string) **out = **in } + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamConsumerInitParameters. @@ -247,6 +262,21 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RetentionPeriod != nil { in, out := &in.RetentionPeriod, &out.RetentionPeriod *out = new(float64) diff --git a/apis/kinesis/v1beta1/zz_generated.resolvers.go b/apis/kinesis/v1beta1/zz_generated.resolvers.go index 179a504d5c..8d3b8566fa 100644 --- a/apis/kinesis/v1beta1/zz_generated.resolvers.go +++ b/apis/kinesis/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *Stream) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -63,5 +79,21 @@ func (mg *StreamConsumer) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.StreamArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StreamArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StreamArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.StreamArnRef, + Selector: mg.Spec.InitProvider.StreamArnSelector, + To: reference.To{ + List: &StreamList{}, + Managed: &Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StreamArn") + } + mg.Spec.InitProvider.StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StreamArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/kinesis/v1beta1/zz_stream_types.go b/apis/kinesis/v1beta1/zz_stream_types.go index 8d0cbf606d..b22b19628c 100755 --- a/apis/kinesis/v1beta1/zz_stream_types.go +++ b/apis/kinesis/v1beta1/zz_stream_types.go @@ -25,6 +25,18 @@ type StreamInitParameters struct { // A boolean that indicates all registered consumers should be deregistered from the stream so that the stream can be destroyed without error. The default value is false. EnforceConsumerDeletion *bool `json:"enforceConsumerDeletion,omitempty" tf:"enforce_consumer_deletion,omitempty"` + // The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by specifying the alias alias/aws/kinesis. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 8760 hours. Minimum value is 24. Default is 24. RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` diff --git a/apis/kinesis/v1beta1/zz_streamconsumer_types.go b/apis/kinesis/v1beta1/zz_streamconsumer_types.go index 7af4539ae0..9f04d53c8c 100755 --- a/apis/kinesis/v1beta1/zz_streamconsumer_types.go +++ b/apis/kinesis/v1beta1/zz_streamconsumer_types.go @@ -21,6 +21,19 @@ type StreamConsumerInitParameters struct { // Name of the stream consumer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // – Amazon Resource Name (ARN) of the data stream the consumer is registered with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` } type StreamConsumerObservation struct { diff --git a/apis/kinesisanalytics/v1beta1/zz_application_types.go b/apis/kinesisanalytics/v1beta1/zz_application_types.go index 7b60c0b022..72c2ea890f 100755 --- a/apis/kinesisanalytics/v1beta1/zz_application_types.go +++ b/apis/kinesisanalytics/v1beta1/zz_application_types.go @@ -146,6 +146,32 @@ type ApplicationParameters struct { } type CloudwatchLoggingOptionsInitParameters struct { + + // The ARN of the CloudWatch Log Stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + LogStreamArn *string `json:"logStreamArn,omitempty" tf:"log_stream_arn,omitempty"` + + // Reference to a Stream in cloudwatchlogs to populate logStreamArn. + // +kubebuilder:validation:Optional + LogStreamArnRef *v1.Reference `json:"logStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in cloudwatchlogs to populate logStreamArn. + // +kubebuilder:validation:Optional + LogStreamArnSelector *v1.Selector `json:"logStreamArnSelector,omitempty" tf:"-"` + + // The ARN of the IAM Role used to send application messages. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type CloudwatchLoggingOptionsObservation struct { @@ -368,6 +394,32 @@ type KinesisFirehoseParameters struct { } type KinesisStreamInitParameters struct { + + // The ARN of the Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Stream in kinesis to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` + + // The IAM Role ARN to read the data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type KinesisStreamObservation struct { @@ -543,6 +595,32 @@ type OutputsInitParameters struct { } type OutputsKinesisFirehoseInitParameters struct { + + // The ARN of the Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` + + // The IAM Role ARN to read the data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type OutputsKinesisFirehoseObservation struct { diff --git a/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go b/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go index 62a9e683af..15c6d07fed 100644 --- a/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go @@ -46,7 +46,9 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if in.CloudwatchLoggingOptions != nil { in, out := &in.CloudwatchLoggingOptions, &out.CloudwatchLoggingOptions *out = make([]CloudwatchLoggingOptionsInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Code != nil { in, out := &in.Code, &out.Code @@ -381,6 +383,36 @@ func (in *ApplicationStatus) DeepCopy() *ApplicationStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CloudwatchLoggingOptionsInitParameters) DeepCopyInto(out *CloudwatchLoggingOptionsInitParameters) { *out = *in + if in.LogStreamArn != nil { + in, out := &in.LogStreamArn, &out.LogStreamArn + *out = new(string) + **out = **in + } + if in.LogStreamArnRef != nil { + in, out := &in.LogStreamArnRef, &out.LogStreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogStreamArnSelector != nil { + in, out := &in.LogStreamArnSelector, &out.LogStreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchLoggingOptionsInitParameters. @@ -556,7 +588,9 @@ func (in *InputsInitParameters) DeepCopyInto(out *InputsInitParameters) { if in.KinesisStream != nil { in, out := &in.KinesisStream, &out.KinesisStream *out = make([]KinesisStreamInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.NamePrefix != nil { in, out := &in.NamePrefix, &out.NamePrefix @@ -881,6 +915,36 @@ func (in *KinesisFirehoseParameters) DeepCopy() *KinesisFirehoseParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisStreamInitParameters) DeepCopyInto(out *KinesisStreamInitParameters) { *out = *in + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisStreamInitParameters. @@ -1266,7 +1330,9 @@ func (in *OutputsInitParameters) DeepCopyInto(out *OutputsInitParameters) { if in.KinesisFirehose != nil { in, out := &in.KinesisFirehose, &out.KinesisFirehose *out = make([]OutputsKinesisFirehoseInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.KinesisStream != nil { in, out := &in.KinesisStream, &out.KinesisStream @@ -1309,6 +1375,36 @@ func (in *OutputsInitParameters) DeepCopy() *OutputsInitParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OutputsKinesisFirehoseInitParameters) DeepCopyInto(out *OutputsKinesisFirehoseInitParameters) { *out = *in + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputsKinesisFirehoseInitParameters. diff --git a/apis/kinesisanalytics/v1beta1/zz_generated.resolvers.go b/apis/kinesisanalytics/v1beta1/zz_generated.resolvers.go index 509898f501..c1cf6798e7 100644 --- a/apis/kinesisanalytics/v1beta1/zz_generated.resolvers.go +++ b/apis/kinesisanalytics/v1beta1/zz_generated.resolvers.go @@ -141,6 +141,122 @@ func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) e } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.CloudwatchLoggingOptions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnRef, + Selector: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnSelector, + To: reference.To{ + List: &v1beta1.StreamList{}, + Managed: &v1beta1.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn") + } + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.CloudwatchLoggingOptions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArn") + } + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Inputs); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Inputs[i3].KinesisStream); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArnRef, + Selector: mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArnSelector, + To: reference.To{ + List: &v1beta12.StreamList{}, + Managed: &v1beta12.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArn") + } + mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].ResourceArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Inputs); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Inputs[i3].KinesisStream); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArn") + } + mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Inputs[i3].KinesisStream[i4].RoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Outputs); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Outputs[i3].KinesisFirehose); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArnRef, + Selector: mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArnSelector, + To: reference.To{ + List: &v1beta13.DeliveryStreamList{}, + Managed: &v1beta13.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArn") + } + mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].ResourceArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Outputs); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Outputs[i3].KinesisFirehose); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArnRef, + Selector: mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArn") + } + mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Outputs[i3].KinesisFirehose[i4].RoleArnRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go b/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go index d6b081e817..55d5cebb5f 100755 --- a/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go @@ -142,6 +142,19 @@ type ApplicationInitParameters struct { // The runtime environment for the application. Valid values: SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11, FLINK-1_13, FLINK-1_15. RuntimeEnvironment *string `json:"runtimeEnvironment,omitempty" tf:"runtime_environment,omitempty"` + // The ARN of the IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceExecutionRole *string `json:"serviceExecutionRole,omitempty" tf:"service_execution_role,omitempty"` + + // Reference to a Role in iam to populate serviceExecutionRole. + // +kubebuilder:validation:Optional + ServiceExecutionRoleRef *v1.Reference `json:"serviceExecutionRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceExecutionRole. + // +kubebuilder:validation:Optional + ServiceExecutionRoleSelector *v1.Selector `json:"serviceExecutionRoleSelector,omitempty" tf:"-"` + // Whether to start or stop the application. StartApplication *bool `json:"startApplication,omitempty" tf:"start_application,omitempty"` @@ -349,6 +362,19 @@ type CheckpointConfigurationParameters struct { } type CloudwatchLoggingOptionsInitParameters struct { + + // The ARN of the CloudWatch log stream to receive application messages. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + LogStreamArn *string `json:"logStreamArn,omitempty" tf:"log_stream_arn,omitempty"` + + // Reference to a Stream in cloudwatchlogs to populate logStreamArn. + // +kubebuilder:validation:Optional + LogStreamArnRef *v1.Reference `json:"logStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in cloudwatchlogs to populate logStreamArn. + // +kubebuilder:validation:Optional + LogStreamArnSelector *v1.Selector `json:"logStreamArnSelector,omitempty" tf:"-"` } type CloudwatchLoggingOptionsObservation struct { @@ -771,6 +797,19 @@ type KinesisFirehoseInputParameters struct { } type KinesisFirehoseOutputInitParameters struct { + + // The ARN of the Lambda function that operates on records in the stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type KinesisFirehoseOutputObservation struct { @@ -797,6 +836,19 @@ type KinesisFirehoseOutputParameters struct { } type KinesisStreamsInputInitParameters struct { + + // The ARN of the Lambda function that operates on records in the stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Stream in kinesis to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type KinesisStreamsInputObservation struct { @@ -842,6 +894,19 @@ type KinesisStreamsOutputParameters struct { } type LambdaOutputInitParameters struct { + + // The ARN of the Lambda function that operates on records in the stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Function in lambda to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type LambdaOutputObservation struct { @@ -1403,6 +1468,32 @@ type RunConfigurationParameters struct { type S3ContentLocationInitParameters struct { + // The ARN for the S3 bucket containing the application code. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + + // The file key for the object containing the application code. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Object + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key",false) + FileKey *string `json:"fileKey,omitempty" tf:"file_key,omitempty"` + + // Reference to a Object in s3 to populate fileKey. + // +kubebuilder:validation:Optional + FileKeyRef *v1.Reference `json:"fileKeyRef,omitempty" tf:"-"` + + // Selector for a Object in s3 to populate fileKey. + // +kubebuilder:validation:Optional + FileKeySelector *v1.Selector `json:"fileKeySelector,omitempty" tf:"-"` + // The version of the object containing the application code. ObjectVersion *string `json:"objectVersion,omitempty" tf:"object_version,omitempty"` } @@ -1456,6 +1547,19 @@ type S3ContentLocationParameters struct { type S3ReferenceDataSourceInitParameters struct { + // The ARN for the S3 bucket containing the application code. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // The file key for the object containing the application code. FileKey *string `json:"fileKey,omitempty" tf:"file_key,omitempty"` } diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_applicationsnapshot_types.go b/apis/kinesisanalyticsv2/v1beta1/zz_applicationsnapshot_types.go index 4246ac4b91..6766067fab 100755 --- a/apis/kinesisanalyticsv2/v1beta1/zz_applicationsnapshot_types.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_applicationsnapshot_types.go @@ -18,6 +18,18 @@ import ( ) type ApplicationSnapshotInitParameters struct { + + // The name of an existing Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesisanalyticsv2/v1beta1.Application + ApplicationName *string `json:"applicationName,omitempty" tf:"application_name,omitempty"` + + // Reference to a Application in kinesisanalyticsv2 to populate applicationName. + // +kubebuilder:validation:Optional + ApplicationNameRef *v1.Reference `json:"applicationNameRef,omitempty" tf:"-"` + + // Selector for a Application in kinesisanalyticsv2 to populate applicationName. + // +kubebuilder:validation:Optional + ApplicationNameSelector *v1.Selector `json:"applicationNameSelector,omitempty" tf:"-"` } type ApplicationSnapshotObservation struct { diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go b/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go index 1459ee74db..dd9ee65499 100644 --- a/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go @@ -326,7 +326,9 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if in.CloudwatchLoggingOptions != nil { in, out := &in.CloudwatchLoggingOptions, &out.CloudwatchLoggingOptions *out = make([]CloudwatchLoggingOptionsInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Description != nil { in, out := &in.Description, &out.Description @@ -343,6 +345,21 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters *out = new(string) **out = **in } + if in.ServiceExecutionRole != nil { + in, out := &in.ServiceExecutionRole, &out.ServiceExecutionRole + *out = new(string) + **out = **in + } + if in.ServiceExecutionRoleRef != nil { + in, out := &in.ServiceExecutionRoleRef, &out.ServiceExecutionRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceExecutionRoleSelector != nil { + in, out := &in.ServiceExecutionRoleSelector, &out.ServiceExecutionRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StartApplication != nil { in, out := &in.StartApplication, &out.StartApplication *out = new(bool) @@ -774,6 +791,21 @@ func (in *ApplicationSnapshotConfigurationParameters) DeepCopy() *ApplicationSna // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ApplicationSnapshotInitParameters) DeepCopyInto(out *ApplicationSnapshotInitParameters) { *out = *in + if in.ApplicationName != nil { + in, out := &in.ApplicationName, &out.ApplicationName + *out = new(string) + **out = **in + } + if in.ApplicationNameRef != nil { + in, out := &in.ApplicationNameRef, &out.ApplicationNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationNameSelector != nil { + in, out := &in.ApplicationNameSelector, &out.ApplicationNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSnapshotInitParameters. @@ -893,7 +925,7 @@ func (in *ApplicationSnapshotSpec) DeepCopyInto(out *ApplicationSnapshotSpec) { *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 ApplicationSnapshotSpec. @@ -1066,6 +1098,21 @@ func (in *CheckpointConfigurationParameters) DeepCopy() *CheckpointConfiguration // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CloudwatchLoggingOptionsInitParameters) DeepCopyInto(out *CloudwatchLoggingOptionsInitParameters) { *out = *in + if in.LogStreamArn != nil { + in, out := &in.LogStreamArn, &out.LogStreamArn + *out = new(string) + **out = **in + } + if in.LogStreamArnRef != nil { + in, out := &in.LogStreamArnRef, &out.LogStreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogStreamArnSelector != nil { + in, out := &in.LogStreamArnSelector, &out.LogStreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchLoggingOptionsInitParameters. @@ -1624,7 +1671,9 @@ func (in *InputInitParameters) DeepCopyInto(out *InputInitParameters) { if in.KinesisStreamsInput != nil { in, out := &in.KinesisStreamsInput, &out.KinesisStreamsInput *out = make([]KinesisStreamsInputInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.NamePrefix != nil { in, out := &in.NamePrefix, &out.NamePrefix @@ -2254,6 +2303,21 @@ func (in *KinesisFirehoseInputParameters) DeepCopy() *KinesisFirehoseInputParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisFirehoseOutputInitParameters) DeepCopyInto(out *KinesisFirehoseOutputInitParameters) { *out = *in + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisFirehoseOutputInitParameters. @@ -2319,6 +2383,21 @@ func (in *KinesisFirehoseOutputParameters) DeepCopy() *KinesisFirehoseOutputPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisStreamsInputInitParameters) DeepCopyInto(out *KinesisStreamsInputInitParameters) { *out = *in + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisStreamsInputInitParameters. @@ -2444,6 +2523,21 @@ func (in *KinesisStreamsOutputParameters) DeepCopy() *KinesisStreamsOutputParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LambdaOutputInitParameters) DeepCopyInto(out *LambdaOutputInitParameters) { *out = *in + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaOutputInitParameters. @@ -2831,7 +2925,9 @@ func (in *OutputInitParameters) DeepCopyInto(out *OutputInitParameters) { if in.KinesisFirehoseOutput != nil { in, out := &in.KinesisFirehoseOutput, &out.KinesisFirehoseOutput *out = make([]KinesisFirehoseOutputInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.KinesisStreamsOutput != nil { in, out := &in.KinesisStreamsOutput, &out.KinesisStreamsOutput @@ -2843,7 +2939,9 @@ func (in *OutputInitParameters) DeepCopyInto(out *OutputInitParameters) { if in.LambdaOutput != nil { in, out := &in.LambdaOutput, &out.LambdaOutput *out = make([]LambdaOutputInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Name != nil { in, out := &in.Name, &out.Name @@ -3904,6 +4002,36 @@ func (in *RunConfigurationParameters) DeepCopy() *RunConfigurationParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3ContentLocationInitParameters) DeepCopyInto(out *S3ContentLocationInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.FileKey != nil { + in, out := &in.FileKey, &out.FileKey + *out = new(string) + **out = **in + } + if in.FileKeyRef != nil { + in, out := &in.FileKeyRef, &out.FileKeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FileKeySelector != nil { + in, out := &in.FileKeySelector, &out.FileKeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ObjectVersion != nil { in, out := &in.ObjectVersion, &out.ObjectVersion *out = new(string) @@ -4004,6 +4132,21 @@ func (in *S3ContentLocationParameters) DeepCopy() *S3ContentLocationParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3ReferenceDataSourceInitParameters) DeepCopyInto(out *S3ReferenceDataSourceInitParameters) { *out = *in + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FileKey != nil { in, out := &in.FileKey, &out.FileKey *out = new(string) diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_generated.resolvers.go b/apis/kinesisanalyticsv2/v1beta1/zz_generated.resolvers.go index c5be9a59fd..825fcbdc33 100644 --- a/apis/kinesisanalyticsv2/v1beta1/zz_generated.resolvers.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_generated.resolvers.go @@ -205,6 +205,184 @@ func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.ServiceExecutionRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServiceExecutionRoleRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArnRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArnSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArn") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].BucketArnRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKey), + Extract: resource.ExtractParamPath("key", false), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKeyRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKeySelector, + To: reference.To{ + List: &v1beta1.ObjectList{}, + Managed: &v1beta1.Object{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKey") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKey = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].ApplicationCodeConfiguration[i4].CodeContent[i5].S3ContentLocation[i6].FileKeyRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArnRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArnSelector, + To: reference.To{ + List: &v1beta11.StreamList{}, + Managed: &v1beta11.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArn") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Input[i5].KinesisStreamsInput[i6].ResourceArnRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArnRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArnSelector, + To: reference.To{ + List: &v1beta12.DeliveryStreamList{}, + Managed: &v1beta12.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArn") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].KinesisFirehoseOutput[i6].ResourceArnRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArnRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArnSelector, + To: reference.To{ + List: &v1beta13.FunctionList{}, + Managed: &v1beta13.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArn") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].Output[i5].LambdaOutput[i6].ResourceArnRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.ApplicationConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArnRef, + Selector: mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArnSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArn") + } + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationConfiguration[i3].SQLApplicationConfiguration[i4].ReferenceDataSource[i5].S3ReferenceDataSource[i6].BucketArnRef = rsp.ResolvedReference + + } + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.CloudwatchLoggingOptions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnRef, + Selector: mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnSelector, + To: reference.To{ + List: &v1beta14.StreamList{}, + Managed: &v1beta14.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn") + } + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchLoggingOptions[i3].LogStreamArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceExecutionRole), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceExecutionRoleRef, + Selector: mg.Spec.InitProvider.ServiceExecutionRoleSelector, + To: reference.To{ + List: &v1beta15.RoleList{}, + Managed: &v1beta15.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceExecutionRole") + } + mg.Spec.InitProvider.ServiceExecutionRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceExecutionRoleRef = rsp.ResolvedReference + return nil } @@ -231,5 +409,21 @@ func (mg *ApplicationSnapshot) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ApplicationName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ApplicationNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ApplicationNameRef, + Selector: mg.Spec.InitProvider.ApplicationNameSelector, + To: reference.To{ + List: &ApplicationList{}, + Managed: &Application{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationName") + } + mg.Spec.InitProvider.ApplicationName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go b/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go index c34c37f565..7d6dc69c91 100644 --- a/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go @@ -53,6 +53,21 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MediaType != nil { in, out := &in.MediaType, &out.MediaType *out = new(string) diff --git a/apis/kinesisvideo/v1beta1/zz_generated.resolvers.go b/apis/kinesisvideo/v1beta1/zz_generated.resolvers.go index bf6af9c423..d98730f029 100644 --- a/apis/kinesisvideo/v1beta1/zz_generated.resolvers.go +++ b/apis/kinesisvideo/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *Stream) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/kinesisvideo/v1beta1/zz_stream_types.go b/apis/kinesisvideo/v1beta1/zz_stream_types.go index a371afef13..66950b8413 100755 --- a/apis/kinesisvideo/v1beta1/zz_stream_types.go +++ b/apis/kinesisvideo/v1beta1/zz_stream_types.go @@ -25,6 +25,18 @@ type StreamInitParameters struct { // The name of the device that is writing to the stream. In the current implementation, Kinesis Video Streams does not use this name. DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"` + // The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video Streams to use to encrypt stream data. If no key ID is specified, the default, Kinesis Video-managed key (aws/kinesisvideo) is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The media type of the stream. Consumers of the stream can use this information when processing the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements for guidelines. MediaType *string `json:"mediaType,omitempty" tf:"media_type,omitempty"` diff --git a/apis/kms/v1beta1/zz_alias_types.go b/apis/kms/v1beta1/zz_alias_types.go index d29e3ef7a6..aabb510d6f 100755 --- a/apis/kms/v1beta1/zz_alias_types.go +++ b/apis/kms/v1beta1/zz_alias_types.go @@ -18,6 +18,18 @@ import ( ) type AliasInitParameters struct { + + // Identifier for the key for which the alias is for, can be either an ARN or key_id. + // +crossplane:generate:reference:type=Key + TargetKeyID *string `json:"targetKeyId,omitempty" tf:"target_key_id,omitempty"` + + // Reference to a Key to populate targetKeyId. + // +kubebuilder:validation:Optional + TargetKeyIDRef *v1.Reference `json:"targetKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key to populate targetKeyId. + // +kubebuilder:validation:Optional + TargetKeyIDSelector *v1.Selector `json:"targetKeyIdSelector,omitempty" tf:"-"` } type AliasObservation struct { diff --git a/apis/kms/v1beta1/zz_ciphertext_types.go b/apis/kms/v1beta1/zz_ciphertext_types.go index 1ac3877bf2..5cd05fee24 100755 --- a/apis/kms/v1beta1/zz_ciphertext_types.go +++ b/apis/kms/v1beta1/zz_ciphertext_types.go @@ -22,6 +22,18 @@ type CiphertextInitParameters struct { // An optional mapping that makes up the encryption context. // +mapType=granular Context map[string]*string `json:"context,omitempty" tf:"context,omitempty"` + + // Globally unique key ID for the customer master key. + // +crossplane:generate:reference:type=Key + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a Key to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a Key to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` } type CiphertextObservation struct { diff --git a/apis/kms/v1beta1/zz_generated.deepcopy.go b/apis/kms/v1beta1/zz_generated.deepcopy.go index af2fe5fa7d..4f14908b60 100644 --- a/apis/kms/v1beta1/zz_generated.deepcopy.go +++ b/apis/kms/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,21 @@ func (in *Alias) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AliasInitParameters) DeepCopyInto(out *AliasInitParameters) { *out = *in + if in.TargetKeyID != nil { + in, out := &in.TargetKeyID, &out.TargetKeyID + *out = new(string) + **out = **in + } + if in.TargetKeyIDRef != nil { + in, out := &in.TargetKeyIDRef, &out.TargetKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetKeyIDSelector != nil { + in, out := &in.TargetKeyIDSelector, &out.TargetKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasInitParameters. @@ -162,7 +177,7 @@ func (in *AliasSpec) DeepCopyInto(out *AliasSpec) { *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 AliasSpec. @@ -238,6 +253,21 @@ func (in *CiphertextInitParameters) DeepCopyInto(out *CiphertextInitParameters) (*out)[key] = outVal } } + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiphertextInitParameters. @@ -947,6 +977,36 @@ func (in *GrantInitParameters) DeepCopyInto(out *GrantInitParameters) { } } } + if in.GranteePrincipal != nil { + in, out := &in.GranteePrincipal, &out.GranteePrincipal + *out = new(string) + **out = **in + } + if in.GranteePrincipalRef != nil { + in, out := &in.GranteePrincipalRef, &out.GranteePrincipalRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GranteePrincipalSelector != nil { + in, out := &in.GranteePrincipalSelector, &out.GranteePrincipalSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1658,6 +1718,21 @@ func (in *ReplicaExternalKeyInitParameters) DeepCopyInto(out *ReplicaExternalKey *out = new(string) **out = **in } + if in.PrimaryKeyArn != nil { + in, out := &in.PrimaryKeyArn, &out.PrimaryKeyArn + *out = new(string) + **out = **in + } + if in.PrimaryKeyArnRef != nil { + in, out := &in.PrimaryKeyArnRef, &out.PrimaryKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrimaryKeyArnSelector != nil { + in, out := &in.PrimaryKeyArnSelector, &out.PrimaryKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2011,6 +2086,21 @@ func (in *ReplicaKeyInitParameters) DeepCopyInto(out *ReplicaKeyInitParameters) *out = new(string) **out = **in } + if in.PrimaryKeyArn != nil { + in, out := &in.PrimaryKeyArn, &out.PrimaryKeyArn + *out = new(string) + **out = **in + } + if in.PrimaryKeyArnRef != nil { + in, out := &in.PrimaryKeyArnRef, &out.PrimaryKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrimaryKeyArnSelector != nil { + in, out := &in.PrimaryKeyArnSelector, &out.PrimaryKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/kms/v1beta1/zz_generated.resolvers.go b/apis/kms/v1beta1/zz_generated.resolvers.go index 5b2073b62d..c819e735ea 100644 --- a/apis/kms/v1beta1/zz_generated.resolvers.go +++ b/apis/kms/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *Alias) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.TargetKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TargetKeyIDRef, + Selector: mg.Spec.InitProvider.TargetKeyIDSelector, + To: reference.To{ + List: &KeyList{}, + Managed: &Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetKeyID") + } + mg.Spec.InitProvider.TargetKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetKeyIDRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,22 @@ func (mg *Ciphertext) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KeyIDRef, + Selector: mg.Spec.InitProvider.KeyIDSelector, + To: reference.To{ + List: &KeyList{}, + Managed: &Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyID") + } + mg.Spec.InitProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyIDRef = rsp.ResolvedReference + return nil } @@ -106,6 +138,38 @@ func (mg *Grant) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GranteePrincipal), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.GranteePrincipalRef, + Selector: mg.Spec.InitProvider.GranteePrincipalSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GranteePrincipal") + } + mg.Spec.InitProvider.GranteePrincipal = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GranteePrincipalRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KeyIDRef, + Selector: mg.Spec.InitProvider.KeyIDSelector, + To: reference.To{ + List: &KeyList{}, + Managed: &Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyID") + } + mg.Spec.InitProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyIDRef = rsp.ResolvedReference + return nil } @@ -132,6 +196,22 @@ func (mg *ReplicaExternalKey) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.PrimaryKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PrimaryKeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrimaryKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PrimaryKeyArnRef, + Selector: mg.Spec.InitProvider.PrimaryKeyArnSelector, + To: reference.To{ + List: &ExternalKeyList{}, + Managed: &ExternalKey{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrimaryKeyArn") + } + mg.Spec.InitProvider.PrimaryKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrimaryKeyArnRef = rsp.ResolvedReference + return nil } @@ -158,5 +238,21 @@ func (mg *ReplicaKey) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.PrimaryKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PrimaryKeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrimaryKeyArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PrimaryKeyArnRef, + Selector: mg.Spec.InitProvider.PrimaryKeyArnSelector, + To: reference.To{ + List: &KeyList{}, + Managed: &Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrimaryKeyArn") + } + mg.Spec.InitProvider.PrimaryKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrimaryKeyArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/kms/v1beta1/zz_grant_types.go b/apis/kms/v1beta1/zz_grant_types.go index dbc62d8cae..faf3bffb14 100755 --- a/apis/kms/v1beta1/zz_grant_types.go +++ b/apis/kms/v1beta1/zz_grant_types.go @@ -61,6 +61,32 @@ type GrantInitParameters struct { // +listType=set GrantCreationTokens []*string `json:"grantCreationTokens,omitempty" tf:"grant_creation_tokens,omitempty"` + // The principal that is given permission to perform the operations that the grant permits in ARN format. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + GranteePrincipal *string `json:"granteePrincipal,omitempty" tf:"grantee_principal,omitempty"` + + // Reference to a Role in iam to populate granteePrincipal. + // +kubebuilder:validation:Optional + GranteePrincipalRef *v1.Reference `json:"granteePrincipalRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate granteePrincipal. + // +kubebuilder:validation:Optional + GranteePrincipalSelector *v1.Selector `json:"granteePrincipalSelector,omitempty" tf:"-"` + + // The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. + // +crossplane:generate:reference:type=Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a Key to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a Key to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` + // A friendly name for identifying the grant. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/kms/v1beta1/zz_replicaexternalkey_types.go b/apis/kms/v1beta1/zz_replicaexternalkey_types.go index 2bd5cf1ee2..a77a9c9c1d 100755 --- a/apis/kms/v1beta1/zz_replicaexternalkey_types.go +++ b/apis/kms/v1beta1/zz_replicaexternalkey_types.go @@ -38,6 +38,19 @@ type ReplicaExternalKeyInitParameters struct { // The key policy to attach to the KMS key. If you do not specify a key policy, AWS KMS attaches the default key policy to the KMS key. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + // The ARN of the multi-Region primary key to replicate. The primary key must be in a different AWS Region of the same AWS Partition. You can create only one replica of a given primary key in each AWS Region. + // +crossplane:generate:reference:type=ExternalKey + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PrimaryKeyArn *string `json:"primaryKeyArn,omitempty" tf:"primary_key_arn,omitempty"` + + // Reference to a ExternalKey to populate primaryKeyArn. + // +kubebuilder:validation:Optional + PrimaryKeyArnRef *v1.Reference `json:"primaryKeyArnRef,omitempty" tf:"-"` + + // Selector for a ExternalKey to populate primaryKeyArn. + // +kubebuilder:validation:Optional + PrimaryKeyArnSelector *v1.Selector `json:"primaryKeyArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/kms/v1beta1/zz_replicakey_types.go b/apis/kms/v1beta1/zz_replicakey_types.go index a9b72c1e52..ff937e25f0 100755 --- a/apis/kms/v1beta1/zz_replicakey_types.go +++ b/apis/kms/v1beta1/zz_replicakey_types.go @@ -38,6 +38,19 @@ type ReplicaKeyInitParameters struct { // The key policy to attach to the KMS key. If you do not specify a key policy, AWS KMS attaches the default key policy to the KMS key. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + // The ARN of the multi-Region primary key to replicate. The primary key must be in a different AWS Region of the same AWS Partition. You can create only one replica of a given primary key in each AWS Region. + // +crossplane:generate:reference:type=Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PrimaryKeyArn *string `json:"primaryKeyArn,omitempty" tf:"primary_key_arn,omitempty"` + + // Reference to a Key to populate primaryKeyArn. + // +kubebuilder:validation:Optional + PrimaryKeyArnRef *v1.Reference `json:"primaryKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key to populate primaryKeyArn. + // +kubebuilder:validation:Optional + PrimaryKeyArnSelector *v1.Selector `json:"primaryKeyArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/lakeformation/v1beta1/zz_generated.deepcopy.go b/apis/lakeformation/v1beta1/zz_generated.deepcopy.go index 852ab438d2..46fab99003 100644 --- a/apis/lakeformation/v1beta1/zz_generated.deepcopy.go +++ b/apis/lakeformation/v1beta1/zz_generated.deepcopy.go @@ -588,6 +588,21 @@ func (in *DataLakeSettingsStatus) DeepCopy() *DataLakeSettingsStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DataLocationInitParameters) DeepCopyInto(out *DataLocationInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CatalogID != nil { in, out := &in.CatalogID, &out.CatalogID *out = new(string) @@ -673,6 +688,21 @@ func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters) { *out = new(string) **out = **in } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInitParameters. @@ -1463,6 +1493,21 @@ func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. @@ -1757,6 +1802,21 @@ func (in *TableWithColumnsInitParameters) DeepCopyInto(out *TableWithColumnsInit } } } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Wildcard != nil { in, out := &in.Wildcard, &out.Wildcard *out = new(bool) diff --git a/apis/lakeformation/v1beta1/zz_generated.resolvers.go b/apis/lakeformation/v1beta1/zz_generated.resolvers.go index 9390172eba..cba22c8551 100644 --- a/apis/lakeformation/v1beta1/zz_generated.resolvers.go +++ b/apis/lakeformation/v1beta1/zz_generated.resolvers.go @@ -76,6 +76,60 @@ func (mg *Permissions) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.TableWithColumns[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TableWithColumns[i3].NameRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DataLocation); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DataLocation[i3].Arn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.DataLocation[i3].ArnRef, + Selector: mg.Spec.InitProvider.DataLocation[i3].ArnSelector, + To: reference.To{ + List: &ResourceList{}, + Managed: &Resource{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataLocation[i3].Arn") + } + mg.Spec.InitProvider.DataLocation[i3].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DataLocation[i3].ArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Database); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Database[i3].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.Database[i3].NameRef, + Selector: mg.Spec.InitProvider.Database[i3].NameSelector, + To: reference.To{ + List: &v1beta1.CatalogDatabaseList{}, + Managed: &v1beta1.CatalogDatabase{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Database[i3].Name") + } + mg.Spec.InitProvider.Database[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Database[i3].NameRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.TableWithColumns); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TableWithColumns[i3].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TableWithColumns[i3].NameRef, + Selector: mg.Spec.InitProvider.TableWithColumns[i3].NameSelector, + To: reference.To{ + List: &v1beta1.CatalogTableList{}, + Managed: &v1beta1.CatalogTable{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TableWithColumns[i3].Name") + } + mg.Spec.InitProvider.TableWithColumns[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TableWithColumns[i3].NameRef = rsp.ResolvedReference + } return nil @@ -104,5 +158,21 @@ func (mg *Resource) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/lakeformation/v1beta1/zz_permissions_types.go b/apis/lakeformation/v1beta1/zz_permissions_types.go index 9c2742c0bc..d598fa6f05 100755 --- a/apis/lakeformation/v1beta1/zz_permissions_types.go +++ b/apis/lakeformation/v1beta1/zz_permissions_types.go @@ -19,6 +19,19 @@ import ( type DataLocationInitParameters struct { + // – Amazon Resource Name (ARN) that uniquely identifies the data location resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lakeformation/v1beta1.Resource + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Resource in lakeformation to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Resource in lakeformation to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller. CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"` } @@ -57,6 +70,18 @@ type DatabaseInitParameters struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"` + + // – Name of the database resource. Unique to the Data Catalog. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogDatabase + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a CatalogDatabase in glue to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a CatalogDatabase in glue to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` } type DatabaseObservation struct { @@ -392,6 +417,18 @@ type TableWithColumnsInitParameters struct { // +listType=set ExcludedColumnNames []*string `json:"excludedColumnNames,omitempty" tf:"excluded_column_names,omitempty"` + // – Name of the table resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogTable + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a CatalogTable in glue to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a CatalogTable in glue to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` + // Whether to use a column wildcard. Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard,omitempty"` } diff --git a/apis/lakeformation/v1beta1/zz_resource_types.go b/apis/lakeformation/v1beta1/zz_resource_types.go index 7972ab668f..ff1db2cf8e 100755 --- a/apis/lakeformation/v1beta1/zz_resource_types.go +++ b/apis/lakeformation/v1beta1/zz_resource_types.go @@ -21,6 +21,19 @@ type ResourceInitParameters struct { // – Amazon Resource Name (ARN) of the resource, an S3 path. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // linked role must exist and is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type ResourceObservation struct { diff --git a/apis/lambda/v1beta1/zz_codesigningconfig_types.go b/apis/lambda/v1beta1/zz_codesigningconfig_types.go index 3304361075..49ccea20c5 100755 --- a/apis/lambda/v1beta1/zz_codesigningconfig_types.go +++ b/apis/lambda/v1beta1/zz_codesigningconfig_types.go @@ -18,6 +18,20 @@ import ( ) type AllowedPublishersInitParameters struct { + + // The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/signer/v1beta1.SigningProfile + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + // +listType=set + SigningProfileVersionArns []*string `json:"signingProfileVersionArns,omitempty" tf:"signing_profile_version_arns,omitempty"` + + // References to SigningProfile in signer to populate signingProfileVersionArns. + // +kubebuilder:validation:Optional + SigningProfileVersionArnsRefs []v1.Reference `json:"signingProfileVersionArnsRefs,omitempty" tf:"-"` + + // Selector for a list of SigningProfile in signer to populate signingProfileVersionArns. + // +kubebuilder:validation:Optional + SigningProfileVersionArnsSelector *v1.Selector `json:"signingProfileVersionArnsSelector,omitempty" tf:"-"` } type AllowedPublishersObservation struct { diff --git a/apis/lambda/v1beta1/zz_eventsourcemapping_types.go b/apis/lambda/v1beta1/zz_eventsourcemapping_types.go index 883310af88..facc241a6d 100755 --- a/apis/lambda/v1beta1/zz_eventsourcemapping_types.go +++ b/apis/lambda/v1beta1/zz_eventsourcemapping_types.go @@ -120,6 +120,19 @@ type EventSourceMappingInitParameters struct { // The criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below. FilterCriteria []FilterCriteriaInitParameters `json:"filterCriteria,omitempty" tf:"filter_criteria,omitempty"` + // The name or the ARN of the Lambda function that will be subscribing to events. + // +crossplane:generate:reference:type=Function + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"` + + // Reference to a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"` + + // Selector for a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"` + // A list of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures. // +listType=set FunctionResponseTypes []*string `json:"functionResponseTypes,omitempty" tf:"function_response_types,omitempty"` diff --git a/apis/lambda/v1beta1/zz_function_types.go b/apis/lambda/v1beta1/zz_function_types.go index b2c515288d..6cf9beb74f 100755 --- a/apis/lambda/v1beta1/zz_function_types.go +++ b/apis/lambda/v1beta1/zz_function_types.go @@ -79,6 +79,19 @@ type EphemeralStorageParameters struct { type FileSystemConfigInitParameters struct { + // Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/efs/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a AccessPoint in efs to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Path where the function can access the file system, starting with /mnt/. LocalMountPath *string `json:"localMountPath,omitempty" tf:"local_mount_path,omitempty"` } @@ -145,6 +158,18 @@ type FunctionInitParameters struct { // ECR image URI containing the function's deployment package. Exactly one of filename, image_uri, or s3_bucket must be specified. ImageURI *string `json:"imageUri,omitempty" tf:"image_uri,omitempty"` + // Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. To fix the perpetual difference, remove this configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See Lambda Layers Layers []*string `json:"layers,omitempty" tf:"layers,omitempty"` @@ -160,12 +185,52 @@ type FunctionInitParameters struct { // AWS no longer supports this operation. This attribute now has no effect and will be removed in a future major version. Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the default security group in the function's VPC. Set the replacement_security_group_ids attribute to use a custom list of security groups for replacement. ReplaceSecurityGroupsOnDestroy *bool `json:"replaceSecurityGroupsOnDestroy,omitempty" tf:"replace_security_groups_on_destroy,omitempty"` + // References to SecurityGroup in ec2 to populate replacementSecurityGroupIds. + // +kubebuilder:validation:Optional + ReplacementSecurityGroupIDRefs []v1.Reference `json:"replacementSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate replacementSecurityGroupIds. + // +kubebuilder:validation:Optional + ReplacementSecurityGroupIDSelector *v1.Selector `json:"replacementSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. replace_security_groups_on_destroy must be set to true to use this attribute. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=ReplacementSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=ReplacementSecurityGroupIDSelector + // +listType=set + ReplacementSecurityGroupIds []*string `json:"replacementSecurityGroupIds,omitempty" tf:"replacement_security_group_ids,omitempty"` + // Amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. See Managing Concurrency ReservedConcurrentExecutions *float64 `json:"reservedConcurrentExecutions,omitempty" tf:"reserved_concurrent_executions,omitempty"` + // Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + // Identifier of the function's runtime. See Runtimes for valid values. Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` + // S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of filename, image_uri, or s3_bucket must be specified. When s3_bucket is set, s3_key is required. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"` + + // Reference to a Bucket in s3 to populate s3Bucket. + // +kubebuilder:validation:Optional + S3BucketRef *v1.Reference `json:"s3BucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate s3Bucket. + // +kubebuilder:validation:Optional + S3BucketSelector *v1.Selector `json:"s3BucketSelector,omitempty" tf:"-"` + // S3 key of an object containing the function's deployment package. When s3_bucket is set, s3_key is required. S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"` @@ -573,6 +638,36 @@ type VPCConfigInitParameters struct { // Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Default is false. IPv6AllowedForDualStack *bool `json:"ipv6AllowedForDualStack,omitempty" tf:"ipv6_allowed_for_dual_stack,omitempty"` + + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // List of security group IDs associated with the Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // List of subnet IDs associated with the Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` } type VPCConfigObservation struct { diff --git a/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go b/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go index 9235e6dd7b..1a8da9e51b 100755 --- a/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go +++ b/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go @@ -18,6 +18,19 @@ import ( ) type DestinationConfigOnFailureInitParameters struct { + + // Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Destination *string `json:"destination,omitempty" tf:"destination,omitempty"` + + // Reference to a Queue in sqs to populate destination. + // +kubebuilder:validation:Optional + DestinationRef *v1.Reference `json:"destinationRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate destination. + // +kubebuilder:validation:Optional + DestinationSelector *v1.Selector `json:"destinationSelector,omitempty" tf:"-"` } type DestinationConfigOnFailureObservation struct { @@ -140,6 +153,19 @@ type FunctionEventInvokeConfigParameters struct { } type OnSuccessInitParameters struct { + + // Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Destination *string `json:"destination,omitempty" tf:"destination,omitempty"` + + // Reference to a Topic in sns to populate destination. + // +kubebuilder:validation:Optional + DestinationRef *v1.Reference `json:"destinationRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate destination. + // +kubebuilder:validation:Optional + DestinationSelector *v1.Selector `json:"destinationSelector,omitempty" tf:"-"` } type OnSuccessObservation struct { diff --git a/apis/lambda/v1beta1/zz_functionurl_types.go b/apis/lambda/v1beta1/zz_functionurl_types.go index dcc0ce5809..a94bf85b60 100755 --- a/apis/lambda/v1beta1/zz_functionurl_types.go +++ b/apis/lambda/v1beta1/zz_functionurl_types.go @@ -106,6 +106,18 @@ type FunctionURLInitParameters struct { // The cross-origin resource sharing (CORS) settings for the function URL. Documented below. Cors []CorsInitParameters `json:"cors,omitempty" tf:"cors,omitempty"` + // The name (or ARN) of the Lambda function. + // +crossplane:generate:reference:type=Function + FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"` + + // Reference to a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"` + + // Selector for a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"` + // Determines how the Lambda function responds to an invocation. Valid values are BUFFERED (default) and RESPONSE_STREAM. See more in Configuring a Lambda function to stream responses. InvokeMode *string `json:"invokeMode,omitempty" tf:"invoke_mode,omitempty"` diff --git a/apis/lambda/v1beta1/zz_generated.deepcopy.go b/apis/lambda/v1beta1/zz_generated.deepcopy.go index 63fcfd203f..e7333f7871 100644 --- a/apis/lambda/v1beta1/zz_generated.deepcopy.go +++ b/apis/lambda/v1beta1/zz_generated.deepcopy.go @@ -246,6 +246,29 @@ func (in *AliasStatus) DeepCopy() *AliasStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AllowedPublishersInitParameters) DeepCopyInto(out *AllowedPublishersInitParameters) { *out = *in + if in.SigningProfileVersionArns != nil { + in, out := &in.SigningProfileVersionArns, &out.SigningProfileVersionArns + *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.SigningProfileVersionArnsRefs != nil { + in, out := &in.SigningProfileVersionArnsRefs, &out.SigningProfileVersionArnsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SigningProfileVersionArnsSelector != nil { + in, out := &in.SigningProfileVersionArnsSelector, &out.SigningProfileVersionArnsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedPublishersInitParameters. @@ -415,7 +438,9 @@ func (in *CodeSigningConfigInitParameters) DeepCopyInto(out *CodeSigningConfigIn if in.AllowedPublishers != nil { in, out := &in.AllowedPublishers, &out.AllowedPublishers *out = make([]AllowedPublishersInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Description != nil { in, out := &in.Description, &out.Description @@ -915,6 +940,21 @@ func (in *DestinationConfigObservation) DeepCopy() *DestinationConfigObservation // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DestinationConfigOnFailureInitParameters) DeepCopyInto(out *DestinationConfigOnFailureInitParameters) { *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in + } + if in.DestinationRef != nil { + in, out := &in.DestinationRef, &out.DestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationSelector != nil { + in, out := &in.DestinationSelector, &out.DestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfigOnFailureInitParameters. @@ -1320,6 +1360,21 @@ func (in *EventSourceMappingInitParameters) DeepCopyInto(out *EventSourceMapping (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FunctionName != nil { + in, out := &in.FunctionName, &out.FunctionName + *out = new(string) + **out = **in + } + if in.FunctionNameRef != nil { + in, out := &in.FunctionNameRef, &out.FunctionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionNameSelector != nil { + in, out := &in.FunctionNameSelector, &out.FunctionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FunctionResponseTypes != nil { in, out := &in.FunctionResponseTypes, &out.FunctionResponseTypes *out = make([]*string, len(*in)) @@ -1876,6 +1931,21 @@ func (in *EventSourceMappingStatus) DeepCopy() *EventSourceMappingStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FileSystemConfigInitParameters) DeepCopyInto(out *FileSystemConfigInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LocalMountPath != nil { in, out := &in.LocalMountPath, &out.LocalMountPath *out = new(string) @@ -2139,12 +2209,16 @@ func (in *FunctionEventInvokeConfigDestinationConfigInitParameters) DeepCopyInto if in.OnFailure != nil { in, out := &in.OnFailure, &out.OnFailure *out = make([]DestinationConfigOnFailureInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.OnSuccess != nil { in, out := &in.OnSuccess, &out.OnSuccess *out = make([]OnSuccessInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -2488,6 +2562,21 @@ func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Layers != nil { in, out := &in.Layers, &out.Layers *out = make([]*string, len(*in)) @@ -2519,16 +2608,69 @@ func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters) { *out = new(bool) **out = **in } + if in.ReplacementSecurityGroupIDRefs != nil { + in, out := &in.ReplacementSecurityGroupIDRefs, &out.ReplacementSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReplacementSecurityGroupIDSelector != nil { + in, out := &in.ReplacementSecurityGroupIDSelector, &out.ReplacementSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ReplacementSecurityGroupIds != nil { + in, out := &in.ReplacementSecurityGroupIds, &out.ReplacementSecurityGroupIds + *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.ReservedConcurrentExecutions != nil { in, out := &in.ReservedConcurrentExecutions, &out.ReservedConcurrentExecutions *out = new(float64) **out = **in } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Runtime != nil { in, out := &in.Runtime, &out.Runtime *out = new(string) **out = **in } + if in.S3Bucket != nil { + in, out := &in.S3Bucket, &out.S3Bucket + *out = new(string) + **out = **in + } + if in.S3BucketRef != nil { + in, out := &in.S3BucketRef, &out.S3BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.S3BucketSelector != nil { + in, out := &in.S3BucketSelector, &out.S3BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3Key != nil { in, out := &in.S3Key, &out.S3Key *out = new(string) @@ -3245,6 +3387,21 @@ func (in *FunctionURLInitParameters) DeepCopyInto(out *FunctionURLInitParameters (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FunctionName != nil { + in, out := &in.FunctionName, &out.FunctionName + *out = new(string) + **out = **in + } + if in.FunctionNameRef != nil { + in, out := &in.FunctionNameRef, &out.FunctionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionNameSelector != nil { + in, out := &in.FunctionNameSelector, &out.FunctionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.InvokeMode != nil { in, out := &in.InvokeMode, &out.InvokeMode *out = new(string) @@ -3609,6 +3766,21 @@ func (in *Invocation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InvocationInitParameters) DeepCopyInto(out *InvocationInitParameters) { *out = *in + if in.FunctionName != nil { + in, out := &in.FunctionName, &out.FunctionName + *out = new(string) + **out = **in + } + if in.FunctionNameRef != nil { + in, out := &in.FunctionNameRef, &out.FunctionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionNameSelector != nil { + in, out := &in.FunctionNameSelector, &out.FunctionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Input != nil { in, out := &in.Input, &out.Input *out = new(string) @@ -4573,6 +4745,21 @@ func (in *OnFailureParameters) DeepCopy() *OnFailureParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OnSuccessInitParameters) DeepCopyInto(out *OnSuccessInitParameters) { *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in + } + if in.DestinationRef != nil { + in, out := &in.DestinationRef, &out.DestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DestinationSelector != nil { + in, out := &in.DestinationSelector, &out.DestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnSuccessInitParameters. @@ -4675,6 +4862,21 @@ func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters) *out = new(string) **out = **in } + if in.FunctionName != nil { + in, out := &in.FunctionName, &out.FunctionName + *out = new(string) + **out = **in + } + if in.FunctionNameRef != nil { + in, out := &in.FunctionNameRef, &out.FunctionNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionNameSelector != nil { + in, out := &in.FunctionNameSelector, &out.FunctionNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FunctionURLAuthType != nil { in, out := &in.FunctionURLAuthType, &out.FunctionURLAuthType *out = new(string) @@ -4690,6 +4892,21 @@ func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters) *out = new(string) **out = **in } + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } + if in.QualifierRef != nil { + in, out := &in.QualifierRef, &out.QualifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.QualifierSelector != nil { + in, out := &in.QualifierSelector, &out.QualifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceAccount != nil { in, out := &in.SourceAccount, &out.SourceAccount *out = new(string) @@ -5742,6 +5959,52 @@ func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters) { *out = new(bool) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigInitParameters. diff --git a/apis/lambda/v1beta1/zz_generated.resolvers.go b/apis/lambda/v1beta1/zz_generated.resolvers.go index 35c1344dc4..dd77f04de6 100644 --- a/apis/lambda/v1beta1/zz_generated.resolvers.go +++ b/apis/lambda/v1beta1/zz_generated.resolvers.go @@ -72,6 +72,24 @@ func (mg *CodeSigningConfig) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.AllowedPublishers[i3].SigningProfileVersionArns = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.AllowedPublishers[i3].SigningProfileVersionArnsRefs = mrsp.ResolvedReferences + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.AllowedPublishers); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArns), + Extract: common.ARNExtractor(), + References: mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArnsRefs, + Selector: mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArnsSelector, + To: reference.To{ + List: &v1beta1.SigningProfileList{}, + Managed: &v1beta1.SigningProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArns") + } + mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArns = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.AllowedPublishers[i3].SigningProfileVersionArnsRefs = mrsp.ResolvedReferences + } return nil @@ -100,6 +118,22 @@ func (mg *EventSourceMapping) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FunctionNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FunctionName), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FunctionNameRef, + Selector: mg.Spec.InitProvider.FunctionNameSelector, + To: reference.To{ + List: &FunctionList{}, + Managed: &Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FunctionName") + } + mg.Spec.InitProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FunctionNameRef = rsp.ResolvedReference + return nil } @@ -228,6 +262,124 @@ func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.FileSystemConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FileSystemConfig[i3].Arn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.FileSystemConfig[i3].ArnRef, + Selector: mg.Spec.InitProvider.FileSystemConfig[i3].ArnSelector, + To: reference.To{ + List: &v1beta11.AccessPointList{}, + Managed: &v1beta11.AccessPoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FileSystemConfig[i3].Arn") + } + mg.Spec.InitProvider.FileSystemConfig[i3].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FileSystemConfig[i3].ArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.ReplacementSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.ReplacementSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.ReplacementSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplacementSecurityGroupIds") + } + mg.Spec.InitProvider.ReplacementSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.ReplacementSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &v1beta14.RoleList{}, + Managed: &v1beta14.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3Bucket), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.S3BucketRef, + Selector: mg.Spec.InitProvider.S3BucketSelector, + To: reference.To{ + List: &v1beta15.BucketList{}, + Managed: &v1beta15.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3Bucket") + } + mg.Spec.InitProvider.S3Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta13.SecurityGroupList{}, + Managed: &v1beta13.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SecurityGroupIDRefs = mrsp.ResolvedReferences + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfig); i3++ { + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCConfig[i3].SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs, + Selector: mg.Spec.InitProvider.VPCConfig[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfig[i3].SubnetIds") + } + mg.Spec.InitProvider.VPCConfig[i3].SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCConfig[i3].SubnetIDRefs = mrsp.ResolvedReferences + } return nil @@ -280,6 +432,46 @@ func (mg *FunctionEventInvokeConfig) ResolveReferences(ctx context.Context, c cl } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DestinationConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DestinationConfig[i3].OnFailure); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].Destination), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].DestinationRef, + Selector: mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].DestinationSelector, + To: reference.To{ + List: &v1beta16.QueueList{}, + Managed: &v1beta16.Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].Destination") + } + mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].Destination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationConfig[i3].OnFailure[i4].DestinationRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DestinationConfig); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].Destination), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].DestinationRef, + Selector: mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].DestinationSelector, + To: reference.To{ + List: &v1beta17.TopicList{}, + Managed: &v1beta17.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].Destination") + } + mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].Destination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DestinationConfig[i3].OnSuccess[i4].DestinationRef = rsp.ResolvedReference + + } + } return nil } @@ -307,6 +499,22 @@ func (mg *FunctionURL) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FunctionNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FunctionName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FunctionNameRef, + Selector: mg.Spec.InitProvider.FunctionNameSelector, + To: reference.To{ + List: &FunctionList{}, + Managed: &Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FunctionName") + } + mg.Spec.InitProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FunctionNameRef = rsp.ResolvedReference + return nil } @@ -333,6 +541,22 @@ func (mg *Invocation) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FunctionNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FunctionName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FunctionNameRef, + Selector: mg.Spec.InitProvider.FunctionNameSelector, + To: reference.To{ + List: &FunctionList{}, + Managed: &Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FunctionName") + } + mg.Spec.InitProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FunctionNameRef = rsp.ResolvedReference + return nil } @@ -375,5 +599,37 @@ func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.Qualifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.QualifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FunctionName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.FunctionNameRef, + Selector: mg.Spec.InitProvider.FunctionNameSelector, + To: reference.To{ + List: &FunctionList{}, + Managed: &Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FunctionName") + } + mg.Spec.InitProvider.FunctionName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FunctionNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Qualifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.QualifierRef, + Selector: mg.Spec.InitProvider.QualifierSelector, + To: reference.To{ + List: &AliasList{}, + Managed: &Alias{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Qualifier") + } + mg.Spec.InitProvider.Qualifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.QualifierRef = rsp.ResolvedReference + return nil } diff --git a/apis/lambda/v1beta1/zz_invocation_types.go b/apis/lambda/v1beta1/zz_invocation_types.go index ed8b15e626..28e62af03c 100755 --- a/apis/lambda/v1beta1/zz_invocation_types.go +++ b/apis/lambda/v1beta1/zz_invocation_types.go @@ -19,6 +19,18 @@ import ( type InvocationInitParameters struct { + // Name of the lambda function. + // +crossplane:generate:reference:type=Function + FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"` + + // Reference to a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"` + + // Selector for a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"` + // JSON payload to the lambda function. Input *string `json:"input,omitempty" tf:"input,omitempty"` diff --git a/apis/lambda/v1beta1/zz_permission_types.go b/apis/lambda/v1beta1/zz_permission_types.go index bb5d354686..52878f98e9 100755 --- a/apis/lambda/v1beta1/zz_permission_types.go +++ b/apis/lambda/v1beta1/zz_permission_types.go @@ -25,6 +25,18 @@ type PermissionInitParameters struct { // The Event Source Token to validate. Used with Alexa Skills. EventSourceToken *string `json:"eventSourceToken,omitempty" tf:"event_source_token,omitempty"` + // Name of the Lambda function whose resource policy you are updating + // +crossplane:generate:reference:type=Function + FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"` + + // Reference to a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"` + + // Selector for a Function to populate functionName. + // +kubebuilder:validation:Optional + FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"` + // Lambda Function URLs authentication type. Valid values are: AWS_IAM or NONE. Only supported for lambda:InvokeFunctionUrl action. FunctionURLAuthType *string `json:"functionUrlAuthType,omitempty" tf:"function_url_auth_type,omitempty"` @@ -34,6 +46,18 @@ type PermissionInitParameters struct { // The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization. PrincipalOrgID *string `json:"principalOrgId,omitempty" tf:"principal_org_id,omitempty"` + // Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., arn:aws:lambda:aws-region:acct-id:function:function-name:2 + // +crossplane:generate:reference:type=Alias + Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"` + + // Reference to a Alias to populate qualifier. + // +kubebuilder:validation:Optional + QualifierRef *v1.Reference `json:"qualifierRef,omitempty" tf:"-"` + + // Selector for a Alias to populate qualifier. + // +kubebuilder:validation:Optional + QualifierSelector *v1.Selector `json:"qualifierSelector,omitempty" tf:"-"` + // This parameter is used when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner. SourceAccount *string `json:"sourceAccount,omitempty" tf:"source_account,omitempty"` diff --git a/apis/licensemanager/v1beta1/zz_association_types.go b/apis/licensemanager/v1beta1/zz_association_types.go index 1f801218f3..a1883d6ca8 100755 --- a/apis/licensemanager/v1beta1/zz_association_types.go +++ b/apis/licensemanager/v1beta1/zz_association_types.go @@ -18,6 +18,32 @@ import ( ) type AssociationInitParameters struct { + + // ARN of the license configuration. + // +crossplane:generate:reference:type=LicenseConfiguration + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + LicenseConfigurationArn *string `json:"licenseConfigurationArn,omitempty" tf:"license_configuration_arn,omitempty"` + + // Reference to a LicenseConfiguration to populate licenseConfigurationArn. + // +kubebuilder:validation:Optional + LicenseConfigurationArnRef *v1.Reference `json:"licenseConfigurationArnRef,omitempty" tf:"-"` + + // Selector for a LicenseConfiguration to populate licenseConfigurationArn. + // +kubebuilder:validation:Optional + LicenseConfigurationArnSelector *v1.Selector `json:"licenseConfigurationArnSelector,omitempty" tf:"-"` + + // ARN of the resource associated with the license configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Instance in ec2 to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Instance in ec2 to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type AssociationObservation struct { diff --git a/apis/licensemanager/v1beta1/zz_generated.deepcopy.go b/apis/licensemanager/v1beta1/zz_generated.deepcopy.go index aeeab7dce4..8aa2ffc6bb 100644 --- a/apis/licensemanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/licensemanager/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,36 @@ func (in *Association) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AssociationInitParameters) DeepCopyInto(out *AssociationInitParameters) { *out = *in + if in.LicenseConfigurationArn != nil { + in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn + *out = new(string) + **out = **in + } + if in.LicenseConfigurationArnRef != nil { + in, out := &in.LicenseConfigurationArnRef, &out.LicenseConfigurationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LicenseConfigurationArnSelector != nil { + in, out := &in.LicenseConfigurationArnSelector, &out.LicenseConfigurationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssociationInitParameters. @@ -172,7 +202,7 @@ func (in *AssociationSpec) DeepCopyInto(out *AssociationSpec) { *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 AssociationSpec. diff --git a/apis/licensemanager/v1beta1/zz_generated.resolvers.go b/apis/licensemanager/v1beta1/zz_generated.resolvers.go index 9762c628f9..0f5dc99f31 100644 --- a/apis/licensemanager/v1beta1/zz_generated.resolvers.go +++ b/apis/licensemanager/v1beta1/zz_generated.resolvers.go @@ -54,5 +54,37 @@ func (mg *Association) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LicenseConfigurationArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LicenseConfigurationArnRef, + Selector: mg.Spec.InitProvider.LicenseConfigurationArnSelector, + To: reference.To{ + List: &LicenseConfigurationList{}, + Managed: &LicenseConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LicenseConfigurationArn") + } + mg.Spec.InitProvider.LicenseConfigurationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LicenseConfigurationArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &v1beta1.InstanceList{}, + Managed: &v1beta1.Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/lightsail/v1beta1/zz_diskattachment_types.go b/apis/lightsail/v1beta1/zz_diskattachment_types.go index de988f2996..777e7ac489 100755 --- a/apis/lightsail/v1beta1/zz_diskattachment_types.go +++ b/apis/lightsail/v1beta1/zz_diskattachment_types.go @@ -19,8 +19,32 @@ import ( type DiskAttachmentInitParameters struct { + // The name of the Lightsail Disk. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.Disk + DiskName *string `json:"diskName,omitempty" tf:"disk_name,omitempty"` + + // Reference to a Disk in lightsail to populate diskName. + // +kubebuilder:validation:Optional + DiskNameRef *v1.Reference `json:"diskNameRef,omitempty" tf:"-"` + + // Selector for a Disk in lightsail to populate diskName. + // +kubebuilder:validation:Optional + DiskNameSelector *v1.Selector `json:"diskNameSelector,omitempty" tf:"-"` + // The disk path to expose to the instance. DiskPath *string `json:"diskPath,omitempty" tf:"disk_path,omitempty"` + + // The name of the Lightsail Instance to attach to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.Instance + InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` + + // Reference to a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameRef *v1.Reference `json:"instanceNameRef,omitempty" tf:"-"` + + // Selector for a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameSelector *v1.Selector `json:"instanceNameSelector,omitempty" tf:"-"` } type DiskAttachmentObservation struct { diff --git a/apis/lightsail/v1beta1/zz_generated.deepcopy.go b/apis/lightsail/v1beta1/zz_generated.deepcopy.go index 17356e19db..b778e1b924 100644 --- a/apis/lightsail/v1beta1/zz_generated.deepcopy.go +++ b/apis/lightsail/v1beta1/zz_generated.deepcopy.go @@ -1056,11 +1056,41 @@ func (in *DiskAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DiskAttachmentInitParameters) DeepCopyInto(out *DiskAttachmentInitParameters) { *out = *in + if in.DiskName != nil { + in, out := &in.DiskName, &out.DiskName + *out = new(string) + **out = **in + } + if in.DiskNameRef != nil { + in, out := &in.DiskNameRef, &out.DiskNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DiskNameSelector != nil { + in, out := &in.DiskNameSelector, &out.DiskNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DiskPath != nil { in, out := &in.DiskPath, &out.DiskPath *out = new(string) **out = **in } + if in.InstanceName != nil { + in, out := &in.InstanceName, &out.InstanceName + *out = new(string) + **out = **in + } + if in.InstanceNameRef != nil { + in, out := &in.InstanceNameRef, &out.InstanceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceNameSelector != nil { + in, out := &in.InstanceNameSelector, &out.InstanceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskAttachmentInitParameters. @@ -2404,6 +2434,21 @@ func (in *InstancePublicPorts) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstancePublicPortsInitParameters) DeepCopyInto(out *InstancePublicPortsInitParameters) { *out = *in + if in.InstanceName != nil { + in, out := &in.InstanceName, &out.InstanceName + *out = new(string) + **out = **in + } + if in.InstanceNameRef != nil { + in, out := &in.InstanceNameRef, &out.InstanceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceNameSelector != nil { + in, out := &in.InstanceNameSelector, &out.InstanceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PortInfo != nil { in, out := &in.PortInfo, &out.PortInfo *out = make([]PortInfoInitParameters, len(*in)) @@ -2939,6 +2984,36 @@ func (in *LBAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LBAttachmentInitParameters) DeepCopyInto(out *LBAttachmentInitParameters) { *out = *in + if in.InstanceName != nil { + in, out := &in.InstanceName, &out.InstanceName + *out = new(string) + **out = **in + } + if in.InstanceNameRef != nil { + in, out := &in.InstanceNameRef, &out.InstanceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceNameSelector != nil { + in, out := &in.InstanceNameSelector, &out.InstanceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LBName != nil { + in, out := &in.LBName, &out.LBName + *out = new(string) + **out = **in + } + if in.LBNameRef != nil { + in, out := &in.LBNameRef, &out.LBNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LBNameSelector != nil { + in, out := &in.LBNameSelector, &out.LBNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBAttachmentInitParameters. @@ -3068,7 +3143,7 @@ func (in *LBAttachmentSpec) DeepCopyInto(out *LBAttachmentSpec) { *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 LBAttachmentSpec. @@ -4254,6 +4329,36 @@ func (in *StaticIPAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StaticIPAttachmentInitParameters) DeepCopyInto(out *StaticIPAttachmentInitParameters) { *out = *in + if in.InstanceName != nil { + in, out := &in.InstanceName, &out.InstanceName + *out = new(string) + **out = **in + } + if in.InstanceNameRef != nil { + in, out := &in.InstanceNameRef, &out.InstanceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceNameSelector != nil { + in, out := &in.InstanceNameSelector, &out.InstanceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StaticIPName != nil { + in, out := &in.StaticIPName, &out.StaticIPName + *out = new(string) + **out = **in + } + if in.StaticIPNameRef != nil { + in, out := &in.StaticIPNameRef, &out.StaticIPNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StaticIPNameSelector != nil { + in, out := &in.StaticIPNameSelector, &out.StaticIPNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticIPAttachmentInitParameters. @@ -4388,7 +4493,7 @@ func (in *StaticIPAttachmentSpec) DeepCopyInto(out *StaticIPAttachmentSpec) { *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 StaticIPAttachmentSpec. diff --git a/apis/lightsail/v1beta1/zz_generated.resolvers.go b/apis/lightsail/v1beta1/zz_generated.resolvers.go index 6bf40205b8..2f00ddc1cf 100644 --- a/apis/lightsail/v1beta1/zz_generated.resolvers.go +++ b/apis/lightsail/v1beta1/zz_generated.resolvers.go @@ -52,6 +52,38 @@ func (mg *DiskAttachment) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DiskName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DiskNameRef, + Selector: mg.Spec.InitProvider.DiskNameSelector, + To: reference.To{ + List: &DiskList{}, + Managed: &Disk{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DiskName") + } + mg.Spec.InitProvider.DiskName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DiskNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceNameRef, + Selector: mg.Spec.InitProvider.InstanceNameSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceName") + } + mg.Spec.InitProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceNameRef = rsp.ResolvedReference + return nil } @@ -104,6 +136,22 @@ func (mg *InstancePublicPorts) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InstanceNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceNameRef, + Selector: mg.Spec.InitProvider.InstanceNameSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceName") + } + mg.Spec.InitProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceNameRef = rsp.ResolvedReference + return nil } @@ -146,6 +194,38 @@ func (mg *LBAttachment) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.LBName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LBNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.InstanceNameRef, + Selector: mg.Spec.InitProvider.InstanceNameSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceName") + } + mg.Spec.InitProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LBName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.LBNameRef, + Selector: mg.Spec.InitProvider.LBNameSelector, + To: reference.To{ + List: &LBList{}, + Managed: &LB{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LBName") + } + mg.Spec.InitProvider.LBName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LBNameRef = rsp.ResolvedReference + return nil } @@ -214,5 +294,37 @@ func (mg *StaticIPAttachment) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.StaticIPName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StaticIPNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InstanceName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InstanceNameRef, + Selector: mg.Spec.InitProvider.InstanceNameSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InstanceName") + } + mg.Spec.InitProvider.InstanceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InstanceNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StaticIPName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StaticIPNameRef, + Selector: mg.Spec.InitProvider.StaticIPNameSelector, + To: reference.To{ + List: &StaticIPList{}, + Managed: &StaticIP{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StaticIPName") + } + mg.Spec.InitProvider.StaticIPName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StaticIPNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/lightsail/v1beta1/zz_instancepublicports_types.go b/apis/lightsail/v1beta1/zz_instancepublicports_types.go index 074c2f80d3..b934805893 100755 --- a/apis/lightsail/v1beta1/zz_instancepublicports_types.go +++ b/apis/lightsail/v1beta1/zz_instancepublicports_types.go @@ -19,6 +19,18 @@ import ( type InstancePublicPortsInitParameters struct { + // Name of the Lightsail Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.Instance + InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` + + // Reference to a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameRef *v1.Reference `json:"instanceNameRef,omitempty" tf:"-"` + + // Selector for a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameSelector *v1.Selector `json:"instanceNameSelector,omitempty" tf:"-"` + // Configuration block with port information. AWS closes all currently open ports that are not included in the port_info. Detailed below. PortInfo []PortInfoInitParameters `json:"portInfo,omitempty" tf:"port_info,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_lbattachment_types.go b/apis/lightsail/v1beta1/zz_lbattachment_types.go index 6e47e727cc..e7603a26d2 100755 --- a/apis/lightsail/v1beta1/zz_lbattachment_types.go +++ b/apis/lightsail/v1beta1/zz_lbattachment_types.go @@ -18,6 +18,30 @@ import ( ) type LBAttachmentInitParameters struct { + + // The name of the instance to attach to the load balancer. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.Instance + InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` + + // Reference to a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameRef *v1.Reference `json:"instanceNameRef,omitempty" tf:"-"` + + // Selector for a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameSelector *v1.Selector `json:"instanceNameSelector,omitempty" tf:"-"` + + // The name of the Lightsail load balancer. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.LB + LBName *string `json:"lbName,omitempty" tf:"lb_name,omitempty"` + + // Reference to a LB in lightsail to populate lbName. + // +kubebuilder:validation:Optional + LBNameRef *v1.Reference `json:"lbNameRef,omitempty" tf:"-"` + + // Selector for a LB in lightsail to populate lbName. + // +kubebuilder:validation:Optional + LBNameSelector *v1.Selector `json:"lbNameSelector,omitempty" tf:"-"` } type LBAttachmentObservation struct { diff --git a/apis/lightsail/v1beta1/zz_staticipattachment_types.go b/apis/lightsail/v1beta1/zz_staticipattachment_types.go index f7c938db31..72d29d6c10 100755 --- a/apis/lightsail/v1beta1/zz_staticipattachment_types.go +++ b/apis/lightsail/v1beta1/zz_staticipattachment_types.go @@ -18,6 +18,32 @@ import ( ) type StaticIPAttachmentInitParameters struct { + + // The name of the Lightsail instance to attach the IP to + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` + + // Reference to a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameRef *v1.Reference `json:"instanceNameRef,omitempty" tf:"-"` + + // Selector for a Instance in lightsail to populate instanceName. + // +kubebuilder:validation:Optional + InstanceNameSelector *v1.Selector `json:"instanceNameSelector,omitempty" tf:"-"` + + // The name of the allocated static IP + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lightsail/v1beta1.StaticIP + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StaticIPName *string `json:"staticIpName,omitempty" tf:"static_ip_name,omitempty"` + + // Reference to a StaticIP in lightsail to populate staticIpName. + // +kubebuilder:validation:Optional + StaticIPNameRef *v1.Reference `json:"staticIpNameRef,omitempty" tf:"-"` + + // Selector for a StaticIP in lightsail to populate staticIpName. + // +kubebuilder:validation:Optional + StaticIPNameSelector *v1.Selector `json:"staticIpNameSelector,omitempty" tf:"-"` } type StaticIPAttachmentObservation struct { diff --git a/apis/location/v1beta1/zz_generated.deepcopy.go b/apis/location/v1beta1/zz_generated.deepcopy.go index 30b868422a..1d605da456 100644 --- a/apis/location/v1beta1/zz_generated.deepcopy.go +++ b/apis/location/v1beta1/zz_generated.deepcopy.go @@ -108,6 +108,21 @@ func (in *GeofenceCollectionInitParameters) DeepCopyInto(out *GeofenceCollection *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -930,6 +945,36 @@ func (in *TrackerAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TrackerAssociationInitParameters) DeepCopyInto(out *TrackerAssociationInitParameters) { *out = *in + if in.ConsumerArn != nil { + in, out := &in.ConsumerArn, &out.ConsumerArn + *out = new(string) + **out = **in + } + if in.ConsumerArnRef != nil { + in, out := &in.ConsumerArnRef, &out.ConsumerArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConsumerArnSelector != nil { + in, out := &in.ConsumerArnSelector, &out.ConsumerArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TrackerName != nil { + in, out := &in.TrackerName, &out.TrackerName + *out = new(string) + **out = **in + } + if in.TrackerNameRef != nil { + in, out := &in.TrackerNameRef, &out.TrackerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TrackerNameSelector != nil { + in, out := &in.TrackerNameSelector, &out.TrackerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrackerAssociationInitParameters. @@ -1059,7 +1104,7 @@ func (in *TrackerAssociationSpec) DeepCopyInto(out *TrackerAssociationSpec) { *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 TrackerAssociationSpec. @@ -1097,6 +1142,21 @@ func (in *TrackerInitParameters) DeepCopyInto(out *TrackerInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PositionFiltering != nil { in, out := &in.PositionFiltering, &out.PositionFiltering *out = new(string) diff --git a/apis/location/v1beta1/zz_generated.resolvers.go b/apis/location/v1beta1/zz_generated.resolvers.go index 493940eb8b..fb466dce33 100644 --- a/apis/location/v1beta1/zz_generated.resolvers.go +++ b/apis/location/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *GeofenceCollection) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -63,6 +79,22 @@ func (mg *Tracker) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -105,5 +137,37 @@ func (mg *TrackerAssociation) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.TrackerName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TrackerNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConsumerArn), + Extract: resource.ExtractParamPath("collection_arn", true), + Reference: mg.Spec.InitProvider.ConsumerArnRef, + Selector: mg.Spec.InitProvider.ConsumerArnSelector, + To: reference.To{ + List: &GeofenceCollectionList{}, + Managed: &GeofenceCollection{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConsumerArn") + } + mg.Spec.InitProvider.ConsumerArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConsumerArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TrackerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TrackerNameRef, + Selector: mg.Spec.InitProvider.TrackerNameSelector, + To: reference.To{ + List: &TrackerList{}, + Managed: &Tracker{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TrackerName") + } + mg.Spec.InitProvider.TrackerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TrackerNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/location/v1beta1/zz_geofencecollection_types.go b/apis/location/v1beta1/zz_geofencecollection_types.go index c3598739c7..c0b69b0c70 100755 --- a/apis/location/v1beta1/zz_geofencecollection_types.go +++ b/apis/location/v1beta1/zz_geofencecollection_types.go @@ -22,6 +22,18 @@ type GeofenceCollectionInitParameters struct { // The optional description for the geofence collection. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/location/v1beta1/zz_tracker_types.go b/apis/location/v1beta1/zz_tracker_types.go index e041c9ae48..35e4de5c5b 100755 --- a/apis/location/v1beta1/zz_tracker_types.go +++ b/apis/location/v1beta1/zz_tracker_types.go @@ -22,6 +22,18 @@ type TrackerInitParameters struct { // The optional description for the tracker resource. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // A key identifier for an AWS KMS customer managed key assigned to the Amazon Location resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The position filtering method of the tracker resource. Valid values: TimeBased, DistanceBased, AccuracyBased. Default: TimeBased. PositionFiltering *string `json:"positionFiltering,omitempty" tf:"position_filtering,omitempty"` diff --git a/apis/location/v1beta1/zz_trackerassociation_types.go b/apis/location/v1beta1/zz_trackerassociation_types.go index 529635a83e..833cb2d730 100755 --- a/apis/location/v1beta1/zz_trackerassociation_types.go +++ b/apis/location/v1beta1/zz_trackerassociation_types.go @@ -18,6 +18,31 @@ import ( ) type TrackerAssociationInitParameters struct { + + // The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/location/v1beta1.GeofenceCollection + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("collection_arn",true) + ConsumerArn *string `json:"consumerArn,omitempty" tf:"consumer_arn,omitempty"` + + // Reference to a GeofenceCollection in location to populate consumerArn. + // +kubebuilder:validation:Optional + ConsumerArnRef *v1.Reference `json:"consumerArnRef,omitempty" tf:"-"` + + // Selector for a GeofenceCollection in location to populate consumerArn. + // +kubebuilder:validation:Optional + ConsumerArnSelector *v1.Selector `json:"consumerArnSelector,omitempty" tf:"-"` + + // The name of the tracker resource to be associated with a geofence collection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/location/v1beta1.Tracker + TrackerName *string `json:"trackerName,omitempty" tf:"tracker_name,omitempty"` + + // Reference to a Tracker in location to populate trackerName. + // +kubebuilder:validation:Optional + TrackerNameRef *v1.Reference `json:"trackerNameRef,omitempty" tf:"-"` + + // Selector for a Tracker in location to populate trackerName. + // +kubebuilder:validation:Optional + TrackerNameSelector *v1.Selector `json:"trackerNameSelector,omitempty" tf:"-"` } type TrackerAssociationObservation struct { diff --git a/apis/medialive/v1beta1/zz_channel_types.go b/apis/medialive/v1beta1/zz_channel_types.go index 7d9172be1c..553b853c63 100755 --- a/apis/medialive/v1beta1/zz_channel_types.go +++ b/apis/medialive/v1beta1/zz_channel_types.go @@ -1330,6 +1330,19 @@ type ChannelInitParameters struct { // Name of the Channel. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // Concise argument description. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Whether to start/stop channel. Default: false StartChannel *bool `json:"startChannel,omitempty" tf:"start_channel,omitempty"` @@ -5080,6 +5093,19 @@ type InputAttachmentsInitParameters struct { // User-specified name for the attachment. InputAttachmentName *string `json:"inputAttachmentName,omitempty" tf:"input_attachment_name,omitempty"` + // The ID of the input. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/medialive/v1beta1.Input + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + InputID *string `json:"inputId,omitempty" tf:"input_id,omitempty"` + + // Reference to a Input in medialive to populate inputId. + // +kubebuilder:validation:Optional + InputIDRef *v1.Reference `json:"inputIdRef,omitempty" tf:"-"` + + // Selector for a Input in medialive to populate inputId. + // +kubebuilder:validation:Optional + InputIDSelector *v1.Selector `json:"inputIdSelector,omitempty" tf:"-"` + // Settings of an input. See Input Settings for more details. InputSettings []InputSettingsInitParameters `json:"inputSettings,omitempty" tf:"input_settings,omitempty"` } diff --git a/apis/medialive/v1beta1/zz_generated.deepcopy.go b/apis/medialive/v1beta1/zz_generated.deepcopy.go index 2c68e1aa0d..7dda18b40b 100644 --- a/apis/medialive/v1beta1/zz_generated.deepcopy.go +++ b/apis/medialive/v1beta1/zz_generated.deepcopy.go @@ -3109,6 +3109,21 @@ func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StartChannel != nil { in, out := &in.StartChannel, &out.StartChannel *out = new(bool) @@ -11464,6 +11479,21 @@ func (in *InputAttachmentsInitParameters) DeepCopyInto(out *InputAttachmentsInit *out = new(string) **out = **in } + if in.InputID != nil { + in, out := &in.InputID, &out.InputID + *out = new(string) + **out = **in + } + if in.InputIDRef != nil { + in, out := &in.InputIDRef, &out.InputIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InputIDSelector != nil { + in, out := &in.InputIDSelector, &out.InputIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.InputSettings != nil { in, out := &in.InputSettings, &out.InputSettings *out = make([]InputSettingsInitParameters, len(*in)) @@ -11806,6 +11836,21 @@ func (in *InputInitParameters) DeepCopyInto(out *InputInitParameters) { *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Sources != nil { in, out := &in.Sources, &out.Sources *out = make([]SourcesInitParameters, len(*in)) diff --git a/apis/medialive/v1beta1/zz_generated.resolvers.go b/apis/medialive/v1beta1/zz_generated.resolvers.go index 39992915f0..0d140afc07 100644 --- a/apis/medialive/v1beta1/zz_generated.resolvers.go +++ b/apis/medialive/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,40 @@ func (mg *Channel) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.InputAttachments); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InputAttachments[i3].InputID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.InputAttachments[i3].InputIDRef, + Selector: mg.Spec.InitProvider.InputAttachments[i3].InputIDSelector, + To: reference.To{ + List: &InputList{}, + Managed: &Input{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InputAttachments[i3].InputID") + } + mg.Spec.InitProvider.InputAttachments[i3].InputID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InputAttachments[i3].InputIDRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -82,5 +116,21 @@ func (mg *Input) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/medialive/v1beta1/zz_input_types.go b/apis/medialive/v1beta1/zz_input_types.go index 915c699614..8295cdada1 100755 --- a/apis/medialive/v1beta1/zz_input_types.go +++ b/apis/medialive/v1beta1/zz_input_types.go @@ -72,6 +72,19 @@ type InputInitParameters struct { // Name of the input. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of the role this input assumes during and after creation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The source URLs for a PULL-type input. See Sources for more details. Sources []SourcesInitParameters `json:"sources,omitempty" tf:"sources,omitempty"` diff --git a/apis/mediastore/v1beta1/zz_containerpolicy_types.go b/apis/mediastore/v1beta1/zz_containerpolicy_types.go index d5c007c752..8f12f73147 100755 --- a/apis/mediastore/v1beta1/zz_containerpolicy_types.go +++ b/apis/mediastore/v1beta1/zz_containerpolicy_types.go @@ -19,6 +19,18 @@ import ( type ContainerPolicyInitParameters struct { + // The name of the container. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/mediastore/v1beta1.Container + ContainerName *string `json:"containerName,omitempty" tf:"container_name,omitempty"` + + // Reference to a Container in mediastore to populate containerName. + // +kubebuilder:validation:Optional + ContainerNameRef *v1.Reference `json:"containerNameRef,omitempty" tf:"-"` + + // Selector for a Container in mediastore to populate containerName. + // +kubebuilder:validation:Optional + ContainerNameSelector *v1.Selector `json:"containerNameSelector,omitempty" tf:"-"` + // The contents of the policy. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/mediastore/v1beta1/zz_generated.deepcopy.go b/apis/mediastore/v1beta1/zz_generated.deepcopy.go index ade81e1739..0f164068be 100644 --- a/apis/mediastore/v1beta1/zz_generated.deepcopy.go +++ b/apis/mediastore/v1beta1/zz_generated.deepcopy.go @@ -231,6 +231,21 @@ func (in *ContainerPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ContainerPolicyInitParameters) DeepCopyInto(out *ContainerPolicyInitParameters) { *out = *in + if in.ContainerName != nil { + in, out := &in.ContainerName, &out.ContainerName + *out = new(string) + **out = **in + } + if in.ContainerNameRef != nil { + in, out := &in.ContainerNameRef, &out.ContainerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ContainerNameSelector != nil { + in, out := &in.ContainerNameSelector, &out.ContainerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) diff --git a/apis/mediastore/v1beta1/zz_generated.resolvers.go b/apis/mediastore/v1beta1/zz_generated.resolvers.go index 3daba62727..e070530ed6 100644 --- a/apis/mediastore/v1beta1/zz_generated.resolvers.go +++ b/apis/mediastore/v1beta1/zz_generated.resolvers.go @@ -35,5 +35,21 @@ func (mg *ContainerPolicy) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ContainerName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ContainerNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ContainerName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ContainerNameRef, + Selector: mg.Spec.InitProvider.ContainerNameSelector, + To: reference.To{ + List: &ContainerList{}, + Managed: &Container{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ContainerName") + } + mg.Spec.InitProvider.ContainerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ContainerNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/memorydb/v1beta1/zz_cluster_types.go b/apis/memorydb/v1beta1/zz_cluster_types.go index 0e86bc34d0..a0db133768 100755 --- a/apis/memorydb/v1beta1/zz_cluster_types.go +++ b/apis/memorydb/v1beta1/zz_cluster_types.go @@ -52,6 +52,18 @@ type ClusterInitParameters struct { // Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. FinalSnapshotName *string `json:"finalSnapshotName,omitempty" tf:"final_snapshot_name,omitempty"` + // ARN of the KMS key used to encrypt the cluster at rest. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: sun:23:00-mon:01:30. MaintenanceWindow *string `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` @@ -70,6 +82,21 @@ type ClusterInitParameters struct { // The port number on which each of the nodes accepts connections. Defaults to 6379. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Set of VPC Security Group ID-s to associate with this cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas. SnapshotArns []*string `json:"snapshotArns,omitempty" tf:"snapshot_arns,omitempty"` @@ -85,6 +112,19 @@ type ClusterInitParameters struct { // ARN of the SNS topic to which cluster notifications are sent. SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + // The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/memorydb/v1beta1.SubnetGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SubnetGroupName *string `json:"subnetGroupName,omitempty" tf:"subnet_group_name,omitempty"` + + // Reference to a SubnetGroup in memorydb to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameRef *v1.Reference `json:"subnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup in memorydb to populate subnetGroupName. + // +kubebuilder:validation:Optional + SubnetGroupNameSelector *v1.Selector `json:"subnetGroupNameSelector,omitempty" tf:"-"` + // A flag to enable in-transit encryption on the cluster. When set to false, the acl_name must be open-access. Defaults to true. TLSEnabled *bool `json:"tlsEnabled,omitempty" tf:"tls_enabled,omitempty"` diff --git a/apis/memorydb/v1beta1/zz_generated.deepcopy.go b/apis/memorydb/v1beta1/zz_generated.deepcopy.go index 0b3f4f72e8..aff214d8ad 100644 --- a/apis/memorydb/v1beta1/zz_generated.deepcopy.go +++ b/apis/memorydb/v1beta1/zz_generated.deepcopy.go @@ -494,6 +494,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MaintenanceWindow != nil { in, out := &in.MaintenanceWindow, &out.MaintenanceWindow *out = new(string) @@ -524,6 +539,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(float64) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.SnapshotArns != nil { in, out := &in.SnapshotArns, &out.SnapshotArns *out = make([]*string, len(*in)) @@ -555,6 +593,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.SubnetGroupName != nil { + in, out := &in.SubnetGroupName, &out.SubnetGroupName + *out = new(string) + **out = **in + } + if in.SubnetGroupNameRef != nil { + in, out := &in.SubnetGroupNameRef, &out.SubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetGroupNameSelector != nil { + in, out := &in.SubnetGroupNameSelector, &out.SubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TLSEnabled != nil { in, out := &in.TLSEnabled, &out.TLSEnabled *out = new(bool) @@ -1596,6 +1649,36 @@ func (in *Snapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters) { *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterNameRef != nil { + in, out := &in.ClusterNameRef, &out.ClusterNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterNameSelector != nil { + in, out := &in.ClusterNameSelector, &out.ClusterNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1871,6 +1954,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/memorydb/v1beta1/zz_generated.resolvers.go b/apis/memorydb/v1beta1/zz_generated.resolvers.go index 96f4df8c8b..3f267bcc24 100644 --- a/apis/memorydb/v1beta1/zz_generated.resolvers.go +++ b/apis/memorydb/v1beta1/zz_generated.resolvers.go @@ -71,6 +71,54 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetGroupName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SubnetGroupNameRef, + Selector: mg.Spec.InitProvider.SubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetGroupName") + } + mg.Spec.InitProvider.SubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetGroupNameRef = rsp.ResolvedReference + return nil } @@ -113,6 +161,38 @@ func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterNameRef, + Selector: mg.Spec.InitProvider.ClusterNameSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterName") + } + mg.Spec.InitProvider.ClusterName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + return nil } @@ -139,5 +219,21 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/memorydb/v1beta1/zz_snapshot_types.go b/apis/memorydb/v1beta1/zz_snapshot_types.go index 9e11ee9d1b..a1e7db9ec0 100755 --- a/apis/memorydb/v1beta1/zz_snapshot_types.go +++ b/apis/memorydb/v1beta1/zz_snapshot_types.go @@ -67,6 +67,30 @@ type ClusterConfigurationParameters struct { type SnapshotInitParameters struct { + // Name of the MemoryDB cluster to take a snapshot of. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/memorydb/v1beta1.Cluster + ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` + + // Reference to a Cluster in memorydb to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameRef *v1.Reference `json:"clusterNameRef,omitempty" tf:"-"` + + // Selector for a Cluster in memorydb to populate clusterName. + // +kubebuilder:validation:Optional + ClusterNameSelector *v1.Selector `json:"clusterNameSelector,omitempty" tf:"-"` + + // ARN of the KMS key used to encrypt the snapshot at rest. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/memorydb/v1beta1/zz_subnetgroup_types.go b/apis/memorydb/v1beta1/zz_subnetgroup_types.go index 945b7ba0a8..d20aadd836 100755 --- a/apis/memorydb/v1beta1/zz_subnetgroup_types.go +++ b/apis/memorydb/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,21 @@ type SubnetGroupInitParameters struct { // Description for the subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // Set of VPC Subnet ID-s for the subnet group. At least one subnet must be provided. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/mq/v1beta1/zz_broker_types.go b/apis/mq/v1beta1/zz_broker_types.go index d6e0d7f366..dfd80c564e 100755 --- a/apis/mq/v1beta1/zz_broker_types.go +++ b/apis/mq/v1beta1/zz_broker_types.go @@ -61,9 +61,39 @@ type BrokerInitParameters struct { // Whether to enable connections from applications outside of the VPC that hosts the broker's subnets. PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroups. + // +kubebuilder:validation:Optional + SecurityGroupSelector *v1.Selector `json:"securityGroupSelector,omitempty" tf:"-"` + + // List of security group IDs assigned to the broker. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + // Storage type of the broker. For engine_type ActiveMQ, the valid values are efs and ebs, and the AWS-default is efs. For engine_type RabbitMQ, only ebs is supported. When using ebs, only the mq.m5 broker instance type family is supported. StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // List of subnet IDs in which to launch the broker. A SINGLE_INSTANCE deployment requires one subnet. An ACTIVE_STANDBY_MULTI_AZ deployment requires multiple subnets. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -259,6 +289,19 @@ type BrokerParameters struct { type ConfigurationInitParameters struct { + // The Configuration ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/mq/v1beta1.Configuration + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Reference to a Configuration in mq to populate id. + // +kubebuilder:validation:Optional + IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` + + // Selector for a Configuration in mq to populate id. + // +kubebuilder:validation:Optional + IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` + // Revision of the Configuration. Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` } diff --git a/apis/mq/v1beta1/zz_generated.deepcopy.go b/apis/mq/v1beta1/zz_generated.deepcopy.go index 6dc7d7a288..18744b1ba7 100644 --- a/apis/mq/v1beta1/zz_generated.deepcopy.go +++ b/apis/mq/v1beta1/zz_generated.deepcopy.go @@ -123,11 +123,57 @@ func (in *BrokerInitParameters) DeepCopyInto(out *BrokerInitParameters) { *out = new(bool) **out = **in } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.StorageType != nil { in, out := &in.StorageType, &out.StorageType *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -612,6 +658,21 @@ func (in *Configuration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParameters) { *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IDRef != nil { + in, out := &in.IDRef, &out.IDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IDSelector != nil { + in, out := &in.IDSelector, &out.IDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Revision != nil { in, out := &in.Revision, &out.Revision *out = new(float64) diff --git a/apis/mq/v1beta1/zz_generated.resolvers.go b/apis/mq/v1beta1/zz_generated.resolvers.go index 6fe920e418..5ac7930102 100644 --- a/apis/mq/v1beta1/zz_generated.resolvers.go +++ b/apis/mq/v1beta1/zz_generated.resolvers.go @@ -72,5 +72,55 @@ func (mg *Broker) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].ID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Configuration[i3].IDRef, + Selector: mg.Spec.InitProvider.Configuration[i3].IDSelector, + To: reference.To{ + List: &ConfigurationList{}, + Managed: &Configuration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].ID") + } + mg.Spec.InitProvider.Configuration[i3].ID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].IDRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroups), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupRefs, + Selector: mg.Spec.InitProvider.SecurityGroupSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroups") + } + mg.Spec.InitProvider.SecurityGroups = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/neptune/v1beta1/zz_cluster_types.go b/apis/neptune/v1beta1/zz_cluster_types.go index a1624f5091..31348c7060 100755 --- a/apis/neptune/v1beta1/zz_cluster_types.go +++ b/apis/neptune/v1beta1/zz_cluster_types.go @@ -57,9 +57,60 @@ type ClusterInitParameters struct { // Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. IAMDatabaseAuthenticationEnabled *bool `json:"iamDatabaseAuthenticationEnabled,omitempty" tf:"iam_database_authentication_enabled,omitempty"` + // References to Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"` + + // Selector for a list of Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + + // A List of ARNs for the IAM roles to associate to the Neptune Cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:refFieldName=IAMRoleRefs + // +crossplane:generate:reference:selectorFieldName=IAMRoleSelector + // +listType=set + IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"` + + // The ARN for the KMS encryption key. When specifying kms_key_arn, storage_encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + + // A cluster parameter group to associate with the cluster. + // +crossplane:generate:reference:type=ClusterParameterGroup + NeptuneClusterParameterGroupName *string `json:"neptuneClusterParameterGroupName,omitempty" tf:"neptune_cluster_parameter_group_name,omitempty"` + + // Reference to a ClusterParameterGroup to populate neptuneClusterParameterGroupName. + // +kubebuilder:validation:Optional + NeptuneClusterParameterGroupNameRef *v1.Reference `json:"neptuneClusterParameterGroupNameRef,omitempty" tf:"-"` + + // Selector for a ClusterParameterGroup to populate neptuneClusterParameterGroupName. + // +kubebuilder:validation:Optional + NeptuneClusterParameterGroupNameSelector *v1.Selector `json:"neptuneClusterParameterGroupNameSelector,omitempty" tf:"-"` + // The name of the DB parameter group to apply to all instances of the DB cluster. NeptuneInstanceParameterGroupName *string `json:"neptuneInstanceParameterGroupName,omitempty" tf:"neptune_instance_parameter_group_name,omitempty"` + // A Neptune subnet group to associate with this Neptune instance. + // +crossplane:generate:reference:type=SubnetGroup + NeptuneSubnetGroupName *string `json:"neptuneSubnetGroupName,omitempty" tf:"neptune_subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate neptuneSubnetGroupName. + // +kubebuilder:validation:Optional + NeptuneSubnetGroupNameRef *v1.Reference `json:"neptuneSubnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate neptuneSubnetGroupName. + // +kubebuilder:validation:Optional + NeptuneSubnetGroupNameSelector *v1.Selector `json:"neptuneSubnetGroupNameSelector,omitempty" tf:"-"` + // The port on which the Neptune accepts connections. Default is 8182. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` @@ -69,18 +120,57 @@ type ClusterInitParameters struct { // The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"` + // ARN of a source Neptune cluster or Neptune instance if this Neptune cluster is to be created as a Read Replica. + // +crossplane:generate:reference:type=Cluster + ReplicationSourceIdentifier *string `json:"replicationSourceIdentifier,omitempty" tf:"replication_source_identifier,omitempty"` + + // Reference to a Cluster to populate replicationSourceIdentifier. + // +kubebuilder:validation:Optional + ReplicationSourceIdentifierRef *v1.Reference `json:"replicationSourceIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate replicationSourceIdentifier. + // +kubebuilder:validation:Optional + ReplicationSourceIdentifierSelector *v1.Selector `json:"replicationSourceIdentifierSelector,omitempty" tf:"-"` + // If set, create the Neptune cluster as a serverless one. See Serverless for example block attributes. ServerlessV2ScalingConfiguration []ServerlessV2ScalingConfigurationInitParameters `json:"serverlessV2ScalingConfiguration,omitempty" tf:"serverless_v2_scaling_configuration,omitempty"` // Determines whether a final Neptune snapshot is created before the Neptune cluster is deleted. If true is specified, no Neptune snapshot is created. If false is specified, a Neptune snapshot is created before the Neptune cluster is deleted, using the value from final_snapshot_identifier. Default is false. SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"` + // Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a Neptune cluster snapshot, or the ARN when specifying a Neptune snapshot. Automated snapshots should not be used for this attribute, unless from a different cluster. Automated snapshots are deleted as part of cluster destruction when the resource is replaced. + // +crossplane:generate:reference:type=ClusterSnapshot + SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"` + + // Reference to a ClusterSnapshot to populate snapshotIdentifier. + // +kubebuilder:validation:Optional + SnapshotIdentifierRef *v1.Reference `json:"snapshotIdentifierRef,omitempty" tf:"-"` + + // Selector for a ClusterSnapshot to populate snapshotIdentifier. + // +kubebuilder:validation:Optional + SnapshotIdentifierSelector *v1.Selector `json:"snapshotIdentifierSelector,omitempty" tf:"-"` + // Specifies whether the Neptune cluster is encrypted. The default is false if not specified. StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of VPC security groups to associate with the Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type ClusterObservation struct { diff --git a/apis/neptune/v1beta1/zz_clusterendpoint_types.go b/apis/neptune/v1beta1/zz_clusterendpoint_types.go index 47ce81f9fb..26bd73029c 100755 --- a/apis/neptune/v1beta1/zz_clusterendpoint_types.go +++ b/apis/neptune/v1beta1/zz_clusterendpoint_types.go @@ -19,6 +19,18 @@ import ( type ClusterEndpointInitParameters struct { + // The DB cluster identifier of the DB cluster associated with the endpoint. + // +crossplane:generate:reference:type=Cluster + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // The type of the endpoint. One of: READER, WRITER, ANY. EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"` diff --git a/apis/neptune/v1beta1/zz_clusterinstance_types.go b/apis/neptune/v1beta1/zz_clusterinstance_types.go index 862fade76e..fb0d8c7eaf 100755 --- a/apis/neptune/v1beta1/zz_clusterinstance_types.go +++ b/apis/neptune/v1beta1/zz_clusterinstance_types.go @@ -29,6 +29,18 @@ type ClusterInstanceInitParameters struct { // The EC2 Availability Zone that the neptune instance is created in. AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + // The identifier of the aws_neptune_cluster in which to launch this instance. + // +crossplane:generate:reference:type=Cluster + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // The name of the database engine to be used for the neptune instance. Defaults to neptune. Valid Values: neptune. Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` @@ -38,6 +50,30 @@ type ClusterInstanceInitParameters struct { // The instance class to use. InstanceClass *string `json:"instanceClass,omitempty" tf:"instance_class,omitempty"` + // The name of the neptune parameter group to associate with this instance. + // +crossplane:generate:reference:type=ParameterGroup + NeptuneParameterGroupName *string `json:"neptuneParameterGroupName,omitempty" tf:"neptune_parameter_group_name,omitempty"` + + // Reference to a ParameterGroup to populate neptuneParameterGroupName. + // +kubebuilder:validation:Optional + NeptuneParameterGroupNameRef *v1.Reference `json:"neptuneParameterGroupNameRef,omitempty" tf:"-"` + + // Selector for a ParameterGroup to populate neptuneParameterGroupName. + // +kubebuilder:validation:Optional + NeptuneParameterGroupNameSelector *v1.Selector `json:"neptuneParameterGroupNameSelector,omitempty" tf:"-"` + + // A subnet group to associate with this neptune instance. NOTE: This must match the neptune_subnet_group_name of the attached aws_neptune_cluster. + // +crossplane:generate:reference:type=SubnetGroup + NeptuneSubnetGroupName *string `json:"neptuneSubnetGroupName,omitempty" tf:"neptune_subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate neptuneSubnetGroupName. + // +kubebuilder:validation:Optional + NeptuneSubnetGroupNameRef *v1.Reference `json:"neptuneSubnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate neptuneSubnetGroupName. + // +kubebuilder:validation:Optional + NeptuneSubnetGroupNameSelector *v1.Selector `json:"neptuneSubnetGroupNameSelector,omitempty" tf:"-"` + // The port on which the DB accepts connections. Defaults to 8182. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` diff --git a/apis/neptune/v1beta1/zz_clustersnapshot_types.go b/apis/neptune/v1beta1/zz_clustersnapshot_types.go index 9b95177a7b..8026407edd 100755 --- a/apis/neptune/v1beta1/zz_clustersnapshot_types.go +++ b/apis/neptune/v1beta1/zz_clustersnapshot_types.go @@ -18,6 +18,18 @@ import ( ) type ClusterSnapshotInitParameters struct { + + // The DB Cluster Identifier from which to take the snapshot. + // +crossplane:generate:reference:type=Cluster + DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"` + + // Reference to a Cluster to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierRef *v1.Reference `json:"dbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierSelector *v1.Selector `json:"dbClusterIdentifierSelector,omitempty" tf:"-"` } type ClusterSnapshotObservation struct { diff --git a/apis/neptune/v1beta1/zz_eventsubscription_types.go b/apis/neptune/v1beta1/zz_eventsubscription_types.go index d6fd5d0425..2710a62149 100755 --- a/apis/neptune/v1beta1/zz_eventsubscription_types.go +++ b/apis/neptune/v1beta1/zz_eventsubscription_types.go @@ -26,6 +26,19 @@ type EventSubscriptionInitParameters struct { // +listType=set EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"` + // The ARN of the SNS topic to send events to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` + // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified. // +listType=set SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"` diff --git a/apis/neptune/v1beta1/zz_generated.deepcopy.go b/apis/neptune/v1beta1/zz_generated.deepcopy.go index 73701e671a..ad3f9ebeec 100644 --- a/apis/neptune/v1beta1/zz_generated.deepcopy.go +++ b/apis/neptune/v1beta1/zz_generated.deepcopy.go @@ -70,6 +70,21 @@ func (in *ClusterEndpoint) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterEndpointInitParameters) DeepCopyInto(out *ClusterEndpointInitParameters) { *out = *in + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EndpointType != nil { in, out := &in.EndpointType, &out.EndpointType *out = new(string) @@ -439,11 +454,79 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(bool) **out = **in } + if in.IAMRoleRefs != nil { + in, out := &in.IAMRoleRefs, &out.IAMRoleRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IAMRoles != nil { + in, out := &in.IAMRoles, &out.IAMRoles + *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.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.NeptuneClusterParameterGroupName != nil { + in, out := &in.NeptuneClusterParameterGroupName, &out.NeptuneClusterParameterGroupName + *out = new(string) + **out = **in + } + if in.NeptuneClusterParameterGroupNameRef != nil { + in, out := &in.NeptuneClusterParameterGroupNameRef, &out.NeptuneClusterParameterGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NeptuneClusterParameterGroupNameSelector != nil { + in, out := &in.NeptuneClusterParameterGroupNameSelector, &out.NeptuneClusterParameterGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NeptuneInstanceParameterGroupName != nil { in, out := &in.NeptuneInstanceParameterGroupName, &out.NeptuneInstanceParameterGroupName *out = new(string) **out = **in } + if in.NeptuneSubnetGroupName != nil { + in, out := &in.NeptuneSubnetGroupName, &out.NeptuneSubnetGroupName + *out = new(string) + **out = **in + } + if in.NeptuneSubnetGroupNameRef != nil { + in, out := &in.NeptuneSubnetGroupNameRef, &out.NeptuneSubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NeptuneSubnetGroupNameSelector != nil { + in, out := &in.NeptuneSubnetGroupNameSelector, &out.NeptuneSubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(float64) @@ -459,6 +542,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.ReplicationSourceIdentifier != nil { + in, out := &in.ReplicationSourceIdentifier, &out.ReplicationSourceIdentifier + *out = new(string) + **out = **in + } + if in.ReplicationSourceIdentifierRef != nil { + in, out := &in.ReplicationSourceIdentifierRef, &out.ReplicationSourceIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReplicationSourceIdentifierSelector != nil { + in, out := &in.ReplicationSourceIdentifierSelector, &out.ReplicationSourceIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ServerlessV2ScalingConfiguration != nil { in, out := &in.ServerlessV2ScalingConfiguration, &out.ServerlessV2ScalingConfiguration *out = make([]ServerlessV2ScalingConfigurationInitParameters, len(*in)) @@ -471,6 +569,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(bool) **out = **in } + if in.SnapshotIdentifier != nil { + in, out := &in.SnapshotIdentifier, &out.SnapshotIdentifier + *out = new(string) + **out = **in + } + if in.SnapshotIdentifierRef != nil { + in, out := &in.SnapshotIdentifierRef, &out.SnapshotIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnapshotIdentifierSelector != nil { + in, out := &in.SnapshotIdentifierSelector, &out.SnapshotIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageEncrypted != nil { in, out := &in.StorageEncrypted, &out.StorageEncrypted *out = new(bool) @@ -492,6 +605,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitParameters. @@ -549,6 +685,21 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(string) **out = **in } + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Engine != nil { in, out := &in.Engine, &out.Engine *out = new(string) @@ -564,6 +715,36 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(string) **out = **in } + if in.NeptuneParameterGroupName != nil { + in, out := &in.NeptuneParameterGroupName, &out.NeptuneParameterGroupName + *out = new(string) + **out = **in + } + if in.NeptuneParameterGroupNameRef != nil { + in, out := &in.NeptuneParameterGroupNameRef, &out.NeptuneParameterGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NeptuneParameterGroupNameSelector != nil { + in, out := &in.NeptuneParameterGroupNameSelector, &out.NeptuneParameterGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.NeptuneSubnetGroupName != nil { + in, out := &in.NeptuneSubnetGroupName, &out.NeptuneSubnetGroupName + *out = new(string) + **out = **in + } + if in.NeptuneSubnetGroupNameRef != nil { + in, out := &in.NeptuneSubnetGroupNameRef, &out.NeptuneSubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NeptuneSubnetGroupNameSelector != nil { + in, out := &in.NeptuneSubnetGroupNameSelector, &out.NeptuneSubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(float64) @@ -1818,6 +1999,21 @@ func (in *ClusterSnapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterSnapshotInitParameters) DeepCopyInto(out *ClusterSnapshotInitParameters) { *out = *in + if in.DBClusterIdentifier != nil { + in, out := &in.DBClusterIdentifier, &out.DBClusterIdentifier + *out = new(string) + **out = **in + } + if in.DBClusterIdentifierRef != nil { + in, out := &in.DBClusterIdentifierRef, &out.DBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBClusterIdentifierSelector != nil { + in, out := &in.DBClusterIdentifierSelector, &out.DBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSnapshotInitParameters. @@ -1998,7 +2194,7 @@ func (in *ClusterSnapshotSpec) DeepCopyInto(out *ClusterSnapshotSpec) { *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 ClusterSnapshotSpec. @@ -2109,6 +2305,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn } } } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceIds != nil { in, out := &in.SourceIds, &out.SourceIds *out = make([]*string, len(*in)) @@ -2447,6 +2658,21 @@ func (in *GlobalClusterInitParameters) DeepCopyInto(out *GlobalClusterInitParame *out = new(string) **out = **in } + if in.SourceDBClusterIdentifier != nil { + in, out := &in.SourceDBClusterIdentifier, &out.SourceDBClusterIdentifier + *out = new(string) + **out = **in + } + if in.SourceDBClusterIdentifierRef != nil { + in, out := &in.SourceDBClusterIdentifierRef, &out.SourceDBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceDBClusterIdentifierSelector != nil { + in, out := &in.SourceDBClusterIdentifierSelector, &out.SourceDBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageEncrypted != nil { in, out := &in.StorageEncrypted, &out.StorageEncrypted *out = new(bool) @@ -3267,6 +3493,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/neptune/v1beta1/zz_generated.resolvers.go b/apis/neptune/v1beta1/zz_generated.resolvers.go index 700116340d..12c827610a 100644 --- a/apis/neptune/v1beta1/zz_generated.resolvers.go +++ b/apis/neptune/v1beta1/zz_generated.resolvers.go @@ -137,6 +137,118 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.IAMRoles), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.IAMRoleRefs, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoles") + } + mg.Spec.InitProvider.IAMRoles = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.IAMRoleRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NeptuneClusterParameterGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NeptuneClusterParameterGroupNameRef, + Selector: mg.Spec.InitProvider.NeptuneClusterParameterGroupNameSelector, + To: reference.To{ + List: &ClusterParameterGroupList{}, + Managed: &ClusterParameterGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NeptuneClusterParameterGroupName") + } + mg.Spec.InitProvider.NeptuneClusterParameterGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NeptuneClusterParameterGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NeptuneSubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NeptuneSubnetGroupNameRef, + Selector: mg.Spec.InitProvider.NeptuneSubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NeptuneSubnetGroupName") + } + mg.Spec.InitProvider.NeptuneSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NeptuneSubnetGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReplicationSourceIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ReplicationSourceIdentifierRef, + Selector: mg.Spec.InitProvider.ReplicationSourceIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplicationSourceIdentifier") + } + mg.Spec.InitProvider.ReplicationSourceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReplicationSourceIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnapshotIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SnapshotIdentifierRef, + Selector: mg.Spec.InitProvider.SnapshotIdentifierSelector, + To: reference.To{ + List: &ClusterSnapshotList{}, + Managed: &ClusterSnapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnapshotIdentifier") + } + mg.Spec.InitProvider.SnapshotIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnapshotIdentifierRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -163,6 +275,22 @@ func (mg *ClusterEndpoint) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -221,6 +349,54 @@ func (mg *ClusterInstance) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.NeptuneSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NeptuneSubnetGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NeptuneParameterGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NeptuneParameterGroupNameRef, + Selector: mg.Spec.InitProvider.NeptuneParameterGroupNameSelector, + To: reference.To{ + List: &ParameterGroupList{}, + Managed: &ParameterGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NeptuneParameterGroupName") + } + mg.Spec.InitProvider.NeptuneParameterGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NeptuneParameterGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NeptuneSubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NeptuneSubnetGroupNameRef, + Selector: mg.Spec.InitProvider.NeptuneSubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NeptuneSubnetGroupName") + } + mg.Spec.InitProvider.NeptuneSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NeptuneSubnetGroupNameRef = rsp.ResolvedReference + return nil } @@ -247,6 +423,22 @@ func (mg *ClusterSnapshot) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBClusterIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.DBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBClusterIdentifier") + } + mg.Spec.InitProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -273,6 +465,22 @@ func (mg *EventSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta13.TopicList{}, + Managed: &v1beta13.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + return nil } @@ -299,6 +507,22 @@ func (mg *GlobalCluster) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceDBClusterIdentifier), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceDBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.SourceDBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceDBClusterIdentifier") + } + mg.Spec.InitProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -325,5 +549,21 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta12.SubnetList{}, + Managed: &v1beta12.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/neptune/v1beta1/zz_globalcluster_types.go b/apis/neptune/v1beta1/zz_globalcluster_types.go index 858e7a05cb..a7f734a3a6 100755 --- a/apis/neptune/v1beta1/zz_globalcluster_types.go +++ b/apis/neptune/v1beta1/zz_globalcluster_types.go @@ -28,6 +28,19 @@ type GlobalClusterInitParameters struct { // Engine version of the global database. Upgrading the engine version will result in all cluster members being immediately updated and will. EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"` + // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/neptune/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"` + + // Reference to a Cluster in neptune to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierRef *v1.Reference `json:"sourceDbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in neptune to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierSelector *v1.Selector `json:"sourceDbClusterIdentifierSelector,omitempty" tf:"-"` + // Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified and encrypted. StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"` } diff --git a/apis/neptune/v1beta1/zz_subnetgroup_types.go b/apis/neptune/v1beta1/zz_subnetgroup_types.go index cb197c7717..7ac263b433 100755 --- a/apis/neptune/v1beta1/zz_subnetgroup_types.go +++ b/apis/neptune/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,21 @@ type SubnetGroupInitParameters struct { // The description of the neptune subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of VPC subnet IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/networkfirewall/v1beta1/zz_firewall_types.go b/apis/networkfirewall/v1beta1/zz_firewall_types.go index a88e03d443..dc047cb10f 100755 --- a/apis/networkfirewall/v1beta1/zz_firewall_types.go +++ b/apis/networkfirewall/v1beta1/zz_firewall_types.go @@ -72,6 +72,19 @@ type FirewallInitParameters struct { // KMS encryption configuration settings. See Encryption Configuration below for details. EncryptionConfiguration []EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"` + // The Amazon Resource Name (ARN) of the VPC Firewall policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkfirewall/v1beta1.FirewallPolicy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + FirewallPolicyArn *string `json:"firewallPolicyArn,omitempty" tf:"firewall_policy_arn,omitempty"` + + // Reference to a FirewallPolicy in networkfirewall to populate firewallPolicyArn. + // +kubebuilder:validation:Optional + FirewallPolicyArnRef *v1.Reference `json:"firewallPolicyArnRef,omitempty" tf:"-"` + + // Selector for a FirewallPolicy in networkfirewall to populate firewallPolicyArn. + // +kubebuilder:validation:Optional + FirewallPolicyArnSelector *v1.Selector `json:"firewallPolicyArnSelector,omitempty" tf:"-"` + // (Option) A boolean flag indicating whether it is possible to change the associated firewall policy. Defaults to false. FirewallPolicyChangeProtection *bool `json:"firewallPolicyChangeProtection,omitempty" tf:"firewall_policy_change_protection,omitempty"` @@ -87,6 +100,18 @@ type FirewallInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The unique identifier of the VPC where AWS Network Firewall should create the firewall. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type FirewallObservation struct { @@ -223,6 +248,19 @@ type SubnetMappingInitParameters struct { // The subnet's IP address type. Valida values: "DUALSTACK", "IPV4". IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"` + + // The unique identifier for the subnet. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type SubnetMappingObservation struct { diff --git a/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go b/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go index c719804211..507901f8af 100755 --- a/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go +++ b/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go @@ -397,6 +397,19 @@ type StatefulRuleGroupReferenceInitParameters struct { // An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // The Amazon Resource Name (ARN) of the stateless rule group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkfirewall/v1beta1.RuleGroup + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a RuleGroup in networkfirewall to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a RuleGroup in networkfirewall to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type StatefulRuleGroupReferenceObservation struct { @@ -469,6 +482,19 @@ type StatelessRuleGroupReferenceInitParameters struct { // An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // The Amazon Resource Name (ARN) of the stateless rule group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkfirewall/v1beta1.RuleGroup + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a RuleGroup in networkfirewall to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a RuleGroup in networkfirewall to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type StatelessRuleGroupReferenceObservation struct { diff --git a/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go b/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go index 75432a7fef..68bd329cbe 100644 --- a/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go +++ b/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go @@ -664,6 +664,21 @@ func (in *FirewallInitParameters) DeepCopyInto(out *FirewallInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.FirewallPolicyArn != nil { + in, out := &in.FirewallPolicyArn, &out.FirewallPolicyArn + *out = new(string) + **out = **in + } + if in.FirewallPolicyArnRef != nil { + in, out := &in.FirewallPolicyArnRef, &out.FirewallPolicyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirewallPolicyArnSelector != nil { + in, out := &in.FirewallPolicyArnSelector, &out.FirewallPolicyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FirewallPolicyChangeProtection != nil { in, out := &in.FirewallPolicyChangeProtection, &out.FirewallPolicyChangeProtection *out = new(bool) @@ -702,6 +717,21 @@ func (in *FirewallInitParameters) DeepCopyInto(out *FirewallInitParameters) { (*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 FirewallInitParameters. @@ -1876,6 +1906,21 @@ func (in *IPSetParameters) DeepCopy() *IPSetParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IPSetReferenceInitParameters) DeepCopyInto(out *IPSetReferenceInitParameters) { *out = *in + if in.ReferenceArn != nil { + in, out := &in.ReferenceArn, &out.ReferenceArn + *out = new(string) + **out = **in + } + if in.ReferenceArnRef != nil { + in, out := &in.ReferenceArnRef, &out.ReferenceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReferenceArnSelector != nil { + in, out := &in.ReferenceArnSelector, &out.ReferenceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSetReferenceInitParameters. @@ -1944,7 +1989,9 @@ func (in *IPSetReferencesInitParameters) DeepCopyInto(out *IPSetReferencesInitPa if in.IPSetReference != nil { in, out := &in.IPSetReference, &out.IPSetReference *out = make([]IPSetReferenceInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Key != nil { in, out := &in.Key, &out.Key @@ -2329,6 +2376,21 @@ func (in *LoggingConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LoggingConfigurationInitParameters) DeepCopyInto(out *LoggingConfigurationInitParameters) { *out = *in + if in.FirewallArn != nil { + in, out := &in.FirewallArn, &out.FirewallArn + *out = new(string) + **out = **in + } + if in.FirewallArnRef != nil { + in, out := &in.FirewallArnRef, &out.FirewallArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirewallArnSelector != nil { + in, out := &in.FirewallArnSelector, &out.FirewallArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LoggingConfiguration != nil { in, out := &in.LoggingConfiguration, &out.LoggingConfiguration *out = make([]LoggingConfigurationLoggingConfigurationInitParameters, len(*in)) @@ -4593,6 +4655,21 @@ func (in *StatefulRuleGroupReferenceInitParameters) DeepCopyInto(out *StatefulRu *out = new(float64) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulRuleGroupReferenceInitParameters. @@ -4930,6 +5007,21 @@ func (in *StatelessRuleGroupReferenceInitParameters) DeepCopyInto(out *Stateless *out = new(float64) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatelessRuleGroupReferenceInitParameters. @@ -5178,6 +5270,21 @@ func (in *SubnetMappingInitParameters) DeepCopyInto(out *SubnetMappingInitParame *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetMappingInitParameters. diff --git a/apis/networkfirewall/v1beta1/zz_generated.resolvers.go b/apis/networkfirewall/v1beta1/zz_generated.resolvers.go index c8641662a3..c7658a032c 100644 --- a/apis/networkfirewall/v1beta1/zz_generated.resolvers.go +++ b/apis/networkfirewall/v1beta1/zz_generated.resolvers.go @@ -72,6 +72,56 @@ func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirewallPolicyArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.FirewallPolicyArnRef, + Selector: mg.Spec.InitProvider.FirewallPolicyArnSelector, + To: reference.To{ + List: &FirewallPolicyList{}, + Managed: &FirewallPolicy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirewallPolicyArn") + } + mg.Spec.InitProvider.FirewallPolicyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirewallPolicyArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.SubnetMapping); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetMapping[i3].SubnetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetMapping[i3].SubnetID") + } + mg.Spec.InitProvider.SubnetMapping[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetMapping[i3].SubnetIDRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -122,6 +172,46 @@ func (mg *FirewallPolicy) ResolveReferences(ctx context.Context, c client.Reader } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.FirewallPolicy); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArnRef, + Selector: mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArnSelector, + To: reference.To{ + List: &RuleGroupList{}, + Managed: &RuleGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArn") + } + mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirewallPolicy[i3].StatefulRuleGroupReference[i4].ResourceArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.FirewallPolicy); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArnRef, + Selector: mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArnSelector, + To: reference.To{ + List: &RuleGroupList{}, + Managed: &RuleGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArn") + } + mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirewallPolicy[i3].StatelessRuleGroupReference[i4].ResourceArnRef = rsp.ResolvedReference + + } + } return nil } @@ -149,6 +239,22 @@ func (mg *LoggingConfiguration) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.FirewallArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FirewallArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirewallArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.FirewallArnRef, + Selector: mg.Spec.InitProvider.FirewallArnSelector, + To: reference.To{ + List: &FirewallList{}, + Managed: &Firewall{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirewallArn") + } + mg.Spec.InitProvider.FirewallArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirewallArnRef = rsp.ResolvedReference + return nil } @@ -183,6 +289,30 @@ func (mg *RuleGroup) ResolveReferences(ctx context.Context, c client.Reader) err } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RuleGroup); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArnRef, + Selector: mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArnSelector, + To: reference.To{ + List: &v1beta1.ManagedPrefixListList{}, + Managed: &v1beta1.ManagedPrefixList{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArn") + } + mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RuleGroup[i3].ReferenceSets[i4].IPSetReferences[i5].IPSetReference[i6].ReferenceArnRef = rsp.ResolvedReference + + } + } + } + } return nil } diff --git a/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go b/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go index 8c67805819..6eb1d2bfab 100755 --- a/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go +++ b/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go @@ -61,6 +61,19 @@ type LogDestinationConfigParameters struct { type LoggingConfigurationInitParameters struct { + // The Amazon Resource Name (ARN) of the Network Firewall firewall. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkfirewall/v1beta1.Firewall + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + FirewallArn *string `json:"firewallArn,omitempty" tf:"firewall_arn,omitempty"` + + // Reference to a Firewall in networkfirewall to populate firewallArn. + // +kubebuilder:validation:Optional + FirewallArnRef *v1.Reference `json:"firewallArnRef,omitempty" tf:"-"` + + // Selector for a Firewall in networkfirewall to populate firewallArn. + // +kubebuilder:validation:Optional + FirewallArnSelector *v1.Selector `json:"firewallArnSelector,omitempty" tf:"-"` + // A configuration block describing how AWS Network Firewall performs logging for a firewall. See Logging Configuration below for details. LoggingConfiguration []LoggingConfigurationLoggingConfigurationInitParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"` } diff --git a/apis/networkfirewall/v1beta1/zz_rulegroup_types.go b/apis/networkfirewall/v1beta1/zz_rulegroup_types.go index c323da2e16..d642cb3b3b 100755 --- a/apis/networkfirewall/v1beta1/zz_rulegroup_types.go +++ b/apis/networkfirewall/v1beta1/zz_rulegroup_types.go @@ -202,6 +202,19 @@ type HeaderParameters struct { } type IPSetReferenceInitParameters struct { + + // Set of Managed Prefix IP ARN(s) + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.ManagedPrefixList + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ReferenceArn *string `json:"referenceArn,omitempty" tf:"reference_arn,omitempty"` + + // Reference to a ManagedPrefixList in ec2 to populate referenceArn. + // +kubebuilder:validation:Optional + ReferenceArnRef *v1.Reference `json:"referenceArnRef,omitempty" tf:"-"` + + // Selector for a ManagedPrefixList in ec2 to populate referenceArn. + // +kubebuilder:validation:Optional + ReferenceArnSelector *v1.Selector `json:"referenceArnSelector,omitempty" tf:"-"` } type IPSetReferenceObservation struct { diff --git a/apis/networkmanager/v1beta1/zz_attachmentaccepter_types.go b/apis/networkmanager/v1beta1/zz_attachmentaccepter_types.go index b137186d70..52abd785d7 100755 --- a/apis/networkmanager/v1beta1/zz_attachmentaccepter_types.go +++ b/apis/networkmanager/v1beta1/zz_attachmentaccepter_types.go @@ -18,6 +18,32 @@ import ( ) type AttachmentAccepterInitParameters struct { + + // The ID of the attachment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.VPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + AttachmentID *string `json:"attachmentId,omitempty" tf:"attachment_id,omitempty"` + + // Reference to a VPCAttachment in networkmanager to populate attachmentId. + // +kubebuilder:validation:Optional + AttachmentIDRef *v1.Reference `json:"attachmentIdRef,omitempty" tf:"-"` + + // Selector for a VPCAttachment in networkmanager to populate attachmentId. + // +kubebuilder:validation:Optional + AttachmentIDSelector *v1.Selector `json:"attachmentIdSelector,omitempty" tf:"-"` + + // The type of attachment. Valid values can be found in the AWS Documentation + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.VPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("attachment_type",true) + AttachmentType *string `json:"attachmentType,omitempty" tf:"attachment_type,omitempty"` + + // Reference to a VPCAttachment in networkmanager to populate attachmentType. + // +kubebuilder:validation:Optional + AttachmentTypeRef *v1.Reference `json:"attachmentTypeRef,omitempty" tf:"-"` + + // Selector for a VPCAttachment in networkmanager to populate attachmentType. + // +kubebuilder:validation:Optional + AttachmentTypeSelector *v1.Selector `json:"attachmentTypeSelector,omitempty" tf:"-"` } type AttachmentAccepterObservation struct { diff --git a/apis/networkmanager/v1beta1/zz_connectattachment_types.go b/apis/networkmanager/v1beta1/zz_connectattachment_types.go index 2030f566d8..a9d257f8be 100755 --- a/apis/networkmanager/v1beta1/zz_connectattachment_types.go +++ b/apis/networkmanager/v1beta1/zz_connectattachment_types.go @@ -19,12 +19,50 @@ import ( type ConnectAttachmentInitParameters struct { + // The ID of a core network where you want to create the attachment. + // +crossplane:generate:reference:type=CoreNetwork + CoreNetworkID *string `json:"coreNetworkId,omitempty" tf:"core_network_id,omitempty"` + + // Reference to a CoreNetwork to populate coreNetworkId. + // +kubebuilder:validation:Optional + CoreNetworkIDRef *v1.Reference `json:"coreNetworkIdRef,omitempty" tf:"-"` + + // Selector for a CoreNetwork to populate coreNetworkId. + // +kubebuilder:validation:Optional + CoreNetworkIDSelector *v1.Selector `json:"coreNetworkIdSelector,omitempty" tf:"-"` + + // The Region where the edge is located. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.VPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("edge_location",true) + EdgeLocation *string `json:"edgeLocation,omitempty" tf:"edge_location,omitempty"` + + // Reference to a VPCAttachment in networkmanager to populate edgeLocation. + // +kubebuilder:validation:Optional + EdgeLocationRef *v1.Reference `json:"edgeLocationRef,omitempty" tf:"-"` + + // Selector for a VPCAttachment in networkmanager to populate edgeLocation. + // +kubebuilder:validation:Optional + EdgeLocationSelector *v1.Selector `json:"edgeLocationSelector,omitempty" tf:"-"` + // Options block. See options for more information. Options []OptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the attachment between the two connections. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.VPCAttachment + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TransportAttachmentID *string `json:"transportAttachmentId,omitempty" tf:"transport_attachment_id,omitempty"` + + // Reference to a VPCAttachment in networkmanager to populate transportAttachmentId. + // +kubebuilder:validation:Optional + TransportAttachmentIDRef *v1.Reference `json:"transportAttachmentIdRef,omitempty" tf:"-"` + + // Selector for a VPCAttachment in networkmanager to populate transportAttachmentId. + // +kubebuilder:validation:Optional + TransportAttachmentIDSelector *v1.Selector `json:"transportAttachmentIdSelector,omitempty" tf:"-"` } type ConnectAttachmentObservation struct { diff --git a/apis/networkmanager/v1beta1/zz_connection_types.go b/apis/networkmanager/v1beta1/zz_connection_types.go index 457800fd08..7ee8fdc59a 100755 --- a/apis/networkmanager/v1beta1/zz_connection_types.go +++ b/apis/networkmanager/v1beta1/zz_connection_types.go @@ -19,12 +19,51 @@ import ( type ConnectionInitParameters struct { + // The ID of the second device in the connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.Device + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ConnectedDeviceID *string `json:"connectedDeviceId,omitempty" tf:"connected_device_id,omitempty"` + + // Reference to a Device in networkmanager to populate connectedDeviceId. + // +kubebuilder:validation:Optional + ConnectedDeviceIDRef *v1.Reference `json:"connectedDeviceIdRef,omitempty" tf:"-"` + + // Selector for a Device in networkmanager to populate connectedDeviceId. + // +kubebuilder:validation:Optional + ConnectedDeviceIDSelector *v1.Selector `json:"connectedDeviceIdSelector,omitempty" tf:"-"` + // The ID of the link for the second device. ConnectedLinkID *string `json:"connectedLinkId,omitempty" tf:"connected_link_id,omitempty"` // A description of the connection. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the first device in the connection. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.Device + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DeviceID *string `json:"deviceId,omitempty" tf:"device_id,omitempty"` + + // Reference to a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDRef *v1.Reference `json:"deviceIdRef,omitempty" tf:"-"` + + // Selector for a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDSelector *v1.Selector `json:"deviceIdSelector,omitempty" tf:"-"` + + // The ID of the global network. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.GlobalNetwork + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GlobalNetworkID *string `json:"globalNetworkId,omitempty" tf:"global_network_id,omitempty"` + + // Reference to a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDRef *v1.Reference `json:"globalNetworkIdRef,omitempty" tf:"-"` + + // Selector for a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDSelector *v1.Selector `json:"globalNetworkIdSelector,omitempty" tf:"-"` + // The ID of the link for the first device. LinkID *string `json:"linkId,omitempty" tf:"link_id,omitempty"` diff --git a/apis/networkmanager/v1beta1/zz_corenetwork_types.go b/apis/networkmanager/v1beta1/zz_corenetwork_types.go index bea0ff3aaa..a61ba9edaa 100755 --- a/apis/networkmanager/v1beta1/zz_corenetwork_types.go +++ b/apis/networkmanager/v1beta1/zz_corenetwork_types.go @@ -35,6 +35,19 @@ type CoreNetworkInitParameters struct { // Description of the Core Network. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the global network that a core network will be a part of. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.GlobalNetwork + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GlobalNetworkID *string `json:"globalNetworkId,omitempty" tf:"global_network_id,omitempty"` + + // Reference to a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDRef *v1.Reference `json:"globalNetworkIdRef,omitempty" tf:"-"` + + // Selector for a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDSelector *v1.Selector `json:"globalNetworkIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/networkmanager/v1beta1/zz_customergatewayassociation_types.go b/apis/networkmanager/v1beta1/zz_customergatewayassociation_types.go index 8838836971..5b2ed6c129 100755 --- a/apis/networkmanager/v1beta1/zz_customergatewayassociation_types.go +++ b/apis/networkmanager/v1beta1/zz_customergatewayassociation_types.go @@ -19,6 +19,19 @@ import ( type CustomerGatewayAssociationInitParameters struct { + // The ID of the device. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.Device + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DeviceID *string `json:"deviceId,omitempty" tf:"device_id,omitempty"` + + // Reference to a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDRef *v1.Reference `json:"deviceIdRef,omitempty" tf:"-"` + + // Selector for a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDSelector *v1.Selector `json:"deviceIdSelector,omitempty" tf:"-"` + // The ID of the link. LinkID *string `json:"linkId,omitempty" tf:"link_id,omitempty"` } diff --git a/apis/networkmanager/v1beta1/zz_device_types.go b/apis/networkmanager/v1beta1/zz_device_types.go index 5f276d7d95..a6da515286 100755 --- a/apis/networkmanager/v1beta1/zz_device_types.go +++ b/apis/networkmanager/v1beta1/zz_device_types.go @@ -54,6 +54,19 @@ type DeviceInitParameters struct { // A description of the device. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the global network. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.GlobalNetwork + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GlobalNetworkID *string `json:"globalNetworkId,omitempty" tf:"global_network_id,omitempty"` + + // Reference to a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDRef *v1.Reference `json:"globalNetworkIdRef,omitempty" tf:"-"` + + // Selector for a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDSelector *v1.Selector `json:"globalNetworkIdSelector,omitempty" tf:"-"` + // The location of the device. Documented below. Location []LocationInitParameters `json:"location,omitempty" tf:"location,omitempty"` @@ -63,6 +76,19 @@ type DeviceInitParameters struct { // The serial number of the device. SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + // The ID of the site. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.Site + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SiteID *string `json:"siteId,omitempty" tf:"site_id,omitempty"` + + // Reference to a Site in networkmanager to populate siteId. + // +kubebuilder:validation:Optional + SiteIDRef *v1.Reference `json:"siteIdRef,omitempty" tf:"-"` + + // Selector for a Site in networkmanager to populate siteId. + // +kubebuilder:validation:Optional + SiteIDSelector *v1.Selector `json:"siteIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/networkmanager/v1beta1/zz_generated.deepcopy.go b/apis/networkmanager/v1beta1/zz_generated.deepcopy.go index 662e1e6588..06f603a55e 100644 --- a/apis/networkmanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/networkmanager/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,36 @@ func (in *AttachmentAccepter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AttachmentAccepterInitParameters) DeepCopyInto(out *AttachmentAccepterInitParameters) { *out = *in + if in.AttachmentID != nil { + in, out := &in.AttachmentID, &out.AttachmentID + *out = new(string) + **out = **in + } + if in.AttachmentIDRef != nil { + in, out := &in.AttachmentIDRef, &out.AttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AttachmentIDSelector != nil { + in, out := &in.AttachmentIDSelector, &out.AttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.AttachmentType != nil { + in, out := &in.AttachmentType, &out.AttachmentType + *out = new(string) + **out = **in + } + if in.AttachmentTypeRef != nil { + in, out := &in.AttachmentTypeRef, &out.AttachmentTypeRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AttachmentTypeSelector != nil { + in, out := &in.AttachmentTypeSelector, &out.AttachmentTypeSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachmentAccepterInitParameters. @@ -212,7 +242,7 @@ func (in *AttachmentAccepterSpec) DeepCopyInto(out *AttachmentAccepterSpec) { *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 AttachmentAccepterSpec. @@ -422,6 +452,36 @@ func (in *ConnectAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConnectAttachmentInitParameters) DeepCopyInto(out *ConnectAttachmentInitParameters) { *out = *in + if in.CoreNetworkID != nil { + in, out := &in.CoreNetworkID, &out.CoreNetworkID + *out = new(string) + **out = **in + } + if in.CoreNetworkIDRef != nil { + in, out := &in.CoreNetworkIDRef, &out.CoreNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CoreNetworkIDSelector != nil { + in, out := &in.CoreNetworkIDSelector, &out.CoreNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.EdgeLocation != nil { + in, out := &in.EdgeLocation, &out.EdgeLocation + *out = new(string) + **out = **in + } + if in.EdgeLocationRef != nil { + in, out := &in.EdgeLocationRef, &out.EdgeLocationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EdgeLocationSelector != nil { + in, out := &in.EdgeLocationSelector, &out.EdgeLocationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Options != nil { in, out := &in.Options, &out.Options *out = make([]OptionsInitParameters, len(*in)) @@ -445,6 +505,21 @@ func (in *ConnectAttachmentInitParameters) DeepCopyInto(out *ConnectAttachmentIn (*out)[key] = outVal } } + if in.TransportAttachmentID != nil { + in, out := &in.TransportAttachmentID, &out.TransportAttachmentID + *out = new(string) + **out = **in + } + if in.TransportAttachmentIDRef != nil { + in, out := &in.TransportAttachmentIDRef, &out.TransportAttachmentIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TransportAttachmentIDSelector != nil { + in, out := &in.TransportAttachmentIDSelector, &out.TransportAttachmentIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectAttachmentInitParameters. @@ -761,6 +836,21 @@ func (in *Connection) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) { *out = *in + if in.ConnectedDeviceID != nil { + in, out := &in.ConnectedDeviceID, &out.ConnectedDeviceID + *out = new(string) + **out = **in + } + if in.ConnectedDeviceIDRef != nil { + in, out := &in.ConnectedDeviceIDRef, &out.ConnectedDeviceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConnectedDeviceIDSelector != nil { + in, out := &in.ConnectedDeviceIDSelector, &out.ConnectedDeviceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ConnectedLinkID != nil { in, out := &in.ConnectedLinkID, &out.ConnectedLinkID *out = new(string) @@ -771,6 +861,36 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) *out = new(string) **out = **in } + if in.DeviceID != nil { + in, out := &in.DeviceID, &out.DeviceID + *out = new(string) + **out = **in + } + if in.DeviceIDRef != nil { + in, out := &in.DeviceIDRef, &out.DeviceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeviceIDSelector != nil { + in, out := &in.DeviceIDSelector, &out.DeviceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkID != nil { + in, out := &in.GlobalNetworkID, &out.GlobalNetworkID + *out = new(string) + **out = **in + } + if in.GlobalNetworkIDRef != nil { + in, out := &in.GlobalNetworkIDRef, &out.GlobalNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkIDSelector != nil { + in, out := &in.GlobalNetworkIDSelector, &out.GlobalNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LinkID != nil { in, out := &in.LinkID, &out.LinkID *out = new(string) @@ -1115,6 +1235,21 @@ func (in *CoreNetworkInitParameters) DeepCopyInto(out *CoreNetworkInitParameters *out = new(string) **out = **in } + if in.GlobalNetworkID != nil { + in, out := &in.GlobalNetworkID, &out.GlobalNetworkID + *out = new(string) + **out = **in + } + if in.GlobalNetworkIDRef != nil { + in, out := &in.GlobalNetworkIDRef, &out.GlobalNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkIDSelector != nil { + in, out := &in.GlobalNetworkIDSelector, &out.GlobalNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -1439,6 +1574,21 @@ func (in *CustomerGatewayAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomerGatewayAssociationInitParameters) DeepCopyInto(out *CustomerGatewayAssociationInitParameters) { *out = *in + if in.DeviceID != nil { + in, out := &in.DeviceID, &out.DeviceID + *out = new(string) + **out = **in + } + if in.DeviceIDRef != nil { + in, out := &in.DeviceIDRef, &out.DeviceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeviceIDSelector != nil { + in, out := &in.DeviceIDSelector, &out.DeviceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LinkID != nil { in, out := &in.LinkID, &out.LinkID *out = new(string) @@ -1675,6 +1825,21 @@ func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters) { *out = new(string) **out = **in } + if in.GlobalNetworkID != nil { + in, out := &in.GlobalNetworkID, &out.GlobalNetworkID + *out = new(string) + **out = **in + } + if in.GlobalNetworkIDRef != nil { + in, out := &in.GlobalNetworkIDRef, &out.GlobalNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkIDSelector != nil { + in, out := &in.GlobalNetworkIDSelector, &out.GlobalNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Location != nil { in, out := &in.Location, &out.Location *out = make([]LocationInitParameters, len(*in)) @@ -1692,6 +1857,21 @@ func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters) { *out = new(string) **out = **in } + if in.SiteID != nil { + in, out := &in.SiteID, &out.SiteID + *out = new(string) + **out = **in + } + if in.SiteIDRef != nil { + in, out := &in.SiteIDRef, &out.SiteIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SiteIDSelector != nil { + in, out := &in.SiteIDSelector, &out.SiteIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -2558,11 +2738,41 @@ func (in *LinkInitParameters) DeepCopyInto(out *LinkInitParameters) { *out = new(string) **out = **in } + if in.GlobalNetworkID != nil { + in, out := &in.GlobalNetworkID, &out.GlobalNetworkID + *out = new(string) + **out = **in + } + if in.GlobalNetworkIDRef != nil { + in, out := &in.GlobalNetworkIDRef, &out.GlobalNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkIDSelector != nil { + in, out := &in.GlobalNetworkIDSelector, &out.GlobalNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ProviderName != nil { in, out := &in.ProviderName, &out.ProviderName *out = new(string) **out = **in } + if in.SiteID != nil { + in, out := &in.SiteID, &out.SiteID + *out = new(string) + **out = **in + } + if in.SiteIDRef != nil { + in, out := &in.SiteIDRef, &out.SiteIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SiteIDSelector != nil { + in, out := &in.SiteIDSelector, &out.SiteIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -3097,6 +3307,21 @@ func (in *SiteInitParameters) DeepCopyInto(out *SiteInitParameters) { *out = new(string) **out = **in } + if in.GlobalNetworkID != nil { + in, out := &in.GlobalNetworkID, &out.GlobalNetworkID + *out = new(string) + **out = **in + } + if in.GlobalNetworkIDRef != nil { + in, out := &in.GlobalNetworkIDRef, &out.GlobalNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GlobalNetworkIDSelector != nil { + in, out := &in.GlobalNetworkIDSelector, &out.GlobalNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Location != nil { in, out := &in.Location, &out.Location *out = make([]SiteLocationInitParameters, len(*in)) @@ -3456,6 +3681,21 @@ func (in *TransitGatewayConnectPeerAssociation) DeepCopyObject() runtime.Object // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TransitGatewayConnectPeerAssociationInitParameters) DeepCopyInto(out *TransitGatewayConnectPeerAssociationInitParameters) { *out = *in + if in.DeviceID != nil { + in, out := &in.DeviceID, &out.DeviceID + *out = new(string) + **out = **in + } + if in.DeviceIDRef != nil { + in, out := &in.DeviceIDRef, &out.DeviceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeviceIDSelector != nil { + in, out := &in.DeviceIDSelector, &out.DeviceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LinkID != nil { in, out := &in.LinkID, &out.LinkID *out = new(string) @@ -3869,6 +4109,21 @@ func (in *VPCAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCAttachmentInitParameters) DeepCopyInto(out *VPCAttachmentInitParameters) { *out = *in + if in.CoreNetworkID != nil { + in, out := &in.CoreNetworkID, &out.CoreNetworkID + *out = new(string) + **out = **in + } + if in.CoreNetworkIDRef != nil { + in, out := &in.CoreNetworkIDRef, &out.CoreNetworkIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CoreNetworkIDSelector != nil { + in, out := &in.CoreNetworkIDSelector, &out.CoreNetworkIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Options != nil { in, out := &in.Options, &out.Options *out = make([]VPCAttachmentOptionsInitParameters, len(*in)) @@ -3876,6 +4131,29 @@ func (in *VPCAttachmentInitParameters) DeepCopyInto(out *VPCAttachmentInitParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetArns != nil { + in, out := &in.SubnetArns, &out.SubnetArns + *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.SubnetArnsRefs != nil { + in, out := &in.SubnetArnsRefs, &out.SubnetArnsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetArnsSelector != nil { + in, out := &in.SubnetArnsSelector, &out.SubnetArnsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -3892,6 +4170,21 @@ func (in *VPCAttachmentInitParameters) DeepCopyInto(out *VPCAttachmentInitParame (*out)[key] = outVal } } + if in.VPCArn != nil { + in, out := &in.VPCArn, &out.VPCArn + *out = new(string) + **out = **in + } + if in.VPCArnRef != nil { + in, out := &in.VPCArnRef, &out.VPCArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCArnSelector != nil { + in, out := &in.VPCArnSelector, &out.VPCArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAttachmentInitParameters. diff --git a/apis/networkmanager/v1beta1/zz_generated.resolvers.go b/apis/networkmanager/v1beta1/zz_generated.resolvers.go index dbb9321045..3bb8ce8392 100644 --- a/apis/networkmanager/v1beta1/zz_generated.resolvers.go +++ b/apis/networkmanager/v1beta1/zz_generated.resolvers.go @@ -54,6 +54,38 @@ func (mg *AttachmentAccepter) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.AttachmentType = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AttachmentTypeRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.AttachmentIDRef, + Selector: mg.Spec.InitProvider.AttachmentIDSelector, + To: reference.To{ + List: &VPCAttachmentList{}, + Managed: &VPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AttachmentID") + } + mg.Spec.InitProvider.AttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AttachmentIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AttachmentType), + Extract: resource.ExtractParamPath("attachment_type", true), + Reference: mg.Spec.InitProvider.AttachmentTypeRef, + Selector: mg.Spec.InitProvider.AttachmentTypeSelector, + To: reference.To{ + List: &VPCAttachmentList{}, + Managed: &VPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AttachmentType") + } + mg.Spec.InitProvider.AttachmentType = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AttachmentTypeRef = rsp.ResolvedReference + return nil } @@ -112,6 +144,54 @@ func (mg *ConnectAttachment) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.TransportAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransportAttachmentIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CoreNetworkID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CoreNetworkIDRef, + Selector: mg.Spec.InitProvider.CoreNetworkIDSelector, + To: reference.To{ + List: &CoreNetworkList{}, + Managed: &CoreNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CoreNetworkID") + } + mg.Spec.InitProvider.CoreNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CoreNetworkIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EdgeLocation), + Extract: resource.ExtractParamPath("edge_location", true), + Reference: mg.Spec.InitProvider.EdgeLocationRef, + Selector: mg.Spec.InitProvider.EdgeLocationSelector, + To: reference.To{ + List: &VPCAttachmentList{}, + Managed: &VPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EdgeLocation") + } + mg.Spec.InitProvider.EdgeLocation = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EdgeLocationRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TransportAttachmentID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TransportAttachmentIDRef, + Selector: mg.Spec.InitProvider.TransportAttachmentIDSelector, + To: reference.To{ + List: &VPCAttachmentList{}, + Managed: &VPCAttachment{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TransportAttachmentID") + } + mg.Spec.InitProvider.TransportAttachmentID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TransportAttachmentIDRef = rsp.ResolvedReference + return nil } @@ -170,6 +250,54 @@ func (mg *Connection) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GlobalNetworkIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConnectedDeviceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ConnectedDeviceIDRef, + Selector: mg.Spec.InitProvider.ConnectedDeviceIDSelector, + To: reference.To{ + List: &DeviceList{}, + Managed: &Device{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConnectedDeviceID") + } + mg.Spec.InitProvider.ConnectedDeviceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConnectedDeviceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeviceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DeviceIDRef, + Selector: mg.Spec.InitProvider.DeviceIDSelector, + To: reference.To{ + List: &DeviceList{}, + Managed: &Device{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeviceID") + } + mg.Spec.InitProvider.DeviceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeviceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalNetworkID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GlobalNetworkIDRef, + Selector: mg.Spec.InitProvider.GlobalNetworkIDSelector, + To: reference.To{ + List: &GlobalNetworkList{}, + Managed: &GlobalNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalNetworkID") + } + mg.Spec.InitProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalNetworkIDRef = rsp.ResolvedReference + return nil } @@ -196,6 +324,22 @@ func (mg *CoreNetwork) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GlobalNetworkIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalNetworkID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GlobalNetworkIDRef, + Selector: mg.Spec.InitProvider.GlobalNetworkIDSelector, + To: reference.To{ + List: &GlobalNetworkList{}, + Managed: &GlobalNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalNetworkID") + } + mg.Spec.InitProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalNetworkIDRef = rsp.ResolvedReference + return nil } @@ -254,6 +398,22 @@ func (mg *CustomerGatewayAssociation) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GlobalNetworkIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeviceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DeviceIDRef, + Selector: mg.Spec.InitProvider.DeviceIDSelector, + To: reference.To{ + List: &DeviceList{}, + Managed: &Device{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeviceID") + } + mg.Spec.InitProvider.DeviceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeviceIDRef = rsp.ResolvedReference + return nil } @@ -296,6 +456,38 @@ func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SiteID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SiteIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalNetworkID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GlobalNetworkIDRef, + Selector: mg.Spec.InitProvider.GlobalNetworkIDSelector, + To: reference.To{ + List: &GlobalNetworkList{}, + Managed: &GlobalNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalNetworkID") + } + mg.Spec.InitProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalNetworkIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SiteID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SiteIDRef, + Selector: mg.Spec.InitProvider.SiteIDSelector, + To: reference.To{ + List: &SiteList{}, + Managed: &Site{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SiteID") + } + mg.Spec.InitProvider.SiteID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SiteIDRef = rsp.ResolvedReference + return nil } @@ -338,6 +530,38 @@ func (mg *Link) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.SiteID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SiteIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalNetworkID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GlobalNetworkIDRef, + Selector: mg.Spec.InitProvider.GlobalNetworkIDSelector, + To: reference.To{ + List: &GlobalNetworkList{}, + Managed: &GlobalNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalNetworkID") + } + mg.Spec.InitProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalNetworkIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SiteID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SiteIDRef, + Selector: mg.Spec.InitProvider.SiteIDSelector, + To: reference.To{ + List: &SiteList{}, + Managed: &Site{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SiteID") + } + mg.Spec.InitProvider.SiteID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SiteIDRef = rsp.ResolvedReference + return nil } @@ -422,6 +646,22 @@ func (mg *Site) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GlobalNetworkIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GlobalNetworkID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.GlobalNetworkIDRef, + Selector: mg.Spec.InitProvider.GlobalNetworkIDSelector, + To: reference.To{ + List: &GlobalNetworkList{}, + Managed: &GlobalNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GlobalNetworkID") + } + mg.Spec.InitProvider.GlobalNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GlobalNetworkIDRef = rsp.ResolvedReference + return nil } @@ -480,6 +720,22 @@ func (mg *TransitGatewayConnectPeerAssociation) ResolveReferences(ctx context.Co mg.Spec.ForProvider.TransitGatewayConnectPeerArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TransitGatewayConnectPeerArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeviceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DeviceIDRef, + Selector: mg.Spec.InitProvider.DeviceIDSelector, + To: reference.To{ + List: &DeviceList{}, + Managed: &Device{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeviceID") + } + mg.Spec.InitProvider.DeviceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeviceIDRef = rsp.ResolvedReference + return nil } @@ -581,5 +837,53 @@ func (mg *VPCAttachment) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPCArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CoreNetworkID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CoreNetworkIDRef, + Selector: mg.Spec.InitProvider.CoreNetworkIDSelector, + To: reference.To{ + List: &CoreNetworkList{}, + Managed: &CoreNetwork{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CoreNetworkID") + } + mg.Spec.InitProvider.CoreNetworkID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CoreNetworkIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetArns), + Extract: common.ARNExtractor(), + References: mg.Spec.InitProvider.SubnetArnsRefs, + Selector: mg.Spec.InitProvider.SubnetArnsSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetArns") + } + mg.Spec.InitProvider.SubnetArns = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetArnsRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.VPCArnRef, + Selector: mg.Spec.InitProvider.VPCArnSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCArn") + } + mg.Spec.InitProvider.VPCArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/networkmanager/v1beta1/zz_link_types.go b/apis/networkmanager/v1beta1/zz_link_types.go index 69e76af173..2657b7ace7 100755 --- a/apis/networkmanager/v1beta1/zz_link_types.go +++ b/apis/networkmanager/v1beta1/zz_link_types.go @@ -54,9 +54,34 @@ type LinkInitParameters struct { // A description of the link. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the global network. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.GlobalNetwork + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GlobalNetworkID *string `json:"globalNetworkId,omitempty" tf:"global_network_id,omitempty"` + + // Reference to a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDRef *v1.Reference `json:"globalNetworkIdRef,omitempty" tf:"-"` + + // Selector for a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDSelector *v1.Selector `json:"globalNetworkIdSelector,omitempty" tf:"-"` + // The provider of the link. ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` + // The ID of the site. + // +crossplane:generate:reference:type=Site + SiteID *string `json:"siteId,omitempty" tf:"site_id,omitempty"` + + // Reference to a Site to populate siteId. + // +kubebuilder:validation:Optional + SiteIDRef *v1.Reference `json:"siteIdRef,omitempty" tf:"-"` + + // Selector for a Site to populate siteId. + // +kubebuilder:validation:Optional + SiteIDSelector *v1.Selector `json:"siteIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/networkmanager/v1beta1/zz_site_types.go b/apis/networkmanager/v1beta1/zz_site_types.go index ae8b786f1f..76603be1e9 100755 --- a/apis/networkmanager/v1beta1/zz_site_types.go +++ b/apis/networkmanager/v1beta1/zz_site_types.go @@ -22,6 +22,19 @@ type SiteInitParameters struct { // Description of the Site. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ID of the Global Network to create the site in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.GlobalNetwork + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + GlobalNetworkID *string `json:"globalNetworkId,omitempty" tf:"global_network_id,omitempty"` + + // Reference to a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDRef *v1.Reference `json:"globalNetworkIdRef,omitempty" tf:"-"` + + // Selector for a GlobalNetwork in networkmanager to populate globalNetworkId. + // +kubebuilder:validation:Optional + GlobalNetworkIDSelector *v1.Selector `json:"globalNetworkIdSelector,omitempty" tf:"-"` + // The site location as documented below. Location []SiteLocationInitParameters `json:"location,omitempty" tf:"location,omitempty"` diff --git a/apis/networkmanager/v1beta1/zz_transitgatewayconnectpeerassociation_types.go b/apis/networkmanager/v1beta1/zz_transitgatewayconnectpeerassociation_types.go index 6a4fab0881..4ef1e8f817 100755 --- a/apis/networkmanager/v1beta1/zz_transitgatewayconnectpeerassociation_types.go +++ b/apis/networkmanager/v1beta1/zz_transitgatewayconnectpeerassociation_types.go @@ -19,6 +19,19 @@ import ( type TransitGatewayConnectPeerAssociationInitParameters struct { + // The ID of the device. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/networkmanager/v1beta1.Device + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DeviceID *string `json:"deviceId,omitempty" tf:"device_id,omitempty"` + + // Reference to a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDRef *v1.Reference `json:"deviceIdRef,omitempty" tf:"-"` + + // Selector for a Device in networkmanager to populate deviceId. + // +kubebuilder:validation:Optional + DeviceIDSelector *v1.Selector `json:"deviceIdSelector,omitempty" tf:"-"` + // The ID of the link. LinkID *string `json:"linkId,omitempty" tf:"link_id,omitempty"` } diff --git a/apis/networkmanager/v1beta1/zz_vpcattachment_types.go b/apis/networkmanager/v1beta1/zz_vpcattachment_types.go index 6e0b81ae18..46806b936c 100755 --- a/apis/networkmanager/v1beta1/zz_vpcattachment_types.go +++ b/apis/networkmanager/v1beta1/zz_vpcattachment_types.go @@ -19,12 +19,51 @@ import ( type VPCAttachmentInitParameters struct { + // The ID of a core network for the VPC attachment. + // +crossplane:generate:reference:type=CoreNetwork + CoreNetworkID *string `json:"coreNetworkId,omitempty" tf:"core_network_id,omitempty"` + + // Reference to a CoreNetwork to populate coreNetworkId. + // +kubebuilder:validation:Optional + CoreNetworkIDRef *v1.Reference `json:"coreNetworkIdRef,omitempty" tf:"-"` + + // Selector for a CoreNetwork to populate coreNetworkId. + // +kubebuilder:validation:Optional + CoreNetworkIDSelector *v1.Selector `json:"coreNetworkIdSelector,omitempty" tf:"-"` + // Options for the VPC attachment. Options []VPCAttachmentOptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"` + // The subnet ARN of the VPC attachment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + // +listType=set + SubnetArns []*string `json:"subnetArns,omitempty" tf:"subnet_arns,omitempty"` + + // References to Subnet in ec2 to populate subnetArns. + // +kubebuilder:validation:Optional + SubnetArnsRefs []v1.Reference `json:"subnetArnsRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetArns. + // +kubebuilder:validation:Optional + SubnetArnsSelector *v1.Selector `json:"subnetArnsSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ARN of the VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + VPCArn *string `json:"vpcArn,omitempty" tf:"vpc_arn,omitempty"` + + // Reference to a VPC in ec2 to populate vpcArn. + // +kubebuilder:validation:Optional + VPCArnRef *v1.Reference `json:"vpcArnRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcArn. + // +kubebuilder:validation:Optional + VPCArnSelector *v1.Selector `json:"vpcArnSelector,omitempty" tf:"-"` } type VPCAttachmentObservation struct { diff --git a/apis/opensearch/v1beta1/zz_domain_types.go b/apis/opensearch/v1beta1/zz_domain_types.go index a6e4691ee8..55250889c9 100755 --- a/apis/opensearch/v1beta1/zz_domain_types.go +++ b/apis/opensearch/v1beta1/zz_domain_types.go @@ -691,6 +691,19 @@ type EncryptAtRestParameters struct { type LogPublishingOptionsInitParameters struct { + // ARN of the Cloudwatch log group to which log needs to be published. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"` + + // Reference to a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnRef *v1.Reference `json:"cloudwatchLogGroupArnRef,omitempty" tf:"-"` + + // Selector for a Group in cloudwatchlogs to populate cloudwatchLogGroupArn. + // +kubebuilder:validation:Optional + CloudwatchLogGroupArnSelector *v1.Selector `json:"cloudwatchLogGroupArnSelector,omitempty" tf:"-"` + // Whether given log publishing option is enabled or not. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` diff --git a/apis/opensearch/v1beta1/zz_domainpolicy_types.go b/apis/opensearch/v1beta1/zz_domainpolicy_types.go index 16ae304c6f..645eec4d6c 100755 --- a/apis/opensearch/v1beta1/zz_domainpolicy_types.go +++ b/apis/opensearch/v1beta1/zz_domainpolicy_types.go @@ -21,6 +21,18 @@ type DomainPolicyInitParameters struct { // IAM policy document specifying the access policies for the domain AccessPolicies *string `json:"accessPolicies,omitempty" tf:"access_policies,omitempty"` + + // Name of the domain. + // +crossplane:generate:reference:type=Domain + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a Domain to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a Domain to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` } type DomainPolicyObservation struct { diff --git a/apis/opensearch/v1beta1/zz_domainsamloptions_types.go b/apis/opensearch/v1beta1/zz_domainsamloptions_types.go index 51d5ec2000..7b8e589444 100755 --- a/apis/opensearch/v1beta1/zz_domainsamloptions_types.go +++ b/apis/opensearch/v1beta1/zz_domainsamloptions_types.go @@ -19,6 +19,19 @@ import ( type DomainSAMLOptionsInitParameters struct { + // Name of the domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opensearch/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain_name",false) + DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` + + // Reference to a Domain in opensearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameRef *v1.Reference `json:"domainNameRef,omitempty" tf:"-"` + + // Selector for a Domain in opensearch to populate domainName. + // +kubebuilder:validation:Optional + DomainNameSelector *v1.Selector `json:"domainNameSelector,omitempty" tf:"-"` + // SAML authentication options for an AWS OpenSearch Domain. SAMLOptions []SAMLOptionsInitParameters `json:"samlOptions,omitempty" tf:"saml_options,omitempty"` } diff --git a/apis/opensearch/v1beta1/zz_generated.deepcopy.go b/apis/opensearch/v1beta1/zz_generated.deepcopy.go index f0eaad5928..12f9b73055 100644 --- a/apis/opensearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/opensearch/v1beta1/zz_generated.deepcopy.go @@ -1336,6 +1336,21 @@ func (in *DomainPolicyInitParameters) DeepCopyInto(out *DomainPolicyInitParamete *out = new(string) **out = **in } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainPolicyInitParameters. @@ -1515,6 +1530,21 @@ func (in *DomainSAMLOptions) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DomainSAMLOptionsInitParameters) DeepCopyInto(out *DomainSAMLOptionsInitParameters) { *out = *in + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNameRef != nil { + in, out := &in.DomainNameRef, &out.DomainNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainNameSelector != nil { + in, out := &in.DomainNameSelector, &out.DomainNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SAMLOptions != nil { in, out := &in.SAMLOptions, &out.SAMLOptions *out = make([]SAMLOptionsInitParameters, len(*in)) @@ -2058,6 +2088,21 @@ func (in *IdpParameters) DeepCopy() *IdpParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LogPublishingOptionsInitParameters) DeepCopyInto(out *LogPublishingOptionsInitParameters) { *out = *in + if in.CloudwatchLogGroupArn != nil { + in, out := &in.CloudwatchLogGroupArn, &out.CloudwatchLogGroupArn + *out = new(string) + **out = **in + } + if in.CloudwatchLogGroupArnRef != nil { + in, out := &in.CloudwatchLogGroupArnRef, &out.CloudwatchLogGroupArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchLogGroupArnSelector != nil { + in, out := &in.CloudwatchLogGroupArnSelector, &out.CloudwatchLogGroupArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) diff --git a/apis/opensearch/v1beta1/zz_generated.resolvers.go b/apis/opensearch/v1beta1/zz_generated.resolvers.go index 84f9b55529..feeda12221 100644 --- a/apis/opensearch/v1beta1/zz_generated.resolvers.go +++ b/apis/opensearch/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *Domain) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LogPublishingOptions); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef, + Selector: mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnSelector, + To: reference.To{ + List: &v1beta1.GroupList{}, + Managed: &v1beta1.Group{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn") + } + mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LogPublishingOptions[i3].CloudwatchLogGroupArnRef = rsp.ResolvedReference + } return nil @@ -66,6 +84,22 @@ func (mg *DomainPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + return nil } @@ -92,5 +126,21 @@ func (mg *DomainSAMLOptions) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainName), + Extract: resource.ExtractParamPath("domain_name", false), + Reference: mg.Spec.InitProvider.DomainNameRef, + Selector: mg.Spec.InitProvider.DomainNameSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainName") + } + mg.Spec.InitProvider.DomainName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/opsworks/v1beta1/zz_application_types.go b/apis/opsworks/v1beta1/zz_application_types.go index fd23135a95..7efe172c31 100755 --- a/apis/opsworks/v1beta1/zz_application_types.go +++ b/apis/opsworks/v1beta1/zz_application_types.go @@ -121,6 +121,19 @@ type ApplicationInitParameters struct { // A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update. ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"` + // ID of the stack the application will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Opsworks application type. One of aws-flow-ruby, java, rails, php, nodejs, static or other. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_customlayer_types.go b/apis/opsworks/v1beta1/zz_customlayer_types.go index 4b50d37f8d..72d4d0e8c4 100755 --- a/apis/opsworks/v1beta1/zz_customlayer_types.go +++ b/apis/opsworks/v1beta1/zz_customlayer_types.go @@ -65,6 +65,21 @@ type CustomLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -95,6 +110,19 @@ type CustomLayerInitParameters struct { // A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON. ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_ecsclusterlayer_types.go b/apis/opsworks/v1beta1/zz_ecsclusterlayer_types.go index 1b0f55b47e..f611457c5b 100755 --- a/apis/opsworks/v1beta1/zz_ecsclusterlayer_types.go +++ b/apis/opsworks/v1beta1/zz_ecsclusterlayer_types.go @@ -222,6 +222,21 @@ type EcsClusterLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -234,6 +249,19 @@ type EcsClusterLayerInitParameters struct { // ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances. EBSVolume []EcsClusterLayerEBSVolumeInitParameters `json:"ebsVolume,omitempty" tf:"ebs_volume,omitempty"` + // The ECS Cluster ARN of the layer. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecs/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn,omitempty"` + + // Reference to a Cluster in ecs to populate ecsClusterArn. + // +kubebuilder:validation:Optional + EcsClusterArnRef *v1.Reference `json:"ecsClusterArnRef,omitempty" tf:"-"` + + // Selector for a Cluster in ecs to populate ecsClusterArn. + // +kubebuilder:validation:Optional + EcsClusterArnSelector *v1.Selector `json:"ecsClusterArnSelector,omitempty" tf:"-"` + // Name of an Elastic Load Balancer to attach to this layer ElasticLoadBalancer *string `json:"elasticLoadBalancer,omitempty" tf:"elastic_load_balancer,omitempty"` @@ -248,6 +276,19 @@ type EcsClusterLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_ganglialayer_types.go b/apis/opsworks/v1beta1/zz_ganglialayer_types.go index 3385a1b342..bf50b0d727 100755 --- a/apis/opsworks/v1beta1/zz_ganglialayer_types.go +++ b/apis/opsworks/v1beta1/zz_ganglialayer_types.go @@ -222,6 +222,21 @@ type GangliaLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -251,6 +266,19 @@ type GangliaLayerInitParameters struct { // The password to use for Ganglia. Password *string `json:"password,omitempty" tf:"password,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_generated.deepcopy.go b/apis/opsworks/v1beta1/zz_generated.deepcopy.go index 7edad4de82..e4d3c5ad4f 100644 --- a/apis/opsworks/v1beta1/zz_generated.deepcopy.go +++ b/apis/opsworks/v1beta1/zz_generated.deepcopy.go @@ -245,6 +245,21 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1058,6 +1073,29 @@ func (in *CustomLayerInitParameters) DeepCopyInto(out *CustomLayerInitParameters *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -1135,6 +1173,21 @@ func (in *CustomLayerInitParameters) DeepCopyInto(out *CustomLayerInitParameters *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -2450,6 +2503,29 @@ func (in *EcsClusterLayerInitParameters) DeepCopyInto(out *EcsClusterLayerInitPa *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -2495,6 +2571,21 @@ func (in *EcsClusterLayerInitParameters) DeepCopyInto(out *EcsClusterLayerInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.EcsClusterArn != nil { + in, out := &in.EcsClusterArn, &out.EcsClusterArn + *out = new(string) + **out = **in + } + if in.EcsClusterArnRef != nil { + in, out := &in.EcsClusterArnRef, &out.EcsClusterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EcsClusterArnSelector != nil { + in, out := &in.EcsClusterArnSelector, &out.EcsClusterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ElasticLoadBalancer != nil { in, out := &in.ElasticLoadBalancer, &out.ElasticLoadBalancer *out = new(string) @@ -2522,6 +2613,21 @@ func (in *EcsClusterLayerInitParameters) DeepCopyInto(out *EcsClusterLayerInitPa *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -3871,6 +3977,29 @@ func (in *GangliaLayerInitParameters) DeepCopyInto(out *GangliaLayerInitParamete *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -3948,6 +4077,21 @@ func (in *GangliaLayerInitParameters) DeepCopyInto(out *GangliaLayerInitParamete *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -5488,6 +5632,29 @@ func (in *HAProxyLayerInitParameters) DeepCopyInto(out *HAProxyLayerInitParamete *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -5570,6 +5737,21 @@ func (in *HAProxyLayerInitParameters) DeepCopyInto(out *HAProxyLayerInitParamete *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StatsEnabled != nil { in, out := &in.StatsEnabled, &out.StatsEnabled *out = new(bool) @@ -6749,6 +6931,29 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.LayerIds != nil { + in, out := &in.LayerIds, &out.LayerIds + *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.LayerIdsRefs != nil { + in, out := &in.LayerIdsRefs, &out.LayerIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LayerIdsSelector != nil { + in, out := &in.LayerIdsSelector, &out.LayerIdsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Os != nil { in, out := &in.Os, &out.Os *out = new(string) @@ -6771,6 +6976,44 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.State != nil { in, out := &in.State, &out.State *out = new(string) @@ -6781,6 +7024,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.Tenancy != nil { in, out := &in.Tenancy, &out.Tenancy *out = new(string) @@ -7895,6 +8153,29 @@ func (in *JavaAppLayerInitParameters) DeepCopyInto(out *JavaAppLayerInitParamete *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -7982,6 +8263,21 @@ func (in *JavaAppLayerInitParameters) DeepCopyInto(out *JavaAppLayerInitParamete *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -10185,6 +10481,29 @@ func (in *MemcachedLayerInitParameters) DeepCopyInto(out *MemcachedLayerInitPara *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -10257,6 +10576,21 @@ func (in *MemcachedLayerInitParameters) DeepCopyInto(out *MemcachedLayerInitPara *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -11767,6 +12101,29 @@ func (in *MySQLLayerInitParameters) DeepCopyInto(out *MySQLLayerInitParameters) *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -11849,6 +12206,21 @@ func (in *MySQLLayerInitParameters) DeepCopyInto(out *MySQLLayerInitParameters) *out = new(bool) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -13369,6 +13741,29 @@ func (in *NodeJSAppLayerInitParameters) DeepCopyInto(out *NodeJSAppLayerInitPara *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -13446,6 +13841,21 @@ func (in *NodeJSAppLayerInitParameters) DeepCopyInto(out *NodeJSAppLayerInitPara *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -14956,6 +15366,29 @@ func (in *PHPAppLayerInitParameters) DeepCopyInto(out *PHPAppLayerInitParameters *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -15028,6 +15461,21 @@ func (in *PHPAppLayerInitParameters) DeepCopyInto(out *PHPAppLayerInitParameters *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -16048,6 +16496,36 @@ func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters) *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserArn != nil { + in, out := &in.UserArn, &out.UserArn + *out = new(string) + **out = **in + } + if in.UserArnRef != nil { + in, out := &in.UserArnRef, &out.UserArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserArnSelector != nil { + in, out := &in.UserArnSelector, &out.UserArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionInitParameters. @@ -16267,6 +16745,36 @@ func (in *RDSDBInstanceInitParameters) DeepCopyInto(out *RDSDBInstanceInitParame *out = new(string) **out = **in } + if in.RDSDBInstanceArn != nil { + in, out := &in.RDSDBInstanceArn, &out.RDSDBInstanceArn + *out = new(string) + **out = **in + } + if in.RDSDBInstanceArnRef != nil { + in, out := &in.RDSDBInstanceArnRef, &out.RDSDBInstanceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RDSDBInstanceArnSelector != nil { + in, out := &in.RDSDBInstanceArnSelector, &out.RDSDBInstanceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSDBInstanceInitParameters. @@ -16967,6 +17475,29 @@ func (in *RailsAppLayerInitParameters) DeepCopyInto(out *RailsAppLayerInitParame *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -17059,6 +17590,21 @@ func (in *RailsAppLayerInitParameters) DeepCopyInto(out *RailsAppLayerInitParame *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -18347,6 +18893,21 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { *out = new(string) **out = **in } + if in.DefaultInstanceProfileArn != nil { + in, out := &in.DefaultInstanceProfileArn, &out.DefaultInstanceProfileArn + *out = new(string) + **out = **in + } + if in.DefaultInstanceProfileArnRef != nil { + in, out := &in.DefaultInstanceProfileArnRef, &out.DefaultInstanceProfileArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultInstanceProfileArnSelector != nil { + in, out := &in.DefaultInstanceProfileArnSelector, &out.DefaultInstanceProfileArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DefaultOs != nil { in, out := &in.DefaultOs, &out.DefaultOs *out = new(string) @@ -18362,6 +18923,21 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { *out = new(string) **out = **in } + if in.DefaultSubnetID != nil { + in, out := &in.DefaultSubnetID, &out.DefaultSubnetID + *out = new(string) + **out = **in + } + if in.DefaultSubnetIDRef != nil { + in, out := &in.DefaultSubnetIDRef, &out.DefaultSubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultSubnetIDSelector != nil { + in, out := &in.DefaultSubnetIDSelector, &out.DefaultSubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.HostnameTheme != nil { in, out := &in.HostnameTheme, &out.HostnameTheme *out = new(string) @@ -18377,6 +18953,21 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { *out = new(string) **out = **in } + if in.ServiceRoleArn != nil { + in, out := &in.ServiceRoleArn, &out.ServiceRoleArn + *out = new(string) + **out = **in + } + if in.ServiceRoleArnRef != nil { + in, out := &in.ServiceRoleArnRef, &out.ServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleArnSelector != nil { + in, out := &in.ServiceRoleArnSelector, &out.ServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -18403,6 +18994,21 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { *out = new(bool) **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 StackInitParameters. @@ -19354,6 +19960,29 @@ func (in *StaticWebLayerInitParameters) DeepCopyInto(out *StaticWebLayerInitPara *out = new(string) **out = **in } + if in.CustomSecurityGroupIDRefs != nil { + in, out := &in.CustomSecurityGroupIDRefs, &out.CustomSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIds != nil { + in, out := &in.CustomSecurityGroupIds, &out.CustomSecurityGroupIds + *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.CustomSetupRecipes != nil { in, out := &in.CustomSetupRecipes, &out.CustomSetupRecipes *out = make([]*string, len(*in)) @@ -19426,6 +20055,21 @@ func (in *StaticWebLayerInitParameters) DeepCopyInto(out *StaticWebLayerInitPara *out = new(string) **out = **in } + if in.StackID != nil { + in, out := &in.StackID, &out.StackID + *out = new(string) + **out = **in + } + if in.StackIDRef != nil { + in, out := &in.StackIDRef, &out.StackIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StackIDSelector != nil { + in, out := &in.StackIDSelector, &out.StackIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SystemPackages != nil { in, out := &in.SystemPackages, &out.SystemPackages *out = make([]*string, len(*in)) @@ -20614,6 +21258,21 @@ func (in *UserProfileInitParameters) DeepCopyInto(out *UserProfileInitParameters *out = new(string) **out = **in } + if in.UserArn != nil { + in, out := &in.UserArn, &out.UserArn + *out = new(string) + **out = **in + } + if in.UserArnRef != nil { + in, out := &in.UserArnRef, &out.UserArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserArnSelector != nil { + in, out := &in.UserArnSelector, &out.UserArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileInitParameters. diff --git a/apis/opsworks/v1beta1/zz_generated.resolvers.go b/apis/opsworks/v1beta1/zz_generated.resolvers.go index d1b0b86cea..4cd6b38037 100644 --- a/apis/opsworks/v1beta1/zz_generated.resolvers.go +++ b/apis/opsworks/v1beta1/zz_generated.resolvers.go @@ -41,6 +41,22 @@ func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -84,6 +100,38 @@ func (mg *CustomLayer) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -143,6 +191,54 @@ func (mg *EcsClusterLayer) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EcsClusterArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EcsClusterArnRef, + Selector: mg.Spec.InitProvider.EcsClusterArnSelector, + To: reference.To{ + List: &v1beta11.ClusterList{}, + Managed: &v1beta11.Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EcsClusterArn") + } + mg.Spec.InitProvider.EcsClusterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EcsClusterArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -186,6 +282,38 @@ func (mg *GangliaLayer) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -229,6 +357,38 @@ func (mg *HAProxyLayer) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -304,6 +464,70 @@ func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.LayerIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.LayerIdsRefs, + Selector: mg.Spec.InitProvider.LayerIdsSelector, + To: reference.To{ + List: &CustomLayerList{}, + Managed: &CustomLayer{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LayerIds") + } + mg.Spec.InitProvider.LayerIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.LayerIdsRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -347,6 +571,38 @@ func (mg *JavaAppLayer) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -390,6 +646,38 @@ func (mg *MemcachedLayer) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -433,6 +721,38 @@ func (mg *MySQLLayer) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -476,6 +796,38 @@ func (mg *NodeJSAppLayer) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -519,6 +871,38 @@ func (mg *PHPAppLayer) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -561,6 +945,38 @@ func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.UserArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.UserArnRef, + Selector: mg.Spec.InitProvider.UserArnSelector, + To: reference.To{ + List: &v1beta12.UserList{}, + Managed: &v1beta12.User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserArn") + } + mg.Spec.InitProvider.UserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserArnRef = rsp.ResolvedReference + return nil } @@ -603,6 +1019,38 @@ func (mg *RDSDBInstance) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RDSDBInstanceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RDSDBInstanceArnRef, + Selector: mg.Spec.InitProvider.RDSDBInstanceArnSelector, + To: reference.To{ + List: &v1beta13.InstanceList{}, + Managed: &v1beta13.Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RDSDBInstanceArn") + } + mg.Spec.InitProvider.RDSDBInstanceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RDSDBInstanceArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -646,6 +1094,38 @@ func (mg *RailsAppLayer) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -720,6 +1200,70 @@ func (mg *Stack) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultInstanceProfileArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.DefaultInstanceProfileArnRef, + Selector: mg.Spec.InitProvider.DefaultInstanceProfileArnSelector, + To: reference.To{ + List: &v1beta12.InstanceProfileList{}, + Managed: &v1beta12.InstanceProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultInstanceProfileArn") + } + mg.Spec.InitProvider.DefaultInstanceProfileArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultInstanceProfileArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultSubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DefaultSubnetIDRef, + Selector: mg.Spec.InitProvider.DefaultSubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultSubnetID") + } + mg.Spec.InitProvider.DefaultSubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultSubnetIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceRoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceRoleArn") + } + mg.Spec.InitProvider.ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -763,6 +1307,38 @@ func (mg *StaticWebLayer) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StackIDRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.CustomSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.CustomSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomSecurityGroupIds") + } + mg.Spec.InitProvider.CustomSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.CustomSecurityGroupIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StackID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.StackIDRef, + Selector: mg.Spec.InitProvider.StackIDSelector, + To: reference.To{ + List: &StackList{}, + Managed: &Stack{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StackID") + } + mg.Spec.InitProvider.StackID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StackIDRef = rsp.ResolvedReference + return nil } @@ -789,5 +1365,21 @@ func (mg *UserProfile) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.UserArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.UserArnRef, + Selector: mg.Spec.InitProvider.UserArnSelector, + To: reference.To{ + List: &v1beta12.UserList{}, + Managed: &v1beta12.User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserArn") + } + mg.Spec.InitProvider.UserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/opsworks/v1beta1/zz_haproxylayer_types.go b/apis/opsworks/v1beta1/zz_haproxylayer_types.go index 54529e80e8..714ffb9699 100755 --- a/apis/opsworks/v1beta1/zz_haproxylayer_types.go +++ b/apis/opsworks/v1beta1/zz_haproxylayer_types.go @@ -222,6 +222,21 @@ type HAProxyLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -254,6 +269,19 @@ type HAProxyLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Whether to enable HAProxy stats. StatsEnabled *bool `json:"statsEnabled,omitempty" tf:"stats_enabled,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_instance_types.go b/apis/opsworks/v1beta1/zz_instance_types.go index 92b5829a29..1b6b68fb10 100755 --- a/apis/opsworks/v1beta1/zz_instance_types.go +++ b/apis/opsworks/v1beta1/zz_instance_types.go @@ -171,6 +171,18 @@ type InstanceInitParameters struct { // Type of instance to start. InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + // List of the layers the instance will belong to. + // +crossplane:generate:reference:type=CustomLayer + LayerIds []*string `json:"layerIds,omitempty" tf:"layer_ids,omitempty"` + + // References to CustomLayer to populate layerIds. + // +kubebuilder:validation:Optional + LayerIdsRefs []v1.Reference `json:"layerIdsRefs,omitempty" tf:"-"` + + // Selector for a list of CustomLayer to populate layerIds. + // +kubebuilder:validation:Optional + LayerIdsSelector *v1.Selector `json:"layerIdsSelector,omitempty" tf:"-"` + // Name of operating system that will be installed. Os *string `json:"os,omitempty" tf:"os,omitempty"` @@ -183,12 +195,51 @@ type InstanceInitParameters struct { // Name of the SSH keypair that instances will have by default. SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // Associated security groups. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // Identifier of the stack the instance will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Desired state of the instance. Valid values are running or stopped. State *string `json:"state,omitempty" tf:"state,omitempty"` // Instance status. Will be one of booting, connection_lost, online, pending, rebooting, requested, running_setup, setup_failed, shutting_down, start_failed, stop_failed, stopped, stopping, terminated, or terminating. Status *string `json:"status,omitempty" tf:"status,omitempty"` + // Subnet ID to attach to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Instance tenancy to use. Valid values are default, dedicated or host. Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_javaapplayer_types.go b/apis/opsworks/v1beta1/zz_javaapplayer_types.go index 5a321fe6b7..6c2c731957 100755 --- a/apis/opsworks/v1beta1/zz_javaapplayer_types.go +++ b/apis/opsworks/v1beta1/zz_javaapplayer_types.go @@ -228,6 +228,21 @@ type JavaAppLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -263,6 +278,19 @@ type JavaAppLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_memcachedlayer_types.go b/apis/opsworks/v1beta1/zz_memcachedlayer_types.go index 18ace3edf1..0cef48ae72 100755 --- a/apis/opsworks/v1beta1/zz_memcachedlayer_types.go +++ b/apis/opsworks/v1beta1/zz_memcachedlayer_types.go @@ -225,6 +225,21 @@ type MemcachedLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -251,6 +266,19 @@ type MemcachedLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_mysqllayer_types.go b/apis/opsworks/v1beta1/zz_mysqllayer_types.go index e0dd8468a1..a038b8f884 100755 --- a/apis/opsworks/v1beta1/zz_mysqllayer_types.go +++ b/apis/opsworks/v1beta1/zz_mysqllayer_types.go @@ -222,6 +222,21 @@ type MySQLLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -254,6 +269,19 @@ type MySQLLayerInitParameters struct { // Whether to set the root user password to all instances in the stack so they can access the instances in this layer. RootPasswordOnAllInstances *bool `json:"rootPasswordOnAllInstances,omitempty" tf:"root_password_on_all_instances,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_nodejsapplayer_types.go b/apis/opsworks/v1beta1/zz_nodejsapplayer_types.go index 1d9988c4da..6a2989c032 100755 --- a/apis/opsworks/v1beta1/zz_nodejsapplayer_types.go +++ b/apis/opsworks/v1beta1/zz_nodejsapplayer_types.go @@ -222,6 +222,21 @@ type NodeJSAppLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -251,6 +266,19 @@ type NodeJSAppLayerInitParameters struct { // The version of NodeJS to use. Defaults to "0.10.38". NodeJSVersion *string `json:"nodejsVersion,omitempty" tf:"nodejs_version,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_permission_types.go b/apis/opsworks/v1beta1/zz_permission_types.go index ba59e1d794..379cb3ff10 100755 --- a/apis/opsworks/v1beta1/zz_permission_types.go +++ b/apis/opsworks/v1beta1/zz_permission_types.go @@ -27,6 +27,32 @@ type PermissionInitParameters struct { // The users permission level. Mus be one of deny, show, deploy, manage, iam_only Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // The stack to set the permissions for + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + + // The user's IAM ARN to set permissions for + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.User + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"` + + // Reference to a User in iam to populate userArn. + // +kubebuilder:validation:Optional + UserArnRef *v1.Reference `json:"userArnRef,omitempty" tf:"-"` + + // Selector for a User in iam to populate userArn. + // +kubebuilder:validation:Optional + UserArnSelector *v1.Selector `json:"userArnSelector,omitempty" tf:"-"` } type PermissionObservation struct { diff --git a/apis/opsworks/v1beta1/zz_phpapplayer_types.go b/apis/opsworks/v1beta1/zz_phpapplayer_types.go index 7d17a45755..780f5eed4f 100755 --- a/apis/opsworks/v1beta1/zz_phpapplayer_types.go +++ b/apis/opsworks/v1beta1/zz_phpapplayer_types.go @@ -222,6 +222,21 @@ type PHPAppLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -248,6 +263,19 @@ type PHPAppLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_railsapplayer_types.go b/apis/opsworks/v1beta1/zz_railsapplayer_types.go index 82b0e75f96..ca5740702a 100755 --- a/apis/opsworks/v1beta1/zz_railsapplayer_types.go +++ b/apis/opsworks/v1beta1/zz_railsapplayer_types.go @@ -228,6 +228,21 @@ type RailsAppLayerInitParameters struct { // Custom JSON attributes to apply to the layer. CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -266,6 +281,19 @@ type RailsAppLayerInitParameters struct { // The version of RubyGems to use. Defaults to "2.2.2". RubygemsVersion *string `json:"rubygemsVersion,omitempty" tf:"rubygems_version,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go b/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go index 197f47bf90..4c80edbc68 100755 --- a/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go +++ b/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go @@ -21,6 +21,32 @@ type RDSDBInstanceInitParameters struct { // A db username DBUser *string `json:"dbUser,omitempty" tf:"db_user,omitempty"` + + // The db instance to register for this stack. Changing this will force a new resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RDSDBInstanceArn *string `json:"rdsDbInstanceArn,omitempty" tf:"rds_db_instance_arn,omitempty"` + + // Reference to a Instance in rds to populate rdsDbInstanceArn. + // +kubebuilder:validation:Optional + RDSDBInstanceArnRef *v1.Reference `json:"rdsDbInstanceArnRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate rdsDbInstanceArn. + // +kubebuilder:validation:Optional + RDSDBInstanceArnSelector *v1.Selector `json:"rdsDbInstanceArnSelector,omitempty" tf:"-"` + + // The stack to register a db instance for. Changing this will force a new resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` } type RDSDBInstanceObservation struct { diff --git a/apis/opsworks/v1beta1/zz_stack_types.go b/apis/opsworks/v1beta1/zz_stack_types.go index 893f13c995..34dd722fa0 100755 --- a/apis/opsworks/v1beta1/zz_stack_types.go +++ b/apis/opsworks/v1beta1/zz_stack_types.go @@ -101,6 +101,19 @@ type StackInitParameters struct { // Cannot be set when vpc_id is set. DefaultAvailabilityZone *string `json:"defaultAvailabilityZone,omitempty" tf:"default_availability_zone,omitempty"` + // The ARN of an IAM Instance Profile that created instances will have by default. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DefaultInstanceProfileArn *string `json:"defaultInstanceProfileArn,omitempty" tf:"default_instance_profile_arn,omitempty"` + + // Reference to a InstanceProfile in iam to populate defaultInstanceProfileArn. + // +kubebuilder:validation:Optional + DefaultInstanceProfileArnRef *v1.Reference `json:"defaultInstanceProfileArnRef,omitempty" tf:"-"` + + // Selector for a InstanceProfile in iam to populate defaultInstanceProfileArn. + // +kubebuilder:validation:Optional + DefaultInstanceProfileArnSelector *v1.Selector `json:"defaultInstanceProfileArnSelector,omitempty" tf:"-"` + // Name of OS that will be installed on instances by default. DefaultOs *string `json:"defaultOs,omitempty" tf:"default_os,omitempty"` @@ -110,6 +123,19 @@ type StackInitParameters struct { // Name of the SSH keypair that instances will have by default. DefaultSSHKeyName *string `json:"defaultSshKeyName,omitempty" tf:"default_ssh_key_name,omitempty"` + // ID of the subnet in which instances will be created by default. + // Required if vpc_id is set to a VPC other than the default VPC, and forbidden if it isn't. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + DefaultSubnetID *string `json:"defaultSubnetId,omitempty" tf:"default_subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate defaultSubnetId. + // +kubebuilder:validation:Optional + DefaultSubnetIDRef *v1.Reference `json:"defaultSubnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate defaultSubnetId. + // +kubebuilder:validation:Optional + DefaultSubnetIDSelector *v1.Selector `json:"defaultSubnetIdSelector,omitempty" tf:"-"` + // Keyword representing the naming scheme that will be used for instance hostnames within this stack. HostnameTheme *string `json:"hostnameTheme,omitempty" tf:"hostname_theme,omitempty"` @@ -119,6 +145,19 @@ type StackInitParameters struct { // The name of the stack. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ARN of an IAM role that the OpsWorks service will act as. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -128,6 +167,19 @@ type StackInitParameters struct { // Boolean value controlling whether the standard OpsWorks security groups apply to created instances. UseOpsworksSecurityGroups *bool `json:"useOpsworksSecurityGroups,omitempty" tf:"use_opsworks_security_groups,omitempty"` + + // ID of the VPC that this stack belongs to. + // Defaults to the region's default VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type StackObservation struct { diff --git a/apis/opsworks/v1beta1/zz_staticweblayer_types.go b/apis/opsworks/v1beta1/zz_staticweblayer_types.go index 21b31838c1..3d7f603931 100755 --- a/apis/opsworks/v1beta1/zz_staticweblayer_types.go +++ b/apis/opsworks/v1beta1/zz_staticweblayer_types.go @@ -221,6 +221,21 @@ type StaticWebLayerInitParameters struct { CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"` + // References to SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRefs []v1.Reference `json:"customSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate customSecurityGroupIds. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + + // Ids for a set of security groups to apply to the layer's instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=CustomSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=CustomSecurityGroupIDSelector + // +listType=set + CustomSecurityGroupIds []*string `json:"customSecurityGroupIds,omitempty" tf:"custom_security_group_ids,omitempty"` + CustomSetupRecipes []*string `json:"customSetupRecipes,omitempty" tf:"custom_setup_recipes,omitempty"` CustomShutdownRecipes []*string `json:"customShutdownRecipes,omitempty" tf:"custom_shutdown_recipes,omitempty"` @@ -247,6 +262,19 @@ type StaticWebLayerInitParameters struct { // A human-readable name for the layer. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // ID of the stack the layer will belong to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"` + + // Reference to a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"` + + // Selector for a Stack in opsworks to populate stackId. + // +kubebuilder:validation:Optional + StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"` + // Names of a set of system packages to install on the layer's instances. // +listType=set SystemPackages []*string `json:"systemPackages,omitempty" tf:"system_packages,omitempty"` diff --git a/apis/opsworks/v1beta1/zz_userprofile_types.go b/apis/opsworks/v1beta1/zz_userprofile_types.go index cbb148b6f0..c21da7789a 100755 --- a/apis/opsworks/v1beta1/zz_userprofile_types.go +++ b/apis/opsworks/v1beta1/zz_userprofile_types.go @@ -27,6 +27,19 @@ type UserProfileInitParameters struct { // The ssh username, with witch this user wants to log in SSHUsername *string `json:"sshUsername,omitempty" tf:"ssh_username,omitempty"` + + // The user's IAM ARN + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.User + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"` + + // Reference to a User in iam to populate userArn. + // +kubebuilder:validation:Optional + UserArnRef *v1.Reference `json:"userArnRef,omitempty" tf:"-"` + + // Selector for a User in iam to populate userArn. + // +kubebuilder:validation:Optional + UserArnSelector *v1.Selector `json:"userArnSelector,omitempty" tf:"-"` } type UserProfileObservation struct { diff --git a/apis/organizations/v1beta1/zz_delegatedadministrator_types.go b/apis/organizations/v1beta1/zz_delegatedadministrator_types.go index a921731cc8..4c11c77d51 100755 --- a/apis/organizations/v1beta1/zz_delegatedadministrator_types.go +++ b/apis/organizations/v1beta1/zz_delegatedadministrator_types.go @@ -19,6 +19,18 @@ import ( type DelegatedAdministratorInitParameters struct { + // The account ID number of the member account in the organization to register as a delegated administrator. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Account + AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + + // Reference to a Account in organizations to populate accountId. + // +kubebuilder:validation:Optional + AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` + + // Selector for a Account in organizations to populate accountId. + // +kubebuilder:validation:Optional + AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` + // The service principal of the AWS service for which you want to make the member account a delegated administrator. ServicePrincipal *string `json:"servicePrincipal,omitempty" tf:"service_principal,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_generated.deepcopy.go b/apis/organizations/v1beta1/zz_generated.deepcopy.go index 9b358b0c3c..2181d13e30 100644 --- a/apis/organizations/v1beta1/zz_generated.deepcopy.go +++ b/apis/organizations/v1beta1/zz_generated.deepcopy.go @@ -441,6 +441,21 @@ func (in *DelegatedAdministrator) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DelegatedAdministratorInitParameters) DeepCopyInto(out *DelegatedAdministratorInitParameters) { *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.AccountIDRef != nil { + in, out := &in.AccountIDRef, &out.AccountIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AccountIDSelector != nil { + in, out := &in.AccountIDSelector, &out.AccountIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ServicePrincipal != nil { in, out := &in.ServicePrincipal, &out.ServicePrincipal *out = new(string) @@ -1348,6 +1363,21 @@ func (in *PolicyAttachment) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PolicyAttachmentInitParameters) DeepCopyInto(out *PolicyAttachmentInitParameters) { *out = *in + if in.PolicyID != nil { + in, out := &in.PolicyID, &out.PolicyID + *out = new(string) + **out = **in + } + if in.PolicyIDRef != nil { + in, out := &in.PolicyIDRef, &out.PolicyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyIDSelector != nil { + in, out := &in.PolicyIDSelector, &out.PolicyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SkipDestroy != nil { in, out := &in.SkipDestroy, &out.SkipDestroy *out = new(bool) diff --git a/apis/organizations/v1beta1/zz_generated.resolvers.go b/apis/organizations/v1beta1/zz_generated.resolvers.go index 794afc9fd5..6ef5f9ced8 100644 --- a/apis/organizations/v1beta1/zz_generated.resolvers.go +++ b/apis/organizations/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *DelegatedAdministrator) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.AccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AccountIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AccountID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AccountIDRef, + Selector: mg.Spec.InitProvider.AccountIDSelector, + To: reference.To{ + List: &AccountList{}, + Managed: &Account{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AccountID") + } + mg.Spec.InitProvider.AccountID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AccountIDRef = rsp.ResolvedReference + return nil } @@ -62,5 +78,21 @@ func (mg *PolicyAttachment) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.PolicyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PolicyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PolicyIDRef, + Selector: mg.Spec.InitProvider.PolicyIDSelector, + To: reference.To{ + List: &PolicyList{}, + Managed: &Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyID") + } + mg.Spec.InitProvider.PolicyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/organizations/v1beta1/zz_policyattachment_types.go b/apis/organizations/v1beta1/zz_policyattachment_types.go index 592148f52b..762964092c 100755 --- a/apis/organizations/v1beta1/zz_policyattachment_types.go +++ b/apis/organizations/v1beta1/zz_policyattachment_types.go @@ -19,6 +19,19 @@ import ( type PolicyAttachmentInitParameters struct { + // The unique identifier (ID) of the policy that you want to attach to the target. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Policy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` + + // Reference to a Policy in organizations to populate policyId. + // +kubebuilder:validation:Optional + PolicyIDRef *v1.Reference `json:"policyIdRef,omitempty" tf:"-"` + + // Selector for a Policy in organizations to populate policyId. + // +kubebuilder:validation:Optional + PolicyIDSelector *v1.Selector `json:"policyIdSelector,omitempty" tf:"-"` + // If set to true, destroy will not detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy. SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"` diff --git a/apis/pinpoint/v1beta1/zz_generated.deepcopy.go b/apis/pinpoint/v1beta1/zz_generated.deepcopy.go index 66832a72f2..9af32977c4 100644 --- a/apis/pinpoint/v1beta1/zz_generated.deepcopy.go +++ b/apis/pinpoint/v1beta1/zz_generated.deepcopy.go @@ -614,6 +614,21 @@ func (in *SMSChannel) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SMSChannelInitParameters) DeepCopyInto(out *SMSChannelInitParameters) { *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.ApplicationIDRef != nil { + in, out := &in.ApplicationIDRef, &out.ApplicationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationIDSelector != nil { + in, out := &in.ApplicationIDSelector, &out.ApplicationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) diff --git a/apis/pinpoint/v1beta1/zz_generated.resolvers.go b/apis/pinpoint/v1beta1/zz_generated.resolvers.go index 4e7ba0d49d..20d1869f9f 100644 --- a/apis/pinpoint/v1beta1/zz_generated.resolvers.go +++ b/apis/pinpoint/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *SMSChannel) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ApplicationIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationID), + Extract: resource.ExtractParamPath("application_id", true), + Reference: mg.Spec.InitProvider.ApplicationIDRef, + Selector: mg.Spec.InitProvider.ApplicationIDSelector, + To: reference.To{ + List: &AppList{}, + Managed: &App{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationID") + } + mg.Spec.InitProvider.ApplicationID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/pinpoint/v1beta1/zz_smschannel_types.go b/apis/pinpoint/v1beta1/zz_smschannel_types.go index 400088e382..5ab6ca0817 100755 --- a/apis/pinpoint/v1beta1/zz_smschannel_types.go +++ b/apis/pinpoint/v1beta1/zz_smschannel_types.go @@ -19,6 +19,19 @@ import ( type SMSChannelInitParameters struct { + // ID of the application. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/pinpoint/v1beta1.App + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("application_id",true) + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // Reference to a App in pinpoint to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"` + + // Selector for a App in pinpoint to populate applicationId. + // +kubebuilder:validation:Optional + ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"` + // Whether the channel is enabled or disabled. By default, it is set to true. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` diff --git a/apis/qldb/v1beta1/zz_generated.deepcopy.go b/apis/qldb/v1beta1/zz_generated.deepcopy.go index 86f57087ed..1f333bc1bd 100644 --- a/apis/qldb/v1beta1/zz_generated.deepcopy.go +++ b/apis/qldb/v1beta1/zz_generated.deepcopy.go @@ -21,6 +21,21 @@ func (in *KinesisConfigurationInitParameters) DeepCopyInto(out *KinesisConfigura *out = new(bool) **out = **in } + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisConfigurationInitParameters. @@ -128,6 +143,21 @@ func (in *LedgerInitParameters) DeepCopyInto(out *LedgerInitParameters) { *out = new(bool) **out = **in } + if in.KMSKey != nil { + in, out := &in.KMSKey, &out.KMSKey + *out = new(string) + **out = **in + } + if in.KMSKeyRef != nil { + in, out := &in.KMSKeyRef, &out.KMSKeyRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeySelector != nil { + in, out := &in.KMSKeySelector, &out.KMSKeySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PermissionsMode != nil { in, out := &in.PermissionsMode, &out.PermissionsMode *out = new(string) @@ -408,6 +438,36 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LedgerName != nil { + in, out := &in.LedgerName, &out.LedgerName + *out = new(string) + **out = **in + } + if in.LedgerNameRef != nil { + in, out := &in.LedgerNameRef, &out.LedgerNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LedgerNameSelector != nil { + in, out := &in.LedgerNameSelector, &out.LedgerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StreamName != nil { in, out := &in.StreamName, &out.StreamName *out = new(string) diff --git a/apis/qldb/v1beta1/zz_generated.resolvers.go b/apis/qldb/v1beta1/zz_generated.resolvers.go index da517a99f2..a44e9d10cc 100644 --- a/apis/qldb/v1beta1/zz_generated.resolvers.go +++ b/apis/qldb/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,22 @@ func (mg *Ledger) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKey = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKey), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyRef, + Selector: mg.Spec.InitProvider.KMSKeySelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKey") + } + mg.Spec.InitProvider.KMSKey = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyRef = rsp.ResolvedReference + return nil } @@ -99,5 +115,55 @@ func (mg *Stream) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.KinesisConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArnRef, + Selector: mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArnSelector, + To: reference.To{ + List: &v1beta11.StreamList{}, + Managed: &v1beta11.Stream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArn") + } + mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KinesisConfiguration[i3].StreamArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LedgerName), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.LedgerNameRef, + Selector: mg.Spec.InitProvider.LedgerNameSelector, + To: reference.To{ + List: &LedgerList{}, + Managed: &Ledger{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LedgerName") + } + mg.Spec.InitProvider.LedgerName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LedgerNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/qldb/v1beta1/zz_ledger_types.go b/apis/qldb/v1beta1/zz_ledger_types.go index d85ebf0941..36e5e4225e 100755 --- a/apis/qldb/v1beta1/zz_ledger_types.go +++ b/apis/qldb/v1beta1/zz_ledger_types.go @@ -22,6 +22,18 @@ type LedgerInitParameters struct { // The deletion protection for the QLDB Ledger instance. By default it is true. DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` + // The key in AWS Key Management Service (AWS KMS) to use for encryption of data at rest in the ledger. For more information, see the AWS documentation. Valid values are "AWS_OWNED_KMS_KEY" to use an AWS KMS key that is owned and managed by AWS on your behalf, or the ARN of a valid symmetric customer managed KMS key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"` + + // Reference to a Key in kms to populate kmsKey. + // +kubebuilder:validation:Optional + KMSKeyRef *v1.Reference `json:"kmsKeyRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKey. + // +kubebuilder:validation:Optional + KMSKeySelector *v1.Selector `json:"kmsKeySelector,omitempty" tf:"-"` + // The permissions mode for the QLDB ledger instance. Specify either ALLOW_ALL or STANDARD. PermissionsMode *string `json:"permissionsMode,omitempty" tf:"permissions_mode,omitempty"` diff --git a/apis/qldb/v1beta1/zz_stream_types.go b/apis/qldb/v1beta1/zz_stream_types.go index 5b044e1f99..ebfd77894e 100755 --- a/apis/qldb/v1beta1/zz_stream_types.go +++ b/apis/qldb/v1beta1/zz_stream_types.go @@ -21,6 +21,19 @@ type KinesisConfigurationInitParameters struct { // Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: true. AggregationEnabled *bool `json:"aggregationEnabled,omitempty" tf:"aggregation_enabled,omitempty"` + + // The Amazon Resource Name (ARN) of the Kinesis Data Streams resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` } type KinesisConfigurationObservation struct { @@ -64,6 +77,32 @@ type StreamInitParameters struct { // The configuration settings of the Kinesis Data Streams destination for your stream request. Documented below. KinesisConfiguration []KinesisConfigurationInitParameters `json:"kinesisConfiguration,omitempty" tf:"kinesis_configuration,omitempty"` + // The name of the QLDB ledger. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/qldb/v1beta1.Ledger + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + LedgerName *string `json:"ledgerName,omitempty" tf:"ledger_name,omitempty"` + + // Reference to a Ledger in qldb to populate ledgerName. + // +kubebuilder:validation:Optional + LedgerNameRef *v1.Reference `json:"ledgerNameRef,omitempty" tf:"-"` + + // Selector for a Ledger in qldb to populate ledgerName. + // +kubebuilder:validation:Optional + LedgerNameSelector *v1.Selector `json:"ledgerNameSelector,omitempty" tf:"-"` + + // The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream. Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in the Amazon QLDB Developer Guide. StreamName *string `json:"streamName,omitempty" tf:"stream_name,omitempty"` diff --git a/apis/ram/v1beta1/zz_generated.deepcopy.go b/apis/ram/v1beta1/zz_generated.deepcopy.go index 160f617d69..eb07a5d2f5 100644 --- a/apis/ram/v1beta1/zz_generated.deepcopy.go +++ b/apis/ram/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,36 @@ func (in *PrincipalAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PrincipalAssociationInitParameters) DeepCopyInto(out *PrincipalAssociationInitParameters) { *out = *in + if in.Principal != nil { + in, out := &in.Principal, &out.Principal + *out = new(string) + **out = **in + } + if in.PrincipalRef != nil { + in, out := &in.PrincipalRef, &out.PrincipalRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrincipalSelector != nil { + in, out := &in.PrincipalSelector, &out.PrincipalSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceShareArn != nil { + in, out := &in.ResourceShareArn, &out.ResourceShareArn + *out = new(string) + **out = **in + } + if in.ResourceShareArnRef != nil { + in, out := &in.ResourceShareArnRef, &out.ResourceShareArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceShareArnSelector != nil { + in, out := &in.ResourceShareArnSelector, &out.ResourceShareArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalAssociationInitParameters. @@ -172,7 +202,7 @@ func (in *PrincipalAssociationSpec) DeepCopyInto(out *PrincipalAssociationSpec) *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 PrincipalAssociationSpec. @@ -237,6 +267,21 @@ func (in *ResourceAssociationInitParameters) DeepCopyInto(out *ResourceAssociati *out = new(string) **out = **in } + if in.ResourceShareArn != nil { + in, out := &in.ResourceShareArn, &out.ResourceShareArn + *out = new(string) + **out = **in + } + if in.ResourceShareArnRef != nil { + in, out := &in.ResourceShareArnRef, &out.ResourceShareArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceShareArnSelector != nil { + in, out := &in.ResourceShareArnSelector, &out.ResourceShareArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAssociationInitParameters. @@ -443,6 +488,21 @@ func (in *ResourceShareAccepter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourceShareAccepterInitParameters) DeepCopyInto(out *ResourceShareAccepterInitParameters) { *out = *in + if in.ShareArn != nil { + in, out := &in.ShareArn, &out.ShareArn + *out = new(string) + **out = **in + } + if in.ShareArnRef != nil { + in, out := &in.ShareArnRef, &out.ShareArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ShareArnSelector != nil { + in, out := &in.ShareArnSelector, &out.ShareArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceShareAccepterInitParameters. @@ -593,7 +653,7 @@ func (in *ResourceShareAccepterSpec) DeepCopyInto(out *ResourceShareAccepterSpec *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 ResourceShareAccepterSpec. diff --git a/apis/ram/v1beta1/zz_generated.resolvers.go b/apis/ram/v1beta1/zz_generated.resolvers.go index 47db71e908..c591215f43 100644 --- a/apis/ram/v1beta1/zz_generated.resolvers.go +++ b/apis/ram/v1beta1/zz_generated.resolvers.go @@ -53,6 +53,38 @@ func (mg *PrincipalAssociation) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ResourceShareArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceShareArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Principal), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.PrincipalRef, + Selector: mg.Spec.InitProvider.PrincipalSelector, + To: reference.To{ + List: &v1beta1.OrganizationList{}, + Managed: &v1beta1.Organization{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Principal") + } + mg.Spec.InitProvider.Principal = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrincipalRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceShareArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceShareArnRef, + Selector: mg.Spec.InitProvider.ResourceShareArnSelector, + To: reference.To{ + List: &ResourceShareList{}, + Managed: &ResourceShare{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceShareArn") + } + mg.Spec.InitProvider.ResourceShareArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceShareArnRef = rsp.ResolvedReference + return nil } @@ -79,6 +111,22 @@ func (mg *ResourceAssociation) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ResourceShareArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceShareArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceShareArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceShareArnRef, + Selector: mg.Spec.InitProvider.ResourceShareArnSelector, + To: reference.To{ + List: &ResourceShareList{}, + Managed: &ResourceShare{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceShareArn") + } + mg.Spec.InitProvider.ResourceShareArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceShareArnRef = rsp.ResolvedReference + return nil } @@ -105,5 +153,21 @@ func (mg *ResourceShareAccepter) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ShareArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ShareArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ShareArn), + Extract: resource.ExtractParamPath("resource_share_arn", false), + Reference: mg.Spec.InitProvider.ShareArnRef, + Selector: mg.Spec.InitProvider.ShareArnSelector, + To: reference.To{ + List: &PrincipalAssociationList{}, + Managed: &PrincipalAssociation{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ShareArn") + } + mg.Spec.InitProvider.ShareArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ShareArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/ram/v1beta1/zz_principalassociation_types.go b/apis/ram/v1beta1/zz_principalassociation_types.go index b2181ec29e..8ad601184e 100755 --- a/apis/ram/v1beta1/zz_principalassociation_types.go +++ b/apis/ram/v1beta1/zz_principalassociation_types.go @@ -18,6 +18,32 @@ import ( ) type PrincipalAssociationInitParameters struct { + + // The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/organizations/v1beta1.Organization + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Principal *string `json:"principal,omitempty" tf:"principal,omitempty"` + + // Reference to a Organization in organizations to populate principal. + // +kubebuilder:validation:Optional + PrincipalRef *v1.Reference `json:"principalRef,omitempty" tf:"-"` + + // Selector for a Organization in organizations to populate principal. + // +kubebuilder:validation:Optional + PrincipalSelector *v1.Selector `json:"principalSelector,omitempty" tf:"-"` + + // The Amazon Resource Name (ARN) of the resource share. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"` + + // Reference to a ResourceShare in ram to populate resourceShareArn. + // +kubebuilder:validation:Optional + ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"` + + // Selector for a ResourceShare in ram to populate resourceShareArn. + // +kubebuilder:validation:Optional + ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"` } type PrincipalAssociationObservation struct { diff --git a/apis/ram/v1beta1/zz_resourceassociation_types.go b/apis/ram/v1beta1/zz_resourceassociation_types.go index 34a80c9a90..5e98048e1e 100755 --- a/apis/ram/v1beta1/zz_resourceassociation_types.go +++ b/apis/ram/v1beta1/zz_resourceassociation_types.go @@ -21,6 +21,19 @@ type ResourceAssociationInitParameters struct { // Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Amazon Resource Name (ARN) of the RAM Resource Share. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.ResourceShare + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceShareArn *string `json:"resourceShareArn,omitempty" tf:"resource_share_arn,omitempty"` + + // Reference to a ResourceShare in ram to populate resourceShareArn. + // +kubebuilder:validation:Optional + ResourceShareArnRef *v1.Reference `json:"resourceShareArnRef,omitempty" tf:"-"` + + // Selector for a ResourceShare in ram to populate resourceShareArn. + // +kubebuilder:validation:Optional + ResourceShareArnSelector *v1.Selector `json:"resourceShareArnSelector,omitempty" tf:"-"` } type ResourceAssociationObservation struct { diff --git a/apis/ram/v1beta1/zz_resourceshareaccepter_types.go b/apis/ram/v1beta1/zz_resourceshareaccepter_types.go index 9229cec768..7b2c01ee77 100755 --- a/apis/ram/v1beta1/zz_resourceshareaccepter_types.go +++ b/apis/ram/v1beta1/zz_resourceshareaccepter_types.go @@ -18,6 +18,19 @@ import ( ) type ResourceShareAccepterInitParameters struct { + + // The ARN of the resource share. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ram/v1beta1.PrincipalAssociation + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_share_arn",false) + ShareArn *string `json:"shareArn,omitempty" tf:"share_arn,omitempty"` + + // Reference to a PrincipalAssociation in ram to populate shareArn. + // +kubebuilder:validation:Optional + ShareArnRef *v1.Reference `json:"shareArnRef,omitempty" tf:"-"` + + // Selector for a PrincipalAssociation in ram to populate shareArn. + // +kubebuilder:validation:Optional + ShareArnSelector *v1.Selector `json:"shareArnSelector,omitempty" tf:"-"` } type ResourceShareAccepterObservation struct { diff --git a/apis/rds/v1beta1/zz_cluster_types.go b/apis/rds/v1beta1/zz_cluster_types.go index a988c107cb..4477de50cf 100755 --- a/apis/rds/v1beta1/zz_cluster_types.go +++ b/apis/rds/v1beta1/zz_cluster_types.go @@ -56,6 +56,19 @@ type ClusterInitParameters struct { // Instance parameter group to associate with all instances of the DB cluster. The db_instance_parameter_group_name parameter is only valid in combination with the allow_major_version_upgrade parameter. DBInstanceParameterGroupName *string `json:"dbInstanceParameterGroupName,omitempty" tf:"db_instance_parameter_group_name,omitempty"` + // DB subnet group to associate with this DB cluster. + // NOTE: This must match the db_subnet_group_name specified on every aws_rds_cluster_instance in the cluster. + // +crossplane:generate:reference:type=SubnetGroup + DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameRef *v1.Reference `json:"dbSubnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameSelector *v1.Selector `json:"dbSubnetGroupNameSelector,omitempty" tf:"-"` + // For use with RDS Custom. DBSystemID *string `json:"dbSystemId,omitempty" tf:"db_system_id,omitempty"` @@ -101,9 +114,34 @@ type ClusterInitParameters struct { // Amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see Amazon RDS Provisioned IOPS storage to improve performance in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster. Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // ARN for the KMS encryption key. When specifying kms_key_id, storage_encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if master_password is provided. ManageMasterUserPassword *bool `json:"manageMasterUserPassword,omitempty" tf:"manage_master_user_password,omitempty"` + // Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key_id",true) + MasterUserSecretKMSKeyID *string `json:"masterUserSecretKmsKeyId,omitempty" tf:"master_user_secret_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate masterUserSecretKmsKeyId. + // +kubebuilder:validation:Optional + MasterUserSecretKMSKeyIDRef *v1.Reference `json:"masterUserSecretKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate masterUserSecretKmsKeyId. + // +kubebuilder:validation:Optional + MasterUserSecretKMSKeyIDSelector *v1.Selector `json:"masterUserSecretKmsKeyIdSelector,omitempty" tf:"-"` + // Username for the master DB user. Please refer to the RDS Naming Constraints. This argument does not support in-place updates and cannot be changed during a restore from snapshot. MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"` @@ -152,6 +190,21 @@ type ClusterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of VPC security groups to associate with the Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type ClusterMasterUserSecretInitParameters struct { @@ -610,6 +663,18 @@ type ClusterRestoreToPointInTimeInitParameters struct { // Valid options are full-copy (default) and copy-on-write. RestoreType *string `json:"restoreType,omitempty" tf:"restore_type,omitempty"` + // Identifier of the source database cluster from which to restore. When restoring from a cluster in another AWS account, the identifier is the ARN of that cluster. + // +crossplane:generate:reference:type=Cluster + SourceClusterIdentifier *string `json:"sourceClusterIdentifier,omitempty" tf:"source_cluster_identifier,omitempty"` + + // Reference to a Cluster to populate sourceClusterIdentifier. + // +kubebuilder:validation:Optional + SourceClusterIdentifierRef *v1.Reference `json:"sourceClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster to populate sourceClusterIdentifier. + // +kubebuilder:validation:Optional + SourceClusterIdentifierSelector *v1.Selector `json:"sourceClusterIdentifierSelector,omitempty" tf:"-"` + // Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. Conflicts with restore_to_time. UseLatestRestorableTime *bool `json:"useLatestRestorableTime,omitempty" tf:"use_latest_restorable_time,omitempty"` } @@ -661,6 +726,18 @@ type ClusterRestoreToPointInTimeParameters struct { type ClusterS3ImportInitParameters struct { + // Bucket name where your backup is stored + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // Can be blank, but is the path to your backup BucketPrefix *string `json:"bucketPrefix,omitempty" tf:"bucket_prefix,omitempty"` diff --git a/apis/rds/v1beta1/zz_clusteractivitystream_types.go b/apis/rds/v1beta1/zz_clusteractivitystream_types.go index d3bc9fcb31..5016379720 100755 --- a/apis/rds/v1beta1/zz_clusteractivitystream_types.go +++ b/apis/rds/v1beta1/zz_clusteractivitystream_types.go @@ -22,8 +22,33 @@ type ClusterActivityStreamInitParameters struct { // Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included. Defaults false. EngineNativeAuditFieldsIncluded *bool `json:"engineNativeAuditFieldsIncluded,omitempty" tf:"engine_native_audit_fields_included,omitempty"` + // The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: sync, async. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` + + // The Amazon Resource Name (ARN) of the DB cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Cluster in rds to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type ClusterActivityStreamObservation struct { diff --git a/apis/rds/v1beta1/zz_clusterendpoint_types.go b/apis/rds/v1beta1/zz_clusterendpoint_types.go index 30f106f549..6ef112c145 100755 --- a/apis/rds/v1beta1/zz_clusterendpoint_types.go +++ b/apis/rds/v1beta1/zz_clusterendpoint_types.go @@ -19,6 +19,19 @@ import ( type ClusterEndpointInitParameters struct { + // The cluster identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster in rds to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // The type of the endpoint. One of: READER , ANY . CustomEndpointType *string `json:"customEndpointType,omitempty" tf:"custom_endpoint_type,omitempty"` diff --git a/apis/rds/v1beta1/zz_clusterinstance_types.go b/apis/rds/v1beta1/zz_clusterinstance_types.go index 0211ff2ca3..cf6ab11f52 100755 --- a/apis/rds/v1beta1/zz_clusterinstance_types.go +++ b/apis/rds/v1beta1/zz_clusterinstance_types.go @@ -31,6 +31,19 @@ type ClusterInstanceInitParameters struct { // Identifier of the CA certificate for the DB instance. CACertIdentifier *string `json:"caCertIdentifier,omitempty" tf:"ca_cert_identifier,omitempty"` + // Identifier of the aws_rds_cluster in which to launch this instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster in rds to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // defined tags from the DB instance to snapshots of the DB instance. Default false. CopyTagsToSnapshot *bool `json:"copyTagsToSnapshot,omitempty" tf:"copy_tags_to_snapshot,omitempty"` @@ -40,6 +53,18 @@ type ClusterInstanceInitParameters struct { // Name of the DB parameter group to associate with this instance. DBParameterGroupName *string `json:"dbParameterGroupName,omitempty" tf:"db_parameter_group_name,omitempty"` + // DB subnet group to associate with this DB instance. NOTE: This must match the db_subnet_group_name of the attached aws_rds_cluster. + // +crossplane:generate:reference:type=SubnetGroup + DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameRef *v1.Reference `json:"dbSubnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameSelector *v1.Selector `json:"dbSubnetGroupNameSelector,omitempty" tf:"-"` + // Name of the database engine to be used for the RDS cluster instance. // Valid Values: aurora-mysql, aurora-postgresql. Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` @@ -53,9 +78,34 @@ type ClusterInstanceInitParameters struct { // Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval *float64 `json:"monitoringInterval,omitempty" tf:"monitoring_interval,omitempty"` + // ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the AWS Documentation what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + MonitoringRoleArn *string `json:"monitoringRoleArn,omitempty" tf:"monitoring_role_arn,omitempty"` + + // Reference to a Role in iam to populate monitoringRoleArn. + // +kubebuilder:validation:Optional + MonitoringRoleArnRef *v1.Reference `json:"monitoringRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate monitoringRoleArn. + // +kubebuilder:validation:Optional + MonitoringRoleArnSelector *v1.Selector `json:"monitoringRoleArnSelector,omitempty" tf:"-"` + // Specifies whether Performance Insights is enabled or not. PerformanceInsightsEnabled *bool `json:"performanceInsightsEnabled,omitempty" tf:"performance_insights_enabled,omitempty"` + // ARN for the KMS key to encrypt Performance Insights data. When specifying performance_insights_kms_key_id, performance_insights_enabled needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + PerformanceInsightsKMSKeyID *string `json:"performanceInsightsKmsKeyId,omitempty" tf:"performance_insights_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate performanceInsightsKmsKeyId. + // +kubebuilder:validation:Optional + PerformanceInsightsKMSKeyIDRef *v1.Reference `json:"performanceInsightsKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate performanceInsightsKmsKeyId. + // +kubebuilder:validation:Optional + PerformanceInsightsKMSKeyIDSelector *v1.Selector `json:"performanceInsightsKmsKeyIdSelector,omitempty" tf:"-"` + // Amount of time in days to retain Performance Insights data. Valid values are 7, 731 (2 years) or a multiple of 31. When specifying performance_insights_retention_period, performance_insights_enabled needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod *float64 `json:"performanceInsightsRetentionPeriod,omitempty" tf:"performance_insights_retention_period,omitempty"` diff --git a/apis/rds/v1beta1/zz_clusterroleassociation_types.go b/apis/rds/v1beta1/zz_clusterroleassociation_types.go index 1bd74ea484..2cd25d249a 100755 --- a/apis/rds/v1beta1/zz_clusterroleassociation_types.go +++ b/apis/rds/v1beta1/zz_clusterroleassociation_types.go @@ -19,8 +19,34 @@ import ( type ClusterRoleAssociationInitParameters struct { + // DB Cluster Identifier to associate with the IAM Role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"` + + // Reference to a Cluster in rds to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierRef *v1.Reference `json:"dbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierSelector *v1.Selector `json:"dbClusterIdentifierSelector,omitempty" tf:"-"` + // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the SupportedFeatureNames list returned by AWS CLI rds describe-db-engine-versions. FeatureName *string `json:"featureName,omitempty" tf:"feature_name,omitempty"` + + // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type ClusterRoleAssociationObservation struct { diff --git a/apis/rds/v1beta1/zz_clustersnapshot_types.go b/apis/rds/v1beta1/zz_clustersnapshot_types.go index ca3a308a3c..7ab2474025 100755 --- a/apis/rds/v1beta1/zz_clustersnapshot_types.go +++ b/apis/rds/v1beta1/zz_clustersnapshot_types.go @@ -19,6 +19,19 @@ import ( type ClusterSnapshotInitParameters struct { + // The DB Cluster Identifier from which to take the snapshot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"` + + // Reference to a Cluster in rds to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierRef *v1.Reference `json:"dbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate dbClusterIdentifier. + // +kubebuilder:validation:Optional + DBClusterIdentifierSelector *v1.Selector `json:"dbClusterIdentifierSelector,omitempty" tf:"-"` + // The Identifier for the snapshot. DBClusterSnapshotIdentifier *string `json:"dbClusterSnapshotIdentifier,omitempty" tf:"db_cluster_snapshot_identifier,omitempty"` diff --git a/apis/rds/v1beta1/zz_dbinstanceautomatedbackupsreplication_types.go b/apis/rds/v1beta1/zz_dbinstanceautomatedbackupsreplication_types.go index 7ae8b2be1f..17a13ae54e 100755 --- a/apis/rds/v1beta1/zz_dbinstanceautomatedbackupsreplication_types.go +++ b/apis/rds/v1beta1/zz_dbinstanceautomatedbackupsreplication_types.go @@ -19,11 +19,36 @@ import ( type DBInstanceAutomatedBackupsReplicationInitParameters struct { + // The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance. PreSignedURL *string `json:"preSignedUrl,omitempty" tf:"pre_signed_url,omitempty"` // The retention period for the replicated automated backups, defaults to 7. RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` + + // The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceDBInstanceArn *string `json:"sourceDbInstanceArn,omitempty" tf:"source_db_instance_arn,omitempty"` + + // Reference to a Instance in rds to populate sourceDbInstanceArn. + // +kubebuilder:validation:Optional + SourceDBInstanceArnRef *v1.Reference `json:"sourceDbInstanceArnRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate sourceDbInstanceArn. + // +kubebuilder:validation:Optional + SourceDBInstanceArnSelector *v1.Selector `json:"sourceDbInstanceArnSelector,omitempty" tf:"-"` } type DBInstanceAutomatedBackupsReplicationObservation struct { diff --git a/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go b/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go index 322683a041..b3143fc41f 100755 --- a/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go +++ b/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go @@ -25,12 +25,37 @@ type DBSnapshotCopyInitParameters struct { // The Destination region to place snapshot copy. DestinationRegion *string `json:"destinationRegion,omitempty" tf:"destination_region,omitempty"` + // KMS key ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The name of an option group to associate with the copy of the snapshot. OptionGroupName *string `json:"optionGroupName,omitempty" tf:"option_group_name,omitempty"` // he URL that contains a Signature Version 4 signed request. PresignedURL *string `json:"presignedUrl,omitempty" tf:"presigned_url,omitempty"` + // Snapshot identifier of the source snapshot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Snapshot + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("db_snapshot_arn",true) + SourceDBSnapshotIdentifier *string `json:"sourceDbSnapshotIdentifier,omitempty" tf:"source_db_snapshot_identifier,omitempty"` + + // Reference to a Snapshot in rds to populate sourceDbSnapshotIdentifier. + // +kubebuilder:validation:Optional + SourceDBSnapshotIdentifierRef *v1.Reference `json:"sourceDbSnapshotIdentifierRef,omitempty" tf:"-"` + + // Selector for a Snapshot in rds to populate sourceDbSnapshotIdentifier. + // +kubebuilder:validation:Optional + SourceDBSnapshotIdentifierSelector *v1.Selector `json:"sourceDbSnapshotIdentifierSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/rds/v1beta1/zz_eventsubscription_types.go b/apis/rds/v1beta1/zz_eventsubscription_types.go index afad499b2d..a51d705866 100755 --- a/apis/rds/v1beta1/zz_eventsubscription_types.go +++ b/apis/rds/v1beta1/zz_eventsubscription_types.go @@ -26,6 +26,19 @@ type EventSubscriptionInitParameters struct { // +listType=set EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"` + // The SNS topic to send events to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"` + + // Reference to a Topic in sns to populate snsTopic. + // +kubebuilder:validation:Optional + SnsTopicRef *v1.Reference `json:"snsTopicRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopic. + // +kubebuilder:validation:Optional + SnsTopicSelector *v1.Selector `json:"snsTopicSelector,omitempty" tf:"-"` + // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified. // +listType=set SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"` diff --git a/apis/rds/v1beta1/zz_generated.deepcopy.go b/apis/rds/v1beta1/zz_generated.deepcopy.go index eb25f55642..7b9857079e 100644 --- a/apis/rds/v1beta1/zz_generated.deepcopy.go +++ b/apis/rds/v1beta1/zz_generated.deepcopy.go @@ -36,6 +36,21 @@ func (in *AuthInitParameters) DeepCopyInto(out *AuthInitParameters) { *out = new(string) **out = **in } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) + **out = **in + } + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Username != nil { in, out := &in.Username, &out.Username *out = new(string) @@ -275,11 +290,41 @@ func (in *ClusterActivityStreamInitParameters) DeepCopyInto(out *ClusterActivity *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(string) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterActivityStreamInitParameters. @@ -494,6 +539,21 @@ func (in *ClusterEndpoint) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterEndpointInitParameters) DeepCopyInto(out *ClusterEndpointInitParameters) { *out = *in + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CustomEndpointType != nil { in, out := &in.CustomEndpointType, &out.CustomEndpointType *out = new(string) @@ -858,6 +918,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.DBSubnetGroupName != nil { + in, out := &in.DBSubnetGroupName, &out.DBSubnetGroupName + *out = new(string) + **out = **in + } + if in.DBSubnetGroupNameRef != nil { + in, out := &in.DBSubnetGroupNameRef, &out.DBSubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBSubnetGroupNameSelector != nil { + in, out := &in.DBSubnetGroupNameSelector, &out.DBSubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DBSystemID != nil { in, out := &in.DBSystemID, &out.DBSystemID *out = new(string) @@ -934,11 +1009,41 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ManageMasterUserPassword != nil { in, out := &in.ManageMasterUserPassword, &out.ManageMasterUserPassword *out = new(bool) **out = **in } + if in.MasterUserSecretKMSKeyID != nil { + in, out := &in.MasterUserSecretKMSKeyID, &out.MasterUserSecretKMSKeyID + *out = new(string) + **out = **in + } + if in.MasterUserSecretKMSKeyIDRef != nil { + in, out := &in.MasterUserSecretKMSKeyIDRef, &out.MasterUserSecretKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MasterUserSecretKMSKeyIDSelector != nil { + in, out := &in.MasterUserSecretKMSKeyIDSelector, &out.MasterUserSecretKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MasterUsername != nil { in, out := &in.MasterUsername, &out.MasterUsername *out = new(string) @@ -1038,6 +1143,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitParameters. @@ -1100,6 +1228,21 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(string) **out = **in } + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CopyTagsToSnapshot != nil { in, out := &in.CopyTagsToSnapshot, &out.CopyTagsToSnapshot *out = new(bool) @@ -1115,6 +1258,21 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(string) **out = **in } + if in.DBSubnetGroupName != nil { + in, out := &in.DBSubnetGroupName, &out.DBSubnetGroupName + *out = new(string) + **out = **in + } + if in.DBSubnetGroupNameRef != nil { + in, out := &in.DBSubnetGroupNameRef, &out.DBSubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBSubnetGroupNameSelector != nil { + in, out := &in.DBSubnetGroupNameSelector, &out.DBSubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Engine != nil { in, out := &in.Engine, &out.Engine *out = new(string) @@ -1135,11 +1293,41 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa *out = new(float64) **out = **in } + if in.MonitoringRoleArn != nil { + in, out := &in.MonitoringRoleArn, &out.MonitoringRoleArn + *out = new(string) + **out = **in + } + if in.MonitoringRoleArnRef != nil { + in, out := &in.MonitoringRoleArnRef, &out.MonitoringRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MonitoringRoleArnSelector != nil { + in, out := &in.MonitoringRoleArnSelector, &out.MonitoringRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PerformanceInsightsEnabled != nil { in, out := &in.PerformanceInsightsEnabled, &out.PerformanceInsightsEnabled *out = new(bool) **out = **in } + if in.PerformanceInsightsKMSKeyID != nil { + in, out := &in.PerformanceInsightsKMSKeyID, &out.PerformanceInsightsKMSKeyID + *out = new(string) + **out = **in + } + if in.PerformanceInsightsKMSKeyIDRef != nil { + in, out := &in.PerformanceInsightsKMSKeyIDRef, &out.PerformanceInsightsKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PerformanceInsightsKMSKeyIDSelector != nil { + in, out := &in.PerformanceInsightsKMSKeyIDSelector, &out.PerformanceInsightsKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PerformanceInsightsRetentionPeriod != nil { in, out := &in.PerformanceInsightsRetentionPeriod, &out.PerformanceInsightsRetentionPeriod *out = new(float64) @@ -2804,6 +2992,21 @@ func (in *ClusterRestoreToPointInTimeInitParameters) DeepCopyInto(out *ClusterRe *out = new(string) **out = **in } + if in.SourceClusterIdentifier != nil { + in, out := &in.SourceClusterIdentifier, &out.SourceClusterIdentifier + *out = new(string) + **out = **in + } + if in.SourceClusterIdentifierRef != nil { + in, out := &in.SourceClusterIdentifierRef, &out.SourceClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceClusterIdentifierSelector != nil { + in, out := &in.SourceClusterIdentifierSelector, &out.SourceClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.UseLatestRestorableTime != nil { in, out := &in.UseLatestRestorableTime, &out.UseLatestRestorableTime *out = new(bool) @@ -2931,11 +3134,41 @@ func (in *ClusterRoleAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterRoleAssociationInitParameters) DeepCopyInto(out *ClusterRoleAssociationInitParameters) { *out = *in + if in.DBClusterIdentifier != nil { + in, out := &in.DBClusterIdentifier, &out.DBClusterIdentifier + *out = new(string) + **out = **in + } + if in.DBClusterIdentifierRef != nil { + in, out := &in.DBClusterIdentifierRef, &out.DBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBClusterIdentifierSelector != nil { + in, out := &in.DBClusterIdentifierSelector, &out.DBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FeatureName != nil { in, out := &in.FeatureName, &out.FeatureName *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleAssociationInitParameters. @@ -3108,6 +3341,21 @@ func (in *ClusterRoleAssociationStatus) DeepCopy() *ClusterRoleAssociationStatus // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterS3ImportInitParameters) DeepCopyInto(out *ClusterS3ImportInitParameters) { *out = *in + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.BucketPrefix != nil { in, out := &in.BucketPrefix, &out.BucketPrefix *out = new(string) @@ -3260,6 +3508,21 @@ func (in *ClusterSnapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterSnapshotInitParameters) DeepCopyInto(out *ClusterSnapshotInitParameters) { *out = *in + if in.DBClusterIdentifier != nil { + in, out := &in.DBClusterIdentifier, &out.DBClusterIdentifier + *out = new(string) + **out = **in + } + if in.DBClusterIdentifierRef != nil { + in, out := &in.DBClusterIdentifierRef, &out.DBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBClusterIdentifierSelector != nil { + in, out := &in.DBClusterIdentifierSelector, &out.DBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DBClusterSnapshotIdentifier != nil { in, out := &in.DBClusterSnapshotIdentifier, &out.DBClusterSnapshotIdentifier *out = new(string) @@ -3752,6 +4015,21 @@ func (in *DBInstanceAutomatedBackupsReplication) DeepCopyObject() runtime.Object // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DBInstanceAutomatedBackupsReplicationInitParameters) DeepCopyInto(out *DBInstanceAutomatedBackupsReplicationInitParameters) { *out = *in + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PreSignedURL != nil { in, out := &in.PreSignedURL, &out.PreSignedURL *out = new(string) @@ -3762,6 +4040,21 @@ func (in *DBInstanceAutomatedBackupsReplicationInitParameters) DeepCopyInto(out *out = new(float64) **out = **in } + if in.SourceDBInstanceArn != nil { + in, out := &in.SourceDBInstanceArn, &out.SourceDBInstanceArn + *out = new(string) + **out = **in + } + if in.SourceDBInstanceArnRef != nil { + in, out := &in.SourceDBInstanceArnRef, &out.SourceDBInstanceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceDBInstanceArnSelector != nil { + in, out := &in.SourceDBInstanceArnSelector, &out.SourceDBInstanceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBInstanceAutomatedBackupsReplicationInitParameters. @@ -3981,6 +4274,21 @@ func (in *DBSnapshotCopyInitParameters) DeepCopyInto(out *DBSnapshotCopyInitPara *out = new(string) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.OptionGroupName != nil { in, out := &in.OptionGroupName, &out.OptionGroupName *out = new(string) @@ -3991,6 +4299,21 @@ func (in *DBSnapshotCopyInitParameters) DeepCopyInto(out *DBSnapshotCopyInitPara *out = new(string) **out = **in } + if in.SourceDBSnapshotIdentifier != nil { + in, out := &in.SourceDBSnapshotIdentifier, &out.SourceDBSnapshotIdentifier + *out = new(string) + **out = **in + } + if in.SourceDBSnapshotIdentifierRef != nil { + in, out := &in.SourceDBSnapshotIdentifierRef, &out.SourceDBSnapshotIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceDBSnapshotIdentifierSelector != nil { + in, out := &in.SourceDBSnapshotIdentifierSelector, &out.SourceDBSnapshotIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -4395,6 +4718,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn } } } + if in.SnsTopic != nil { + in, out := &in.SnsTopic, &out.SnsTopic + *out = new(string) + **out = **in + } + if in.SnsTopicRef != nil { + in, out := &in.SnsTopicRef, &out.SnsTopicRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicSelector != nil { + in, out := &in.SnsTopicSelector, &out.SnsTopicSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceIds != nil { in, out := &in.SourceIds, &out.SourceIds *out = make([]*string, len(*in)) @@ -4743,6 +5081,21 @@ func (in *GlobalClusterInitParameters) DeepCopyInto(out *GlobalClusterInitParame *out = new(bool) **out = **in } + if in.SourceDBClusterIdentifier != nil { + in, out := &in.SourceDBClusterIdentifier, &out.SourceDBClusterIdentifier + *out = new(string) + **out = **in + } + if in.SourceDBClusterIdentifierRef != nil { + in, out := &in.SourceDBClusterIdentifierRef, &out.SourceDBClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceDBClusterIdentifierSelector != nil { + in, out := &in.SourceDBClusterIdentifierSelector, &out.SourceDBClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StorageEncrypted != nil { in, out := &in.StorageEncrypted, &out.StorageEncrypted *out = new(bool) @@ -5131,6 +5484,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.DBSubnetGroupName != nil { + in, out := &in.DBSubnetGroupName, &out.DBSubnetGroupName + *out = new(string) + **out = **in + } + if in.DBSubnetGroupNameRef != nil { + in, out := &in.DBSubnetGroupNameRef, &out.DBSubnetGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBSubnetGroupNameSelector != nil { + in, out := &in.DBSubnetGroupNameSelector, &out.DBSubnetGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DeleteAutomatedBackups != nil { in, out := &in.DeleteAutomatedBackups, &out.DeleteAutomatedBackups *out = new(bool) @@ -5192,6 +5560,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(float64) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LicenseModel != nil { in, out := &in.LicenseModel, &out.LicenseModel *out = new(string) @@ -5202,10 +5585,25 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } - if in.ManageMasterUserPassword != nil { - in, out := &in.ManageMasterUserPassword, &out.ManageMasterUserPassword - *out = new(bool) - **out = **in + if in.ManageMasterUserPassword != nil { + in, out := &in.ManageMasterUserPassword, &out.ManageMasterUserPassword + *out = new(bool) + **out = **in + } + if in.MasterUserSecretKMSKeyID != nil { + in, out := &in.MasterUserSecretKMSKeyID, &out.MasterUserSecretKMSKeyID + *out = new(string) + **out = **in + } + if in.MasterUserSecretKMSKeyIDRef != nil { + in, out := &in.MasterUserSecretKMSKeyIDRef, &out.MasterUserSecretKMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MasterUserSecretKMSKeyIDSelector != nil { + in, out := &in.MasterUserSecretKMSKeyIDSelector, &out.MasterUserSecretKMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } if in.MaxAllocatedStorage != nil { in, out := &in.MaxAllocatedStorage, &out.MaxAllocatedStorage @@ -5217,6 +5615,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(float64) **out = **in } + if in.MonitoringRoleArn != nil { + in, out := &in.MonitoringRoleArn, &out.MonitoringRoleArn + *out = new(string) + **out = **in + } + if in.MonitoringRoleArnRef != nil { + in, out := &in.MonitoringRoleArnRef, &out.MonitoringRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MonitoringRoleArnSelector != nil { + in, out := &in.MonitoringRoleArnSelector, &out.MonitoringRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MultiAz != nil { in, out := &in.MultiAz, &out.MultiAz *out = new(bool) @@ -5237,6 +5650,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.ParameterGroupName != nil { + in, out := &in.ParameterGroupName, &out.ParameterGroupName + *out = new(string) + **out = **in + } + if in.ParameterGroupNameRef != nil { + in, out := &in.ParameterGroupNameRef, &out.ParameterGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ParameterGroupNameSelector != nil { + in, out := &in.ParameterGroupNameSelector, &out.ParameterGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PerformanceInsightsEnabled != nil { in, out := &in.PerformanceInsightsEnabled, &out.PerformanceInsightsEnabled *out = new(bool) @@ -5267,6 +5695,21 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.ReplicateSourceDB != nil { + in, out := &in.ReplicateSourceDB, &out.ReplicateSourceDB + *out = new(string) + **out = **in + } + if in.ReplicateSourceDBRef != nil { + in, out := &in.ReplicateSourceDBRef, &out.ReplicateSourceDBRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ReplicateSourceDBSelector != nil { + in, out := &in.ReplicateSourceDBSelector, &out.ReplicateSourceDBSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RestoreToPointInTime != nil { in, out := &in.RestoreToPointInTime, &out.RestoreToPointInTime *out = make([]RestoreToPointInTimeInitParameters, len(*in)) @@ -5332,6 +5775,29 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { *out = new(string) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters. @@ -6247,11 +6713,41 @@ func (in *InstanceRoleAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceRoleAssociationInitParameters) DeepCopyInto(out *InstanceRoleAssociationInitParameters) { *out = *in + if in.DBInstanceIdentifier != nil { + in, out := &in.DBInstanceIdentifier, &out.DBInstanceIdentifier + *out = new(string) + **out = **in + } + if in.DBInstanceIdentifierRef != nil { + in, out := &in.DBInstanceIdentifierRef, &out.DBInstanceIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBInstanceIdentifierSelector != nil { + in, out := &in.DBInstanceIdentifierSelector, &out.DBInstanceIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FeatureName != nil { in, out := &in.FeatureName, &out.FeatureName *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRoleAssociationInitParameters. @@ -7535,6 +8031,21 @@ func (in *ProxyDefaultTargetGroupInitParameters) DeepCopyInto(out *ProxyDefaultT (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DBProxyName != nil { + in, out := &in.DBProxyName, &out.DBProxyName + *out = new(string) + **out = **in + } + if in.DBProxyNameRef != nil { + in, out := &in.DBProxyNameRef, &out.DBProxyNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBProxyNameSelector != nil { + in, out := &in.DBProxyNameSelector, &out.DBProxyNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyDefaultTargetGroupInitParameters. @@ -7749,6 +8260,29 @@ func (in *ProxyEndpointInitParameters) DeepCopyInto(out *ProxyEndpointInitParame *out = new(string) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *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.VPCSubnetIds != nil { in, out := &in.VPCSubnetIds, &out.VPCSubnetIds *out = make([]*string, len(*in)) @@ -8063,6 +8597,21 @@ func (in *ProxyInitParameters) DeepCopyInto(out *ProxyInitParameters) { *out = new(bool) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -8079,6 +8628,29 @@ func (in *ProxyInitParameters) DeepCopyInto(out *ProxyInitParameters) { (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *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.VPCSubnetIds != nil { in, out := &in.VPCSubnetIds, &out.VPCSubnetIds *out = make([]*string, len(*in)) @@ -8432,6 +9004,36 @@ func (in *ProxyTargetInitParameters) DeepCopyInto(out *ProxyTargetInitParameters *out = new(string) **out = **in } + if in.DBInstanceIdentifier != nil { + in, out := &in.DBInstanceIdentifier, &out.DBInstanceIdentifier + *out = new(string) + **out = **in + } + if in.DBInstanceIdentifierRef != nil { + in, out := &in.DBInstanceIdentifierRef, &out.DBInstanceIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBInstanceIdentifierSelector != nil { + in, out := &in.DBInstanceIdentifierSelector, &out.DBInstanceIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DBProxyName != nil { + in, out := &in.DBProxyName, &out.DBProxyName + *out = new(string) + **out = **in + } + if in.DBProxyNameRef != nil { + in, out := &in.DBProxyNameRef, &out.DBProxyNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBProxyNameSelector != nil { + in, out := &in.DBProxyNameSelector, &out.DBProxyNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TargetGroupName != nil { in, out := &in.TargetGroupName, &out.TargetGroupName *out = new(string) @@ -9111,6 +9713,21 @@ func (in *Snapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters) { *out = *in + if in.DBInstanceIdentifier != nil { + in, out := &in.DBInstanceIdentifier, &out.DBInstanceIdentifier + *out = new(string) + **out = **in + } + if in.DBInstanceIdentifierRef != nil { + in, out := &in.DBInstanceIdentifierRef, &out.DBInstanceIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DBInstanceIdentifierSelector != nil { + in, out := &in.DBInstanceIdentifierSelector, &out.DBInstanceIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SharedAccounts != nil { in, out := &in.SharedAccounts, &out.SharedAccounts *out = make([]*string, len(*in)) @@ -9467,6 +10084,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/rds/v1beta1/zz_generated.resolvers.go b/apis/rds/v1beta1/zz_generated.resolvers.go index a03423d729..bd4af210a9 100644 --- a/apis/rds/v1beta1/zz_generated.resolvers.go +++ b/apis/rds/v1beta1/zz_generated.resolvers.go @@ -128,6 +128,106 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBSubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBSubnetGroupNameRef, + Selector: mg.Spec.InitProvider.DBSubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBSubnetGroupName") + } + mg.Spec.InitProvider.DBSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBSubnetGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MasterUserSecretKMSKeyID), + Extract: resource.ExtractParamPath("key_id", true), + Reference: mg.Spec.InitProvider.MasterUserSecretKMSKeyIDRef, + Selector: mg.Spec.InitProvider.MasterUserSecretKMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MasterUserSecretKMSKeyID") + } + mg.Spec.InitProvider.MasterUserSecretKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MasterUserSecretKMSKeyIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.RestoreToPointInTime); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifierRef, + Selector: mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifier") + } + mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RestoreToPointInTime[i3].SourceClusterIdentifierRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.S3Import); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3Import[i3].BucketName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.S3Import[i3].BucketNameRef, + Selector: mg.Spec.InitProvider.S3Import[i3].BucketNameSelector, + To: reference.To{ + List: &v1beta11.BucketList{}, + Managed: &v1beta11.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3Import[i3].BucketName") + } + mg.Spec.InitProvider.S3Import[i3].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3Import[i3].BucketNameRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -170,6 +270,38 @@ func (mg *ClusterActivityStream) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } @@ -196,6 +328,22 @@ func (mg *ClusterEndpoint) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -270,6 +418,70 @@ func (mg *ClusterInstance) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.PerformanceInsightsKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PerformanceInsightsKMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBSubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBSubnetGroupNameRef, + Selector: mg.Spec.InitProvider.DBSubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBSubnetGroupName") + } + mg.Spec.InitProvider.DBSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBSubnetGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MonitoringRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.MonitoringRoleArnRef, + Selector: mg.Spec.InitProvider.MonitoringRoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MonitoringRoleArn") + } + mg.Spec.InitProvider.MonitoringRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MonitoringRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PerformanceInsightsKMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PerformanceInsightsKMSKeyIDRef, + Selector: mg.Spec.InitProvider.PerformanceInsightsKMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PerformanceInsightsKMSKeyID") + } + mg.Spec.InitProvider.PerformanceInsightsKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PerformanceInsightsKMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -312,6 +524,38 @@ func (mg *ClusterRoleAssociation) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.DBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBClusterIdentifier") + } + mg.Spec.InitProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBClusterIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -338,6 +582,22 @@ func (mg *ClusterSnapshot) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.DBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBClusterIdentifier") + } + mg.Spec.InitProvider.DBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -380,6 +640,38 @@ func (mg *DBInstanceAutomatedBackupsReplication) ResolveReferences(ctx context.C mg.Spec.ForProvider.SourceDBInstanceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceDBInstanceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceDBInstanceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceDBInstanceArnRef, + Selector: mg.Spec.InitProvider.SourceDBInstanceArnSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceDBInstanceArn") + } + mg.Spec.InitProvider.SourceDBInstanceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceDBInstanceArnRef = rsp.ResolvedReference + return nil } @@ -422,6 +714,38 @@ func (mg *DBSnapshotCopy) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.SourceDBSnapshotIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceDBSnapshotIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceDBSnapshotIdentifier), + Extract: resource.ExtractParamPath("db_snapshot_arn", true), + Reference: mg.Spec.InitProvider.SourceDBSnapshotIdentifierRef, + Selector: mg.Spec.InitProvider.SourceDBSnapshotIdentifierSelector, + To: reference.To{ + List: &SnapshotList{}, + Managed: &Snapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceDBSnapshotIdentifier") + } + mg.Spec.InitProvider.SourceDBSnapshotIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceDBSnapshotIdentifierRef = rsp.ResolvedReference + return nil } @@ -448,6 +772,22 @@ func (mg *EventSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SnsTopic = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopic), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicRef, + Selector: mg.Spec.InitProvider.SnsTopicSelector, + To: reference.To{ + List: &v1beta14.TopicList{}, + Managed: &v1beta14.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopic") + } + mg.Spec.InitProvider.SnsTopic = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicRef = rsp.ResolvedReference + return nil } @@ -474,6 +814,22 @@ func (mg *GlobalCluster) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceDBClusterIdentifier), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceDBClusterIdentifierRef, + Selector: mg.Spec.InitProvider.SourceDBClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceDBClusterIdentifier") + } + mg.Spec.InitProvider.SourceDBClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceDBClusterIdentifierRef = rsp.ResolvedReference + return nil } @@ -597,6 +953,118 @@ func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBSubnetGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBSubnetGroupNameRef, + Selector: mg.Spec.InitProvider.DBSubnetGroupNameSelector, + To: reference.To{ + List: &SubnetGroupList{}, + Managed: &SubnetGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBSubnetGroupName") + } + mg.Spec.InitProvider.DBSubnetGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBSubnetGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MasterUserSecretKMSKeyID), + Extract: resource.ExtractParamPath("key_id", true), + Reference: mg.Spec.InitProvider.MasterUserSecretKMSKeyIDRef, + Selector: mg.Spec.InitProvider.MasterUserSecretKMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MasterUserSecretKMSKeyID") + } + mg.Spec.InitProvider.MasterUserSecretKMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MasterUserSecretKMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MonitoringRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.MonitoringRoleArnRef, + Selector: mg.Spec.InitProvider.MonitoringRoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MonitoringRoleArn") + } + mg.Spec.InitProvider.MonitoringRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MonitoringRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ParameterGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ParameterGroupNameRef, + Selector: mg.Spec.InitProvider.ParameterGroupNameSelector, + To: reference.To{ + List: &ParameterGroupList{}, + Managed: &ParameterGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ParameterGroupName") + } + mg.Spec.InitProvider.ParameterGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ParameterGroupNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ReplicateSourceDB), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ReplicateSourceDBRef, + Selector: mg.Spec.InitProvider.ReplicateSourceDBSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ReplicateSourceDB") + } + mg.Spec.InitProvider.ReplicateSourceDB = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ReplicateSourceDBRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -639,6 +1107,38 @@ func (mg *InstanceRoleAssociation) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBInstanceIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBInstanceIdentifierRef, + Selector: mg.Spec.InitProvider.DBInstanceIdentifierSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBInstanceIdentifier") + } + mg.Spec.InitProvider.DBInstanceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBInstanceIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -700,6 +1200,56 @@ func (mg *Proxy) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.Auth); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Auth[i3].SecretArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Auth[i3].SecretArnRef, + Selector: mg.Spec.InitProvider.Auth[i3].SecretArnSelector, + To: reference.To{ + List: &v1beta15.SecretList{}, + Managed: &v1beta15.Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Auth[i3].SecretArn") + } + mg.Spec.InitProvider.Auth[i3].SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Auth[i3].SecretArnRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -726,6 +1276,22 @@ func (mg *ProxyDefaultTargetGroup) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.DBProxyName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBProxyNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBProxyName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBProxyNameRef, + Selector: mg.Spec.InitProvider.DBProxyNameSelector, + To: reference.To{ + List: &ProxyList{}, + Managed: &Proxy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBProxyName") + } + mg.Spec.InitProvider.DBProxyName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBProxyNameRef = rsp.ResolvedReference + return nil } @@ -769,6 +1335,22 @@ func (mg *ProxyEndpoint) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -811,6 +1393,38 @@ func (mg *ProxyTarget) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.DBProxyName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBProxyNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBInstanceIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBInstanceIdentifierRef, + Selector: mg.Spec.InitProvider.DBInstanceIdentifierSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBInstanceIdentifier") + } + mg.Spec.InitProvider.DBInstanceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBInstanceIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBProxyName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBProxyNameRef, + Selector: mg.Spec.InitProvider.DBProxyNameSelector, + To: reference.To{ + List: &ProxyList{}, + Managed: &Proxy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBProxyName") + } + mg.Spec.InitProvider.DBProxyName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBProxyNameRef = rsp.ResolvedReference + return nil } @@ -837,6 +1451,22 @@ func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.DBInstanceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DBInstanceIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DBInstanceIdentifier), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DBInstanceIdentifierRef, + Selector: mg.Spec.InitProvider.DBInstanceIdentifierSelector, + To: reference.To{ + List: &InstanceList{}, + Managed: &Instance{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DBInstanceIdentifier") + } + mg.Spec.InitProvider.DBInstanceIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DBInstanceIdentifierRef = rsp.ResolvedReference + return nil } @@ -863,5 +1493,21 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta12.SubnetList{}, + Managed: &v1beta12.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/rds/v1beta1/zz_globalcluster_types.go b/apis/rds/v1beta1/zz_globalcluster_types.go index da862a42ec..6b82889077 100755 --- a/apis/rds/v1beta1/zz_globalcluster_types.go +++ b/apis/rds/v1beta1/zz_globalcluster_types.go @@ -34,6 +34,19 @@ type GlobalClusterInitParameters struct { // Enable to remove DB Cluster members from Global Cluster on destroy. Required with source_db_cluster_identifier. ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"` + // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"` + + // Reference to a Cluster in rds to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierRef *v1.Reference `json:"sourceDbClusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in rds to populate sourceDbClusterIdentifier. + // +kubebuilder:validation:Optional + SourceDBClusterIdentifierSelector *v1.Selector `json:"sourceDbClusterIdentifierSelector,omitempty" tf:"-"` + // Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified and encrypted. StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"` } diff --git a/apis/rds/v1beta1/zz_instance_types.go b/apis/rds/v1beta1/zz_instance_types.go index b2cb62ac01..134f7263b5 100755 --- a/apis/rds/v1beta1/zz_instance_types.go +++ b/apis/rds/v1beta1/zz_instance_types.go @@ -103,6 +103,24 @@ type InstanceInitParameters struct { // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the AWS documentation for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"` + // Name of DB subnet group. DB instance will + // be created in the VPC associated with the DB subnet group. If unspecified, will + // be created in the default VPC, or in EC2 Classic, if available. When working + // with read replicas, it should be specified only if the source database + // specifies an instance in another AWS Region. See DBSubnetGroupName in API + // action CreateDBInstanceReadReplica + // for additional read replica constraints. + // +crossplane:generate:reference:type=SubnetGroup + DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"` + + // Reference to a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameRef *v1.Reference `json:"dbSubnetGroupNameRef,omitempty" tf:"-"` + + // Selector for a SubnetGroup to populate dbSubnetGroupName. + // +kubebuilder:validation:Optional + DBSubnetGroupNameSelector *v1.Selector `json:"dbSubnetGroupNameSelector,omitempty" tf:"-"` + // Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is true. DeleteAutomatedBackups *bool `json:"deleteAutomatedBackups,omitempty" tf:"delete_automated_backups,omitempty"` @@ -143,6 +161,20 @@ type InstanceInitParameters struct { // See the RDS User Guide for details. Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` + // The ARN for the KMS encryption key. If creating an + // encrypted replica, set this to the destination KMS ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // License model information for this DB instance. Valid values for this field are as follows: LicenseModel *string `json:"licenseModel,omitempty" tf:"license_model,omitempty"` @@ -156,6 +188,19 @@ type InstanceInitParameters struct { // Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if password is provided. ManageMasterUserPassword *bool `json:"manageMasterUserPassword,omitempty" tf:"manage_master_user_password,omitempty"` + // The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key_id",true) + MasterUserSecretKMSKeyID *string `json:"masterUserSecretKmsKeyId,omitempty" tf:"master_user_secret_kms_key_id,omitempty"` + + // Reference to a Key in kms to populate masterUserSecretKmsKeyId. + // +kubebuilder:validation:Optional + MasterUserSecretKMSKeyIDRef *v1.Reference `json:"masterUserSecretKmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate masterUserSecretKmsKeyId. + // +kubebuilder:validation:Optional + MasterUserSecretKMSKeyIDSelector *v1.Selector `json:"masterUserSecretKmsKeyIdSelector,omitempty" tf:"-"` + // When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to allocated_storage. Must be greater than or equal to allocated_storage or 0 to disable Storage Autoscaling. MaxAllocatedStorage *float64 `json:"maxAllocatedStorage,omitempty" tf:"max_allocated_storage,omitempty"` @@ -165,6 +210,23 @@ type InstanceInitParameters struct { // Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval *float64 `json:"monitoringInterval,omitempty" tf:"monitoring_interval,omitempty"` + // The ARN for the IAM role that permits RDS + // to send enhanced monitoring metrics to CloudWatch Logs. You can find more + // information on the AWS + // Documentation + // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + MonitoringRoleArn *string `json:"monitoringRoleArn,omitempty" tf:"monitoring_role_arn,omitempty"` + + // Reference to a Role in iam to populate monitoringRoleArn. + // +kubebuilder:validation:Optional + MonitoringRoleArnRef *v1.Reference `json:"monitoringRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate monitoringRoleArn. + // +kubebuilder:validation:Optional + MonitoringRoleArnSelector *v1.Selector `json:"monitoringRoleArnSelector,omitempty" tf:"-"` + // Specifies if the RDS instance is multi-AZ MultiAz *bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"` @@ -178,6 +240,18 @@ type InstanceInitParameters struct { // Name of the DB option group to associate. OptionGroupName *string `json:"optionGroupName,omitempty" tf:"option_group_name,omitempty"` + // Name of the DB parameter group to associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.ParameterGroup + ParameterGroupName *string `json:"parameterGroupName,omitempty" tf:"parameter_group_name,omitempty"` + + // Reference to a ParameterGroup in rds to populate parameterGroupName. + // +kubebuilder:validation:Optional + ParameterGroupNameRef *v1.Reference `json:"parameterGroupNameRef,omitempty" tf:"-"` + + // Selector for a ParameterGroup in rds to populate parameterGroupName. + // +kubebuilder:validation:Optional + ParameterGroupNameSelector *v1.Selector `json:"parameterGroupNameSelector,omitempty" tf:"-"` + // Specifies whether Performance Insights are enabled. Defaults to false. PerformanceInsightsEnabled *bool `json:"performanceInsightsEnabled,omitempty" tf:"performance_insights_enabled,omitempty"` @@ -198,6 +272,26 @@ type InstanceInitParameters struct { // is only supported by Oracle instances. Oracle replicas operate in open-read-only mode unless otherwise specified. See Working with Oracle Read Replicas for more information. ReplicaMode *string `json:"replicaMode,omitempty" tf:"replica_mode,omitempty"` + // Specifies that this resource is a Replicate + // database, and to use this value as the source database. This correlates to the + // identifier of another Amazon RDS Database to replicate (if replicating within + // a single region) or ARN of the Amazon RDS Database to replicate (if replicating + // cross-region). Note that if you are + // creating a cross-region replica of an encrypted database you will also need to + // specify a kms_key_id. See DB Instance Replication and Working with + // PostgreSQL and MySQL Read Replicas + // for more information on using Replication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + ReplicateSourceDB *string `json:"replicateSourceDb,omitempty" tf:"replicate_source_db,omitempty"` + + // Reference to a Instance in rds to populate replicateSourceDb. + // +kubebuilder:validation:Optional + ReplicateSourceDBRef *v1.Reference `json:"replicateSourceDbRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate replicateSourceDb. + // +kubebuilder:validation:Optional + ReplicateSourceDBSelector *v1.Selector `json:"replicateSourceDbSelector,omitempty" tf:"-"` + // A configuration block for restoring a DB instance to an arbitrary point in time. Requires the identifier argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details. RestoreToPointInTime []RestoreToPointInTimeInitParameters `json:"restoreToPointInTime,omitempty" tf:"restore_to_point_in_time,omitempty"` @@ -244,6 +338,22 @@ type InstanceInitParameters struct { // Username for the master DB user. Cannot be specified for a replica. Username *string `json:"username,omitempty" tf:"username,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // List of VPC security groups to + // associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type InstanceObservation struct { diff --git a/apis/rds/v1beta1/zz_instanceroleassociation_types.go b/apis/rds/v1beta1/zz_instanceroleassociation_types.go index 0a74cb4309..84cd90c272 100755 --- a/apis/rds/v1beta1/zz_instanceroleassociation_types.go +++ b/apis/rds/v1beta1/zz_instanceroleassociation_types.go @@ -19,8 +19,33 @@ import ( type InstanceRoleAssociationInitParameters struct { + // DB Instance Identifier to associate with the IAM Role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + DBInstanceIdentifier *string `json:"dbInstanceIdentifier,omitempty" tf:"db_instance_identifier,omitempty"` + + // Reference to a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierRef *v1.Reference `json:"dbInstanceIdentifierRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierSelector *v1.Selector `json:"dbInstanceIdentifierSelector,omitempty" tf:"-"` + // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the SupportedFeatureNames list returned by AWS CLI rds describe-db-engine-versions. FeatureName *string `json:"featureName,omitempty" tf:"feature_name,omitempty"` + + // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` } type InstanceRoleAssociationObservation struct { diff --git a/apis/rds/v1beta1/zz_proxy_types.go b/apis/rds/v1beta1/zz_proxy_types.go index fe97eddd3f..d5b5ddffad 100755 --- a/apis/rds/v1beta1/zz_proxy_types.go +++ b/apis/rds/v1beta1/zz_proxy_types.go @@ -31,6 +31,19 @@ type AuthInitParameters struct { // Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of DISABLED, REQUIRED. IAMAuth *string `json:"iamAuth,omitempty" tf:"iam_auth,omitempty"` + // The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.Reference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` + // The name of the database user to which the proxy connects. Username *string `json:"username,omitempty" tf:"username,omitempty"` } @@ -110,10 +123,38 @@ type ProxyInitParameters struct { // A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy. RequireTLS *bool `json:"requireTls,omitempty" tf:"require_tls,omitempty"` + // The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // One or more VPC security group IDs to associate with the new proxy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` + // One or more VPC subnet IDs to associate with the new proxy. // +listType=set VPCSubnetIds []*string `json:"vpcSubnetIds,omitempty" tf:"vpc_subnet_ids,omitempty"` diff --git a/apis/rds/v1beta1/zz_proxydefaulttargetgroup_types.go b/apis/rds/v1beta1/zz_proxydefaulttargetgroup_types.go index 8fa00f8d57..7a52127c81 100755 --- a/apis/rds/v1beta1/zz_proxydefaulttargetgroup_types.go +++ b/apis/rds/v1beta1/zz_proxydefaulttargetgroup_types.go @@ -83,6 +83,18 @@ type ProxyDefaultTargetGroupInitParameters struct { // The settings that determine the size and behavior of the connection pool for the target group. ConnectionPoolConfig []ConnectionPoolConfigInitParameters `json:"connectionPoolConfig,omitempty" tf:"connection_pool_config,omitempty"` + + // Name of the RDS DB Proxy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Proxy + DBProxyName *string `json:"dbProxyName,omitempty" tf:"db_proxy_name,omitempty"` + + // Reference to a Proxy in rds to populate dbProxyName. + // +kubebuilder:validation:Optional + DBProxyNameRef *v1.Reference `json:"dbProxyNameRef,omitempty" tf:"-"` + + // Selector for a Proxy in rds to populate dbProxyName. + // +kubebuilder:validation:Optional + DBProxyNameSelector *v1.Selector `json:"dbProxyNameSelector,omitempty" tf:"-"` } type ProxyDefaultTargetGroupObservation struct { diff --git a/apis/rds/v1beta1/zz_proxyendpoint_types.go b/apis/rds/v1beta1/zz_proxyendpoint_types.go index 1b8d714bd9..400141fb49 100755 --- a/apis/rds/v1beta1/zz_proxyendpoint_types.go +++ b/apis/rds/v1beta1/zz_proxyendpoint_types.go @@ -26,6 +26,21 @@ type ProxyEndpointInitParameters struct { // Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is READ_WRITE. Valid values are READ_WRITE and READ_ONLY. TargetRole *string `json:"targetRole,omitempty" tf:"target_role,omitempty"` + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // One or more VPC security group IDs to associate with the new proxy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` + // One or more VPC subnet IDs to associate with the new proxy. // +listType=set VPCSubnetIds []*string `json:"vpcSubnetIds,omitempty" tf:"vpc_subnet_ids,omitempty"` diff --git a/apis/rds/v1beta1/zz_proxytarget_types.go b/apis/rds/v1beta1/zz_proxytarget_types.go index 89acccab9b..4b4d6e125e 100755 --- a/apis/rds/v1beta1/zz_proxytarget_types.go +++ b/apis/rds/v1beta1/zz_proxytarget_types.go @@ -22,6 +22,30 @@ type ProxyTargetInitParameters struct { // DB cluster identifier. DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"` + // DB instance identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + DBInstanceIdentifier *string `json:"dbInstanceIdentifier,omitempty" tf:"db_instance_identifier,omitempty"` + + // Reference to a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierRef *v1.Reference `json:"dbInstanceIdentifierRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierSelector *v1.Selector `json:"dbInstanceIdentifierSelector,omitempty" tf:"-"` + + // The name of the DB proxy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Proxy + DBProxyName *string `json:"dbProxyName,omitempty" tf:"db_proxy_name,omitempty"` + + // Reference to a Proxy in rds to populate dbProxyName. + // +kubebuilder:validation:Optional + DBProxyNameRef *v1.Reference `json:"dbProxyNameRef,omitempty" tf:"-"` + + // Selector for a Proxy in rds to populate dbProxyName. + // +kubebuilder:validation:Optional + DBProxyNameSelector *v1.Selector `json:"dbProxyNameSelector,omitempty" tf:"-"` + // The name of the target group. TargetGroupName *string `json:"targetGroupName,omitempty" tf:"target_group_name,omitempty"` } diff --git a/apis/rds/v1beta1/zz_snapshot_types.go b/apis/rds/v1beta1/zz_snapshot_types.go index 8aac9c1c8e..a41d6180cc 100755 --- a/apis/rds/v1beta1/zz_snapshot_types.go +++ b/apis/rds/v1beta1/zz_snapshot_types.go @@ -19,6 +19,18 @@ import ( type SnapshotInitParameters struct { + // The DB Instance Identifier from which to take the snapshot. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance + DBInstanceIdentifier *string `json:"dbInstanceIdentifier,omitempty" tf:"db_instance_identifier,omitempty"` + + // Reference to a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierRef *v1.Reference `json:"dbInstanceIdentifierRef,omitempty" tf:"-"` + + // Selector for a Instance in rds to populate dbInstanceIdentifier. + // +kubebuilder:validation:Optional + DBInstanceIdentifierSelector *v1.Selector `json:"dbInstanceIdentifierSelector,omitempty" tf:"-"` + // List of AWS Account ids to share snapshot with, use all to make snaphot public. // +listType=set SharedAccounts []*string `json:"sharedAccounts,omitempty" tf:"shared_accounts,omitempty"` diff --git a/apis/rds/v1beta1/zz_subnetgroup_types.go b/apis/rds/v1beta1/zz_subnetgroup_types.go index 941d0f6aa9..99bd7548ed 100755 --- a/apis/rds/v1beta1/zz_subnetgroup_types.go +++ b/apis/rds/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,21 @@ type SubnetGroupInitParameters struct { // The description of the DB subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // A list of VPC subnet IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/redshift/v1beta1/zz_cluster_types.go b/apis/redshift/v1beta1/zz_cluster_types.go index 79c61bd3c6..53c6638fd0 100755 --- a/apis/redshift/v1beta1/zz_cluster_types.go +++ b/apis/redshift/v1beta1/zz_cluster_types.go @@ -62,6 +62,19 @@ type ClusterInitParameters struct { // If you do not provide a name, Amazon Redshift will create a default database called dev. DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` + // The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate defaultIamRoleArn. + // +kubebuilder:validation:Optional + DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate defaultIamRoleArn. + // +kubebuilder:validation:Optional + DefaultIAMRoleArnSelector *v1.Selector `json:"defaultIamRoleArnSelector,omitempty" tf:"-"` + // The Elastic IP (EIP) address for the cluster. ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"` @@ -77,6 +90,33 @@ type ClusterInitParameters struct { // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skip_final_snapshot must be false. FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"` + // References to Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"` + + // Selector for a list of Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + + // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:refFieldName=IAMRoleRefs + // +crossplane:generate:reference:selectorFieldName=IAMRoleSelector + // +listType=set + IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"` + + // The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Logging, documented below. Logging []LoggingInitParameters `json:"logging,omitempty" tf:"logging,omitempty"` @@ -137,6 +177,21 @@ type ClusterInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` } type ClusterNodesInitParameters struct { diff --git a/apis/redshift/v1beta1/zz_eventsubscription_types.go b/apis/redshift/v1beta1/zz_eventsubscription_types.go index 7c593487c7..5fa6b1e957 100755 --- a/apis/redshift/v1beta1/zz_eventsubscription_types.go +++ b/apis/redshift/v1beta1/zz_eventsubscription_types.go @@ -29,6 +29,19 @@ type EventSubscriptionInitParameters struct { // The event severity to be published by the notification subscription. Valid options are INFO or ERROR. Default value of INFO. Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` + // The ARN of the SNS topic to send events to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"` + + // Reference to a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate snsTopicArn. + // +kubebuilder:validation:Optional + SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"` + // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified. // +listType=set SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"` diff --git a/apis/redshift/v1beta1/zz_generated.deepcopy.go b/apis/redshift/v1beta1/zz_generated.deepcopy.go index edd5f147c8..ff149960eb 100644 --- a/apis/redshift/v1beta1/zz_generated.deepcopy.go +++ b/apis/redshift/v1beta1/zz_generated.deepcopy.go @@ -272,6 +272,21 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.DefaultIAMRoleArn != nil { + in, out := &in.DefaultIAMRoleArn, &out.DefaultIAMRoleArn + *out = new(string) + **out = **in + } + if in.DefaultIAMRoleArnRef != nil { + in, out := &in.DefaultIAMRoleArnRef, &out.DefaultIAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultIAMRoleArnSelector != nil { + in, out := &in.DefaultIAMRoleArnSelector, &out.DefaultIAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ElasticIP != nil { in, out := &in.ElasticIP, &out.ElasticIP *out = new(string) @@ -297,6 +312,44 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { *out = new(string) **out = **in } + if in.IAMRoleRefs != nil { + in, out := &in.IAMRoleRefs, &out.IAMRoleRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IAMRoles != nil { + in, out := &in.IAMRoles, &out.IAMRoles + *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.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Logging != nil { in, out := &in.Logging, &out.Logging *out = make([]LoggingInitParameters, len(*in)) @@ -402,6 +455,29 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { (*out)[key] = outVal } } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitParameters. @@ -1178,6 +1254,21 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn *out = new(string) **out = **in } + if in.SnsTopicArn != nil { + in, out := &in.SnsTopicArn, &out.SnsTopicArn + *out = new(string) + **out = **in + } + if in.SnsTopicArnRef != nil { + in, out := &in.SnsTopicArnRef, &out.SnsTopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SnsTopicArnSelector != nil { + in, out := &in.SnsTopicArnSelector, &out.SnsTopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourceIds != nil { in, out := &in.SourceIds, &out.SourceIds *out = make([]*string, len(*in)) @@ -2770,6 +2861,21 @@ func (in *ScheduledActionInitParameters) DeepCopyInto(out *ScheduledActionInitPa *out = new(string) **out = **in } + if in.IAMRole != nil { + in, out := &in.IAMRole, &out.IAMRole + *out = new(string) + **out = **in + } + if in.IAMRoleRef != nil { + in, out := &in.IAMRoleRef, &out.IAMRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Schedule != nil { in, out := &in.Schedule, &out.Schedule *out = new(string) @@ -3020,6 +3126,21 @@ func (in *SnapshotCopyGrant) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnapshotCopyGrantInitParameters) DeepCopyInto(out *SnapshotCopyGrantInitParameters) { *out = *in + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SnapshotCopyGrantName != nil { in, out := &in.SnapshotCopyGrantName, &out.SnapshotCopyGrantName *out = new(string) @@ -3390,6 +3511,36 @@ func (in *SnapshotScheduleAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnapshotScheduleAssociationInitParameters) DeepCopyInto(out *SnapshotScheduleAssociationInitParameters) { *out = *in + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ScheduleIdentifier != nil { + in, out := &in.ScheduleIdentifier, &out.ScheduleIdentifier + *out = new(string) + **out = **in + } + if in.ScheduleIdentifierRef != nil { + in, out := &in.ScheduleIdentifierRef, &out.ScheduleIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ScheduleIdentifierSelector != nil { + in, out := &in.ScheduleIdentifierSelector, &out.ScheduleIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotScheduleAssociationInitParameters. @@ -3519,7 +3670,7 @@ func (in *SnapshotScheduleAssociationSpec) DeepCopyInto(out *SnapshotScheduleAss *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 SnapshotScheduleAssociationSpec. @@ -3838,6 +3989,29 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters *out = new(string) **out = **in } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -4218,6 +4392,21 @@ func (in *UsageLimitInitParameters) DeepCopyInto(out *UsageLimitInitParameters) *out = new(string) **out = **in } + if in.ClusterIdentifier != nil { + in, out := &in.ClusterIdentifier, &out.ClusterIdentifier + *out = new(string) + **out = **in + } + if in.ClusterIdentifierRef != nil { + in, out := &in.ClusterIdentifierRef, &out.ClusterIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterIdentifierSelector != nil { + in, out := &in.ClusterIdentifierSelector, &out.ClusterIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FeatureType != nil { in, out := &in.FeatureType, &out.FeatureType *out = new(string) diff --git a/apis/redshift/v1beta1/zz_generated.resolvers.go b/apis/redshift/v1beta1/zz_generated.resolvers.go index d5e5227298..2c4d1f14f7 100644 --- a/apis/redshift/v1beta1/zz_generated.resolvers.go +++ b/apis/redshift/v1beta1/zz_generated.resolvers.go @@ -90,6 +90,70 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultIAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DefaultIAMRoleArnRef, + Selector: mg.Spec.InitProvider.DefaultIAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultIAMRoleArn") + } + mg.Spec.InitProvider.DefaultIAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultIAMRoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.IAMRoles), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.IAMRoleRefs, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoles") + } + mg.Spec.InitProvider.IAMRoles = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.IAMRoleRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta12.SecurityGroupList{}, + Managed: &v1beta12.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -116,6 +180,22 @@ func (mg *EventSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsTopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsTopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsTopicArnRef, + Selector: mg.Spec.InitProvider.SnsTopicArnSelector, + To: reference.To{ + List: &v1beta13.TopicList{}, + Managed: &v1beta13.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsTopicArn") + } + mg.Spec.InitProvider.SnsTopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsTopicArnRef = rsp.ResolvedReference + return nil } @@ -142,6 +222,22 @@ func (mg *ScheduledAction) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.IAMRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IAMRoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRole), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.IAMRoleRef, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRole") + } + mg.Spec.InitProvider.IAMRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleRef = rsp.ResolvedReference + return nil } @@ -168,6 +264,22 @@ func (mg *SnapshotCopyGrant) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta11.KeyList{}, + Managed: &v1beta11.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -210,6 +322,38 @@ func (mg *SnapshotScheduleAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ScheduleIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ScheduleIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ScheduleIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ScheduleIdentifierRef, + Selector: mg.Spec.InitProvider.ScheduleIdentifierSelector, + To: reference.To{ + List: &SnapshotScheduleList{}, + Managed: &SnapshotSchedule{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ScheduleIdentifier") + } + mg.Spec.InitProvider.ScheduleIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ScheduleIdentifierRef = rsp.ResolvedReference + return nil } @@ -236,6 +380,22 @@ func (mg *SubnetGroup) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta12.SubnetList{}, + Managed: &v1beta12.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } @@ -262,5 +422,21 @@ func (mg *UsageLimit) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterIdentifierRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterIdentifier), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ClusterIdentifierRef, + Selector: mg.Spec.InitProvider.ClusterIdentifierSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterIdentifier") + } + mg.Spec.InitProvider.ClusterIdentifier = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterIdentifierRef = rsp.ResolvedReference + return nil } diff --git a/apis/redshift/v1beta1/zz_scheduledaction_types.go b/apis/redshift/v1beta1/zz_scheduledaction_types.go index 73e389e10d..8456b2be3e 100755 --- a/apis/redshift/v1beta1/zz_scheduledaction_types.go +++ b/apis/redshift/v1beta1/zz_scheduledaction_types.go @@ -125,6 +125,19 @@ type ScheduledActionInitParameters struct { // The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` + // The IAM role to assume to run the scheduled action. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + IAMRole *string `json:"iamRole,omitempty" tf:"iam_role,omitempty"` + + // Reference to a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleRef *v1.Reference `json:"iamRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + // The schedule of action. The schedule is defined format of "at expression" or "cron expression", for example at(2016-03-04T17:27:00) or cron(0 10 ? * MON *). See Scheduled Action for more information. Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"` diff --git a/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go b/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go index 61549f3976..3245cb92e2 100755 --- a/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go +++ b/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go @@ -19,6 +19,18 @@ import ( type SnapshotCopyGrantInitParameters struct { + // The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // A friendly name for identifying the grant. SnapshotCopyGrantName *string `json:"snapshotCopyGrantName,omitempty" tf:"snapshot_copy_grant_name,omitempty"` diff --git a/apis/redshift/v1beta1/zz_snapshotscheduleassociation_types.go b/apis/redshift/v1beta1/zz_snapshotscheduleassociation_types.go index 6f4e569cb1..916753cb66 100755 --- a/apis/redshift/v1beta1/zz_snapshotscheduleassociation_types.go +++ b/apis/redshift/v1beta1/zz_snapshotscheduleassociation_types.go @@ -18,6 +18,32 @@ import ( ) type SnapshotScheduleAssociationInitParameters struct { + + // The cluster identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshift/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster in redshift to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in redshift to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + + // The snapshot schedule identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshift/v1beta1.SnapshotSchedule + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ScheduleIdentifier *string `json:"scheduleIdentifier,omitempty" tf:"schedule_identifier,omitempty"` + + // Reference to a SnapshotSchedule in redshift to populate scheduleIdentifier. + // +kubebuilder:validation:Optional + ScheduleIdentifierRef *v1.Reference `json:"scheduleIdentifierRef,omitempty" tf:"-"` + + // Selector for a SnapshotSchedule in redshift to populate scheduleIdentifier. + // +kubebuilder:validation:Optional + ScheduleIdentifierSelector *v1.Selector `json:"scheduleIdentifierSelector,omitempty" tf:"-"` } type SnapshotScheduleAssociationObservation struct { diff --git a/apis/redshift/v1beta1/zz_subnetgroup_types.go b/apis/redshift/v1beta1/zz_subnetgroup_types.go index c06d8f2764..4cedcb082b 100755 --- a/apis/redshift/v1beta1/zz_subnetgroup_types.go +++ b/apis/redshift/v1beta1/zz_subnetgroup_types.go @@ -22,6 +22,21 @@ type SubnetGroupInitParameters struct { // The description of the Redshift Subnet group. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // An array of VPC subnet IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/redshift/v1beta1/zz_usagelimit_types.go b/apis/redshift/v1beta1/zz_usagelimit_types.go index 9fdd3d5467..a290cd1780 100755 --- a/apis/redshift/v1beta1/zz_usagelimit_types.go +++ b/apis/redshift/v1beta1/zz_usagelimit_types.go @@ -25,6 +25,19 @@ type UsageLimitInitParameters struct { // The action that Amazon Redshift takes when the limit is reached. The default is log. Valid values are log, emit-metric, and disable. BreachAction *string `json:"breachAction,omitempty" tf:"breach_action,omitempty"` + // The identifier of the cluster that you want to limit usage. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshift/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"` + + // Reference to a Cluster in redshift to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"` + + // Selector for a Cluster in redshift to populate clusterIdentifier. + // +kubebuilder:validation:Optional + ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"` + // The Amazon Redshift feature that you want to limit. Valid values are spectrum, concurrency-scaling, and cross-region-datasharing. FeatureType *string `json:"featureType,omitempty" tf:"feature_type,omitempty"` diff --git a/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go b/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go index 698b6cefae..ed5f7c79c9 100755 --- a/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go +++ b/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go @@ -19,6 +19,36 @@ import ( type EndpointAccessInitParameters struct { + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // An array of VPC subnet IDs to associate with the endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + + // References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds. + // +kubebuilder:validation:Optional + VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"` + + // An array of security group IDs to associate with the workgroup. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector + // +listType=set + VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"` + // The name of the workgroup. WorkgroupName *string `json:"workgroupName,omitempty" tf:"workgroup_name,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go b/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go index 11642bfbc9..cdd8486bd0 100644 --- a/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go +++ b/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go @@ -118,6 +118,52 @@ func (in *EndpointAccess) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EndpointAccessInitParameters) DeepCopyInto(out *EndpointAccessInitParameters) { *out = *in + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *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.WorkgroupName != nil { in, out := &in.WorkgroupName, &out.WorkgroupName *out = new(string) @@ -566,6 +612,59 @@ func (in *RedshiftServerlessNamespaceInitParameters) DeepCopyInto(out *RedshiftS *out = new(string) **out = **in } + if in.DefaultIAMRoleArn != nil { + in, out := &in.DefaultIAMRoleArn, &out.DefaultIAMRoleArn + *out = new(string) + **out = **in + } + if in.DefaultIAMRoleArnRef != nil { + in, out := &in.DefaultIAMRoleArnRef, &out.DefaultIAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultIAMRoleArnSelector != nil { + in, out := &in.DefaultIAMRoleArnSelector, &out.DefaultIAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleRefs != nil { + in, out := &in.IAMRoleRefs, &out.IAMRoleRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IAMRoles != nil { + in, out := &in.IAMRoles, &out.IAMRoles + *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.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LogExports != nil { in, out := &in.LogExports, &out.LogExports *out = make([]*string, len(*in)) @@ -921,6 +1020,21 @@ func (in *ResourcePolicyInitParameters) DeepCopyInto(out *ResourcePolicyInitPara *out = new(string) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyInitParameters. @@ -1100,6 +1214,21 @@ func (in *Snapshot) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters) { *out = *in + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.NamespaceNameRef != nil { + in, out := &in.NamespaceNameRef, &out.NamespaceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NamespaceNameSelector != nil { + in, out := &in.NamespaceNameSelector, &out.NamespaceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RetentionPeriod != nil { in, out := &in.RetentionPeriod, &out.RetentionPeriod *out = new(float64) @@ -1346,6 +1475,21 @@ func (in *UsageLimitInitParameters) DeepCopyInto(out *UsageLimitInitParameters) *out = new(string) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.UsageType != nil { in, out := &in.UsageType, &out.UsageType *out = new(string) @@ -1719,6 +1863,52 @@ func (in *WorkgroupInitParameters) DeepCopyInto(out *WorkgroupInitParameters) { *out = new(bool) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) diff --git a/apis/redshiftserverless/v1beta1/zz_generated.resolvers.go b/apis/redshiftserverless/v1beta1/zz_generated.resolvers.go index b6f20fac79..ed1fc15d52 100644 --- a/apis/redshiftserverless/v1beta1/zz_generated.resolvers.go +++ b/apis/redshiftserverless/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,38 @@ func (mg *EndpointAccess) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.VPCSecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.VPCSecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.VPCSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCSecurityGroupIds") + } + mg.Spec.InitProvider.VPCSecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.VPCSecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -115,6 +147,54 @@ func (mg *RedshiftServerlessNamespace) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultIAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DefaultIAMRoleArnRef, + Selector: mg.Spec.InitProvider.DefaultIAMRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultIAMRoleArn") + } + mg.Spec.InitProvider.DefaultIAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultIAMRoleArnRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.IAMRoles), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.IAMRoleRefs, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoles") + } + mg.Spec.InitProvider.IAMRoles = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.IAMRoleRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -141,6 +221,22 @@ func (mg *ResourcePolicy) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &SnapshotList{}, + Managed: &Snapshot{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } @@ -167,6 +263,22 @@ func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.NamespaceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NamespaceNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.NamespaceName), + Extract: resource.ExtractParamPath("namespace_name", false), + Reference: mg.Spec.InitProvider.NamespaceNameRef, + Selector: mg.Spec.InitProvider.NamespaceNameSelector, + To: reference.To{ + List: &WorkgroupList{}, + Managed: &Workgroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.NamespaceName") + } + mg.Spec.InitProvider.NamespaceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NamespaceNameRef = rsp.ResolvedReference + return nil } @@ -193,6 +305,22 @@ func (mg *UsageLimit) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &WorkgroupList{}, + Managed: &Workgroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } @@ -235,5 +363,37 @@ func (mg *Workgroup) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SubnetIDRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/redshiftserverless/v1beta1/zz_redshiftserverlessnamespace_types.go b/apis/redshiftserverless/v1beta1/zz_redshiftserverlessnamespace_types.go index 7475594c42..8ffb79d45c 100755 --- a/apis/redshiftserverless/v1beta1/zz_redshiftserverlessnamespace_types.go +++ b/apis/redshiftserverless/v1beta1/zz_redshiftserverlessnamespace_types.go @@ -22,6 +22,46 @@ type RedshiftServerlessNamespaceInitParameters struct { // The name of the first database created in the namespace. DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"` + // The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying default_iam_role_arn, it also must be part of iam_roles. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate defaultIamRoleArn. + // +kubebuilder:validation:Optional + DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate defaultIamRoleArn. + // +kubebuilder:validation:Optional + DefaultIAMRoleArnSelector *v1.Selector `json:"defaultIamRoleArnSelector,omitempty" tf:"-"` + + // References to Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"` + + // Selector for a list of Role in iam to populate iamRoles. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + + // A list of IAM roles to associate with the namespace. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:refFieldName=IAMRoleRefs + // +crossplane:generate:reference:selectorFieldName=IAMRoleSelector + // +listType=set + IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"` + + // The ARN of the Amazon Web Services Key Management Service key used to encrypt your data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog. // +listType=set LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"` diff --git a/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go b/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go index 77f78052cb..9238b42470 100755 --- a/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go +++ b/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go @@ -21,6 +21,19 @@ type ResourcePolicyInitParameters struct { // The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // The Amazon Resource Name (ARN) of the account to create or update a resource policy for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Snapshot + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Snapshot in redshiftserverless to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Snapshot in redshiftserverless to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type ResourcePolicyObservation struct { diff --git a/apis/redshiftserverless/v1beta1/zz_snapshot_types.go b/apis/redshiftserverless/v1beta1/zz_snapshot_types.go index 66051b19ab..bde37d8f03 100755 --- a/apis/redshiftserverless/v1beta1/zz_snapshot_types.go +++ b/apis/redshiftserverless/v1beta1/zz_snapshot_types.go @@ -19,6 +19,19 @@ import ( type SnapshotInitParameters struct { + // The namespace to create a snapshot for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("namespace_name",false) + NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` + + // Reference to a Workgroup in redshiftserverless to populate namespaceName. + // +kubebuilder:validation:Optional + NamespaceNameRef *v1.Reference `json:"namespaceNameRef,omitempty" tf:"-"` + + // Selector for a Workgroup in redshiftserverless to populate namespaceName. + // +kubebuilder:validation:Optional + NamespaceNameSelector *v1.Selector `json:"namespaceNameSelector,omitempty" tf:"-"` + // How long to retain the created snapshot. Default value is -1. RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go b/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go index a6055fabf1..ddf04b1400 100755 --- a/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go +++ b/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go @@ -28,6 +28,19 @@ type UsageLimitInitParameters struct { // The time period that the amount applies to. A weekly period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly. Period *string `json:"period,omitempty" tf:"period,omitempty"` + // The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Workgroup in redshiftserverless to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Workgroup in redshiftserverless to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` + // The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-region-datasharing. UsageType *string `json:"usageType,omitempty" tf:"usage_type,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_workgroup_types.go b/apis/redshiftserverless/v1beta1/zz_workgroup_types.go index 3db093f939..f04f93be69 100755 --- a/apis/redshiftserverless/v1beta1/zz_workgroup_types.go +++ b/apis/redshiftserverless/v1beta1/zz_workgroup_types.go @@ -120,6 +120,36 @@ type WorkgroupInitParameters struct { // A value that specifies whether the workgroup can be accessed from a public network. PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // An array of security group IDs to associate with the workgroup. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following AWS document. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go b/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go index 0d1c5bf0b5..3ade84bd71 100644 --- a/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go +++ b/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go @@ -74,6 +74,29 @@ func (in *ProfileInitParameters) DeepCopyInto(out *ProfileInitParameters) { *out = new(bool) **out = **in } + if in.RoleArns != nil { + in, out := &in.RoleArns, &out.RoleArns + *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.RoleArnsRefs != nil { + in, out := &in.RoleArnsRefs, &out.RoleArnsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoleArnsSelector != nil { + in, out := &in.RoleArnsSelector, &out.RoleArnsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SessionPolicy != nil { in, out := &in.SessionPolicy, &out.SessionPolicy *out = new(string) diff --git a/apis/rolesanywhere/v1beta1/zz_generated.resolvers.go b/apis/rolesanywhere/v1beta1/zz_generated.resolvers.go index 5c35351ae6..286564553c 100644 --- a/apis/rolesanywhere/v1beta1/zz_generated.resolvers.go +++ b/apis/rolesanywhere/v1beta1/zz_generated.resolvers.go @@ -37,5 +37,21 @@ func (mg *Profile) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RoleArns = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.RoleArnsRefs = mrsp.ResolvedReferences + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.RoleArns), + Extract: common.ARNExtractor(), + References: mg.Spec.InitProvider.RoleArnsRefs, + Selector: mg.Spec.InitProvider.RoleArnsSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArns") + } + mg.Spec.InitProvider.RoleArns = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.RoleArnsRefs = mrsp.ResolvedReferences + return nil } diff --git a/apis/rolesanywhere/v1beta1/zz_profile_types.go b/apis/rolesanywhere/v1beta1/zz_profile_types.go index be2f69fb43..eae88f5257 100755 --- a/apis/rolesanywhere/v1beta1/zz_profile_types.go +++ b/apis/rolesanywhere/v1beta1/zz_profile_types.go @@ -35,6 +35,20 @@ type ProfileInitParameters struct { // Specifies whether instance properties are required in CreateSession requests with this profile. RequireInstanceProperties *bool `json:"requireInstanceProperties,omitempty" tf:"require_instance_properties,omitempty"` + // A list of IAM roles that this profile can assume + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + // +listType=set + RoleArns []*string `json:"roleArns,omitempty" tf:"role_arns,omitempty"` + + // References to Role in iam to populate roleArns. + // +kubebuilder:validation:Optional + RoleArnsRefs []v1.Reference `json:"roleArnsRefs,omitempty" tf:"-"` + + // Selector for a list of Role in iam to populate roleArns. + // +kubebuilder:validation:Optional + RoleArnsSelector *v1.Selector `json:"roleArnsSelector,omitempty" tf:"-"` + // A session policy that applies to the trust boundary of the vended session credentials. SessionPolicy *string `json:"sessionPolicy,omitempty" tf:"session_policy,omitempty"` diff --git a/apis/route53/v1beta1/zz_generated.deepcopy.go b/apis/route53/v1beta1/zz_generated.deepcopy.go index 8abc27ca8b..1421a80cf2 100644 --- a/apis/route53/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53/v1beta1/zz_generated.deepcopy.go @@ -554,6 +554,21 @@ func (in *HealthCheckInitParameters) DeepCopyInto(out *HealthCheckInitParameters } } } + if in.CloudwatchAlarmName != nil { + in, out := &in.CloudwatchAlarmName, &out.CloudwatchAlarmName + *out = new(string) + **out = **in + } + if in.CloudwatchAlarmNameRef != nil { + in, out := &in.CloudwatchAlarmNameRef, &out.CloudwatchAlarmNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CloudwatchAlarmNameSelector != nil { + in, out := &in.CloudwatchAlarmNameSelector, &out.CloudwatchAlarmNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CloudwatchAlarmRegion != nil { in, out := &in.CloudwatchAlarmRegion, &out.CloudwatchAlarmRegion *out = new(string) @@ -1097,6 +1112,21 @@ func (in *HostedZoneDNSSEC) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HostedZoneDNSSECInitParameters) DeepCopyInto(out *HostedZoneDNSSECInitParameters) { *out = *in + if in.HostedZoneID != nil { + in, out := &in.HostedZoneID, &out.HostedZoneID + *out = new(string) + **out = **in + } + if in.HostedZoneIDRef != nil { + in, out := &in.HostedZoneIDRef, &out.HostedZoneIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HostedZoneIDSelector != nil { + in, out := &in.HostedZoneIDSelector, &out.HostedZoneIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SigningStatus != nil { in, out := &in.SigningStatus, &out.SigningStatus *out = new(string) @@ -1369,6 +1399,21 @@ func (in *RecordInitParameters) DeepCopyInto(out *RecordInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.HealthCheckID != nil { + in, out := &in.HealthCheckID, &out.HealthCheckID + *out = new(string) + **out = **in + } + if in.HealthCheckIDRef != nil { + in, out := &in.HealthCheckIDRef, &out.HealthCheckIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HealthCheckIDSelector != nil { + in, out := &in.HealthCheckIDSelector, &out.HealthCheckIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LatencyRoutingPolicy != nil { in, out := &in.LatencyRoutingPolicy, &out.LatencyRoutingPolicy *out = make([]LatencyRoutingPolicyInitParameters, len(*in)) @@ -1417,6 +1462,21 @@ func (in *RecordInitParameters) DeepCopyInto(out *RecordInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ZoneID != nil { + in, out := &in.ZoneID, &out.ZoneID + *out = new(string) + **out = **in + } + if in.ZoneIDRef != nil { + in, out := &in.ZoneIDRef, &out.ZoneIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ZoneIDSelector != nil { + in, out := &in.ZoneIDSelector, &out.ZoneIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordInitParameters. @@ -1782,6 +1842,21 @@ func (in *ResolverConfigInitParameters) DeepCopyInto(out *ResolverConfigInitPara *out = new(string) **out = **in } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolverConfigInitParameters. @@ -2023,6 +2098,21 @@ func (in *TrafficPolicyInstance) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TrafficPolicyInstanceInitParameters) DeepCopyInto(out *TrafficPolicyInstanceInitParameters) { *out = *in + if in.HostedZoneID != nil { + in, out := &in.HostedZoneID, &out.HostedZoneID + *out = new(string) + **out = **in + } + if in.HostedZoneIDRef != nil { + in, out := &in.HostedZoneIDRef, &out.HostedZoneIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HostedZoneIDSelector != nil { + in, out := &in.HostedZoneIDSelector, &out.HostedZoneIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -2033,6 +2123,21 @@ func (in *TrafficPolicyInstanceInitParameters) DeepCopyInto(out *TrafficPolicyIn *out = new(float64) **out = **in } + if in.TrafficPolicyID != nil { + in, out := &in.TrafficPolicyID, &out.TrafficPolicyID + *out = new(string) + **out = **in + } + if in.TrafficPolicyIDRef != nil { + in, out := &in.TrafficPolicyIDRef, &out.TrafficPolicyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TrafficPolicyIDSelector != nil { + in, out := &in.TrafficPolicyIDSelector, &out.TrafficPolicyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TrafficPolicyVersion != nil { in, out := &in.TrafficPolicyVersion, &out.TrafficPolicyVersion *out = new(float64) @@ -2404,11 +2509,41 @@ func (in *VPCAssociationAuthorization) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCAssociationAuthorizationInitParameters) DeepCopyInto(out *VPCAssociationAuthorizationInitParameters) { *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) + } if in.VPCRegion != nil { in, out := &in.VPCRegion, &out.VPCRegion *out = new(string) **out = **in } + if in.ZoneID != nil { + in, out := &in.ZoneID, &out.ZoneID + *out = new(string) + **out = **in + } + if in.ZoneIDRef != nil { + in, out := &in.ZoneIDRef, &out.ZoneIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ZoneIDSelector != nil { + in, out := &in.ZoneIDSelector, &out.ZoneIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAssociationAuthorizationInitParameters. @@ -2581,6 +2716,21 @@ func (in *VPCAssociationAuthorizationStatus) DeepCopy() *VPCAssociationAuthoriza // 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 + 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) + } if in.VPCRegion != nil { in, out := &in.VPCRegion, &out.VPCRegion *out = new(string) @@ -2775,11 +2925,41 @@ func (in *ZoneAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ZoneAssociationInitParameters) DeepCopyInto(out *ZoneAssociationInitParameters) { *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) + } if in.VPCRegion != nil { in, out := &in.VPCRegion, &out.VPCRegion *out = new(string) **out = **in } + if in.ZoneID != nil { + in, out := &in.ZoneID, &out.ZoneID + *out = new(string) + **out = **in + } + if in.ZoneIDRef != nil { + in, out := &in.ZoneIDRef, &out.ZoneIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ZoneIDSelector != nil { + in, out := &in.ZoneIDSelector, &out.ZoneIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneAssociationInitParameters. @@ -2962,6 +3142,21 @@ func (in *ZoneInitParameters) DeepCopyInto(out *ZoneInitParameters) { *out = new(string) **out = **in } + if in.DelegationSetID != nil { + in, out := &in.DelegationSetID, &out.DelegationSetID + *out = new(string) + **out = **in + } + if in.DelegationSetIDRef != nil { + in, out := &in.DelegationSetIDRef, &out.DelegationSetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DelegationSetIDSelector != nil { + in, out := &in.DelegationSetIDSelector, &out.DelegationSetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ForceDestroy != nil { in, out := &in.ForceDestroy, &out.ForceDestroy *out = new(bool) diff --git a/apis/route53/v1beta1/zz_generated.resolvers.go b/apis/route53/v1beta1/zz_generated.resolvers.go index f553aa2b02..4858e04d5d 100644 --- a/apis/route53/v1beta1/zz_generated.resolvers.go +++ b/apis/route53/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *HealthCheck) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.CloudwatchAlarmName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CloudwatchAlarmNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CloudwatchAlarmName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CloudwatchAlarmNameRef, + Selector: mg.Spec.InitProvider.CloudwatchAlarmNameSelector, + To: reference.To{ + List: &v1beta1.MetricAlarmList{}, + Managed: &v1beta1.MetricAlarm{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CloudwatchAlarmName") + } + mg.Spec.InitProvider.CloudwatchAlarmName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CloudwatchAlarmNameRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,22 @@ func (mg *HostedZoneDNSSEC) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.HostedZoneID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.HostedZoneIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HostedZoneID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.HostedZoneIDRef, + Selector: mg.Spec.InitProvider.HostedZoneIDSelector, + To: reference.To{ + List: &ZoneList{}, + Managed: &Zone{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HostedZoneID") + } + mg.Spec.InitProvider.HostedZoneID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HostedZoneIDRef = rsp.ResolvedReference + return nil } @@ -106,6 +138,38 @@ func (mg *Record) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ZoneIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HealthCheckID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.HealthCheckIDRef, + Selector: mg.Spec.InitProvider.HealthCheckIDSelector, + To: reference.To{ + List: &HealthCheckList{}, + Managed: &HealthCheck{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HealthCheckID") + } + mg.Spec.InitProvider.HealthCheckID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HealthCheckIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ZoneID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ZoneIDRef, + Selector: mg.Spec.InitProvider.ZoneIDSelector, + To: reference.To{ + List: &ZoneList{}, + Managed: &Zone{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ZoneID") + } + mg.Spec.InitProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ZoneIDRef = rsp.ResolvedReference + return nil } @@ -132,6 +196,22 @@ func (mg *ResolverConfig) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + return nil } @@ -174,6 +254,38 @@ func (mg *TrafficPolicyInstance) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.TrafficPolicyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TrafficPolicyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HostedZoneID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.HostedZoneIDRef, + Selector: mg.Spec.InitProvider.HostedZoneIDSelector, + To: reference.To{ + List: &ZoneList{}, + Managed: &Zone{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HostedZoneID") + } + mg.Spec.InitProvider.HostedZoneID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HostedZoneIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TrafficPolicyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TrafficPolicyIDRef, + Selector: mg.Spec.InitProvider.TrafficPolicyIDSelector, + To: reference.To{ + List: &TrafficPolicyList{}, + Managed: &TrafficPolicy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TrafficPolicyID") + } + mg.Spec.InitProvider.TrafficPolicyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TrafficPolicyIDRef = rsp.ResolvedReference + return nil } @@ -216,6 +328,38 @@ func (mg *VPCAssociationAuthorization) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ZoneIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ZoneID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ZoneIDRef, + Selector: mg.Spec.InitProvider.ZoneIDSelector, + To: reference.To{ + List: &ZoneList{}, + Managed: &Zone{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ZoneID") + } + mg.Spec.InitProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ZoneIDRef = rsp.ResolvedReference + return nil } @@ -259,6 +403,40 @@ func (mg *Zone) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.VPC[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPC[i3].VPCIDRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DelegationSetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DelegationSetIDRef, + Selector: mg.Spec.InitProvider.DelegationSetIDSelector, + To: reference.To{ + List: &DelegationSetList{}, + Managed: &DelegationSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DelegationSetID") + } + mg.Spec.InitProvider.DelegationSetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DelegationSetIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPC); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPC[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPC[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.VPC[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPC[i3].VPCID") + } + mg.Spec.InitProvider.VPC[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPC[i3].VPCIDRef = rsp.ResolvedReference + } return nil @@ -303,5 +481,37 @@ func (mg *ZoneAssociation) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ZoneIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ZoneID), + Extract: resource.ExtractParamPath("zone_id", true), + Reference: mg.Spec.InitProvider.ZoneIDRef, + Selector: mg.Spec.InitProvider.ZoneIDSelector, + To: reference.To{ + List: &ZoneList{}, + Managed: &Zone{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ZoneID") + } + mg.Spec.InitProvider.ZoneID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ZoneIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/route53/v1beta1/zz_healthcheck_types.go b/apis/route53/v1beta1/zz_healthcheck_types.go index f942eb8820..6532b49b6b 100755 --- a/apis/route53/v1beta1/zz_healthcheck_types.go +++ b/apis/route53/v1beta1/zz_healthcheck_types.go @@ -26,6 +26,18 @@ type HealthCheckInitParameters struct { // +listType=set ChildHealthchecks []*string `json:"childHealthchecks,omitempty" tf:"child_healthchecks,omitempty"` + // The name of the CloudWatch alarm. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatch/v1beta1.MetricAlarm + CloudwatchAlarmName *string `json:"cloudwatchAlarmName,omitempty" tf:"cloudwatch_alarm_name,omitempty"` + + // Reference to a MetricAlarm in cloudwatch to populate cloudwatchAlarmName. + // +kubebuilder:validation:Optional + CloudwatchAlarmNameRef *v1.Reference `json:"cloudwatchAlarmNameRef,omitempty" tf:"-"` + + // Selector for a MetricAlarm in cloudwatch to populate cloudwatchAlarmName. + // +kubebuilder:validation:Optional + CloudwatchAlarmNameSelector *v1.Selector `json:"cloudwatchAlarmNameSelector,omitempty" tf:"-"` + // The CloudWatchRegion that the CloudWatch alarm was created in. CloudwatchAlarmRegion *string `json:"cloudwatchAlarmRegion,omitempty" tf:"cloudwatch_alarm_region,omitempty"` diff --git a/apis/route53/v1beta1/zz_hostedzonednssec_types.go b/apis/route53/v1beta1/zz_hostedzonednssec_types.go index fdd8c9ec2e..fa5f653453 100755 --- a/apis/route53/v1beta1/zz_hostedzonednssec_types.go +++ b/apis/route53/v1beta1/zz_hostedzonednssec_types.go @@ -19,6 +19,18 @@ import ( type HostedZoneDNSSECInitParameters struct { + // Identifier of the Route 53 Hosted Zone. + // +crossplane:generate:reference:type=Zone + HostedZoneID *string `json:"hostedZoneId,omitempty" tf:"hosted_zone_id,omitempty"` + + // Reference to a Zone to populate hostedZoneId. + // +kubebuilder:validation:Optional + HostedZoneIDRef *v1.Reference `json:"hostedZoneIdRef,omitempty" tf:"-"` + + // Selector for a Zone to populate hostedZoneId. + // +kubebuilder:validation:Optional + HostedZoneIDSelector *v1.Selector `json:"hostedZoneIdSelector,omitempty" tf:"-"` + // Hosted Zone signing status. Valid values: SIGNING, NOT_SIGNING. Defaults to SIGNING. SigningStatus *string `json:"signingStatus,omitempty" tf:"signing_status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_record_types.go b/apis/route53/v1beta1/zz_record_types.go index 293088a32d..6742a9dee3 100755 --- a/apis/route53/v1beta1/zz_record_types.go +++ b/apis/route53/v1beta1/zz_record_types.go @@ -177,6 +177,18 @@ type RecordInitParameters struct { // A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below. GeolocationRoutingPolicy []GeolocationRoutingPolicyInitParameters `json:"geolocationRoutingPolicy,omitempty" tf:"geolocation_routing_policy,omitempty"` + // The health check the record should be associated with. + // +crossplane:generate:reference:type=HealthCheck + HealthCheckID *string `json:"healthCheckId,omitempty" tf:"health_check_id,omitempty"` + + // Reference to a HealthCheck to populate healthCheckId. + // +kubebuilder:validation:Optional + HealthCheckIDRef *v1.Reference `json:"healthCheckIdRef,omitempty" tf:"-"` + + // Selector for a HealthCheck to populate healthCheckId. + // +kubebuilder:validation:Optional + HealthCheckIDSelector *v1.Selector `json:"healthCheckIdSelector,omitempty" tf:"-"` + // A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below. LatencyRoutingPolicy []LatencyRoutingPolicyInitParameters `json:"latencyRoutingPolicy,omitempty" tf:"latency_routing_policy,omitempty"` @@ -201,6 +213,18 @@ type RecordInitParameters struct { // A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below. WeightedRoutingPolicy []WeightedRoutingPolicyInitParameters `json:"weightedRoutingPolicy,omitempty" tf:"weighted_routing_policy,omitempty"` + + // The ID of the hosted zone to contain this record. + // +crossplane:generate:reference:type=Zone + ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` + + // Reference to a Zone to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` + + // Selector for a Zone to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` } type RecordObservation struct { diff --git a/apis/route53/v1beta1/zz_resolverconfig_types.go b/apis/route53/v1beta1/zz_resolverconfig_types.go index 96e35ae5a3..f8d0d43c51 100755 --- a/apis/route53/v1beta1/zz_resolverconfig_types.go +++ b/apis/route53/v1beta1/zz_resolverconfig_types.go @@ -21,6 +21,19 @@ type ResolverConfigInitParameters struct { // Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. Valid values: ENABLE, DISABLE. AutodefinedReverseFlag *string `json:"autodefinedReverseFlag,omitempty" tf:"autodefined_reverse_flag,omitempty"` + + // The ID of the VPC that the configuration is for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a VPC in ec2 to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` } type ResolverConfigObservation struct { diff --git a/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go b/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go index e514ddc1f4..b8bfb917a1 100755 --- a/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go +++ b/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go @@ -19,12 +19,36 @@ import ( type TrafficPolicyInstanceInitParameters struct { + // ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy. + // +crossplane:generate:reference:type=Zone + HostedZoneID *string `json:"hostedZoneId,omitempty" tf:"hosted_zone_id,omitempty"` + + // Reference to a Zone to populate hostedZoneId. + // +kubebuilder:validation:Optional + HostedZoneIDRef *v1.Reference `json:"hostedZoneIdRef,omitempty" tf:"-"` + + // Selector for a Zone to populate hostedZoneId. + // +kubebuilder:validation:Optional + HostedZoneIDSelector *v1.Selector `json:"hostedZoneIdSelector,omitempty" tf:"-"` + // Domain name for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance. Name *string `json:"name,omitempty" tf:"name,omitempty"` // TTL that you want Amazon Route 53 to assign to all the resource record sets that it creates in the specified hosted zone. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` + // ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone. + // +crossplane:generate:reference:type=TrafficPolicy + TrafficPolicyID *string `json:"trafficPolicyId,omitempty" tf:"traffic_policy_id,omitempty"` + + // Reference to a TrafficPolicy to populate trafficPolicyId. + // +kubebuilder:validation:Optional + TrafficPolicyIDRef *v1.Reference `json:"trafficPolicyIdRef,omitempty" tf:"-"` + + // Selector for a TrafficPolicy to populate trafficPolicyId. + // +kubebuilder:validation:Optional + TrafficPolicyIDSelector *v1.Selector `json:"trafficPolicyIdSelector,omitempty" tf:"-"` + // Version of the traffic policy TrafficPolicyVersion *float64 `json:"trafficPolicyVersion,omitempty" tf:"traffic_policy_version,omitempty"` } diff --git a/apis/route53/v1beta1/zz_vpcassociationauthorization_types.go b/apis/route53/v1beta1/zz_vpcassociationauthorization_types.go index 870c79bfde..ffe8701e6b 100755 --- a/apis/route53/v1beta1/zz_vpcassociationauthorization_types.go +++ b/apis/route53/v1beta1/zz_vpcassociationauthorization_types.go @@ -19,8 +19,32 @@ import ( type VPCAssociationAuthorizationInitParameters struct { + // The VPC to authorize for association with the private hosted zone. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` + // The VPC's region. Defaults to the region of the AWS provider. VPCRegion *string `json:"vpcRegion,omitempty" tf:"vpc_region,omitempty"` + + // The ID of the private hosted zone that you want to authorize associating a VPC with. + // +crossplane:generate:reference:type=Zone + ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` + + // Reference to a Zone to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` + + // Selector for a Zone to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` } type VPCAssociationAuthorizationObservation struct { diff --git a/apis/route53/v1beta1/zz_zone_types.go b/apis/route53/v1beta1/zz_zone_types.go index b6693cb4b0..506465026d 100755 --- a/apis/route53/v1beta1/zz_zone_types.go +++ b/apis/route53/v1beta1/zz_zone_types.go @@ -19,6 +19,19 @@ import ( type VPCInitParameters struct { + // ID of the VPC to associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` + // Region of the VPC to associate. Defaults to AWS provider region. VPCRegion *string `json:"vpcRegion,omitempty" tf:"vpc_region,omitempty"` } @@ -58,6 +71,18 @@ type ZoneInitParameters struct { // A comment for the hosted zone. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` + // The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with vpc as delegation sets can only be used for public zones. + // +crossplane:generate:reference:type=DelegationSet + DelegationSetID *string `json:"delegationSetId,omitempty" tf:"delegation_set_id,omitempty"` + + // Reference to a DelegationSet to populate delegationSetId. + // +kubebuilder:validation:Optional + DelegationSetIDRef *v1.Reference `json:"delegationSetIdRef,omitempty" tf:"-"` + + // Selector for a DelegationSet to populate delegationSetId. + // +kubebuilder:validation:Optional + DelegationSetIDSelector *v1.Selector `json:"delegationSetIdSelector,omitempty" tf:"-"` + ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"` // This is the name of the hosted zone. diff --git a/apis/route53/v1beta1/zz_zoneassociation_types.go b/apis/route53/v1beta1/zz_zoneassociation_types.go index 1652335352..6993e6489d 100755 --- a/apis/route53/v1beta1/zz_zoneassociation_types.go +++ b/apis/route53/v1beta1/zz_zoneassociation_types.go @@ -19,8 +19,33 @@ import ( type ZoneAssociationInitParameters struct { + // The VPC to associate with the private hosted zone. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` + // The VPC's region. Defaults to the region of the AWS provider. VPCRegion *string `json:"vpcRegion,omitempty" tf:"vpc_region,omitempty"` + + // The private hosted zone to associate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53/v1beta1.Zone + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("zone_id",true) + ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` + + // Reference to a Zone in route53 to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` + + // Selector for a Zone in route53 to populate zoneId. + // +kubebuilder:validation:Optional + ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` } type ZoneAssociationObservation struct { diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go index d577119b59..fe245b8efe 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go @@ -19,6 +19,19 @@ import ( type ControlPanelInitParameters struct { + // ARN of the cluster in which this control panel will reside. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"` + + // Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"` + + // Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"` + // Name describing the control panel. Name *string `json:"name,omitempty" tf:"name,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go index c3b13561e3..50a979e8e3 100644 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go @@ -279,6 +279,21 @@ func (in *ControlPanel) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ControlPanelInitParameters) DeepCopyInto(out *ControlPanelInitParameters) { *out = *in + if in.ClusterArn != nil { + in, out := &in.ClusterArn, &out.ClusterArn + *out = new(string) + **out = **in + } + if in.ClusterArnRef != nil { + in, out := &in.ClusterArnRef, &out.ClusterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterArnSelector != nil { + in, out := &in.ClusterArnSelector, &out.ClusterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -483,6 +498,36 @@ func (in *RoutingControl) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RoutingControlInitParameters) DeepCopyInto(out *RoutingControlInitParameters) { *out = *in + if in.ClusterArn != nil { + in, out := &in.ClusterArn, &out.ClusterArn + *out = new(string) + **out = **in + } + if in.ClusterArnRef != nil { + in, out := &in.ClusterArnRef, &out.ClusterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ClusterArnSelector != nil { + in, out := &in.ClusterArnSelector, &out.ClusterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ControlPanelArn != nil { + in, out := &in.ControlPanelArn, &out.ControlPanelArn + *out = new(string) + **out = **in + } + if in.ControlPanelArnRef != nil { + in, out := &in.ControlPanelArnRef, &out.ControlPanelArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ControlPanelArnSelector != nil { + in, out := &in.ControlPanelArnSelector, &out.ControlPanelArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -787,6 +832,44 @@ func (in *SafetyRule) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SafetyRuleInitParameters) DeepCopyInto(out *SafetyRuleInitParameters) { *out = *in + if in.AssertedControls != nil { + in, out := &in.AssertedControls, &out.AssertedControls + *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.AssertedControlsRefs != nil { + in, out := &in.AssertedControlsRefs, &out.AssertedControlsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AssertedControlsSelector != nil { + in, out := &in.AssertedControlsSelector, &out.AssertedControlsSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ControlPanelArn != nil { + in, out := &in.ControlPanelArn, &out.ControlPanelArn + *out = new(string) + **out = **in + } + if in.ControlPanelArnRef != nil { + in, out := &in.ControlPanelArnRef, &out.ControlPanelArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ControlPanelArnSelector != nil { + in, out := &in.ControlPanelArnSelector, &out.ControlPanelArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.GatingControls != nil { in, out := &in.GatingControls, &out.GatingControls *out = make([]*string, len(*in)) diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.resolvers.go b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.resolvers.go index 49a0d0da85..a8760eef32 100644 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.resolvers.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *ControlPanel) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ClusterArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ClusterArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.ClusterArnRef, + Selector: mg.Spec.InitProvider.ClusterArnSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterArn") + } + mg.Spec.InitProvider.ClusterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterArnRef = rsp.ResolvedReference + return nil } @@ -78,6 +94,38 @@ func (mg *RoutingControl) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ControlPanelArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ControlPanelArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ClusterArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.ClusterArnRef, + Selector: mg.Spec.InitProvider.ClusterArnSelector, + To: reference.To{ + List: &ClusterList{}, + Managed: &Cluster{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ClusterArn") + } + mg.Spec.InitProvider.ClusterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ClusterArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ControlPanelArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.ControlPanelArnRef, + Selector: mg.Spec.InitProvider.ControlPanelArnSelector, + To: reference.To{ + List: &ControlPanelList{}, + Managed: &ControlPanel{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ControlPanelArn") + } + mg.Spec.InitProvider.ControlPanelArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ControlPanelArnRef = rsp.ResolvedReference + return nil } @@ -121,5 +169,37 @@ func (mg *SafetyRule) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ControlPanelArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ControlPanelArnRef = rsp.ResolvedReference + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.AssertedControls), + Extract: common.TerraformID(), + References: mg.Spec.InitProvider.AssertedControlsRefs, + Selector: mg.Spec.InitProvider.AssertedControlsSelector, + To: reference.To{ + List: &RoutingControlList{}, + Managed: &RoutingControl{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AssertedControls") + } + mg.Spec.InitProvider.AssertedControls = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.AssertedControlsRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ControlPanelArn), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.ControlPanelArnRef, + Selector: mg.Spec.InitProvider.ControlPanelArnSelector, + To: reference.To{ + List: &ControlPanelList{}, + Managed: &ControlPanel{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ControlPanelArn") + } + mg.Spec.InitProvider.ControlPanelArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ControlPanelArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go index ef1c788fa0..5b570378ba 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go @@ -19,6 +19,32 @@ import ( type RoutingControlInitParameters struct { + // ARN of the cluster in which this routing control will reside. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"` + + // Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"` + + // Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn. + // +kubebuilder:validation:Optional + ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"` + + // ARN of the control panel in which this routing control will reside. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"` + + // Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn. + // +kubebuilder:validation:Optional + ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"` + + // Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn. + // +kubebuilder:validation:Optional + ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"` + // The name describing the routing control. Name *string `json:"name,omitempty" tf:"name,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go index 224fa5a146..d7f3c19986 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go @@ -58,6 +58,32 @@ type RuleConfigParameters struct { type SafetyRuleInitParameters struct { + // Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.RoutingControl + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + AssertedControls []*string `json:"assertedControls,omitempty" tf:"asserted_controls,omitempty"` + + // References to RoutingControl in route53recoverycontrolconfig to populate assertedControls. + // +kubebuilder:validation:Optional + AssertedControlsRefs []v1.Reference `json:"assertedControlsRefs,omitempty" tf:"-"` + + // Selector for a list of RoutingControl in route53recoverycontrolconfig to populate assertedControls. + // +kubebuilder:validation:Optional + AssertedControlsSelector *v1.Selector `json:"assertedControlsSelector,omitempty" tf:"-"` + + // ARN of the control panel in which this safety rule will reside. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"` + + // Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn. + // +kubebuilder:validation:Optional + ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"` + + // Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn. + // +kubebuilder:validation:Optional + ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"` + // Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. GatingControls []*string `json:"gatingControls,omitempty" tf:"gating_controls,omitempty"` diff --git a/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go b/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go index 77d894fae0..d08a962af8 100644 --- a/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go @@ -1295,6 +1295,21 @@ func (in *ResourcesInitParameters) DeepCopyInto(out *ResourcesInitParameters) { } } } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesInitParameters. diff --git a/apis/route53recoveryreadiness/v1beta1/zz_generated.resolvers.go b/apis/route53recoveryreadiness/v1beta1/zz_generated.resolvers.go index dd784463fc..ffb3a2942a 100644 --- a/apis/route53recoveryreadiness/v1beta1/zz_generated.resolvers.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *ResourceSet) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Resources[i3].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Resources[i3].ResourceArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Resources); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Resources[i3].ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Resources[i3].ResourceArnRef, + Selector: mg.Spec.InitProvider.Resources[i3].ResourceArnSelector, + To: reference.To{ + List: &v1beta1.MetricAlarmList{}, + Managed: &v1beta1.MetricAlarm{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Resources[i3].ResourceArn") + } + mg.Spec.InitProvider.Resources[i3].ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Resources[i3].ResourceArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go b/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go index e150d12d24..0bc4af63d1 100755 --- a/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go @@ -187,6 +187,19 @@ type ResourcesInitParameters struct { // Recovery group ARN or cell ARN that contains this resource set. ReadinessScopes []*string `json:"readinessScopes,omitempty" tf:"readiness_scopes,omitempty"` + + // ARN of the resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatch/v1beta1.MetricAlarm + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a MetricAlarm in cloudwatch to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a MetricAlarm in cloudwatch to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` } type ResourcesObservation struct { diff --git a/apis/route53resolver/v1beta1/zz_endpoint_types.go b/apis/route53resolver/v1beta1/zz_endpoint_types.go index 6059204b4a..7df221ed28 100755 --- a/apis/route53resolver/v1beta1/zz_endpoint_types.go +++ b/apis/route53resolver/v1beta1/zz_endpoint_types.go @@ -31,6 +31,21 @@ type EndpointInitParameters struct { // The friendly name of the Route 53 Resolver endpoint. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // References to SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"` + + // Selector for a list of SecurityGroup in ec2 to populate securityGroupIds. + // +kubebuilder:validation:Optional + SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` + + // The ID of one or more security groups that you want to use to control access to this VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs + // +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -120,6 +135,19 @@ type IPAddressInitParameters struct { // The IP address in the subnet that you want to use for DNS queries. IP *string `json:"ip,omitempty" tf:"ip,omitempty"` + + // The ID of the subnet that contains the IP address. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } type IPAddressObservation struct { diff --git a/apis/route53resolver/v1beta1/zz_generated.deepcopy.go b/apis/route53resolver/v1beta1/zz_generated.deepcopy.go index 109f0143db..1282465c80 100644 --- a/apis/route53resolver/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53resolver/v1beta1/zz_generated.deepcopy.go @@ -60,6 +60,29 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { *out = new(string) **out = **in } + if in.SecurityGroupIDRefs != nil { + in, out := &in.SecurityGroupIDRefs, &out.SecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 + } + } + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -329,6 +352,21 @@ func (in *IPAddressInitParameters) DeepCopyInto(out *IPAddressInitParameters) { *out = new(string) **out = **in } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressInitParameters. @@ -468,6 +506,36 @@ func (in *RuleAssociationInitParameters) DeepCopyInto(out *RuleAssociationInitPa *out = new(string) **out = **in } + if in.ResolverRuleID != nil { + in, out := &in.ResolverRuleID, &out.ResolverRuleID + *out = new(string) + **out = **in + } + if in.ResolverRuleIDRef != nil { + in, out := &in.ResolverRuleIDRef, &out.ResolverRuleIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResolverRuleIDSelector != nil { + in, out := &in.ResolverRuleIDSelector, &out.ResolverRuleIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 RuleAssociationInitParameters. @@ -650,6 +718,21 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = new(string) **out = **in } + if in.ResolverEndpointID != nil { + in, out := &in.ResolverEndpointID, &out.ResolverEndpointID + *out = new(string) + **out = **in + } + if in.ResolverEndpointIDRef != nil { + in, out := &in.ResolverEndpointIDRef, &out.ResolverEndpointIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResolverEndpointIDSelector != nil { + in, out := &in.ResolverEndpointIDSelector, &out.ResolverEndpointIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RuleType != nil { in, out := &in.RuleType, &out.RuleType *out = new(string) diff --git a/apis/route53resolver/v1beta1/zz_generated.resolvers.go b/apis/route53resolver/v1beta1/zz_generated.resolvers.go index 276f60d653..d563dfd8ab 100644 --- a/apis/route53resolver/v1beta1/zz_generated.resolvers.go +++ b/apis/route53resolver/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,40 @@ func (mg *Endpoint) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + for i3 := 0; i3 < len(mg.Spec.InitProvider.IPAddress); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IPAddress[i3].SubnetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IPAddress[i3].SubnetIDRef, + Selector: mg.Spec.InitProvider.IPAddress[i3].SubnetIDSelector, + To: reference.To{ + List: &v1beta1.SubnetList{}, + Managed: &v1beta1.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IPAddress[i3].SubnetID") + } + mg.Spec.InitProvider.IPAddress[i3].SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IPAddress[i3].SubnetIDRef = rsp.ResolvedReference + + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SecurityGroupIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SecurityGroupIDRefs, + Selector: mg.Spec.InitProvider.SecurityGroupIDSelector, + To: reference.To{ + List: &v1beta1.SecurityGroupList{}, + Managed: &v1beta1.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecurityGroupIds") + } + mg.Spec.InitProvider.SecurityGroupIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SecurityGroupIDRefs = mrsp.ResolvedReferences + return nil } @@ -82,6 +116,22 @@ func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.ResolverEndpointID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResolverEndpointIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResolverEndpointID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResolverEndpointIDRef, + Selector: mg.Spec.InitProvider.ResolverEndpointIDSelector, + To: reference.To{ + List: &EndpointList{}, + Managed: &Endpoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResolverEndpointID") + } + mg.Spec.InitProvider.ResolverEndpointID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResolverEndpointIDRef = rsp.ResolvedReference + return nil } @@ -124,5 +174,37 @@ func (mg *RuleAssociation) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResolverRuleID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ResolverRuleIDRef, + Selector: mg.Spec.InitProvider.ResolverRuleIDSelector, + To: reference.To{ + List: &RuleList{}, + Managed: &Rule{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResolverRuleID") + } + mg.Spec.InitProvider.ResolverRuleID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResolverRuleIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/route53resolver/v1beta1/zz_rule_types.go b/apis/route53resolver/v1beta1/zz_rule_types.go index 1decbe54e8..2e90bfd7bb 100755 --- a/apis/route53resolver/v1beta1/zz_rule_types.go +++ b/apis/route53resolver/v1beta1/zz_rule_types.go @@ -25,6 +25,20 @@ type RuleInitParameters struct { // A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using target_ip. + // This argument should only be specified for FORWARD type rules. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Endpoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResolverEndpointID *string `json:"resolverEndpointId,omitempty" tf:"resolver_endpoint_id,omitempty"` + + // Reference to a Endpoint in route53resolver to populate resolverEndpointId. + // +kubebuilder:validation:Optional + ResolverEndpointIDRef *v1.Reference `json:"resolverEndpointIdRef,omitempty" tf:"-"` + + // Selector for a Endpoint in route53resolver to populate resolverEndpointId. + // +kubebuilder:validation:Optional + ResolverEndpointIDSelector *v1.Selector `json:"resolverEndpointIdSelector,omitempty" tf:"-"` + // The rule type. Valid values are FORWARD, SYSTEM and RECURSIVE. RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"` diff --git a/apis/route53resolver/v1beta1/zz_ruleassociation_types.go b/apis/route53resolver/v1beta1/zz_ruleassociation_types.go index d2e8be79ad..e6f0d1d9da 100755 --- a/apis/route53resolver/v1beta1/zz_ruleassociation_types.go +++ b/apis/route53resolver/v1beta1/zz_ruleassociation_types.go @@ -21,6 +21,31 @@ type RuleAssociationInitParameters struct { // A name for the association that you're creating between a resolver rule and a VPC. Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // The ID of the resolver rule that you want to associate with the VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Rule + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ResolverRuleID *string `json:"resolverRuleId,omitempty" tf:"resolver_rule_id,omitempty"` + + // Reference to a Rule in route53resolver to populate resolverRuleId. + // +kubebuilder:validation:Optional + ResolverRuleIDRef *v1.Reference `json:"resolverRuleIdRef,omitempty" tf:"-"` + + // Selector for a Rule in route53resolver to populate resolverRuleId. + // +kubebuilder:validation:Optional + ResolverRuleIDSelector *v1.Selector `json:"resolverRuleIdSelector,omitempty" tf:"-"` + + // The ID of the VPC that you want to associate the resolver rule with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type RuleAssociationObservation struct { diff --git a/apis/rum/v1beta1/zz_generated.deepcopy.go b/apis/rum/v1beta1/zz_generated.deepcopy.go index 4bc1433c87..98b29063ba 100644 --- a/apis/rum/v1beta1/zz_generated.deepcopy.go +++ b/apis/rum/v1beta1/zz_generated.deepcopy.go @@ -655,6 +655,21 @@ func (in *MetricsDestination) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetricsDestinationInitParameters) DeepCopyInto(out *MetricsDestinationInitParameters) { *out = *in + if in.AppMonitorName != nil { + in, out := &in.AppMonitorName, &out.AppMonitorName + *out = new(string) + **out = **in + } + if in.AppMonitorNameRef != nil { + in, out := &in.AppMonitorNameRef, &out.AppMonitorNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AppMonitorNameSelector != nil { + in, out := &in.AppMonitorNameSelector, &out.AppMonitorNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Destination != nil { in, out := &in.Destination, &out.Destination *out = new(string) @@ -665,6 +680,21 @@ func (in *MetricsDestinationInitParameters) DeepCopyInto(out *MetricsDestination *out = new(string) **out = **in } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsDestinationInitParameters. diff --git a/apis/rum/v1beta1/zz_generated.resolvers.go b/apis/rum/v1beta1/zz_generated.resolvers.go index 59b32cefea..a2f3d4cf61 100644 --- a/apis/rum/v1beta1/zz_generated.resolvers.go +++ b/apis/rum/v1beta1/zz_generated.resolvers.go @@ -53,5 +53,37 @@ func (mg *MetricsDestination) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IAMRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AppMonitorName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.AppMonitorNameRef, + Selector: mg.Spec.InitProvider.AppMonitorNameSelector, + To: reference.To{ + List: &AppMonitorList{}, + Managed: &AppMonitor{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AppMonitorName") + } + mg.Spec.InitProvider.AppMonitorName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AppMonitorNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.IAMRoleArnRef, + Selector: mg.Spec.InitProvider.IAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRoleArn") + } + mg.Spec.InitProvider.IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/rum/v1beta1/zz_metricsdestination_types.go b/apis/rum/v1beta1/zz_metricsdestination_types.go index bc173884e9..26e61265f9 100755 --- a/apis/rum/v1beta1/zz_metricsdestination_types.go +++ b/apis/rum/v1beta1/zz_metricsdestination_types.go @@ -19,11 +19,36 @@ import ( type MetricsDestinationInitParameters struct { + // The name of the CloudWatch RUM app monitor that will send the metrics. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rum/v1beta1.AppMonitor + AppMonitorName *string `json:"appMonitorName,omitempty" tf:"app_monitor_name,omitempty"` + + // Reference to a AppMonitor in rum to populate appMonitorName. + // +kubebuilder:validation:Optional + AppMonitorNameRef *v1.Reference `json:"appMonitorNameRef,omitempty" tf:"-"` + + // Selector for a AppMonitor in rum to populate appMonitorName. + // +kubebuilder:validation:Optional + AppMonitorNameSelector *v1.Selector `json:"appMonitorNameSelector,omitempty" tf:"-"` + // Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment. Destination *string `json:"destination,omitempty" tf:"destination,omitempty"` // Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics. DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"` + + // This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` } type MetricsDestinationObservation struct { diff --git a/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go b/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go index 5a9e56259b..ca1b56c122 100755 --- a/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go @@ -19,6 +19,19 @@ import ( type BucketAccelerateConfigurationInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketacl_types.go b/apis/s3/v1beta1/zz_bucketacl_types.go index e051aae01c..fc22f36405 100755 --- a/apis/s3/v1beta1/zz_bucketacl_types.go +++ b/apis/s3/v1beta1/zz_bucketacl_types.go @@ -83,6 +83,19 @@ type BucketACLInitParameters struct { // Configuration block that sets the ACL permissions for an object per grantee. See below. AccessControlPolicy []AccessControlPolicyInitParameters `json:"accessControlPolicy,omitempty" tf:"access_control_policy,omitempty"` + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go b/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go index e90d53397f..6ceb58a952 100755 --- a/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go @@ -51,6 +51,19 @@ type BucketAnalyticsConfigurationFilterParameters struct { type BucketAnalyticsConfigurationInitParameters struct { + // Name of the bucket this analytics configuration is associated with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below). Filter []BucketAnalyticsConfigurationFilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` @@ -165,6 +178,19 @@ type S3BucketDestinationInitParameters struct { // Account ID that owns the destination bucket. BucketAccountID *string `json:"bucketAccountId,omitempty" tf:"bucket_account_id,omitempty"` + // ARN of the destination bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Output format of exported analytics data. Allowed values: CSV. Default value: CSV. Format *string `json:"format,omitempty" tf:"format,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go b/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go index e0ccfa6c88..85cd9f6f33 100755 --- a/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go @@ -100,6 +100,19 @@ type BucketCorsConfigurationCorsRuleParameters struct { type BucketCorsConfigurationInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules. CorsRule []BucketCorsConfigurationCorsRuleInitParameters `json:"corsRule,omitempty" tf:"cors_rule,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go b/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go index 1893f6611c..862c8627c6 100755 --- a/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go @@ -51,6 +51,19 @@ type BucketIntelligentTieringConfigurationFilterParameters struct { type BucketIntelligentTieringConfigurationInitParameters struct { + // Name of the bucket this intelligent tiering configuration is associated with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below). Filter []BucketIntelligentTieringConfigurationFilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketinventory_types.go b/apis/s3/v1beta1/zz_bucketinventory_types.go index 8378b69b1a..d8dbc919e0 100755 --- a/apis/s3/v1beta1/zz_bucketinventory_types.go +++ b/apis/s3/v1beta1/zz_bucketinventory_types.go @@ -57,6 +57,19 @@ type BucketInventoryFilterParameters struct { type BucketInventoryInitParameters struct { + // Name of the source bucket that inventory lists the objects for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Contains information about where to publish the inventory results (documented below). Destination []BucketInventoryDestinationInitParameters `json:"destination,omitempty" tf:"destination,omitempty"` @@ -166,6 +179,19 @@ type DestinationBucketInitParameters struct { // ID of the account that owns the destination bucket. Recommended to be set to prevent problems if the destination bucket ownership changes. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + // Amazon S3 bucket ARN of the destination. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"` + + // Reference to a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketArn. + // +kubebuilder:validation:Optional + BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"` + // Contains the type of server-side encryption to use to encrypt the inventory (documented below). Encryption []EncryptionInitParameters `json:"encryption,omitempty" tf:"encryption,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go b/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go index 0b026329c9..6b4eb8b510 100755 --- a/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go @@ -90,6 +90,19 @@ type AndParameters struct { type BucketLifecycleConfigurationInitParameters struct { + // Name of the source S3 bucket you want Amazon S3 to monitor. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketlogging_types.go b/apis/s3/v1beta1/zz_bucketlogging_types.go index bf18b83912..5519731090 100755 --- a/apis/s3/v1beta1/zz_bucketlogging_types.go +++ b/apis/s3/v1beta1/zz_bucketlogging_types.go @@ -19,9 +19,35 @@ import ( type BucketLoggingInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` + // Name of the bucket where you want Amazon S3 to store server access logs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + TargetBucket *string `json:"targetBucket,omitempty" tf:"target_bucket,omitempty"` + + // Reference to a Bucket in s3 to populate targetBucket. + // +kubebuilder:validation:Optional + TargetBucketRef *v1.Reference `json:"targetBucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate targetBucket. + // +kubebuilder:validation:Optional + TargetBucketSelector *v1.Selector `json:"targetBucketSelector,omitempty" tf:"-"` + // Set of configuration blocks with information for granting permissions. See below. TargetGrant []TargetGrantInitParameters `json:"targetGrant,omitempty" tf:"target_grant,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketmetric_types.go b/apis/s3/v1beta1/zz_bucketmetric_types.go index 0890994f41..c8816835ae 100755 --- a/apis/s3/v1beta1/zz_bucketmetric_types.go +++ b/apis/s3/v1beta1/zz_bucketmetric_types.go @@ -51,6 +51,19 @@ type BucketMetricFilterParameters struct { type BucketMetricInitParameters struct { + // Name of the bucket to put metric configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below). Filter []BucketMetricFilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketnotification_types.go b/apis/s3/v1beta1/zz_bucketnotification_types.go index 1280404d40..3512a7ce31 100755 --- a/apis/s3/v1beta1/zz_bucketnotification_types.go +++ b/apis/s3/v1beta1/zz_bucketnotification_types.go @@ -19,6 +19,19 @@ import ( type BucketNotificationInitParameters struct { + // Name of the bucket for notification configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Whether to enable Amazon EventBridge notifications. Defaults to false. Eventbridge *bool `json:"eventbridge,omitempty" tf:"eventbridge,omitempty"` @@ -167,6 +180,19 @@ type QueueInitParameters struct { // Unique identifier for each of the notification configurations. ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // SQS queue ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + QueueArn *string `json:"queueArn,omitempty" tf:"queue_arn,omitempty"` + + // Reference to a Queue in sqs to populate queueArn. + // +kubebuilder:validation:Optional + QueueArnRef *v1.Reference `json:"queueArnRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate queueArn. + // +kubebuilder:validation:Optional + QueueArnSelector *v1.Selector `json:"queueArnSelector,omitempty" tf:"-"` } type QueueObservation struct { @@ -236,6 +262,19 @@ type TopicInitParameters struct { // Unique identifier for each of the notification configurations. ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // SNS topic ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type TopicObservation struct { diff --git a/apis/s3/v1beta1/zz_bucketobject_types.go b/apis/s3/v1beta1/zz_bucketobject_types.go index b1de77567c..a63be6f712 100755 --- a/apis/s3/v1beta1/zz_bucketobject_types.go +++ b/apis/s3/v1beta1/zz_bucketobject_types.go @@ -22,9 +22,22 @@ type BucketObjectInitParameters struct { // Canned ACL to apply. Valid values are private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. Defaults to private. ACL *string `json:"acl,omitempty" tf:"acl,omitempty"` + // Name of the bucket to put the file in. Alternatively, an S3 access point ARN can be specified. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + // Whether or not to use Amazon S3 Bucket Keys for SSE-KMS. BucketKeyEnabled *bool `json:"bucketKeyEnabled,omitempty" tf:"bucket_key_enabled,omitempty"` + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Caching behavior along the request/reply chain Read w3c cache_control for further details. CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"` @@ -52,6 +65,18 @@ type BucketObjectInitParameters struct { // Whether to allow the object to be deleted by removing any legal hold on any object version. Default is false. This value should be set to true only if the bucket has S3 object lock enabled. ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"` + // ARN of the KMS Key to use for object encryption. If the S3 Bucket has server-side encryption enabled, that value will automatically be used. If referencing the aws_kms_key resource, use the arn attribute. If referencing the aws_kms_alias data source or resource, use the target_key_arn attribute. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Name of the object once it is in the bucket. Key *string `json:"key,omitempty" tf:"key,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketobjectlockconfiguration_types.go b/apis/s3/v1beta1/zz_bucketobjectlockconfiguration_types.go index 5baa37c352..580844f406 100755 --- a/apis/s3/v1beta1/zz_bucketobjectlockconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketobjectlockconfiguration_types.go @@ -19,6 +19,19 @@ import ( type BucketObjectLockConfigurationInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go b/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go index 4f2ca772fd..4c9b450025 100755 --- a/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go +++ b/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go @@ -19,6 +19,19 @@ import ( type BucketOwnershipControlsInitParameters struct { + // Name of the bucket that you want to associate this access point with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Configuration block(s) with Ownership Controls rules. Detailed below. Rule []BucketOwnershipControlsRuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketpolicy_types.go b/apis/s3/v1beta1/zz_bucketpolicy_types.go index b87738d29a..4bb8574480 100755 --- a/apis/s3/v1beta1/zz_bucketpolicy_types.go +++ b/apis/s3/v1beta1/zz_bucketpolicy_types.go @@ -19,6 +19,19 @@ import ( type BucketPolicyInitParameters struct { + // Name of the bucket to which to apply the policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Text of the policy. Although this is a bucket policy rather than an IAM policy, the aws_iam_policy_document data source may be used, so long as it specifies a principal. Note: Bucket policies are limited to 20 KB in size. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketpublicaccessblock_types.go b/apis/s3/v1beta1/zz_bucketpublicaccessblock_types.go index 6a01b8d4b0..f0815edc22 100755 --- a/apis/s3/v1beta1/zz_bucketpublicaccessblock_types.go +++ b/apis/s3/v1beta1/zz_bucketpublicaccessblock_types.go @@ -25,6 +25,19 @@ type BucketPublicAccessBlockInitParameters struct { // Whether Amazon S3 should block public bucket policies for this bucket. Defaults to false. Enabling this setting does not affect the existing bucket policy. When set to true causes Amazon S3 to: BlockPublicPolicy *bool `json:"blockPublicPolicy,omitempty" tf:"block_public_policy,omitempty"` + // S3 Bucket to which this Public Access Block configuration should be applied. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Whether Amazon S3 should ignore public ACLs for this bucket. Defaults to false. Enabling this setting does not affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. When set to true causes Amazon S3 to: IgnorePublicAcls *bool `json:"ignorePublicAcls,omitempty" tf:"ignore_public_acls,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go b/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go index d490e2ef55..39171dacac 100755 --- a/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go @@ -19,6 +19,32 @@ import ( type BucketReplicationConfigurationInitParameters struct { + // Name of the source S3 bucket you want Amazon S3 to monitor. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + + // ARN of the IAM role for Amazon S3 to assume when replicating the objects. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + // List of configuration blocks describing the rules managing the replication. See below. Rule []BucketReplicationConfigurationRuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` } @@ -462,6 +488,19 @@ type RuleDestinationInitParameters struct { // Account ID to specify the replica ownership. Must be used in conjunction with access_control_translation override configuration. Account *string `json:"account,omitempty" tf:"account,omitempty"` + // ARN of the bucket where you want Amazon S3 to store the results. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element. EncryptionConfiguration []EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go b/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go index 5acb7be077..9195bc94cd 100755 --- a/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go @@ -19,6 +19,19 @@ import ( type BucketRequestPaymentConfigurationInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go b/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go index 9ef9f3374c..58b2b41d48 100755 --- a/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go @@ -19,6 +19,19 @@ import ( type BucketServerSideEncryptionConfigurationInitParameters struct { + // ID (name) of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` @@ -102,6 +115,19 @@ type BucketServerSideEncryptionConfigurationRuleParameters struct { type RuleApplyServerSideEncryptionByDefaultInitParameters struct { + // AWS KMS master key ID used for the SSE-KMS encryption. This can only be used when you set the value of sse_algorithm as aws:kms. The default aws/s3 AWS KMS master key is used if this element is absent while the sse_algorithm is aws:kms. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KMSMasterKeyID *string `json:"kmsMasterKeyId,omitempty" tf:"kms_master_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsMasterKeyId. + // +kubebuilder:validation:Optional + KMSMasterKeyIDRef *v1.Reference `json:"kmsMasterKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsMasterKeyId. + // +kubebuilder:validation:Optional + KMSMasterKeyIDSelector *v1.Selector `json:"kmsMasterKeyIdSelector,omitempty" tf:"-"` + // Server-side encryption algorithm to use. Valid values are AES256, aws:kms, and aws:kms:dsse SseAlgorithm *string `json:"sseAlgorithm,omitempty" tf:"sse_algorithm,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketversioning_types.go b/apis/s3/v1beta1/zz_bucketversioning_types.go index aff307a76d..6889d680b9 100755 --- a/apis/s3/v1beta1/zz_bucketversioning_types.go +++ b/apis/s3/v1beta1/zz_bucketversioning_types.go @@ -19,6 +19,19 @@ import ( type BucketVersioningInitParameters struct { + // Name of the S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Account ID of the expected bucket owner. ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"` diff --git a/apis/s3/v1beta1/zz_bucketwebsiteconfiguration_types.go b/apis/s3/v1beta1/zz_bucketwebsiteconfiguration_types.go index b00cf972ce..49bc239216 100755 --- a/apis/s3/v1beta1/zz_bucketwebsiteconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketwebsiteconfiguration_types.go @@ -19,6 +19,19 @@ import ( type BucketWebsiteConfigurationInitParameters struct { + // Name of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Name of the error document for the website. See below. ErrorDocument []ErrorDocumentInitParameters `json:"errorDocument,omitempty" tf:"error_document,omitempty"` diff --git a/apis/s3/v1beta1/zz_generated.deepcopy.go b/apis/s3/v1beta1/zz_generated.deepcopy.go index 66a79f2435..f9fcd675d8 100644 --- a/apis/s3/v1beta1/zz_generated.deepcopy.go +++ b/apis/s3/v1beta1/zz_generated.deepcopy.go @@ -553,6 +553,21 @@ func (in *BucketACLInitParameters) DeepCopyInto(out *BucketACLInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -761,6 +776,21 @@ func (in *BucketAccelerateConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketAccelerateConfigurationInitParameters) DeepCopyInto(out *BucketAccelerateConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -1068,6 +1098,21 @@ func (in *BucketAnalyticsConfigurationFilterParameters) DeepCopy() *BucketAnalyt // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketAnalyticsConfigurationInitParameters) DeepCopyInto(out *BucketAnalyticsConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Filter != nil { in, out := &in.Filter, &out.Filter *out = make([]BucketAnalyticsConfigurationFilterInitParameters, len(*in)) @@ -1501,6 +1546,21 @@ func (in *BucketCorsConfigurationCorsRuleParameters) DeepCopy() *BucketCorsConfi // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketCorsConfigurationInitParameters) DeepCopyInto(out *BucketCorsConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CorsRule != nil { in, out := &in.CorsRule, &out.CorsRule *out = make([]BucketCorsConfigurationCorsRuleInitParameters, len(*in)) @@ -1855,6 +1915,21 @@ func (in *BucketIntelligentTieringConfigurationFilterParameters) DeepCopy() *Buc // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketIntelligentTieringConfigurationInitParameters) DeepCopyInto(out *BucketIntelligentTieringConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Filter != nil { in, out := &in.Filter, &out.Filter *out = make([]BucketIntelligentTieringConfigurationFilterInitParameters, len(*in)) @@ -2222,6 +2297,21 @@ func (in *BucketInventoryFilterParameters) DeepCopy() *BucketInventoryFilterPara // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketInventoryInitParameters) DeepCopyInto(out *BucketInventoryInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Destination != nil { in, out := &in.Destination, &out.Destination *out = make([]BucketInventoryDestinationInitParameters, len(*in)) @@ -2532,6 +2622,21 @@ func (in *BucketLifecycleConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketLifecycleConfigurationInitParameters) DeepCopyInto(out *BucketLifecycleConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -2985,11 +3090,41 @@ func (in *BucketLogging) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketLoggingInitParameters) DeepCopyInto(out *BucketLoggingInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) **out = **in } + if in.TargetBucket != nil { + in, out := &in.TargetBucket, &out.TargetBucket + *out = new(string) + **out = **in + } + if in.TargetBucketRef != nil { + in, out := &in.TargetBucketRef, &out.TargetBucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetBucketSelector != nil { + in, out := &in.TargetBucketSelector, &out.TargetBucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TargetGrant != nil { in, out := &in.TargetGrant, &out.TargetGrant *out = make([]TargetGrantInitParameters, len(*in)) @@ -3354,6 +3489,21 @@ func (in *BucketMetricFilterParameters) DeepCopy() *BucketMetricFilterParameters // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketMetricInitParameters) DeepCopyInto(out *BucketMetricInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Filter != nil { in, out := &in.Filter, &out.Filter *out = make([]BucketMetricFilterInitParameters, len(*in)) @@ -3559,6 +3709,21 @@ func (in *BucketNotification) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketNotificationInitParameters) DeepCopyInto(out *BucketNotificationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Eventbridge != nil { in, out := &in.Eventbridge, &out.Eventbridge *out = new(bool) @@ -3811,11 +3976,26 @@ func (in *BucketObjectInitParameters) DeepCopyInto(out *BucketObjectInitParamete *out = new(string) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } if in.BucketKeyEnabled != nil { in, out := &in.BucketKeyEnabled, &out.BucketKeyEnabled *out = new(bool) **out = **in } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CacheControl != nil { in, out := &in.CacheControl, &out.CacheControl *out = new(string) @@ -3861,6 +4041,21 @@ func (in *BucketObjectInitParameters) DeepCopyInto(out *BucketObjectInitParamete *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) @@ -4012,6 +4207,21 @@ func (in *BucketObjectLockConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketObjectLockConfigurationInitParameters) DeepCopyInto(out *BucketObjectLockConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -4883,6 +5093,21 @@ func (in *BucketOwnershipControls) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketOwnershipControlsInitParameters) DeepCopyInto(out *BucketOwnershipControlsInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Rule != nil { in, out := &in.Rule, &out.Rule *out = make([]BucketOwnershipControlsRuleInitParameters, len(*in)) @@ -5179,6 +5404,21 @@ func (in *BucketPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketPolicyInitParameters) DeepCopyInto(out *BucketPolicyInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -5373,6 +5613,21 @@ func (in *BucketPublicAccessBlockInitParameters) DeepCopyInto(out *BucketPublicA *out = new(bool) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IgnorePublicAcls != nil { in, out := &in.IgnorePublicAcls, &out.IgnorePublicAcls *out = new(bool) @@ -5592,6 +5847,36 @@ func (in *BucketReplicationConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketReplicationConfigurationInitParameters) DeepCopyInto(out *BucketReplicationConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Rule != nil { in, out := &in.Rule, &out.Rule *out = make([]BucketReplicationConfigurationRuleInitParameters, len(*in)) @@ -6119,6 +6404,21 @@ func (in *BucketRequestPaymentConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketRequestPaymentConfigurationInitParameters) DeepCopyInto(out *BucketRequestPaymentConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -6318,6 +6618,21 @@ func (in *BucketServerSideEncryptionConfiguration) DeepCopyObject() runtime.Obje // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketServerSideEncryptionConfigurationInitParameters) DeepCopyInto(out *BucketServerSideEncryptionConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -6639,6 +6954,21 @@ func (in *BucketVersioning) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketVersioningInitParameters) DeepCopyInto(out *BucketVersioningInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ExpectedBucketOwner != nil { in, out := &in.ExpectedBucketOwner, &out.ExpectedBucketOwner *out = new(string) @@ -6859,6 +7189,21 @@ func (in *BucketWebsiteConfiguration) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BucketWebsiteConfigurationInitParameters) DeepCopyInto(out *BucketWebsiteConfigurationInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ErrorDocument != nil { in, out := &in.ErrorDocument, &out.ErrorDocument *out = make([]ErrorDocumentInitParameters, len(*in)) @@ -7719,6 +8064,21 @@ func (in *DestinationBucketInitParameters) DeepCopyInto(out *DestinationBucketIn *out = new(string) **out = **in } + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Encryption != nil { in, out := &in.Encryption, &out.Encryption *out = make([]EncryptionInitParameters, len(*in)) @@ -10428,11 +10788,26 @@ func (in *ObjectInitParameters) DeepCopyInto(out *ObjectInitParameters) { *out = new(string) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } if in.BucketKeyEnabled != nil { in, out := &in.BucketKeyEnabled, &out.BucketKeyEnabled *out = new(bool) **out = **in } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.CacheControl != nil { in, out := &in.CacheControl, &out.CacheControl *out = new(string) @@ -10483,6 +10858,21 @@ func (in *ObjectInitParameters) DeepCopyInto(out *ObjectInitParameters) { *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) @@ -11342,6 +11732,21 @@ func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters) { *out = new(string) **out = **in } + if in.QueueArn != nil { + in, out := &in.QueueArn, &out.QueueArn + *out = new(string) + **out = **in + } + if in.QueueArnRef != nil { + in, out := &in.QueueArnRef, &out.QueueArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.QueueArnSelector != nil { + in, out := &in.QueueArnSelector, &out.QueueArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueInitParameters. @@ -11913,6 +12318,21 @@ func (in *RoutingRuleParameters) DeepCopy() *RoutingRuleParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuleApplyServerSideEncryptionByDefaultInitParameters) DeepCopyInto(out *RuleApplyServerSideEncryptionByDefaultInitParameters) { *out = *in + if in.KMSMasterKeyID != nil { + in, out := &in.KMSMasterKeyID, &out.KMSMasterKeyID + *out = new(string) + **out = **in + } + if in.KMSMasterKeyIDRef != nil { + in, out := &in.KMSMasterKeyIDRef, &out.KMSMasterKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSMasterKeyIDSelector != nil { + in, out := &in.KMSMasterKeyIDSelector, &out.KMSMasterKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SseAlgorithm != nil { in, out := &in.SseAlgorithm, &out.SseAlgorithm *out = new(string) @@ -12095,6 +12515,21 @@ func (in *RuleDestinationInitParameters) DeepCopyInto(out *RuleDestinationInitPa *out = new(string) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EncryptionConfiguration != nil { in, out := &in.EncryptionConfiguration, &out.EncryptionConfiguration *out = make([]EncryptionConfigurationInitParameters, len(*in)) @@ -12974,6 +13409,21 @@ func (in *S3BucketDestinationInitParameters) DeepCopyInto(out *S3BucketDestinati *out = new(string) **out = **in } + if in.BucketArn != nil { + in, out := &in.BucketArn, &out.BucketArn + *out = new(string) + **out = **in + } + if in.BucketArnRef != nil { + in, out := &in.BucketArnRef, &out.BucketArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketArnSelector != nil { + in, out := &in.BucketArnSelector, &out.BucketArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Format != nil { in, out := &in.Format, &out.Format *out = new(string) @@ -14134,6 +14584,21 @@ func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { *out = new(string) **out = **in } + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInitParameters. diff --git a/apis/s3/v1beta1/zz_generated.resolvers.go b/apis/s3/v1beta1/zz_generated.resolvers.go index 3a62f891cb..2d3bdc0001 100644 --- a/apis/s3/v1beta1/zz_generated.resolvers.go +++ b/apis/s3/v1beta1/zz_generated.resolvers.go @@ -40,6 +40,22 @@ func (mg *BucketACL) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -66,6 +82,22 @@ func (mg *BucketAccelerateConfiguration) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -116,6 +148,46 @@ func (mg *BucketAnalyticsConfiguration) ResolveReferences(ctx context.Context, c } } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageClassAnalysis); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArnRef, + Selector: mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArnSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArn") + } + mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageClassAnalysis[i3].DataExport[i4].Destination[i5].S3BucketDestination[i6].BucketArnRef = rsp.ResolvedReference + + } + } + } + } return nil } @@ -143,6 +215,22 @@ func (mg *BucketCorsConfiguration) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -169,6 +257,22 @@ func (mg *BucketIntelligentTieringConfiguration) ResolveReferences(ctx context.C mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -215,6 +319,42 @@ func (mg *BucketInventory) ResolveReferences(ctx context.Context, c client.Reade } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Destination); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Destination[i3].Bucket); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArnRef, + Selector: mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArnSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArn") + } + mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Destination[i3].Bucket[i4].BucketArnRef = rsp.ResolvedReference + + } + } return nil } @@ -242,6 +382,22 @@ func (mg *BucketLifecycleConfiguration) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -284,6 +440,38 @@ func (mg *BucketLogging) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.TargetBucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetBucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetBucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TargetBucketRef, + Selector: mg.Spec.InitProvider.TargetBucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetBucket") + } + mg.Spec.InitProvider.TargetBucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetBucketRef = rsp.ResolvedReference + return nil } @@ -310,6 +498,22 @@ func (mg *BucketMetric) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -371,6 +575,58 @@ func (mg *BucketNotification) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.Topic[i3].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Topic[i3].TopicArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Queue); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Queue[i3].QueueArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Queue[i3].QueueArnRef, + Selector: mg.Spec.InitProvider.Queue[i3].QueueArnSelector, + To: reference.To{ + List: &v1beta1.QueueList{}, + Managed: &v1beta1.Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Queue[i3].QueueArn") + } + mg.Spec.InitProvider.Queue[i3].QueueArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Queue[i3].QueueArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Topic); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Topic[i3].TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Topic[i3].TopicArnRef, + Selector: mg.Spec.InitProvider.Topic[i3].TopicArnSelector, + To: reference.To{ + List: &v1beta11.TopicList{}, + Managed: &v1beta11.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Topic[i3].TopicArn") + } + mg.Spec.InitProvider.Topic[i3].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Topic[i3].TopicArnRef = rsp.ResolvedReference + } return nil @@ -415,6 +671,38 @@ func (mg *BucketObject) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -441,6 +729,22 @@ func (mg *BucketObjectLockConfiguration) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -467,6 +771,22 @@ func (mg *BucketOwnershipControls) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -493,6 +813,22 @@ func (mg *BucketPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -519,6 +855,22 @@ func (mg *BucketPublicAccessBlock) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -581,6 +933,58 @@ func (mg *BucketReplicationConfiguration) ResolveReferences(ctx context.Context, } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Rule); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Rule[i3].Destination); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rule[i3].Destination[i4].Bucket), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Rule[i3].Destination[i4].BucketRef, + Selector: mg.Spec.InitProvider.Rule[i3].Destination[i4].BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rule[i3].Destination[i4].Bucket") + } + mg.Spec.InitProvider.Rule[i3].Destination[i4].Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Rule[i3].Destination[i4].BucketRef = rsp.ResolvedReference + + } + } return nil } @@ -608,6 +1012,22 @@ func (mg *BucketRequestPaymentConfiguration) ResolveReferences(ctx context.Conte mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -654,6 +1074,42 @@ func (mg *BucketServerSideEncryptionConfiguration) ResolveReferences(ctx context } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Rule); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyID), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyIDRef, + Selector: mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyID") + } + mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Rule[i3].ApplyServerSideEncryptionByDefault[i4].KMSMasterKeyIDRef = rsp.ResolvedReference + + } + } return nil } @@ -681,6 +1137,22 @@ func (mg *BucketVersioning) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -707,6 +1179,22 @@ func (mg *BucketWebsiteConfiguration) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BucketRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + return nil } @@ -749,5 +1237,37 @@ func (mg *Object) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &BucketList{}, + Managed: &Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/s3/v1beta1/zz_object_types.go b/apis/s3/v1beta1/zz_object_types.go index ddf493f29a..7342cb486c 100755 --- a/apis/s3/v1beta1/zz_object_types.go +++ b/apis/s3/v1beta1/zz_object_types.go @@ -44,9 +44,22 @@ type ObjectInitParameters struct { // Canned ACL to apply. Valid values are private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. ACL *string `json:"acl,omitempty" tf:"acl,omitempty"` + // Name of the bucket to put the file in. Alternatively, an S3 access point ARN can be specified. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + // Whether or not to use Amazon S3 Bucket Keys for SSE-KMS. BucketKeyEnabled *bool `json:"bucketKeyEnabled,omitempty" tf:"bucket_key_enabled,omitempty"` + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Caching behavior along the request/reply chain Read w3c cache_control for further details. CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"` @@ -77,6 +90,18 @@ type ObjectInitParameters struct { // Whether to allow the object to be deleted by removing any legal hold on any object version. Default is false. This value should be set to true only if the bucket has S3 object lock enabled. ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"` + // ARN of the KMS Key to use for object encryption. If the S3 Bucket has server-side encryption enabled, that value will automatically be used. If referencing the aws_kms_key resource, use the arn attribute. If referencing the aws_kms_alias data source or resource, use the target_key_arn attribute. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Name of the object once it is in the bucket. Key *string `json:"key,omitempty" tf:"key,omitempty"` diff --git a/apis/s3control/v1beta1/zz_accesspoint_types.go b/apis/s3control/v1beta1/zz_accesspoint_types.go index e3fb8cd4b1..e96840c487 100755 --- a/apis/s3control/v1beta1/zz_accesspoint_types.go +++ b/apis/s3control/v1beta1/zz_accesspoint_types.go @@ -22,9 +22,22 @@ type AccessPointInitParameters struct { // AWS account ID for the owner of the bucket for which you want to create an access point. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + // Name of an AWS Partition S3 General Purpose Bucket or the ARN of S3 on Outposts Bucket that you want to associate this access point with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + // AWS account ID associated with the S3 bucket associated with this access point. BucketAccountID *string `json:"bucketAccountId,omitempty" tf:"bucket_account_id,omitempty"` + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` + // Name you want to assign to this access point. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -181,6 +194,19 @@ type PublicAccessBlockConfigurationParameters struct { } type VPCConfigurationInitParameters struct { + + // This access point will only allow connections from the specified VPC ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type VPCConfigurationObservation struct { diff --git a/apis/s3control/v1beta1/zz_accesspointpolicy_types.go b/apis/s3control/v1beta1/zz_accesspointpolicy_types.go index 231eb51883..b1633f2a96 100755 --- a/apis/s3control/v1beta1/zz_accesspointpolicy_types.go +++ b/apis/s3control/v1beta1/zz_accesspointpolicy_types.go @@ -19,6 +19,19 @@ import ( type AccessPointPolicyInitParameters struct { + // The ARN of the access point that you want to associate with the specified policy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Reference to a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.Reference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` + // The policy that you want to apply to the specified access point. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_generated.deepcopy.go b/apis/s3control/v1beta1/zz_generated.deepcopy.go index 805e3e7df9..9fbd9041a1 100644 --- a/apis/s3control/v1beta1/zz_generated.deepcopy.go +++ b/apis/s3control/v1beta1/zz_generated.deepcopy.go @@ -48,11 +48,26 @@ func (in *AccessPointInitParameters) DeepCopyInto(out *AccessPointInitParameters *out = new(string) **out = **in } + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } if in.BucketAccountID != nil { in, out := &in.BucketAccountID, &out.BucketAccountID *out = new(string) **out = **in } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -73,7 +88,9 @@ func (in *AccessPointInitParameters) DeepCopyInto(out *AccessPointInitParameters if in.VPCConfiguration != nil { in, out := &in.VPCConfiguration, &out.VPCConfiguration *out = make([]VPCConfigurationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -318,6 +335,21 @@ func (in *AccessPointPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AccessPointPolicyInitParameters) DeepCopyInto(out *AccessPointPolicyInitParameters) { *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **out = **in + } + if in.AccessPointArnRef != nil { + in, out := &in.AccessPointArnRef, &out.AccessPointArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -1129,6 +1161,21 @@ func (in *AdvancedDataProtectionMetricsParameters) DeepCopy() *AdvancedDataProte // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AwsLambdaInitParameters) DeepCopyInto(out *AwsLambdaInitParameters) { *out = *in + if in.FunctionArn != nil { + in, out := &in.FunctionArn, &out.FunctionArn + *out = new(string) + **out = **in + } + if in.FunctionArnRef != nil { + in, out := &in.FunctionArnRef, &out.FunctionArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FunctionArnSelector != nil { + in, out := &in.FunctionArnSelector, &out.FunctionArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FunctionPayload != nil { in, out := &in.FunctionPayload, &out.FunctionPayload *out = new(string) @@ -1675,6 +1722,21 @@ func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParame *out = new(bool) **out = **in } + if in.SupportingAccessPoint != nil { + in, out := &in.SupportingAccessPoint, &out.SupportingAccessPoint + *out = new(string) + **out = **in + } + if in.SupportingAccessPointRef != nil { + in, out := &in.SupportingAccessPointRef, &out.SupportingAccessPointRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SupportingAccessPointSelector != nil { + in, out := &in.SupportingAccessPointSelector, &out.SupportingAccessPointSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TransformationConfiguration != nil { in, out := &in.TransformationConfiguration, &out.TransformationConfiguration *out = make([]TransformationConfigurationInitParameters, len(*in)) @@ -3086,6 +3148,21 @@ func (in *ObjectLambdaAccessPointPolicyInitParameters) DeepCopyInto(out *ObjectL *out = new(string) **out = **in } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -3569,11 +3646,26 @@ func (in *PublicAccessBlockParameters) DeepCopy() *PublicAccessBlockParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RegionInitParameters) DeepCopyInto(out *RegionInitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } if in.BucketAccountID != nil { in, out := &in.BucketAccountID, &out.BucketAccountID *out = new(string) **out = **in } + if in.BucketRef != nil { + in, out := &in.BucketRef, &out.BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketSelector != nil { + in, out := &in.BucketSelector, &out.BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionInitParameters. @@ -3659,6 +3751,21 @@ func (in *S3BucketDestinationInitParameters) DeepCopyInto(out *S3BucketDestinati *out = new(string) **out = **in } + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Encryption != nil { in, out := &in.Encryption, &out.Encryption *out = make([]EncryptionInitParameters, len(*in)) @@ -4609,6 +4716,21 @@ func (in *TransformationConfigurationParameters) DeepCopy() *TransformationConfi // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VPCConfigurationInitParameters) DeepCopyInto(out *VPCConfigurationInitParameters) { *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 VPCConfigurationInitParameters. diff --git a/apis/s3control/v1beta1/zz_generated.resolvers.go b/apis/s3control/v1beta1/zz_generated.resolvers.go index 38bd7c6291..7edb761a47 100644 --- a/apis/s3control/v1beta1/zz_generated.resolvers.go +++ b/apis/s3control/v1beta1/zz_generated.resolvers.go @@ -56,6 +56,40 @@ func (mg *AccessPoint) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.VPCConfiguration[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCConfiguration[i3].VPCIDRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BucketRef, + Selector: mg.Spec.InitProvider.BucketSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Bucket") + } + mg.Spec.InitProvider.Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BucketRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.VPCConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCConfiguration[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta11.VPCList{}, + Managed: &v1beta11.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCConfiguration[i3].VPCID") + } + mg.Spec.InitProvider.VPCConfiguration[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCConfiguration[i3].VPCIDRef = rsp.ResolvedReference + } return nil @@ -84,6 +118,22 @@ func (mg *AccessPointPolicy) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AccessPointArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.AccessPointArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.AccessPointArnRef, + Selector: mg.Spec.InitProvider.AccessPointArnSelector, + To: reference.To{ + List: &AccessPointList{}, + Managed: &AccessPoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.AccessPointArn") + } + mg.Spec.InitProvider.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.AccessPointArnRef = rsp.ResolvedReference + return nil } @@ -167,6 +217,48 @@ func (mg *ObjectLambdaAccessPoint) ResolveReferences(ctx context.Context, c clie } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].SupportingAccessPoint), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Configuration[i3].SupportingAccessPointRef, + Selector: mg.Spec.InitProvider.Configuration[i3].SupportingAccessPointSelector, + To: reference.To{ + List: &AccessPointList{}, + Managed: &AccessPoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].SupportingAccessPoint") + } + mg.Spec.InitProvider.Configuration[i3].SupportingAccessPoint = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].SupportingAccessPointRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Configuration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda); i6++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArnRef, + Selector: mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArnSelector, + To: reference.To{ + List: &v1beta12.FunctionList{}, + Managed: &v1beta12.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArn") + } + mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Configuration[i3].TransformationConfiguration[i4].ContentTransformation[i5].AwsLambda[i6].FunctionArnRef = rsp.ResolvedReference + + } + } + } + } return nil } @@ -194,6 +286,22 @@ func (mg *ObjectLambdaAccessPointPolicy) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.Name = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Name), + Extract: resource.ExtractParamPath("name", false), + Reference: mg.Spec.InitProvider.NameRef, + Selector: mg.Spec.InitProvider.NameSelector, + To: reference.To{ + List: &ObjectLambdaAccessPointList{}, + Managed: &ObjectLambdaAccessPoint{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Name") + } + mg.Spec.InitProvider.Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NameRef = rsp.ResolvedReference + return nil } @@ -226,6 +334,28 @@ func (mg *StorageLensConfiguration) ResolveReferences(ctx context.Context, c cli } } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageLensConfiguration); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].Arn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].ArnRef, + Selector: mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].ArnSelector, + To: reference.To{ + List: &v1beta1.BucketList{}, + Managed: &v1beta1.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].Arn") + } + mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StorageLensConfiguration[i3].DataExport[i4].S3BucketDestination[i5].ArnRef = rsp.ResolvedReference + + } + } + } return nil } diff --git a/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go b/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go index c03dcccabd..fcc90052b9 100755 --- a/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go +++ b/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go @@ -154,8 +154,21 @@ type PublicAccessBlockParameters struct { type RegionInitParameters struct { + // The name of the associated bucket for the Region. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"` + // The AWS account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point. BucketAccountID *string `json:"bucketAccountId,omitempty" tf:"bucket_account_id,omitempty"` + + // Reference to a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucket. + // +kubebuilder:validation:Optional + BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"` } type RegionObservation struct { diff --git a/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go b/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go index c3de2c8d5d..7332b680ea 100755 --- a/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go +++ b/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go @@ -19,6 +19,19 @@ import ( type AwsLambdaInitParameters struct { + // The Amazon Resource Name (ARN) of the AWS Lambda function. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + FunctionArn *string `json:"functionArn,omitempty" tf:"function_arn,omitempty"` + + // Reference to a Function in lambda to populate functionArn. + // +kubebuilder:validation:Optional + FunctionArnRef *v1.Reference `json:"functionArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate functionArn. + // +kubebuilder:validation:Optional + FunctionArnSelector *v1.Selector `json:"functionArnSelector,omitempty" tf:"-"` + // Additional JSON that provides supplemental data to the Lambda function used to transform objects. FunctionPayload *string `json:"functionPayload,omitempty" tf:"function_payload,omitempty"` } @@ -62,6 +75,19 @@ type ConfigurationInitParameters struct { // Whether or not the CloudWatch metrics configuration is enabled. CloudWatchMetricsEnabled *bool `json:"cloudWatchMetricsEnabled,omitempty" tf:"cloud_watch_metrics_enabled,omitempty"` + // Standard access point associated with the Object Lambda Access Point. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SupportingAccessPoint *string `json:"supportingAccessPoint,omitempty" tf:"supporting_access_point,omitempty"` + + // Reference to a AccessPoint in s3control to populate supportingAccessPoint. + // +kubebuilder:validation:Optional + SupportingAccessPointRef *v1.Reference `json:"supportingAccessPointRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate supportingAccessPoint. + // +kubebuilder:validation:Optional + SupportingAccessPointSelector *v1.Selector `json:"supportingAccessPointSelector,omitempty" tf:"-"` + // List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details. TransformationConfiguration []TransformationConfigurationInitParameters `json:"transformationConfiguration,omitempty" tf:"transformation_configuration,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go b/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go index f7d085140c..bb246f4ec0 100755 --- a/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go +++ b/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go @@ -22,6 +22,19 @@ type ObjectLambdaAccessPointPolicyInitParameters struct { // The AWS account ID for the account that owns the Object Lambda Access Point. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + // The name of the Object Lambda Access Point. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3control/v1beta1.ObjectLambdaAccessPoint + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a ObjectLambdaAccessPoint in s3control to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a ObjectLambdaAccessPoint in s3control to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` + // The Object Lambda Access Point resource policy document. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go b/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go index 920002085a..82488e4eb7 100755 --- a/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go +++ b/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go @@ -477,6 +477,19 @@ type S3BucketDestinationInitParameters struct { // The account ID of the owner of the S3 Storage Lens metrics export bucket. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + // The Amazon Resource Name (ARN) of the bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Bucket in s3 to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Encryption of the metrics exports in this bucket. See Encryption below for more details. Encryption []EncryptionInitParameters `json:"encryption,omitempty" tf:"encryption,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_app_types.go b/apis/sagemaker/v1beta1/zz_app_types.go index 122c56599f..a0640f64a0 100755 --- a/apis/sagemaker/v1beta1/zz_app_types.go +++ b/apis/sagemaker/v1beta1/zz_app_types.go @@ -25,6 +25,19 @@ type AppInitParameters struct { // The type of app. Valid values are JupyterServer, KernelGateway, RStudioServerPro, RSessionGateway and TensorBoard. AppType *string `json:"appType,omitempty" tf:"app_type,omitempty"` + // The domain ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"` + + // Reference to a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDRef *v1.Reference `json:"domainIdRef,omitempty" tf:"-"` + + // Selector for a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDSelector *v1.Selector `json:"domainIdSelector,omitempty" tf:"-"` + // The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.See Resource Spec below. ResourceSpec []ResourceSpecInitParameters `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"` @@ -34,6 +47,19 @@ type AppInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The user profile name. At least one of user_profile_name or space_name required. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.UserProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("user_profile_name",false) + UserProfileName *string `json:"userProfileName,omitempty" tf:"user_profile_name,omitempty"` + + // Reference to a UserProfile in sagemaker to populate userProfileName. + // +kubebuilder:validation:Optional + UserProfileNameRef *v1.Reference `json:"userProfileNameRef,omitempty" tf:"-"` + + // Selector for a UserProfile in sagemaker to populate userProfileName. + // +kubebuilder:validation:Optional + UserProfileNameSelector *v1.Selector `json:"userProfileNameSelector,omitempty" tf:"-"` } type AppObservation struct { diff --git a/apis/sagemaker/v1beta1/zz_coderepository_types.go b/apis/sagemaker/v1beta1/zz_coderepository_types.go index 9cfcec5c35..25dfba541f 100755 --- a/apis/sagemaker/v1beta1/zz_coderepository_types.go +++ b/apis/sagemaker/v1beta1/zz_coderepository_types.go @@ -71,6 +71,19 @@ type GitConfigInitParameters struct { // The URL where the Git repository is located. RepositoryURL *string `json:"repositoryUrl,omitempty" tf:"repository_url,omitempty"` + + // The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format: {"username": UserName, "password": Password} + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.Reference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` } type GitConfigObservation struct { diff --git a/apis/sagemaker/v1beta1/zz_device_types.go b/apis/sagemaker/v1beta1/zz_device_types.go index 5c1b671c37..a5faf69424 100755 --- a/apis/sagemaker/v1beta1/zz_device_types.go +++ b/apis/sagemaker/v1beta1/zz_device_types.go @@ -60,6 +60,18 @@ type DeviceInitParameters struct { // The device to register with SageMaker Edge Manager. See Device details below. Device []DeviceDeviceInitParameters `json:"device,omitempty" tf:"device,omitempty"` + + // The name of the Device Fleet. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.DeviceFleet + DeviceFleetName *string `json:"deviceFleetName,omitempty" tf:"device_fleet_name,omitempty"` + + // Reference to a DeviceFleet in sagemaker to populate deviceFleetName. + // +kubebuilder:validation:Optional + DeviceFleetNameRef *v1.Reference `json:"deviceFleetNameRef,omitempty" tf:"-"` + + // Selector for a DeviceFleet in sagemaker to populate deviceFleetName. + // +kubebuilder:validation:Optional + DeviceFleetNameSelector *v1.Selector `json:"deviceFleetNameSelector,omitempty" tf:"-"` } type DeviceObservation struct { diff --git a/apis/sagemaker/v1beta1/zz_devicefleet_types.go b/apis/sagemaker/v1beta1/zz_devicefleet_types.go index 37c3d8e1f2..23cd1ddb5a 100755 --- a/apis/sagemaker/v1beta1/zz_devicefleet_types.go +++ b/apis/sagemaker/v1beta1/zz_devicefleet_types.go @@ -28,6 +28,19 @@ type DeviceFleetInitParameters struct { // Specifies details about the repository. see Output Config details below. OutputConfig []OutputConfigInitParameters `json:"outputConfig,omitempty" tf:"output_config,omitempty"` + // The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_domain_types.go b/apis/sagemaker/v1beta1/zz_domain_types.go index d7fb119fc6..e87604efe4 100755 --- a/apis/sagemaker/v1beta1/zz_domain_types.go +++ b/apis/sagemaker/v1beta1/zz_domain_types.go @@ -421,6 +421,19 @@ type DefaultUserSettingsInitParameters struct { // The default experience that the user is directed to when accessing the domain. The supported values are: studio::: Indicates that Studio is the default experience. This value can only be passed if StudioWebPortal is set to ENABLED. app:JupyterServer:: Indicates that Studio Classic is the default experience. DefaultLandingURI *string `json:"defaultLandingUri,omitempty" tf:"default_landing_uri,omitempty"` + // The execution role ARN for the user. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ExecutionRole *string `json:"executionRole,omitempty" tf:"execution_role,omitempty"` + + // Reference to a Role in iam to populate executionRole. + // +kubebuilder:validation:Optional + ExecutionRoleRef *v1.Reference `json:"executionRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRole. + // +kubebuilder:validation:Optional + ExecutionRoleSelector *v1.Selector `json:"executionRoleSelector,omitempty" tf:"-"` + // The settings for the JupyterLab application. See Jupyter Lab App Settings below. JupyterLabAppSettings []JupyterLabAppSettingsInitParameters `json:"jupyterLabAppSettings,omitempty" tf:"jupyter_lab_app_settings,omitempty"` @@ -787,12 +800,51 @@ type DomainInitParameters struct { // The domain settings. See Domain Settings below. DomainSettings []DomainSettingsInitParameters `json:"domainSettings,omitempty" tf:"domain_settings,omitempty"` + // The AWS KMS customer managed CMK used to encrypt the EFS volume attached to the domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained. See Retention Policy below. RetentionPolicy []RetentionPolicyInitParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // The VPC subnets that Studio uses for communication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type DomainObservation struct { @@ -1368,6 +1420,31 @@ type KendraSettingsParameters struct { type KernelGatewayAppSettingsCustomImageInitParameters struct { + // The name of the App Image Config. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.AppImageConfig + AppImageConfigName *string `json:"appImageConfigName,omitempty" tf:"app_image_config_name,omitempty"` + + // Reference to a AppImageConfig in sagemaker to populate appImageConfigName. + // +kubebuilder:validation:Optional + AppImageConfigNameRef *v1.Reference `json:"appImageConfigNameRef,omitempty" tf:"-"` + + // Selector for a AppImageConfig in sagemaker to populate appImageConfigName. + // +kubebuilder:validation:Optional + AppImageConfigNameSelector *v1.Selector `json:"appImageConfigNameSelector,omitempty" tf:"-"` + + // The name of the Custom Image. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.ImageVersion + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("image_name",false) + ImageName *string `json:"imageName,omitempty" tf:"image_name,omitempty"` + + // Reference to a ImageVersion in sagemaker to populate imageName. + // +kubebuilder:validation:Optional + ImageNameRef *v1.Reference `json:"imageNameRef,omitempty" tf:"-"` + + // Selector for a ImageVersion in sagemaker to populate imageName. + // +kubebuilder:validation:Optional + ImageNameSelector *v1.Selector `json:"imageNameSelector,omitempty" tf:"-"` + // The version number of the Custom Image. ImageVersionNumber *float64 `json:"imageVersionNumber,omitempty" tf:"image_version_number,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_endpoint_types.go b/apis/sagemaker/v1beta1/zz_endpoint_types.go index b8ad14a2ef..62c2cef6bd 100755 --- a/apis/sagemaker/v1beta1/zz_endpoint_types.go +++ b/apis/sagemaker/v1beta1/zz_endpoint_types.go @@ -128,8 +128,11 @@ type DeploymentConfigInitParameters struct { // Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration. AutoRollbackConfiguration []AutoRollbackConfigurationInitParameters `json:"autoRollbackConfiguration,omitempty" tf:"auto_rollback_configuration,omitempty"` - // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config. + // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config. BlueGreenUpdatePolicy []BlueGreenUpdatePolicyInitParameters `json:"blueGreenUpdatePolicy,omitempty" tf:"blue_green_update_policy,omitempty"` + + // Specifies a rolling deployment strategy for updating a SageMaker endpoint. See Rolling Update Policy. + RollingUpdatePolicy []RollingUpdatePolicyInitParameters `json:"rollingUpdatePolicy,omitempty" tf:"rolling_update_policy,omitempty"` } type DeploymentConfigObservation struct { @@ -137,8 +140,11 @@ type DeploymentConfigObservation struct { // Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration. AutoRollbackConfiguration []AutoRollbackConfigurationObservation `json:"autoRollbackConfiguration,omitempty" tf:"auto_rollback_configuration,omitempty"` - // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config. + // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config. BlueGreenUpdatePolicy []BlueGreenUpdatePolicyObservation `json:"blueGreenUpdatePolicy,omitempty" tf:"blue_green_update_policy,omitempty"` + + // Specifies a rolling deployment strategy for updating a SageMaker endpoint. See Rolling Update Policy. + RollingUpdatePolicy []RollingUpdatePolicyObservation `json:"rollingUpdatePolicy,omitempty" tf:"rolling_update_policy,omitempty"` } type DeploymentConfigParameters struct { @@ -147,9 +153,13 @@ type DeploymentConfigParameters struct { // +kubebuilder:validation:Optional AutoRollbackConfiguration []AutoRollbackConfigurationParameters `json:"autoRollbackConfiguration,omitempty" tf:"auto_rollback_configuration,omitempty"` - // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config. + // Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config. + // +kubebuilder:validation:Optional + BlueGreenUpdatePolicy []BlueGreenUpdatePolicyParameters `json:"blueGreenUpdatePolicy,omitempty" tf:"blue_green_update_policy,omitempty"` + + // Specifies a rolling deployment strategy for updating a SageMaker endpoint. See Rolling Update Policy. // +kubebuilder:validation:Optional - BlueGreenUpdatePolicy []BlueGreenUpdatePolicyParameters `json:"blueGreenUpdatePolicy" tf:"blue_green_update_policy,omitempty"` + RollingUpdatePolicy []RollingUpdatePolicyParameters `json:"rollingUpdatePolicy,omitempty" tf:"rolling_update_policy,omitempty"` } type EndpointInitParameters struct { @@ -157,6 +167,18 @@ type EndpointInitParameters struct { // The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config. DeploymentConfig []DeploymentConfigInitParameters `json:"deploymentConfig,omitempty" tf:"deployment_config,omitempty"` + // The name of the endpoint configuration to use. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.EndpointConfiguration + EndpointConfigName *string `json:"endpointConfigName,omitempty" tf:"endpoint_config_name,omitempty"` + + // Reference to a EndpointConfiguration in sagemaker to populate endpointConfigName. + // +kubebuilder:validation:Optional + EndpointConfigNameRef *v1.Reference `json:"endpointConfigNameRef,omitempty" tf:"-"` + + // Selector for a EndpointConfiguration in sagemaker to populate endpointConfigName. + // +kubebuilder:validation:Optional + EndpointConfigNameSelector *v1.Selector `json:"endpointConfigNameSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -243,6 +265,113 @@ type LinearStepSizeParameters struct { Value *float64 `json:"value" tf:"value,omitempty"` } +type MaximumBatchSizeInitParameters struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type MaximumBatchSizeObservation struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type MaximumBatchSizeParameters struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + // +kubebuilder:validation:Optional + Type *string `json:"type" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + // +kubebuilder:validation:Optional + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type RollbackMaximumBatchSizeInitParameters struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type RollbackMaximumBatchSizeObservation struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type RollbackMaximumBatchSizeParameters struct { + + // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. + // +kubebuilder:validation:Optional + Type *string `json:"type" tf:"type,omitempty"` + + // Defines the capacity size, either as a number of instances or a capacity percentage. + // +kubebuilder:validation:Optional + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type RollingUpdatePolicyInitParameters struct { + + // Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size. + MaximumBatchSize []MaximumBatchSizeInitParameters `json:"maximumBatchSize,omitempty" tf:"maximum_batch_size,omitempty"` + + // Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400. + MaximumExecutionTimeoutInSeconds *float64 `json:"maximumExecutionTimeoutInSeconds,omitempty" tf:"maximum_execution_timeout_in_seconds,omitempty"` + + // Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size. + RollbackMaximumBatchSize []RollbackMaximumBatchSizeInitParameters `json:"rollbackMaximumBatchSize,omitempty" tf:"rollback_maximum_batch_size,omitempty"` + + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. + WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds,omitempty" tf:"wait_interval_in_seconds,omitempty"` +} + +type RollingUpdatePolicyObservation struct { + + // Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size. + MaximumBatchSize []MaximumBatchSizeObservation `json:"maximumBatchSize,omitempty" tf:"maximum_batch_size,omitempty"` + + // Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400. + MaximumExecutionTimeoutInSeconds *float64 `json:"maximumExecutionTimeoutInSeconds,omitempty" tf:"maximum_execution_timeout_in_seconds,omitempty"` + + // Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size. + RollbackMaximumBatchSize []RollbackMaximumBatchSizeObservation `json:"rollbackMaximumBatchSize,omitempty" tf:"rollback_maximum_batch_size,omitempty"` + + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. + WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds,omitempty" tf:"wait_interval_in_seconds,omitempty"` +} + +type RollingUpdatePolicyParameters struct { + + // Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size. + // +kubebuilder:validation:Optional + MaximumBatchSize []MaximumBatchSizeParameters `json:"maximumBatchSize" tf:"maximum_batch_size,omitempty"` + + // Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400. + // +kubebuilder:validation:Optional + MaximumExecutionTimeoutInSeconds *float64 `json:"maximumExecutionTimeoutInSeconds,omitempty" tf:"maximum_execution_timeout_in_seconds,omitempty"` + + // Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size. + // +kubebuilder:validation:Optional + RollbackMaximumBatchSize []RollbackMaximumBatchSizeParameters `json:"rollbackMaximumBatchSize,omitempty" tf:"rollback_maximum_batch_size,omitempty"` + + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. + // +kubebuilder:validation:Optional + WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds" tf:"wait_interval_in_seconds,omitempty"` +} + type TrafficRoutingConfigurationInitParameters struct { // Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size. @@ -254,7 +383,7 @@ type TrafficRoutingConfigurationInitParameters struct { // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. Type *string `json:"type,omitempty" tf:"type,omitempty"` - // The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600. + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds,omitempty" tf:"wait_interval_in_seconds,omitempty"` } @@ -269,7 +398,7 @@ type TrafficRoutingConfigurationObservation struct { // Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR. Type *string `json:"type,omitempty" tf:"type,omitempty"` - // The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600. + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds,omitempty" tf:"wait_interval_in_seconds,omitempty"` } @@ -287,7 +416,7 @@ type TrafficRoutingConfigurationParameters struct { // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` - // The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600. + // The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600. // +kubebuilder:validation:Optional WaitIntervalInSeconds *float64 `json:"waitIntervalInSeconds" tf:"wait_interval_in_seconds,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go b/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go index 165c4e803e..0e6d64d65b 100755 --- a/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go +++ b/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go @@ -274,6 +274,18 @@ type EndpointConfigurationInitParameters struct { // Specifies the parameters to capture input/output of SageMaker models endpoints. Fields are documented below. DataCaptureConfig []DataCaptureConfigInitParameters `json:"dataCaptureConfig,omitempty" tf:"data_capture_config,omitempty"` + // Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // An list of ProductionVariant objects, one for each model that you want to host at this endpoint. Fields are documented below. ProductionVariants []ProductionVariantsInitParameters `json:"productionVariants,omitempty" tf:"production_variants,omitempty"` @@ -426,6 +438,18 @@ type ProductionVariantsInitParameters struct { // The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this production variant. Valid values between 60 and 3600. ModelDataDownloadTimeoutInSeconds *float64 `json:"modelDataDownloadTimeoutInSeconds,omitempty" tf:"model_data_download_timeout_in_seconds,omitempty"` + // The name of the model to use. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Model + ModelName *string `json:"modelName,omitempty" tf:"model_name,omitempty"` + + // Reference to a Model in sagemaker to populate modelName. + // +kubebuilder:validation:Optional + ModelNameRef *v1.Reference `json:"modelNameRef,omitempty" tf:"-"` + + // Selector for a Model in sagemaker to populate modelName. + // +kubebuilder:validation:Optional + ModelNameSelector *v1.Selector `json:"modelNameSelector,omitempty" tf:"-"` + // Specifies configuration for how an endpoint performs asynchronous inference. ServerlessConfig []ServerlessConfigInitParameters `json:"serverlessConfig,omitempty" tf:"serverless_config,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_featuregroup_types.go b/apis/sagemaker/v1beta1/zz_featuregroup_types.go index e9a37f82a3..27991e8349 100755 --- a/apis/sagemaker/v1beta1/zz_featuregroup_types.go +++ b/apis/sagemaker/v1beta1/zz_featuregroup_types.go @@ -105,6 +105,19 @@ type FeatureGroupInitParameters struct { // The name of the Feature whose value uniquely identifies a Record defined in the Feature Store. Only the latest record per identifier value will be stored in the Online Store. RecordIdentifierFeatureName *string `json:"recordIdentifierFeatureName,omitempty" tf:"record_identifier_feature_name,omitempty"` + // The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the Offline Store if an offline_store_config is provided. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_generated.deepcopy.go b/apis/sagemaker/v1beta1/zz_generated.deepcopy.go index 67f3e13c07..ee3f4d6fd0 100644 --- a/apis/sagemaker/v1beta1/zz_generated.deepcopy.go +++ b/apis/sagemaker/v1beta1/zz_generated.deepcopy.go @@ -130,6 +130,13 @@ func (in *AppImageConfig) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AppImageConfigInitParameters) DeepCopyInto(out *AppImageConfigInitParameters) { *out = *in + if in.JupyterLabImageConfig != nil { + in, out := &in.JupyterLabImageConfig, &out.JupyterLabImageConfig + *out = make([]JupyterLabImageConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.KernelGatewayImageConfig != nil { in, out := &in.KernelGatewayImageConfig, &out.KernelGatewayImageConfig *out = make([]KernelGatewayImageConfigInitParameters, len(*in)) @@ -210,6 +217,13 @@ func (in *AppImageConfigObservation) DeepCopyInto(out *AppImageConfigObservation *out = new(string) **out = **in } + if in.JupyterLabImageConfig != nil { + in, out := &in.JupyterLabImageConfig, &out.JupyterLabImageConfig + *out = make([]JupyterLabImageConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.KernelGatewayImageConfig != nil { in, out := &in.KernelGatewayImageConfig, &out.KernelGatewayImageConfig *out = make([]KernelGatewayImageConfigObservation, len(*in)) @@ -264,6 +278,13 @@ func (in *AppImageConfigObservation) DeepCopy() *AppImageConfigObservation { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AppImageConfigParameters) DeepCopyInto(out *AppImageConfigParameters) { *out = *in + if in.JupyterLabImageConfig != nil { + in, out := &in.JupyterLabImageConfig, &out.JupyterLabImageConfig + *out = make([]JupyterLabImageConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.KernelGatewayImageConfig != nil { in, out := &in.KernelGatewayImageConfig, &out.KernelGatewayImageConfig *out = make([]KernelGatewayImageConfigParameters, len(*in)) @@ -352,6 +373,21 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { *out = new(string) **out = **in } + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.DomainIDRef != nil { + in, out := &in.DomainIDRef, &out.DomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainIDSelector != nil { + in, out := &in.DomainIDSelector, &out.DomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ResourceSpec != nil { in, out := &in.ResourceSpec, &out.ResourceSpec *out = make([]ResourceSpecInitParameters, len(*in)) @@ -380,6 +416,21 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { (*out)[key] = outVal } } + if in.UserProfileName != nil { + in, out := &in.UserProfileName, &out.UserProfileName + *out = new(string) + **out = **in + } + if in.UserProfileNameRef != nil { + in, out := &in.UserProfileNameRef, &out.UserProfileNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserProfileNameSelector != nil { + in, out := &in.UserProfileNameSelector, &out.UserProfileNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInitParameters. @@ -1072,42 +1123,48 @@ func (in *CanarySizeParameters) DeepCopy() *CanarySizeParameters { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsInitParameters) { +func (in *CanvasAppSettingsDirectDeploySettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsDirectDeploySettingsInitParameters) { *out = *in - if in.ModelRegisterSettings != nil { - in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]ModelRegisterSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TimeSeriesForecastingSettings != nil { - in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]TimeSeriesForecastingSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsInitParameters. -func (in *CanvasAppSettingsInitParameters) DeepCopy() *CanvasAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsDirectDeploySettingsInitParameters. +func (in *CanvasAppSettingsDirectDeploySettingsInitParameters) DeepCopy() *CanvasAppSettingsDirectDeploySettingsInitParameters { if in == nil { return nil } - out := new(CanvasAppSettingsInitParameters) + out := new(CanvasAppSettingsDirectDeploySettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsModelRegisterSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsInitParameters) { +func (in *CanvasAppSettingsDirectDeploySettingsObservation) DeepCopyInto(out *CanvasAppSettingsDirectDeploySettingsObservation) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsDirectDeploySettingsObservation. +func (in *CanvasAppSettingsDirectDeploySettingsObservation) DeepCopy() *CanvasAppSettingsDirectDeploySettingsObservation { + if in == nil { + return nil + } + out := new(CanvasAppSettingsDirectDeploySettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CanvasAppSettingsDirectDeploySettingsParameters) DeepCopyInto(out *CanvasAppSettingsDirectDeploySettingsParameters) { + *out = *in if in.Status != nil { in, out := &in.Status, &out.Status *out = new(string) @@ -1115,21 +1172,26 @@ func (in *CanvasAppSettingsModelRegisterSettingsInitParameters) DeepCopyInto(out } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsInitParameters. -func (in *CanvasAppSettingsModelRegisterSettingsInitParameters) DeepCopy() *CanvasAppSettingsModelRegisterSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsDirectDeploySettingsParameters. +func (in *CanvasAppSettingsDirectDeploySettingsParameters) DeepCopy() *CanvasAppSettingsDirectDeploySettingsParameters { if in == nil { return nil } - out := new(CanvasAppSettingsModelRegisterSettingsInitParameters) + out := new(CanvasAppSettingsDirectDeploySettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsModelRegisterSettingsObservation) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsObservation) { +func (in *CanvasAppSettingsIdentityProviderOauthSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsIdentityProviderOauthSettingsInitParameters) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName + *out = new(string) + **out = **in + } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } @@ -1140,21 +1202,26 @@ func (in *CanvasAppSettingsModelRegisterSettingsObservation) DeepCopyInto(out *C } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsObservation. -func (in *CanvasAppSettingsModelRegisterSettingsObservation) DeepCopy() *CanvasAppSettingsModelRegisterSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsIdentityProviderOauthSettingsInitParameters. +func (in *CanvasAppSettingsIdentityProviderOauthSettingsInitParameters) DeepCopy() *CanvasAppSettingsIdentityProviderOauthSettingsInitParameters { if in == nil { return nil } - out := new(CanvasAppSettingsModelRegisterSettingsObservation) + out := new(CanvasAppSettingsIdentityProviderOauthSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsModelRegisterSettingsParameters) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsParameters) { +func (in *CanvasAppSettingsIdentityProviderOauthSettingsObservation) DeepCopyInto(out *CanvasAppSettingsIdentityProviderOauthSettingsObservation) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName + *out = new(string) + **out = **in + } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } @@ -1165,82 +1232,126 @@ func (in *CanvasAppSettingsModelRegisterSettingsParameters) DeepCopyInto(out *Ca } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsParameters. -func (in *CanvasAppSettingsModelRegisterSettingsParameters) DeepCopy() *CanvasAppSettingsModelRegisterSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsIdentityProviderOauthSettingsObservation. +func (in *CanvasAppSettingsIdentityProviderOauthSettingsObservation) DeepCopy() *CanvasAppSettingsIdentityProviderOauthSettingsObservation { if in == nil { return nil } - out := new(CanvasAppSettingsModelRegisterSettingsParameters) + out := new(CanvasAppSettingsIdentityProviderOauthSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsObservation) DeepCopyInto(out *CanvasAppSettingsObservation) { +func (in *CanvasAppSettingsIdentityProviderOauthSettingsParameters) DeepCopyInto(out *CanvasAppSettingsIdentityProviderOauthSettingsParameters) { *out = *in - if in.ModelRegisterSettings != nil { - in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]ModelRegisterSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName + *out = new(string) + **out = **in } - if in.TimeSeriesForecastingSettings != nil { - in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]TimeSeriesForecastingSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsObservation. -func (in *CanvasAppSettingsObservation) DeepCopy() *CanvasAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsIdentityProviderOauthSettingsParameters. +func (in *CanvasAppSettingsIdentityProviderOauthSettingsParameters) DeepCopy() *CanvasAppSettingsIdentityProviderOauthSettingsParameters { if in == nil { return nil } - out := new(CanvasAppSettingsObservation) + out := new(CanvasAppSettingsIdentityProviderOauthSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsParameters) DeepCopyInto(out *CanvasAppSettingsParameters) { +func (in *CanvasAppSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsInitParameters) { *out = *in + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]DirectDeploySettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]IdentityProviderOauthSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]KendraSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.ModelRegisterSettings != nil { in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]ModelRegisterSettingsParameters, len(*in)) + *out = make([]ModelRegisterSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.TimeSeriesForecastingSettings != nil { in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]TimeSeriesForecastingSettingsParameters, len(*in)) + *out = make([]TimeSeriesForecastingSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]WorkspaceSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsParameters. -func (in *CanvasAppSettingsParameters) DeepCopy() *CanvasAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsInitParameters. +func (in *CanvasAppSettingsInitParameters) DeepCopy() *CanvasAppSettingsInitParameters { if in == nil { return nil } - out := new(CanvasAppSettingsParameters) + out := new(CanvasAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) { +func (in *CanvasAppSettingsKendraSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsKendraSettingsInitParameters) { *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsKendraSettingsInitParameters. +func (in *CanvasAppSettingsKendraSettingsInitParameters) DeepCopy() *CanvasAppSettingsKendraSettingsInitParameters { + if in == nil { + return nil + } + out := new(CanvasAppSettingsKendraSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CanvasAppSettingsKendraSettingsObservation) DeepCopyInto(out *CanvasAppSettingsKendraSettingsObservation) { + *out = *in if in.Status != nil { in, out := &in.Status, &out.Status *out = new(string) @@ -1248,21 +1359,41 @@ func (in *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) DeepCopy } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsKendraSettingsObservation. +func (in *CanvasAppSettingsKendraSettingsObservation) DeepCopy() *CanvasAppSettingsKendraSettingsObservation { if in == nil { return nil } - out := new(CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) + out := new(CanvasAppSettingsKendraSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) { +func (in *CanvasAppSettingsKendraSettingsParameters) DeepCopyInto(out *CanvasAppSettingsKendraSettingsParameters) { *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsKendraSettingsParameters. +func (in *CanvasAppSettingsKendraSettingsParameters) DeepCopy() *CanvasAppSettingsKendraSettingsParameters { + if in == nil { + return nil + } + out := new(CanvasAppSettingsKendraSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CanvasAppSettingsModelRegisterSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsInitParameters) { + *out = *in + if in.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn *out = new(string) **out = **in } @@ -1273,21 +1404,21 @@ func (in *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) DeepCopyInt } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsObservation. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsInitParameters. +func (in *CanvasAppSettingsModelRegisterSettingsInitParameters) DeepCopy() *CanvasAppSettingsModelRegisterSettingsInitParameters { if in == nil { return nil } - out := new(CanvasAppSettingsTimeSeriesForecastingSettingsObservation) + out := new(CanvasAppSettingsModelRegisterSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) { +func (in *CanvasAppSettingsModelRegisterSettingsObservation) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsObservation) { *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + if in.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn *out = new(string) **out = **in } @@ -1298,1426 +1429,1275 @@ func (in *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) DeepCopyInto } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsParameters. -func (in *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsObservation. +func (in *CanvasAppSettingsModelRegisterSettingsObservation) DeepCopy() *CanvasAppSettingsModelRegisterSettingsObservation { if in == nil { return nil } - out := new(CanvasAppSettingsTimeSeriesForecastingSettingsParameters) + out := new(CanvasAppSettingsModelRegisterSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureContentTypeHeaderInitParameters) DeepCopyInto(out *CaptureContentTypeHeaderInitParameters) { +func (in *CanvasAppSettingsModelRegisterSettingsParameters) DeepCopyInto(out *CanvasAppSettingsModelRegisterSettingsParameters) { *out = *in - if in.CsvContentTypes != nil { - in, out := &in.CsvContentTypes, &out.CsvContentTypes - *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.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + *out = new(string) + **out = **in } - if in.JSONContentTypes != nil { - in, out := &in.JSONContentTypes, &out.JSONContentTypes - *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.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderInitParameters. -func (in *CaptureContentTypeHeaderInitParameters) DeepCopy() *CaptureContentTypeHeaderInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsModelRegisterSettingsParameters. +func (in *CanvasAppSettingsModelRegisterSettingsParameters) DeepCopy() *CanvasAppSettingsModelRegisterSettingsParameters { if in == nil { return nil } - out := new(CaptureContentTypeHeaderInitParameters) + out := new(CanvasAppSettingsModelRegisterSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureContentTypeHeaderObservation) DeepCopyInto(out *CaptureContentTypeHeaderObservation) { +func (in *CanvasAppSettingsObservation) DeepCopyInto(out *CanvasAppSettingsObservation) { *out = *in - if in.CsvContentTypes != nil { - in, out := &in.CsvContentTypes, &out.CsvContentTypes - *out = make([]*string, len(*in)) + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]DirectDeploySettingsObservation, 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.JSONContentTypes != nil { - in, out := &in.JSONContentTypes, &out.JSONContentTypes - *out = make([]*string, len(*in)) + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]IdentityProviderOauthSettingsObservation, 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.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]KendraSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelRegisterSettings != nil { + in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings + *out = make([]ModelRegisterSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TimeSeriesForecastingSettings != nil { + in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings + *out = make([]TimeSeriesForecastingSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]WorkspaceSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderObservation. -func (in *CaptureContentTypeHeaderObservation) DeepCopy() *CaptureContentTypeHeaderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsObservation. +func (in *CanvasAppSettingsObservation) DeepCopy() *CanvasAppSettingsObservation { if in == nil { return nil } - out := new(CaptureContentTypeHeaderObservation) + out := new(CanvasAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureContentTypeHeaderParameters) DeepCopyInto(out *CaptureContentTypeHeaderParameters) { +func (in *CanvasAppSettingsParameters) DeepCopyInto(out *CanvasAppSettingsParameters) { *out = *in - if in.CsvContentTypes != nil { - in, out := &in.CsvContentTypes, &out.CsvContentTypes - *out = make([]*string, len(*in)) + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]DirectDeploySettingsParameters, 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.JSONContentTypes != nil { - in, out := &in.JSONContentTypes, &out.JSONContentTypes - *out = make([]*string, len(*in)) + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]IdentityProviderOauthSettingsParameters, 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.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]KendraSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelRegisterSettings != nil { + in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings + *out = make([]ModelRegisterSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TimeSeriesForecastingSettings != nil { + in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings + *out = make([]TimeSeriesForecastingSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]WorkspaceSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderParameters. -func (in *CaptureContentTypeHeaderParameters) DeepCopy() *CaptureContentTypeHeaderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsParameters. +func (in *CanvasAppSettingsParameters) DeepCopy() *CanvasAppSettingsParameters { if in == nil { return nil } - out := new(CaptureContentTypeHeaderParameters) + out := new(CanvasAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureOptionsInitParameters) DeepCopyInto(out *CaptureOptionsInitParameters) { +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) { *out = *in - if in.CaptureMode != nil { - in, out := &in.CaptureMode, &out.CaptureMode + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsInitParameters. -func (in *CaptureOptionsInitParameters) DeepCopy() *CaptureOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters. +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters { if in == nil { return nil } - out := new(CaptureOptionsInitParameters) + out := new(CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureOptionsObservation) DeepCopyInto(out *CaptureOptionsObservation) { +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) { *out = *in - if in.CaptureMode != nil { - in, out := &in.CaptureMode, &out.CaptureMode + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsObservation. -func (in *CaptureOptionsObservation) DeepCopy() *CaptureOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsObservation. +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsObservation) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsObservation { if in == nil { return nil } - out := new(CaptureOptionsObservation) + out := new(CanvasAppSettingsTimeSeriesForecastingSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CaptureOptionsParameters) DeepCopyInto(out *CaptureOptionsParameters) { +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) DeepCopyInto(out *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) { *out = *in - if in.CaptureMode != nil { - in, out := &in.CaptureMode, &out.CaptureMode + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsParameters. -func (in *CaptureOptionsParameters) DeepCopy() *CaptureOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsTimeSeriesForecastingSettingsParameters. +func (in *CanvasAppSettingsTimeSeriesForecastingSettingsParameters) DeepCopy() *CanvasAppSettingsTimeSeriesForecastingSettingsParameters { if in == nil { return nil } - out := new(CaptureOptionsParameters) + out := new(CanvasAppSettingsTimeSeriesForecastingSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientConfigInitParameters) DeepCopyInto(out *ClientConfigInitParameters) { +func (in *CanvasAppSettingsWorkspaceSettingsInitParameters) DeepCopyInto(out *CanvasAppSettingsWorkspaceSettingsInitParameters) { *out = *in - if in.MaxConcurrentInvocationsPerInstance != nil { - in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance - *out = new(float64) + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigInitParameters. -func (in *ClientConfigInitParameters) DeepCopy() *ClientConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsWorkspaceSettingsInitParameters. +func (in *CanvasAppSettingsWorkspaceSettingsInitParameters) DeepCopy() *CanvasAppSettingsWorkspaceSettingsInitParameters { if in == nil { return nil } - out := new(ClientConfigInitParameters) + out := new(CanvasAppSettingsWorkspaceSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientConfigObservation) DeepCopyInto(out *ClientConfigObservation) { +func (in *CanvasAppSettingsWorkspaceSettingsObservation) DeepCopyInto(out *CanvasAppSettingsWorkspaceSettingsObservation) { *out = *in - if in.MaxConcurrentInvocationsPerInstance != nil { - in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance - *out = new(float64) + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigObservation. -func (in *ClientConfigObservation) DeepCopy() *ClientConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsWorkspaceSettingsObservation. +func (in *CanvasAppSettingsWorkspaceSettingsObservation) DeepCopy() *CanvasAppSettingsWorkspaceSettingsObservation { if in == nil { return nil } - out := new(ClientConfigObservation) + out := new(CanvasAppSettingsWorkspaceSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientConfigParameters) DeepCopyInto(out *ClientConfigParameters) { +func (in *CanvasAppSettingsWorkspaceSettingsParameters) DeepCopyInto(out *CanvasAppSettingsWorkspaceSettingsParameters) { *out = *in - if in.MaxConcurrentInvocationsPerInstance != nil { - in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance - *out = new(float64) + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigParameters. -func (in *ClientConfigParameters) DeepCopy() *ClientConfigParameters { - if in == nil { - return nil + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in } - out := new(ClientConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeRepository) DeepCopyInto(out *CodeRepository) { - *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 CodeRepository. -func (in *CodeRepository) DeepCopy() *CodeRepository { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanvasAppSettingsWorkspaceSettingsParameters. +func (in *CanvasAppSettingsWorkspaceSettingsParameters) DeepCopy() *CanvasAppSettingsWorkspaceSettingsParameters { if in == nil { return nil } - out := new(CodeRepository) + out := new(CanvasAppSettingsWorkspaceSettingsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeRepository) 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 *CodeRepositoryInitParameters) DeepCopyInto(out *CodeRepositoryInitParameters) { +func (in *CaptureContentTypeHeaderInitParameters) DeepCopyInto(out *CaptureContentTypeHeaderInitParameters) { *out = *in - if in.GitConfig != nil { - in, out := &in.GitConfig, &out.GitConfig - *out = make([]GitConfigInitParameters, len(*in)) + if in.CsvContentTypes != nil { + in, out := &in.CsvContentTypes, &out.CsvContentTypes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + 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 + if in.JSONContentTypes != nil { + in, out := &in.JSONContentTypes, &out.JSONContentTypes + *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 } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryInitParameters. -func (in *CodeRepositoryInitParameters) DeepCopy() *CodeRepositoryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderInitParameters. +func (in *CaptureContentTypeHeaderInitParameters) DeepCopy() *CaptureContentTypeHeaderInitParameters { if in == nil { return nil } - out := new(CodeRepositoryInitParameters) + out := new(CaptureContentTypeHeaderInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeRepositoryList) DeepCopyInto(out *CodeRepositoryList) { +func (in *CaptureContentTypeHeaderObservation) DeepCopyInto(out *CaptureContentTypeHeaderObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]CodeRepository, len(*in)) + if in.CsvContentTypes != nil { + in, out := &in.CsvContentTypes, &out.CsvContentTypes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryList. -func (in *CodeRepositoryList) DeepCopy() *CodeRepositoryList { - if in == nil { - return nil - } - out := new(CodeRepositoryList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeRepositoryList) 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 *CodeRepositoryObservation) DeepCopyInto(out *CodeRepositoryObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.GitConfig != nil { - in, out := &in.GitConfig, &out.GitConfig - *out = make([]GitConfigObservation, 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.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 + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *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 + if in.JSONContentTypes != nil { + in, out := &in.JSONContentTypes, &out.JSONContentTypes + *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 } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryObservation. -func (in *CodeRepositoryObservation) DeepCopy() *CodeRepositoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderObservation. +func (in *CaptureContentTypeHeaderObservation) DeepCopy() *CaptureContentTypeHeaderObservation { if in == nil { return nil } - out := new(CodeRepositoryObservation) + out := new(CaptureContentTypeHeaderObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeRepositoryParameters) DeepCopyInto(out *CodeRepositoryParameters) { +func (in *CaptureContentTypeHeaderParameters) DeepCopyInto(out *CaptureContentTypeHeaderParameters) { *out = *in - if in.GitConfig != nil { - in, out := &in.GitConfig, &out.GitConfig - *out = make([]GitConfigParameters, len(*in)) + if in.CsvContentTypes != nil { + in, out := &in.CsvContentTypes, &out.CsvContentTypes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + 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.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 + if in.JSONContentTypes != nil { + in, out := &in.JSONContentTypes, &out.JSONContentTypes + *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 } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryParameters. -func (in *CodeRepositoryParameters) DeepCopy() *CodeRepositoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureContentTypeHeaderParameters. +func (in *CaptureContentTypeHeaderParameters) DeepCopy() *CaptureContentTypeHeaderParameters { if in == nil { return nil } - out := new(CodeRepositoryParameters) + out := new(CaptureContentTypeHeaderParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeRepositorySpec) DeepCopyInto(out *CodeRepositorySpec) { +func (in *CaptureOptionsInitParameters) DeepCopyInto(out *CaptureOptionsInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.CaptureMode != nil { + in, out := &in.CaptureMode, &out.CaptureMode + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositorySpec. -func (in *CodeRepositorySpec) DeepCopy() *CodeRepositorySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsInitParameters. +func (in *CaptureOptionsInitParameters) DeepCopy() *CaptureOptionsInitParameters { if in == nil { return nil } - out := new(CodeRepositorySpec) + out := new(CaptureOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeRepositoryStatus) DeepCopyInto(out *CodeRepositoryStatus) { +func (in *CaptureOptionsObservation) DeepCopyInto(out *CaptureOptionsObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.CaptureMode != nil { + in, out := &in.CaptureMode, &out.CaptureMode + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryStatus. -func (in *CodeRepositoryStatus) DeepCopy() *CodeRepositoryStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsObservation. +func (in *CaptureOptionsObservation) DeepCopy() *CaptureOptionsObservation { if in == nil { return nil } - out := new(CodeRepositoryStatus) + out := new(CaptureOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoConfigInitParameters) DeepCopyInto(out *CognitoConfigInitParameters) { +func (in *CaptureOptionsParameters) DeepCopyInto(out *CaptureOptionsParameters) { *out = *in + if in.CaptureMode != nil { + in, out := &in.CaptureMode, &out.CaptureMode + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigInitParameters. -func (in *CognitoConfigInitParameters) DeepCopy() *CognitoConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureOptionsParameters. +func (in *CaptureOptionsParameters) DeepCopy() *CaptureOptionsParameters { if in == nil { return nil } - out := new(CognitoConfigInitParameters) + out := new(CaptureOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoConfigObservation) DeepCopyInto(out *CognitoConfigObservation) { +func (in *ClientConfigInitParameters) DeepCopyInto(out *ClientConfigInitParameters) { *out = *in - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID - *out = new(string) - **out = **in - } - if in.UserPool != nil { - in, out := &in.UserPool, &out.UserPool - *out = new(string) + if in.MaxConcurrentInvocationsPerInstance != nil { + in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigObservation. -func (in *CognitoConfigObservation) DeepCopy() *CognitoConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigInitParameters. +func (in *ClientConfigInitParameters) DeepCopy() *ClientConfigInitParameters { if in == nil { return nil } - out := new(CognitoConfigObservation) + out := new(ClientConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoConfigParameters) DeepCopyInto(out *CognitoConfigParameters) { +func (in *ClientConfigObservation) DeepCopyInto(out *ClientConfigObservation) { *out = *in - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID - *out = new(string) - **out = **in - } - if in.ClientIDRef != nil { - in, out := &in.ClientIDRef, &out.ClientIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ClientIDSelector != nil { - in, out := &in.ClientIDSelector, &out.ClientIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.UserPool != nil { - in, out := &in.UserPool, &out.UserPool - *out = new(string) + if in.MaxConcurrentInvocationsPerInstance != nil { + in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance + *out = new(float64) **out = **in } - if in.UserPoolRef != nil { - in, out := &in.UserPoolRef, &out.UserPoolRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.UserPoolSelector != nil { - in, out := &in.UserPoolSelector, &out.UserPoolSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigParameters. -func (in *CognitoConfigParameters) DeepCopy() *CognitoConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigObservation. +func (in *ClientConfigObservation) DeepCopy() *ClientConfigObservation { if in == nil { return nil } - out := new(CognitoConfigParameters) + out := new(ClientConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoMemberDefinitionInitParameters) DeepCopyInto(out *CognitoMemberDefinitionInitParameters) { +func (in *ClientConfigParameters) DeepCopyInto(out *ClientConfigParameters) { *out = *in + if in.MaxConcurrentInvocationsPerInstance != nil { + in, out := &in.MaxConcurrentInvocationsPerInstance, &out.MaxConcurrentInvocationsPerInstance + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionInitParameters. -func (in *CognitoMemberDefinitionInitParameters) DeepCopy() *CognitoMemberDefinitionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigParameters. +func (in *ClientConfigParameters) DeepCopy() *ClientConfigParameters { if in == nil { return nil } - out := new(CognitoMemberDefinitionInitParameters) + out := new(ClientConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoMemberDefinitionObservation) DeepCopyInto(out *CognitoMemberDefinitionObservation) { +func (in *CodeEditorAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *CodeEditorAppSettingsDefaultResourceSpecInitParameters) { *out = *in - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.UserGroup != nil { - in, out := &in.UserGroup, &out.UserGroup + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.UserPool != nil { - in, out := &in.UserPool, &out.UserPool + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionObservation. -func (in *CognitoMemberDefinitionObservation) DeepCopy() *CognitoMemberDefinitionObservation { - if in == nil { - return nil - } - out := new(CognitoMemberDefinitionObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CognitoMemberDefinitionParameters) DeepCopyInto(out *CognitoMemberDefinitionParameters) { - *out = *in - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID - *out = new(string) - **out = **in - } - if in.ClientIDRef != nil { - in, out := &in.ClientIDRef, &out.ClientIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ClientIDSelector != nil { - in, out := &in.ClientIDSelector, &out.ClientIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.UserGroup != nil { - in, out := &in.UserGroup, &out.UserGroup + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.UserGroupRef != nil { - in, out := &in.UserGroupRef, &out.UserGroupRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.UserGroupSelector != nil { - in, out := &in.UserGroupSelector, &out.UserGroupSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.UserPool != nil { - in, out := &in.UserPool, &out.UserPool + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } - if in.UserPoolRef != nil { - in, out := &in.UserPoolRef, &out.UserPoolRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.UserPoolSelector != nil { - in, out := &in.UserPoolSelector, &out.UserPoolSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionParameters. -func (in *CognitoMemberDefinitionParameters) DeepCopy() *CognitoMemberDefinitionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsDefaultResourceSpecInitParameters. +func (in *CodeEditorAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *CodeEditorAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(CognitoMemberDefinitionParameters) + out := new(CodeEditorAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerInitParameters) DeepCopyInto(out *ContainerInitParameters) { +func (in *CodeEditorAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *CodeEditorAppSettingsDefaultResourceSpecObservation) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.Image != nil { - in, out := &in.Image, &out.Image + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]ImageConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerInitParameters. -func (in *ContainerInitParameters) DeepCopy() *ContainerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsDefaultResourceSpecObservation. +func (in *CodeEditorAppSettingsDefaultResourceSpecObservation) DeepCopy() *CodeEditorAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(ContainerInitParameters) + out := new(CodeEditorAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { +func (in *CodeEditorAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *CodeEditorAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.Image != nil { - in, out := &in.Image, &out.Image + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]ImageConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerObservation. -func (in *ContainerObservation) DeepCopy() *ContainerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsDefaultResourceSpecParameters. +func (in *CodeEditorAppSettingsDefaultResourceSpecParameters) DeepCopy() *CodeEditorAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(ContainerObservation) + out := new(CodeEditorAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { +func (in *CodeEditorAppSettingsInitParameters) DeepCopyInto(out *CodeEditorAppSettingsInitParameters) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]CodeEditorAppSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.Image != nil { - in, out := &in.Image, &out.Image - *out = new(string) - **out = **in - } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]ImageConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode - *out = new(string) - **out = **in - } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters. -func (in *ContainerParameters) DeepCopy() *ContainerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsInitParameters. +func (in *CodeEditorAppSettingsInitParameters) DeepCopy() *CodeEditorAppSettingsInitParameters { if in == nil { return nil } - out := new(ContainerParameters) + out := new(CodeEditorAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CoreDumpConfigInitParameters) DeepCopyInto(out *CoreDumpConfigInitParameters) { +func (in *CodeEditorAppSettingsObservation) DeepCopyInto(out *CodeEditorAppSettingsObservation) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]CodeEditorAppSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpConfigInitParameters. -func (in *CoreDumpConfigInitParameters) DeepCopy() *CoreDumpConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsObservation. +func (in *CodeEditorAppSettingsObservation) DeepCopy() *CodeEditorAppSettingsObservation { if in == nil { return nil } - out := new(CoreDumpConfigInitParameters) + out := new(CodeEditorAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CoreDumpConfigObservation) DeepCopyInto(out *CoreDumpConfigObservation) { +func (in *CodeEditorAppSettingsParameters) DeepCopyInto(out *CodeEditorAppSettingsParameters) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]CodeEditorAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpConfigObservation. -func (in *CoreDumpConfigObservation) DeepCopy() *CoreDumpConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeEditorAppSettingsParameters. +func (in *CodeEditorAppSettingsParameters) DeepCopy() *CodeEditorAppSettingsParameters { if in == nil { return nil } - out := new(CoreDumpConfigObservation) + out := new(CodeEditorAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CoreDumpConfigParameters) DeepCopyInto(out *CoreDumpConfigParameters) { +func (in *CodeRepository) DeepCopyInto(out *CodeRepository) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *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 CoreDumpConfigParameters. -func (in *CoreDumpConfigParameters) DeepCopy() *CoreDumpConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepository. +func (in *CodeRepository) DeepCopy() *CodeRepository { if in == nil { return nil } - out := new(CoreDumpConfigParameters) + out := new(CodeRepository) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomImageInitParameters) DeepCopyInto(out *CustomImageInitParameters) { - *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName - *out = new(string) - **out = **in - } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageInitParameters. -func (in *CustomImageInitParameters) DeepCopy() *CustomImageInitParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeRepository) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(CustomImageInitParameters) - 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 *CustomImageObservation) DeepCopyInto(out *CustomImageObservation) { +func (in *CodeRepositoryInitParameters) DeepCopyInto(out *CodeRepositoryInitParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName - *out = new(string) - **out = **in + if in.GitConfig != nil { + in, out := &in.GitConfig, &out.GitConfig + *out = make([]GitConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *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 CustomImageObservation. -func (in *CustomImageObservation) DeepCopy() *CustomImageObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryInitParameters. +func (in *CodeRepositoryInitParameters) DeepCopy() *CodeRepositoryInitParameters { if in == nil { return nil } - out := new(CustomImageObservation) + out := new(CodeRepositoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomImageParameters) DeepCopyInto(out *CustomImageParameters) { +func (in *CodeRepositoryList) DeepCopyInto(out *CodeRepositoryList) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName - *out = new(string) - **out = **in - } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CodeRepository, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageParameters. -func (in *CustomImageParameters) DeepCopy() *CustomImageParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryList. +func (in *CodeRepositoryList) DeepCopy() *CodeRepositoryList { if in == nil { return nil } - out := new(CustomImageParameters) + out := new(CodeRepositoryList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeRepositoryList) 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 *DataCaptureConfigInitParameters) DeepCopyInto(out *DataCaptureConfigInitParameters) { +func (in *CodeRepositoryObservation) DeepCopyInto(out *CodeRepositoryObservation) { *out = *in - if in.CaptureContentTypeHeader != nil { - in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader - *out = make([]CaptureContentTypeHeaderInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in } - if in.CaptureOptions != nil { - in, out := &in.CaptureOptions, &out.CaptureOptions - *out = make([]CaptureOptionsInitParameters, len(*in)) + if in.GitConfig != nil { + in, out := &in.GitConfig, &out.GitConfig + *out = make([]GitConfigObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.EnableCapture != nil { - in, out := &in.EnableCapture, &out.EnableCapture - *out = new(bool) - **out = **in - } - if in.InitialSamplingPercentage != nil { - in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage - *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.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *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 + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCaptureConfigInitParameters. -func (in *DataCaptureConfigInitParameters) DeepCopy() *DataCaptureConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryObservation. +func (in *CodeRepositoryObservation) DeepCopy() *CodeRepositoryObservation { if in == nil { return nil } - out := new(DataCaptureConfigInitParameters) + out := new(CodeRepositoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataCaptureConfigObservation) DeepCopyInto(out *DataCaptureConfigObservation) { +func (in *CodeRepositoryParameters) DeepCopyInto(out *CodeRepositoryParameters) { *out = *in - if in.CaptureContentTypeHeader != nil { - in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader - *out = make([]CaptureContentTypeHeaderObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CaptureOptions != nil { - in, out := &in.CaptureOptions, &out.CaptureOptions - *out = make([]CaptureOptionsObservation, len(*in)) + if in.GitConfig != nil { + in, out := &in.GitConfig, &out.GitConfig + *out = make([]GitConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.EnableCapture != nil { - in, out := &in.EnableCapture, &out.EnableCapture - *out = new(bool) - **out = **in - } - if in.InitialSamplingPercentage != nil { - in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage - *out = new(float64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *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 DataCaptureConfigObservation. -func (in *DataCaptureConfigObservation) DeepCopy() *DataCaptureConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryParameters. +func (in *CodeRepositoryParameters) DeepCopy() *CodeRepositoryParameters { if in == nil { return nil } - out := new(DataCaptureConfigObservation) + out := new(CodeRepositoryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataCaptureConfigParameters) DeepCopyInto(out *DataCaptureConfigParameters) { +func (in *CodeRepositorySpec) DeepCopyInto(out *CodeRepositorySpec) { *out = *in - if in.CaptureContentTypeHeader != nil { - in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader - *out = make([]CaptureContentTypeHeaderParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CaptureOptions != nil { - in, out := &in.CaptureOptions, &out.CaptureOptions - *out = make([]CaptureOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in - } - if in.EnableCapture != nil { - in, out := &in.EnableCapture, &out.EnableCapture - *out = new(bool) - **out = **in - } - if in.InitialSamplingPercentage != nil { - in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage - *out = new(float64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *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 DataCaptureConfigParameters. -func (in *DataCaptureConfigParameters) DeepCopy() *DataCaptureConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositorySpec. +func (in *CodeRepositorySpec) DeepCopy() *CodeRepositorySpec { if in == nil { return nil } - out := new(DataCaptureConfigParameters) + out := new(CodeRepositorySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataCatalogConfigInitParameters) DeepCopyInto(out *DataCatalogConfigInitParameters) { +func (in *CodeRepositoryStatus) DeepCopyInto(out *CodeRepositoryStatus) { *out = *in - if in.Catalog != nil { - in, out := &in.Catalog, &out.Catalog - *out = new(string) - **out = **in - } - if in.Database != nil { - in, out := &in.Database, &out.Database - *out = new(string) - **out = **in - } - if in.TableName != nil { - in, out := &in.TableName, &out.TableName - *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 DataCatalogConfigInitParameters. -func (in *DataCatalogConfigInitParameters) DeepCopy() *DataCatalogConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeRepositoryStatus. +func (in *CodeRepositoryStatus) DeepCopy() *CodeRepositoryStatus { if in == nil { return nil } - out := new(DataCatalogConfigInitParameters) + out := new(CodeRepositoryStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataCatalogConfigObservation) DeepCopyInto(out *DataCatalogConfigObservation) { +func (in *CognitoConfigInitParameters) DeepCopyInto(out *CognitoConfigInitParameters) { *out = *in - if in.Catalog != nil { - in, out := &in.Catalog, &out.Catalog + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.Database != nil { - in, out := &in.Database, &out.Database - *out = new(string) - **out = **in + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.TableName != nil { - in, out := &in.TableName, &out.TableName + if in.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool *out = new(string) **out = **in } + if in.UserPoolRef != nil { + in, out := &in.UserPoolRef, &out.UserPoolRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolSelector != nil { + in, out := &in.UserPoolSelector, &out.UserPoolSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCatalogConfigObservation. -func (in *DataCatalogConfigObservation) DeepCopy() *DataCatalogConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigInitParameters. +func (in *CognitoConfigInitParameters) DeepCopy() *CognitoConfigInitParameters { if in == nil { return nil } - out := new(DataCatalogConfigObservation) + out := new(CognitoConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataCatalogConfigParameters) DeepCopyInto(out *DataCatalogConfigParameters) { +func (in *CognitoConfigObservation) DeepCopyInto(out *CognitoConfigObservation) { *out = *in - if in.Catalog != nil { - in, out := &in.Catalog, &out.Catalog - *out = new(string) - **out = **in - } - if in.Database != nil { - in, out := &in.Database, &out.Database + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.TableName != nil { - in, out := &in.TableName, &out.TableName + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCatalogConfigParameters. -func (in *DataCatalogConfigParameters) DeepCopy() *DataCatalogConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigObservation. +func (in *CognitoConfigObservation) DeepCopy() *CognitoConfigObservation { if in == nil { return nil } - out := new(DataCatalogConfigParameters) + out := new(CognitoConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultResourceSpecInitParameters) DeepCopyInto(out *DefaultResourceSpecInitParameters) { +func (in *CognitoConfigParameters) DeepCopyInto(out *CognitoConfigParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn - *out = new(string) - **out = **in + if in.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool *out = new(string) **out = **in } + if in.UserPoolRef != nil { + in, out := &in.UserPoolRef, &out.UserPoolRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolSelector != nil { + in, out := &in.UserPoolSelector, &out.UserPoolSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecInitParameters. -func (in *DefaultResourceSpecInitParameters) DeepCopy() *DefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoConfigParameters. +func (in *CognitoConfigParameters) DeepCopy() *CognitoConfigParameters { if in == nil { return nil } - out := new(DefaultResourceSpecInitParameters) + out := new(CognitoConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultResourceSpecObservation) DeepCopyInto(out *DefaultResourceSpecObservation) { +func (in *CognitoMemberDefinitionInitParameters) DeepCopyInto(out *CognitoMemberDefinitionInitParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.UserGroupRef != nil { + in, out := &in.UserGroupRef, &out.UserGroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserGroupSelector != nil { + in, out := &in.UserGroupSelector, &out.UserGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool *out = new(string) **out = **in } + if in.UserPoolRef != nil { + in, out := &in.UserPoolRef, &out.UserPoolRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolSelector != nil { + in, out := &in.UserPoolSelector, &out.UserPoolSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecObservation. -func (in *DefaultResourceSpecObservation) DeepCopy() *DefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionInitParameters. +func (in *CognitoMemberDefinitionInitParameters) DeepCopy() *CognitoMemberDefinitionInitParameters { if in == nil { return nil } - out := new(DefaultResourceSpecObservation) + out := new(CognitoMemberDefinitionInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultResourceSpecParameters) DeepCopyInto(out *DefaultResourceSpecParameters) { +func (in *CognitoMemberDefinitionObservation) DeepCopyInto(out *CognitoMemberDefinitionObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecParameters. -func (in *DefaultResourceSpecParameters) DeepCopy() *DefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionObservation. +func (in *CognitoMemberDefinitionObservation) DeepCopy() *CognitoMemberDefinitionObservation { if in == nil { return nil } - out := new(DefaultResourceSpecParameters) + out := new(CognitoMemberDefinitionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultSpaceSettingsInitParameters) DeepCopyInto(out *DefaultSpaceSettingsInitParameters) { +func (in *CognitoMemberDefinitionParameters) DeepCopyInto(out *CognitoMemberDefinitionParameters) { *out = *in - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]JupyterServerAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]KernelGatewayAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ClientIDRef != nil { + in, out := &in.ClientIDRef, &out.ClientIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - 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.ClientIDSelector != nil { + in, out := &in.ClientIDSelector, &out.ClientIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup + *out = new(string) + **out = **in + } + if in.UserGroupRef != nil { + in, out := &in.UserGroupRef, &out.UserGroupRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserGroupSelector != nil { + in, out := &in.UserGroupSelector, &out.UserGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserPool != nil { + in, out := &in.UserPool, &out.UserPool + *out = new(string) + **out = **in + } + if in.UserPoolRef != nil { + in, out := &in.UserPoolRef, &out.UserPoolRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserPoolSelector != nil { + in, out := &in.UserPoolSelector, &out.UserPoolSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSpaceSettingsInitParameters. -func (in *DefaultSpaceSettingsInitParameters) DeepCopy() *DefaultSpaceSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoMemberDefinitionParameters. +func (in *CognitoMemberDefinitionParameters) DeepCopy() *CognitoMemberDefinitionParameters { if in == nil { return nil } - out := new(DefaultSpaceSettingsInitParameters) + out := new(CognitoMemberDefinitionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultSpaceSettingsObservation) DeepCopyInto(out *DefaultSpaceSettingsObservation) { +func (in *ContainerConfigInitParameters) DeepCopyInto(out *ContainerConfigInitParameters) { *out = *in - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole - *out = new(string) - **out = **in - } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]JupyterServerAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]KernelGatewayAppSettingsObservation, len(*in)) + if in.ContainerArguments != nil { + in, out := &in.ContainerArguments, &out.ContainerArguments + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.ContainerEntrypoint != nil { + in, out := &in.ContainerEntrypoint, &out.ContainerEntrypoint *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -2727,42 +2707,50 @@ func (in *DefaultSpaceSettingsObservation) DeepCopyInto(out *DefaultSpaceSetting } } } + if in.ContainerEnvironmentVariables != nil { + in, out := &in.ContainerEnvironmentVariables, &out.ContainerEnvironmentVariables + *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 DefaultSpaceSettingsObservation. -func (in *DefaultSpaceSettingsObservation) DeepCopy() *DefaultSpaceSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigInitParameters. +func (in *ContainerConfigInitParameters) DeepCopy() *ContainerConfigInitParameters { if in == nil { return nil } - out := new(DefaultSpaceSettingsObservation) + out := new(ContainerConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultSpaceSettingsParameters) DeepCopyInto(out *DefaultSpaceSettingsParameters) { +func (in *ContainerConfigObservation) DeepCopyInto(out *ContainerConfigObservation) { *out = *in - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole - *out = new(string) - **out = **in - } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]JupyterServerAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]KernelGatewayAppSettingsParameters, len(*in)) + if in.ContainerArguments != nil { + in, out := &in.ContainerArguments, &out.ContainerArguments + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.ContainerEntrypoint != nil { + in, out := &in.ContainerEntrypoint, &out.ContainerEntrypoint *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -2772,58 +2760,39 @@ func (in *DefaultSpaceSettingsParameters) DeepCopyInto(out *DefaultSpaceSettings } } } + if in.ContainerEnvironmentVariables != nil { + in, out := &in.ContainerEnvironmentVariables, &out.ContainerEnvironmentVariables + *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 DefaultSpaceSettingsParameters. -func (in *DefaultSpaceSettingsParameters) DeepCopy() *DefaultSpaceSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigObservation. +func (in *ContainerConfigObservation) DeepCopy() *ContainerConfigObservation { if in == nil { return nil } - out := new(DefaultSpaceSettingsParameters) + out := new(ContainerConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsInitParameters) { +func (in *ContainerConfigParameters) DeepCopyInto(out *ContainerConfigParameters) { *out = *in - if in.CanvasAppSettings != nil { - in, out := &in.CanvasAppSettings, &out.CanvasAppSettings - *out = make([]CanvasAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]DefaultUserSettingsJupyterServerAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RSessionAppSettings != nil { - in, out := &in.RSessionAppSettings, &out.RSessionAppSettings - *out = make([]RSessionAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RStudioServerProAppSettings != nil { - in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings - *out = make([]RStudioServerProAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.ContainerArguments != nil { + in, out := &in.ContainerArguments, &out.ContainerArguments *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -2833,1647 +2802,1657 @@ func (in *DefaultUserSettingsInitParameters) DeepCopyInto(out *DefaultUserSettin } } } - if in.SharingSettings != nil { - in, out := &in.SharingSettings, &out.SharingSettings - *out = make([]SharingSettingsInitParameters, len(*in)) + if in.ContainerEntrypoint != nil { + in, out := &in.ContainerEntrypoint, &out.ContainerEntrypoint + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.TensorBoardAppSettings != nil { - in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings - *out = make([]TensorBoardAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.ContainerEnvironmentVariables != nil { + in, out := &in.ContainerEnvironmentVariables, &out.ContainerEnvironmentVariables + *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 DefaultUserSettingsInitParameters. -func (in *DefaultUserSettingsInitParameters) DeepCopy() *DefaultUserSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigParameters. +func (in *ContainerConfigParameters) DeepCopy() *ContainerConfigParameters { if in == nil { return nil } - out := new(DefaultUserSettingsInitParameters) + out := new(ContainerConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) { +func (in *ContainerInitParameters) DeepCopyInto(out *ContainerInitParameters) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters { - if in == nil { - return nil + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *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(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) { - *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.Image != nil { + in, out := &in.Image, &out.Image *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation { - if in == nil { - return nil + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]ImageConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) { - *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]ModelDataSourceInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters. -func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerInitParameters. +func (in *ContainerInitParameters) DeepCopy() *ContainerInitParameters { if in == nil { return nil } - out := new(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) + out := new(ContainerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsInitParameters) { +func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]JupyterServerAppSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname + *out = new(string) + **out = **in } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *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 DefaultUserSettingsJupyterServerAppSettingsInitParameters. -func (in *DefaultUserSettingsJupyterServerAppSettingsInitParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsInitParameters { - if in == nil { - return nil + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(string) + **out = **in } - out := new(DefaultUserSettingsJupyterServerAppSettingsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsObservation) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsObservation) { - *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation, len(*in)) + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]ImageConfigObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]JupyterServerAppSettingsDefaultResourceSpecObservation, len(*in)) + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]ModelDataSourceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsObservation. -func (in *DefaultUserSettingsJupyterServerAppSettingsObservation) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerObservation. +func (in *ContainerObservation) DeepCopy() *ContainerObservation { if in == nil { return nil } - out := new(DefaultUserSettingsJupyterServerAppSettingsObservation) + out := new(ContainerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsJupyterServerAppSettingsParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsParameters) { +func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname + *out = new(string) + **out = **in + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *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.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]JupyterServerAppSettingsDefaultResourceSpecParameters, len(*in)) + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(string) + **out = **in + } + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]ImageConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]ModelDataSourceParameters, 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.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsParameters. -func (in *DefaultUserSettingsJupyterServerAppSettingsParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters. +func (in *ContainerParameters) DeepCopy() *ContainerParameters { if in == nil { return nil } - out := new(DefaultUserSettingsJupyterServerAppSettingsParameters) + out := new(ContainerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) { +func (in *CoreDumpConfigInitParameters) DeepCopyInto(out *CoreDumpConfigInitParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in - } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpConfigInitParameters. +func (in *CoreDumpConfigInitParameters) DeepCopy() *CoreDumpConfigInitParameters { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) + out := new(CoreDumpConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) { +func (in *CoreDumpConfigObservation) DeepCopyInto(out *CoreDumpConfigObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in - } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpConfigObservation. +func (in *CoreDumpConfigObservation) DeepCopy() *CoreDumpConfigObservation { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) + out := new(CoreDumpConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) { +func (in *CoreDumpConfigParameters) DeepCopyInto(out *CoreDumpConfigParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpConfigParameters. +func (in *CoreDumpConfigParameters) DeepCopy() *CoreDumpConfigParameters { + if in == nil { + return nil + } + out := new(CoreDumpConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomFileSystemConfigEFSFileSystemConfigInitParameters) DeepCopyInto(out *CustomFileSystemConfigEFSFileSystemConfigInitParameters) { + *out = *in + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters. -func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigEFSFileSystemConfigInitParameters. +func (in *CustomFileSystemConfigEFSFileSystemConfigInitParameters) DeepCopy() *CustomFileSystemConfigEFSFileSystemConfigInitParameters { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) + out := new(CustomFileSystemConfigEFSFileSystemConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) { +func (in *CustomFileSystemConfigEFSFileSystemConfigObservation) DeepCopyInto(out *CustomFileSystemConfigEFSFileSystemConfigObservation) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]KernelGatewayAppSettingsCustomImageInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsInitParameters. -func (in *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigEFSFileSystemConfigObservation. +func (in *CustomFileSystemConfigEFSFileSystemConfigObservation) DeepCopy() *CustomFileSystemConfigEFSFileSystemConfigObservation { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsInitParameters) + out := new(CustomFileSystemConfigEFSFileSystemConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsObservation) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsObservation) { +func (in *CustomFileSystemConfigEFSFileSystemConfigParameters) DeepCopyInto(out *CustomFileSystemConfigEFSFileSystemConfigParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]KernelGatewayAppSettingsCustomImageObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsObservation. -func (in *DefaultUserSettingsKernelGatewayAppSettingsObservation) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigEFSFileSystemConfigParameters. +func (in *CustomFileSystemConfigEFSFileSystemConfigParameters) DeepCopy() *CustomFileSystemConfigEFSFileSystemConfigParameters { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsObservation) + out := new(CustomFileSystemConfigEFSFileSystemConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsKernelGatewayAppSettingsParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsParameters) { +func (in *CustomFileSystemConfigInitParameters) DeepCopyInto(out *CustomFileSystemConfigInitParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]KernelGatewayAppSettingsCustomImageParameters, len(*in)) + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]EFSFileSystemConfigInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigInitParameters. +func (in *CustomFileSystemConfigInitParameters) DeepCopy() *CustomFileSystemConfigInitParameters { + if in == nil { + return nil } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) + out := new(CustomFileSystemConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomFileSystemConfigObservation) DeepCopyInto(out *CustomFileSystemConfigObservation) { + *out = *in + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]EFSFileSystemConfigObservation, 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]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsParameters. -func (in *DefaultUserSettingsKernelGatewayAppSettingsParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigObservation. +func (in *CustomFileSystemConfigObservation) DeepCopy() *CustomFileSystemConfigObservation { if in == nil { return nil } - out := new(DefaultUserSettingsKernelGatewayAppSettingsParameters) + out := new(CustomFileSystemConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsObservation) DeepCopyInto(out *DefaultUserSettingsObservation) { +func (in *CustomFileSystemConfigParameters) DeepCopyInto(out *CustomFileSystemConfigParameters) { *out = *in - if in.CanvasAppSettings != nil { - in, out := &in.CanvasAppSettings, &out.CanvasAppSettings - *out = make([]CanvasAppSettingsObservation, len(*in)) + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]EFSFileSystemConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFileSystemConfigParameters. +func (in *CustomFileSystemConfigParameters) DeepCopy() *CustomFileSystemConfigParameters { + if in == nil { + return nil + } + out := new(CustomFileSystemConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomImageInitParameters) DeepCopyInto(out *CustomImageInitParameters) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]DefaultUserSettingsJupyterServerAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in } - if in.RSessionAppSettings != nil { - in, out := &in.RSessionAppSettings, &out.RSessionAppSettings - *out = make([]RSessionAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in } - if in.RStudioServerProAppSettings != nil { - in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings - *out = make([]RStudioServerProAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageInitParameters. +func (in *CustomImageInitParameters) DeepCopy() *CustomImageInitParameters { + if in == nil { + return nil } - 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 - } - } + out := new(CustomImageInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomImageObservation) DeepCopyInto(out *CustomImageObservation) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in } - if in.SharingSettings != nil { - in, out := &in.SharingSettings, &out.SharingSettings - *out = make([]SharingSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in } - if in.TensorBoardAppSettings != nil { - in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings - *out = make([]TensorBoardAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsObservation. -func (in *DefaultUserSettingsObservation) DeepCopy() *DefaultUserSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageObservation. +func (in *CustomImageObservation) DeepCopy() *CustomImageObservation { if in == nil { return nil } - out := new(DefaultUserSettingsObservation) + out := new(CustomImageObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefaultUserSettingsParameters) DeepCopyInto(out *DefaultUserSettingsParameters) { +func (in *CustomImageParameters) DeepCopyInto(out *CustomImageParameters) { *out = *in - if in.CanvasAppSettings != nil { - in, out := &in.CanvasAppSettings, &out.CanvasAppSettings - *out = make([]CanvasAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in } - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.ExecutionRoleRef != nil { - in, out := &in.ExecutionRoleRef, &out.ExecutionRoleRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in } - if in.ExecutionRoleSelector != nil { - in, out := &in.ExecutionRoleSelector, &out.ExecutionRoleSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageParameters. +func (in *CustomImageParameters) DeepCopy() *CustomImageParameters { + if in == nil { + return nil } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]DefaultUserSettingsJupyterServerAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]DefaultUserSettingsKernelGatewayAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RSessionAppSettings != nil { - in, out := &in.RSessionAppSettings, &out.RSessionAppSettings - *out = make([]RSessionAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RStudioServerProAppSettings != nil { - in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings - *out = make([]RStudioServerProAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - 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.SharingSettings != nil { - in, out := &in.SharingSettings, &out.SharingSettings - *out = make([]SharingSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(CustomImageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomPosixUserConfigInitParameters) DeepCopyInto(out *CustomPosixUserConfigInitParameters) { + *out = *in + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) + **out = **in } - if in.TensorBoardAppSettings != nil { - in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings - *out = make([]TensorBoardAppSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsParameters. -func (in *DefaultUserSettingsParameters) DeepCopy() *DefaultUserSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPosixUserConfigInitParameters. +func (in *CustomPosixUserConfigInitParameters) DeepCopy() *CustomPosixUserConfigInitParameters { if in == nil { return nil } - out := new(DefaultUserSettingsParameters) + out := new(CustomPosixUserConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeploymentConfigInitParameters) DeepCopyInto(out *DeploymentConfigInitParameters) { +func (in *CustomPosixUserConfigObservation) DeepCopyInto(out *CustomPosixUserConfigObservation) { *out = *in - if in.AutoRollbackConfiguration != nil { - in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration - *out = make([]AutoRollbackConfigurationInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) + **out = **in } - if in.BlueGreenUpdatePolicy != nil { - in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy - *out = make([]BlueGreenUpdatePolicyInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigInitParameters. -func (in *DeploymentConfigInitParameters) DeepCopy() *DeploymentConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPosixUserConfigObservation. +func (in *CustomPosixUserConfigObservation) DeepCopy() *CustomPosixUserConfigObservation { if in == nil { return nil } - out := new(DeploymentConfigInitParameters) + out := new(CustomPosixUserConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeploymentConfigObservation) DeepCopyInto(out *DeploymentConfigObservation) { +func (in *CustomPosixUserConfigParameters) DeepCopyInto(out *CustomPosixUserConfigParameters) { *out = *in - if in.AutoRollbackConfiguration != nil { - in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration - *out = make([]AutoRollbackConfigurationObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) + **out = **in } - if in.BlueGreenUpdatePolicy != nil { - in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy - *out = make([]BlueGreenUpdatePolicyObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigObservation. -func (in *DeploymentConfigObservation) DeepCopy() *DeploymentConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPosixUserConfigParameters. +func (in *CustomPosixUserConfigParameters) DeepCopy() *CustomPosixUserConfigParameters { if in == nil { return nil } - out := new(DeploymentConfigObservation) + out := new(CustomPosixUserConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeploymentConfigParameters) DeepCopyInto(out *DeploymentConfigParameters) { +func (in *DataCaptureConfigInitParameters) DeepCopyInto(out *DataCaptureConfigInitParameters) { *out = *in - if in.AutoRollbackConfiguration != nil { - in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration - *out = make([]AutoRollbackConfigurationParameters, len(*in)) + if in.CaptureContentTypeHeader != nil { + in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader + *out = make([]CaptureContentTypeHeaderInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.BlueGreenUpdatePolicy != nil { - in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy - *out = make([]BlueGreenUpdatePolicyParameters, len(*in)) + if in.CaptureOptions != nil { + in, out := &in.CaptureOptions, &out.CaptureOptions + *out = make([]CaptureOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI + *out = new(string) + **out = **in + } + if in.EnableCapture != nil { + in, out := &in.EnableCapture, &out.EnableCapture + *out = new(bool) + **out = **in + } + if in.InitialSamplingPercentage != nil { + in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigParameters. -func (in *DeploymentConfigParameters) DeepCopy() *DeploymentConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCaptureConfigInitParameters. +func (in *DataCaptureConfigInitParameters) DeepCopy() *DataCaptureConfigInitParameters { if in == nil { return nil } - out := new(DeploymentConfigParameters) + out := new(DataCaptureConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Device) DeepCopyInto(out *Device) { +func (in *DataCaptureConfigObservation) DeepCopyInto(out *DataCaptureConfigObservation) { *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 Device. -func (in *Device) DeepCopy() *Device { - if in == nil { - return nil + if in.CaptureContentTypeHeader != nil { + in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader + *out = make([]CaptureContentTypeHeaderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(Device) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Device) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.CaptureOptions != nil { + in, out := &in.CaptureOptions, &out.CaptureOptions + *out = make([]CaptureOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceDeviceInitParameters) DeepCopyInto(out *DeviceDeviceInitParameters) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) + if in.EnableCapture != nil { + in, out := &in.EnableCapture, &out.EnableCapture + *out = new(bool) **out = **in } - if in.IotThingName != nil { - in, out := &in.IotThingName, &out.IotThingName + if in.InitialSamplingPercentage != nil { + in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceInitParameters. -func (in *DeviceDeviceInitParameters) DeepCopy() *DeviceDeviceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCaptureConfigObservation. +func (in *DataCaptureConfigObservation) DeepCopy() *DataCaptureConfigObservation { if in == nil { return nil } - out := new(DeviceDeviceInitParameters) + out := new(DataCaptureConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceDeviceObservation) DeepCopyInto(out *DeviceDeviceObservation) { +func (in *DataCaptureConfigParameters) DeepCopyInto(out *DataCaptureConfigParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.CaptureContentTypeHeader != nil { + in, out := &in.CaptureContentTypeHeader, &out.CaptureContentTypeHeader + *out = make([]CaptureContentTypeHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CaptureOptions != nil { + in, out := &in.CaptureOptions, &out.CaptureOptions + *out = make([]CaptureOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) + if in.EnableCapture != nil { + in, out := &in.EnableCapture, &out.EnableCapture + *out = new(bool) **out = **in } - if in.IotThingName != nil { - in, out := &in.IotThingName, &out.IotThingName + if in.InitialSamplingPercentage != nil { + in, out := &in.InitialSamplingPercentage, &out.InitialSamplingPercentage + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceObservation. -func (in *DeviceDeviceObservation) DeepCopy() *DeviceDeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCaptureConfigParameters. +func (in *DataCaptureConfigParameters) DeepCopy() *DataCaptureConfigParameters { if in == nil { return nil } - out := new(DeviceDeviceObservation) + out := new(DataCaptureConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceDeviceParameters) DeepCopyInto(out *DeviceDeviceParameters) { +func (in *DataCatalogConfigInitParameters) DeepCopyInto(out *DataCatalogConfigInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Catalog != nil { + in, out := &in.Catalog, &out.Catalog *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.Database != nil { + in, out := &in.Database, &out.Database *out = new(string) **out = **in } - if in.IotThingName != nil { - in, out := &in.IotThingName, &out.IotThingName + if in.TableName != nil { + in, out := &in.TableName, &out.TableName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceParameters. -func (in *DeviceDeviceParameters) DeepCopy() *DeviceDeviceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCatalogConfigInitParameters. +func (in *DataCatalogConfigInitParameters) DeepCopy() *DataCatalogConfigInitParameters { if in == nil { return nil } - out := new(DeviceDeviceParameters) + out := new(DataCatalogConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleet) DeepCopyInto(out *DeviceFleet) { +func (in *DataCatalogConfigObservation) DeepCopyInto(out *DataCatalogConfigObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Catalog != nil { + in, out := &in.Catalog, &out.Catalog + *out = new(string) + **out = **in + } + if in.Database != nil { + in, out := &in.Database, &out.Database + *out = new(string) + **out = **in + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleet. -func (in *DeviceFleet) DeepCopy() *DeviceFleet { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCatalogConfigObservation. +func (in *DataCatalogConfigObservation) DeepCopy() *DataCatalogConfigObservation { if in == nil { return nil } - out := new(DeviceFleet) + out := new(DataCatalogConfigObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DeviceFleet) 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 *DeviceFleetInitParameters) DeepCopyInto(out *DeviceFleetInitParameters) { +func (in *DataCatalogConfigParameters) DeepCopyInto(out *DataCatalogConfigParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Catalog != nil { + in, out := &in.Catalog, &out.Catalog *out = new(string) **out = **in } - if in.EnableIotRoleAlias != nil { - in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias - *out = new(bool) + if in.Database != nil { + in, out := &in.Database, &out.Database + *out = new(string) **out = **in } - if in.OutputConfig != nil { - in, out := &in.OutputConfig, &out.OutputConfig - *out = make([]OutputConfigInitParameters, 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.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetInitParameters. -func (in *DeviceFleetInitParameters) DeepCopy() *DeviceFleetInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCatalogConfigParameters. +func (in *DataCatalogConfigParameters) DeepCopy() *DataCatalogConfigParameters { if in == nil { return nil } - out := new(DeviceFleetInitParameters) + out := new(DataCatalogConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleetList) DeepCopyInto(out *DeviceFleetList) { +func (in *DefaultEBSStorageSettingsInitParameters) DeepCopyInto(out *DefaultEBSStorageSettingsInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]DeviceFleet, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) + **out = **in + } + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetList. -func (in *DeviceFleetList) DeepCopy() *DeviceFleetList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultEBSStorageSettingsInitParameters. +func (in *DefaultEBSStorageSettingsInitParameters) DeepCopy() *DefaultEBSStorageSettingsInitParameters { if in == nil { return nil } - out := new(DeviceFleetList) + out := new(DefaultEBSStorageSettingsInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DeviceFleetList) 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 *DefaultEBSStorageSettingsObservation) DeepCopyInto(out *DefaultEBSStorageSettingsObservation) { + *out = *in + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) + **out = **in } - return nil + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultEBSStorageSettingsObservation. +func (in *DefaultEBSStorageSettingsObservation) DeepCopy() *DefaultEBSStorageSettingsObservation { + if in == nil { + return nil + } + out := new(DefaultEBSStorageSettingsObservation) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleetObservation) DeepCopyInto(out *DeviceFleetObservation) { +func (in *DefaultEBSStorageSettingsParameters) DeepCopyInto(out *DefaultEBSStorageSettingsParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.EnableIotRoleAlias != nil { - in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultEBSStorageSettingsParameters. +func (in *DefaultEBSStorageSettingsParameters) DeepCopy() *DefaultEBSStorageSettingsParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID + out := new(DefaultEBSStorageSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultResourceSpecInitParameters) DeepCopyInto(out *DefaultResourceSpecInitParameters) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.IotRoleAlias != nil { - in, out := &in.IotRoleAlias, &out.IotRoleAlias + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.OutputConfig != nil { - in, out := &in.OutputConfig, &out.OutputConfig - *out = make([]OutputConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *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.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *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.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetObservation. -func (in *DeviceFleetObservation) DeepCopy() *DeviceFleetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecInitParameters. +func (in *DefaultResourceSpecInitParameters) DeepCopy() *DefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(DeviceFleetObservation) + out := new(DefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleetParameters) DeepCopyInto(out *DeviceFleetParameters) { +func (in *DefaultResourceSpecObservation) DeepCopyInto(out *DefaultResourceSpecObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.EnableIotRoleAlias != nil { - in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias - *out = new(bool) + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) **out = **in } - if in.OutputConfig != nil { - in, out := &in.OutputConfig, &out.OutputConfig - *out = make([]OutputConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.RoleArnRef != nil { - in, out := &in.RoleArnRef, &out.RoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecObservation. +func (in *DefaultResourceSpecObservation) DeepCopy() *DefaultResourceSpecObservation { + if in == nil { + return nil } - 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 DeviceFleetParameters. -func (in *DeviceFleetParameters) DeepCopy() *DeviceFleetParameters { - if in == nil { - return nil - } - out := new(DeviceFleetParameters) + out := new(DefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleetSpec) DeepCopyInto(out *DeviceFleetSpec) { +func (in *DefaultResourceSpecParameters) DeepCopyInto(out *DefaultResourceSpecParameters) { *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 DeviceFleetSpec. -func (in *DeviceFleetSpec) DeepCopy() *DeviceFleetSpec { - if in == nil { - return nil + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } - out := new(DeviceFleetSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceFleetStatus) DeepCopyInto(out *DeviceFleetStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetStatus. -func (in *DeviceFleetStatus) DeepCopy() *DeviceFleetStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultResourceSpecParameters. +func (in *DefaultResourceSpecParameters) DeepCopy() *DefaultResourceSpecParameters { if in == nil { return nil } - out := new(DeviceFleetStatus) + out := new(DefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters) { +func (in *DefaultSpaceSettingsInitParameters) DeepCopyInto(out *DefaultSpaceSettingsInitParameters) { *out = *in - if in.Device != nil { - in, out := &in.Device, &out.Device - *out = make([]DeviceDeviceInitParameters, len(*in)) + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole + *out = new(string) + **out = **in + } + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]JupyterServerAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]KernelGatewayAppSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters. -func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSpaceSettingsInitParameters. +func (in *DefaultSpaceSettingsInitParameters) DeepCopy() *DefaultSpaceSettingsInitParameters { if in == nil { return nil } - out := new(DeviceInitParameters) + out := new(DefaultSpaceSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceList) DeepCopyInto(out *DeviceList) { +func (in *DefaultSpaceSettingsObservation) DeepCopyInto(out *DefaultSpaceSettingsObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Device, len(*in)) + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole + *out = new(string) + **out = **in + } + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]JupyterServerAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]KernelGatewayAppSettingsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList. -func (in *DeviceList) DeepCopy() *DeviceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSpaceSettingsObservation. +func (in *DefaultSpaceSettingsObservation) DeepCopy() *DefaultSpaceSettingsObservation { if in == nil { return nil } - out := new(DeviceList) + out := new(DefaultSpaceSettingsObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DeviceList) 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 *DeviceObservation) DeepCopyInto(out *DeviceObservation) { +func (in *DefaultSpaceSettingsParameters) DeepCopyInto(out *DefaultSpaceSettingsParameters) { *out = *in - if in.AgentVersion != nil { - in, out := &in.AgentVersion, &out.AgentVersion - *out = new(string) - **out = **in - } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole *out = new(string) **out = **in } - if in.Device != nil { - in, out := &in.Device, &out.Device - *out = make([]DeviceDeviceObservation, len(*in)) + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]JupyterServerAppSettingsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DeviceFleetName != nil { - in, out := &in.DeviceFleetName, &out.DeviceFleetName - *out = new(string) - **out = **in + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]KernelGatewayAppSettingsParameters, 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.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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceObservation. -func (in *DeviceObservation) DeepCopy() *DeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSpaceSettingsParameters. +func (in *DefaultSpaceSettingsParameters) DeepCopy() *DefaultSpaceSettingsParameters { if in == nil { return nil } - out := new(DeviceObservation) + out := new(DefaultSpaceSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters) { +func (in *DefaultUserSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsInitParameters) { *out = *in - if in.Device != nil { - in, out := &in.Device, &out.Device - *out = make([]DeviceDeviceParameters, len(*in)) + if in.CanvasAppSettings != nil { + in, out := &in.CanvasAppSettings, &out.CanvasAppSettings + *out = make([]CanvasAppSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DeviceFleetName != nil { - in, out := &in.DeviceFleetName, &out.DeviceFleetName + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]CodeEditorAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]CustomFileSystemConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]CustomPosixUserConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI *out = new(string) **out = **in } - if in.DeviceFleetNameRef != nil { - in, out := &in.DeviceFleetNameRef, &out.DeviceFleetNameRef + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole + *out = new(string) + **out = **in + } + if in.ExecutionRoleRef != nil { + in, out := &in.ExecutionRoleRef, &out.ExecutionRoleRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.DeviceFleetNameSelector != nil { - in, out := &in.DeviceFleetNameSelector, &out.DeviceFleetNameSelector + if in.ExecutionRoleSelector != nil { + in, out := &in.ExecutionRoleSelector, &out.ExecutionRoleSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - 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 DeviceParameters. -func (in *DeviceParameters) DeepCopy() *DeviceParameters { - if in == nil { - return nil + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]JupyterLabAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(DeviceParameters) - in.DeepCopyInto(out) + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]DefaultUserSettingsJupyterServerAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RSessionAppSettings != nil { + in, out := &in.RSessionAppSettings, &out.RSessionAppSettings + *out = make([]RSessionAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RStudioServerProAppSettings != nil { + in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings + *out = make([]RStudioServerProAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + 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.SharingSettings != nil { + in, out := &in.SharingSettings, &out.SharingSettings + *out = make([]SharingSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]SpaceStorageSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal + *out = new(string) + **out = **in + } + if in.TensorBoardAppSettings != nil { + in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings + *out = make([]TensorBoardAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsInitParameters. +func (in *DefaultUserSettingsInitParameters) DeepCopy() *DefaultUserSettingsInitParameters { + if in == nil { + return nil + } + out := new(DefaultUserSettingsInitParameters) + in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec) { +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec. -func (in *DeviceSpec) DeepCopy() *DeviceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters. +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters { if in == nil { return nil } - out := new(DeviceSpec) + out := new(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus) { +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus. -func (in *DeviceStatus) DeepCopy() *DeviceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation. +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation { if in == nil { return nil } - out := new(DeviceStatus) + out := new(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Domain) DeepCopyInto(out *Domain) { +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Domain. -func (in *Domain) DeepCopy() *Domain { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters. +func (in *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters { if in == nil { return nil } - out := new(Domain) + out := new(DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Domain) 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 *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { +func (in *DefaultUserSettingsJupyterServerAppSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsInitParameters) { *out = *in - if in.AppNetworkAccessType != nil { - in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType - *out = new(string) - **out = **in - } - if in.AppSecurityGroupManagement != nil { - in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement - *out = new(string) - **out = **in - } - if in.AuthMode != nil { - in, out := &in.AuthMode, &out.AuthMode - *out = new(string) - **out = **in - } - if in.DefaultSpaceSettings != nil { - in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings - *out = make([]DefaultSpaceSettingsInitParameters, len(*in)) + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DefaultUserSettings != nil { - in, out := &in.DefaultUserSettings, &out.DefaultUserSettings - *out = make([]DefaultUserSettingsInitParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterServerAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName - *out = new(string) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.DomainSettings != nil { - in, out := &in.DomainSettings, &out.DomainSettings - *out = make([]DomainSettingsInitParameters, len(*in)) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsInitParameters. +func (in *DefaultUserSettingsJupyterServerAppSettingsInitParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsInitParameters { + if in == nil { + return nil + } + out := new(DefaultUserSettingsJupyterServerAppSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultUserSettingsJupyterServerAppSettingsObservation) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsObservation) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RetentionPolicy != nil { - in, out := &in.RetentionPolicy, &out.RetentionPolicy - *out = make([]RetentionPolicyInitParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterServerAppSettingsDefaultResourceSpecObservation, 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 + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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 } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainInitParameters. -func (in *DomainInitParameters) DeepCopy() *DomainInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsObservation. +func (in *DefaultUserSettingsJupyterServerAppSettingsObservation) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsObservation { if in == nil { return nil } - out := new(DomainInitParameters) + out := new(DefaultUserSettingsJupyterServerAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainList) DeepCopyInto(out *DomainList) { +func (in *DefaultUserSettingsJupyterServerAppSettingsParameters) DeepCopyInto(out *DefaultUserSettingsJupyterServerAppSettingsParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Domain, len(*in)) + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]DefaultUserSettingsJupyterServerAppSettingsCodeRepositoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterServerAppSettingsDefaultResourceSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList. -func (in *DomainList) DeepCopy() *DomainList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsJupyterServerAppSettingsParameters. +func (in *DefaultUserSettingsJupyterServerAppSettingsParameters) DeepCopy() *DefaultUserSettingsJupyterServerAppSettingsParameters { if in == nil { return nil } - out := new(DomainList) + out := new(DefaultUserSettingsJupyterServerAppSettingsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DomainList) 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 *DomainObservation) DeepCopyInto(out *DomainObservation) { +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) { *out = *in - if in.AppNetworkAccessType != nil { - in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType - *out = new(string) - **out = **in - } - if in.AppSecurityGroupManagement != nil { - in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.AuthMode != nil { - in, out := &in.AuthMode, &out.AuthMode + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.DefaultSpaceSettings != nil { - in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings - *out = make([]DefaultSpaceSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultUserSettings != nil { - in, out := &in.DefaultUserSettings, &out.DefaultUserSettings - *out = make([]DefaultUserSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.DomainSettings != nil { - in, out := &in.DomainSettings, &out.DomainSettings - *out = make([]DomainSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.HomeEFSFileSystemID != nil { - in, out := &in.HomeEFSFileSystemID, &out.HomeEFSFileSystemID + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } - 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 DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters. +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters { + if in == nil { + return nil } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.RetentionPolicy != nil { - in, out := &in.RetentionPolicy, &out.RetentionPolicy - *out = make([]RetentionPolicyObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupIDForDomainBoundary != nil { - in, out := &in.SecurityGroupIDForDomainBoundary, &out.SecurityGroupIDForDomainBoundary + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.SingleSignOnManagedApplicationInstanceID != nil { - in, out := &in.SingleSignOnManagedApplicationInstanceID, &out.SingleSignOnManagedApplicationInstanceID + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *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.URL != nil { - in, out := &in.URL, &out.URL + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainObservation. -func (in *DomainObservation) DeepCopy() *DomainObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation. +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(DomainObservation) + out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.AppNetworkAccessType != nil { - in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.AppSecurityGroupManagement != nil { - in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.AuthMode != nil { - in, out := &in.AuthMode, &out.AuthMode + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.DefaultSpaceSettings != nil { - in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings - *out = make([]DefaultSpaceSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultUserSettings != nil { - in, out := &in.DefaultUserSettings, &out.DefaultUserSettings - *out = make([]DefaultUserSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.DomainSettings != nil { - in, out := &in.DomainSettings, &out.DomainSettings - *out = make([]DomainSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } - if in.KMSKeyIDRef != nil { - in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyIDSelector != nil { - in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - 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 DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters. +func (in *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters { + if in == nil { + return nil } - if in.RetentionPolicy != nil { - in, out := &in.RetentionPolicy, &out.RetentionPolicy - *out = make([]RetentionPolicyParameters, len(*in)) + out := new(DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) { + *out = *in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]KernelGatewayAppSettingsCustomImageInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SubnetIDRefs != nil { - in, out := &in.SubnetIDRefs, &out.SubnetIDRefs - *out = make([]v1.Reference, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4483,66 +4462,37 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { } } } - 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 DefaultUserSettingsKernelGatewayAppSettingsInitParameters. +func (in *DefaultUserSettingsKernelGatewayAppSettingsInitParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsInitParameters { + if in == nil { + return nil } - 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 DomainParameters. -func (in *DomainParameters) DeepCopy() *DomainParameters { - if in == nil { - return nil - } - out := new(DomainParameters) + out := new(DefaultUserSettingsKernelGatewayAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainSettingsInitParameters) DeepCopyInto(out *DomainSettingsInitParameters) { +func (in *DefaultUserSettingsKernelGatewayAppSettingsObservation) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsObservation) { *out = *in - if in.ExecutionRoleIdentityConfig != nil { - in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig - *out = new(string) - **out = **in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]KernelGatewayAppSettingsCustomImageObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RStudioServerProDomainSettings != nil { - in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings - *out = make([]RStudioServerProDomainSettingsInitParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4554,33 +4504,35 @@ func (in *DomainSettingsInitParameters) DeepCopyInto(out *DomainSettingsInitPara } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsInitParameters. -func (in *DomainSettingsInitParameters) DeepCopy() *DomainSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsObservation. +func (in *DefaultUserSettingsKernelGatewayAppSettingsObservation) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsObservation { if in == nil { return nil } - out := new(DomainSettingsInitParameters) + out := new(DefaultUserSettingsKernelGatewayAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainSettingsObservation) DeepCopyInto(out *DomainSettingsObservation) { +func (in *DefaultUserSettingsKernelGatewayAppSettingsParameters) DeepCopyInto(out *DefaultUserSettingsKernelGatewayAppSettingsParameters) { *out = *in - if in.ExecutionRoleIdentityConfig != nil { - in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig - *out = new(string) - **out = **in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]KernelGatewayAppSettingsCustomImageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RStudioServerProDomainSettings != nil { - in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings - *out = make([]RStudioServerProDomainSettingsObservation, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4592,33 +4544,94 @@ func (in *DomainSettingsObservation) DeepCopyInto(out *DomainSettingsObservation } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsObservation. -func (in *DomainSettingsObservation) DeepCopy() *DomainSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsKernelGatewayAppSettingsParameters. +func (in *DefaultUserSettingsKernelGatewayAppSettingsParameters) DeepCopy() *DefaultUserSettingsKernelGatewayAppSettingsParameters { if in == nil { return nil } - out := new(DomainSettingsObservation) + out := new(DefaultUserSettingsKernelGatewayAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainSettingsParameters) DeepCopyInto(out *DomainSettingsParameters) { +func (in *DefaultUserSettingsObservation) DeepCopyInto(out *DefaultUserSettingsObservation) { *out = *in - if in.ExecutionRoleIdentityConfig != nil { - in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig + if in.CanvasAppSettings != nil { + in, out := &in.CanvasAppSettings, &out.CanvasAppSettings + *out = make([]CanvasAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]CodeEditorAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]CustomFileSystemConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]CustomPosixUserConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI *out = new(string) **out = **in } - if in.RStudioServerProDomainSettings != nil { - in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings - *out = make([]RStudioServerProDomainSettingsParameters, len(*in)) + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole + *out = new(string) + **out = **in + } + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]JupyterLabAppSettingsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]DefaultUserSettingsJupyterServerAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RSessionAppSettings != nil { + in, out := &in.RSessionAppSettings, &out.RSessionAppSettings + *out = make([]RSessionAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RStudioServerProAppSettings != nil { + in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings + *out = make([]RStudioServerProAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4628,412 +4641,466 @@ func (in *DomainSettingsParameters) DeepCopyInto(out *DomainSettingsParameters) } } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsParameters. -func (in *DomainSettingsParameters) DeepCopy() *DomainSettingsParameters { - if in == nil { - return nil - } - out := new(DomainSettingsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainSpec) DeepCopyInto(out *DomainSpec) { - *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 DomainSpec. -func (in *DomainSpec) DeepCopy() *DomainSpec { - if in == nil { - return nil + if in.SharingSettings != nil { + in, out := &in.SharingSettings, &out.SharingSettings + *out = make([]SharingSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(DomainSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DomainStatus) DeepCopyInto(out *DomainStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus. -func (in *DomainStatus) DeepCopy() *DomainStatus { - if in == nil { - return nil + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]SpaceStorageSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(DomainStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Endpoint) DeepCopyInto(out *Endpoint) { - *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 Endpoint. -func (in *Endpoint) DeepCopy() *Endpoint { - if in == nil { - return nil + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal + *out = new(string) + **out = **in } - out := new(Endpoint) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Endpoint) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.TensorBoardAppSettings != nil { + in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings + *out = make([]TensorBoardAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointConfiguration) DeepCopyInto(out *EndpointConfiguration) { - *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 EndpointConfiguration. -func (in *EndpointConfiguration) DeepCopy() *EndpointConfiguration { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsObservation. +func (in *DefaultUserSettingsObservation) DeepCopy() *DefaultUserSettingsObservation { if in == nil { return nil } - out := new(EndpointConfiguration) + out := new(DefaultUserSettingsObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EndpointConfiguration) 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 *EndpointConfigurationInitParameters) DeepCopyInto(out *EndpointConfigurationInitParameters) { +func (in *DefaultUserSettingsParameters) DeepCopyInto(out *DefaultUserSettingsParameters) { *out = *in - if in.AsyncInferenceConfig != nil { - in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig - *out = make([]AsyncInferenceConfigInitParameters, len(*in)) + if in.CanvasAppSettings != nil { + in, out := &in.CanvasAppSettings, &out.CanvasAppSettings + *out = make([]CanvasAppSettingsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DataCaptureConfig != nil { - in, out := &in.DataCaptureConfig, &out.DataCaptureConfig - *out = make([]DataCaptureConfigInitParameters, len(*in)) + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]CodeEditorAppSettingsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ProductionVariants != nil { - in, out := &in.ProductionVariants, &out.ProductionVariants - *out = make([]ProductionVariantsInitParameters, len(*in)) + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]CustomFileSystemConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ShadowProductionVariants != nil { - in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants - *out = make([]ShadowProductionVariantsInitParameters, len(*in)) + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]CustomPosixUserConfigParameters, 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 + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI + *out = new(string) + **out = **in + } + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole + *out = new(string) + **out = **in + } + if in.ExecutionRoleRef != nil { + in, out := &in.ExecutionRoleRef, &out.ExecutionRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleSelector != nil { + in, out := &in.ExecutionRoleSelector, &out.ExecutionRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]JupyterLabAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]DefaultUserSettingsJupyterServerAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]DefaultUserSettingsKernelGatewayAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RSessionAppSettings != nil { + in, out := &in.RSessionAppSettings, &out.RSessionAppSettings + *out = make([]RSessionAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RStudioServerProAppSettings != nil { + in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings + *out = make([]RStudioServerProAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + 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 } - (*out)[key] = outVal + } + } + if in.SharingSettings != nil { + in, out := &in.SharingSettings, &out.SharingSettings + *out = make([]SharingSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]SpaceStorageSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal + *out = new(string) + **out = **in + } + if in.TensorBoardAppSettings != nil { + in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings + *out = make([]TensorBoardAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationInitParameters. -func (in *EndpointConfigurationInitParameters) DeepCopy() *EndpointConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultUserSettingsParameters. +func (in *DefaultUserSettingsParameters) DeepCopy() *DefaultUserSettingsParameters { if in == nil { return nil } - out := new(EndpointConfigurationInitParameters) + out := new(DefaultUserSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointConfigurationList) DeepCopyInto(out *EndpointConfigurationList) { +func (in *DeploymentConfigInitParameters) DeepCopyInto(out *DeploymentConfigInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]EndpointConfiguration, len(*in)) + if in.AutoRollbackConfiguration != nil { + in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration + *out = make([]AutoRollbackConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BlueGreenUpdatePolicy != nil { + in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy + *out = make([]BlueGreenUpdatePolicyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RollingUpdatePolicy != nil { + in, out := &in.RollingUpdatePolicy, &out.RollingUpdatePolicy + *out = make([]RollingUpdatePolicyInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationList. -func (in *EndpointConfigurationList) DeepCopy() *EndpointConfigurationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigInitParameters. +func (in *DeploymentConfigInitParameters) DeepCopy() *DeploymentConfigInitParameters { if in == nil { return nil } - out := new(EndpointConfigurationList) + out := new(DeploymentConfigInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EndpointConfigurationList) 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 *EndpointConfigurationObservation) DeepCopyInto(out *EndpointConfigurationObservation) { +func (in *DeploymentConfigObservation) DeepCopyInto(out *DeploymentConfigObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.AsyncInferenceConfig != nil { - in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig - *out = make([]AsyncInferenceConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DataCaptureConfig != nil { - in, out := &in.DataCaptureConfig, &out.DataCaptureConfig - *out = make([]DataCaptureConfigObservation, len(*in)) + if in.AutoRollbackConfiguration != nil { + in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration + *out = make([]AutoRollbackConfigurationObservation, 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.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn - *out = new(string) - **out = **in - } - if in.ProductionVariants != nil { - in, out := &in.ProductionVariants, &out.ProductionVariants - *out = make([]ProductionVariantsObservation, len(*in)) + if in.BlueGreenUpdatePolicy != nil { + in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy + *out = make([]BlueGreenUpdatePolicyObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ShadowProductionVariants != nil { - in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants - *out = make([]ShadowProductionVariantsObservation, len(*in)) + if in.RollingUpdatePolicy != nil { + in, out := &in.RollingUpdatePolicy, &out.RollingUpdatePolicy + *out = make([]RollingUpdatePolicyObservation, 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 - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationObservation. -func (in *EndpointConfigurationObservation) DeepCopy() *EndpointConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigObservation. +func (in *DeploymentConfigObservation) DeepCopy() *DeploymentConfigObservation { if in == nil { return nil } - out := new(EndpointConfigurationObservation) + out := new(DeploymentConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointConfigurationParameters) DeepCopyInto(out *EndpointConfigurationParameters) { +func (in *DeploymentConfigParameters) DeepCopyInto(out *DeploymentConfigParameters) { *out = *in - if in.AsyncInferenceConfig != nil { - in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig - *out = make([]AsyncInferenceConfigParameters, len(*in)) + if in.AutoRollbackConfiguration != nil { + in, out := &in.AutoRollbackConfiguration, &out.AutoRollbackConfiguration + *out = make([]AutoRollbackConfigurationParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DataCaptureConfig != nil { - in, out := &in.DataCaptureConfig, &out.DataCaptureConfig - *out = make([]DataCaptureConfigParameters, len(*in)) + if in.BlueGreenUpdatePolicy != nil { + in, out := &in.BlueGreenUpdatePolicy, &out.BlueGreenUpdatePolicy + *out = make([]BlueGreenUpdatePolicyParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn - *out = new(string) - **out = **in - } - if in.KMSKeyArnRef != nil { - in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.ProductionVariants != nil { - in, out := &in.ProductionVariants, &out.ProductionVariants - *out = make([]ProductionVariantsParameters, len(*in)) + if in.RollingUpdatePolicy != nil { + in, out := &in.RollingUpdatePolicy, &out.RollingUpdatePolicy + *out = make([]RollingUpdatePolicyParameters, 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.ShadowProductionVariants != nil { - in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants - *out = make([]ShadowProductionVariantsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigParameters. +func (in *DeploymentConfigParameters) DeepCopy() *DeploymentConfigParameters { + if in == nil { + return nil } - 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(DeploymentConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Device) DeepCopyInto(out *Device) { + *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 Device. +func (in *Device) DeepCopy() *Device { + if in == nil { + return nil } + out := new(Device) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationParameters. -func (in *EndpointConfigurationParameters) DeepCopy() *EndpointConfigurationParameters { +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Device) 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 *DeviceDeviceInitParameters) DeepCopyInto(out *DeviceDeviceInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.IotThingName != nil { + in, out := &in.IotThingName, &out.IotThingName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceInitParameters. +func (in *DeviceDeviceInitParameters) DeepCopy() *DeviceDeviceInitParameters { if in == nil { return nil } - out := new(EndpointConfigurationParameters) + out := new(DeviceDeviceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointConfigurationSpec) DeepCopyInto(out *EndpointConfigurationSpec) { +func (in *DeviceDeviceObservation) DeepCopyInto(out *DeviceDeviceObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.IotThingName != nil { + in, out := &in.IotThingName, &out.IotThingName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationSpec. -func (in *EndpointConfigurationSpec) DeepCopy() *EndpointConfigurationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceObservation. +func (in *DeviceDeviceObservation) DeepCopy() *DeviceDeviceObservation { if in == nil { return nil } - out := new(EndpointConfigurationSpec) + out := new(DeviceDeviceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointConfigurationStatus) DeepCopyInto(out *EndpointConfigurationStatus) { +func (in *DeviceDeviceParameters) DeepCopyInto(out *DeviceDeviceParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.IotThingName != nil { + in, out := &in.IotThingName, &out.IotThingName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationStatus. -func (in *EndpointConfigurationStatus) DeepCopy() *EndpointConfigurationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDeviceParameters. +func (in *DeviceDeviceParameters) DeepCopy() *DeviceDeviceParameters { if in == nil { return nil } - out := new(EndpointConfigurationStatus) + out := new(DeviceDeviceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { +func (in *DeviceFleet) DeepCopyInto(out *DeviceFleet) { *out = *in - if in.DeploymentConfig != nil { - in, out := &in.DeploymentConfig, &out.DeploymentConfig - *out = make([]DeploymentConfigInitParameters, len(*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 DeviceFleet. +func (in *DeviceFleet) DeepCopy() *DeviceFleet { + if in == nil { + return nil + } + out := new(DeviceFleet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DeviceFleet) 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 *DeviceFleetInitParameters) DeepCopyInto(out *DeviceFleetInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnableIotRoleAlias != nil { + in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias + *out = new(bool) + **out = **in + } + if in.OutputConfig != nil { + in, out := &in.OutputConfig, &out.OutputConfig + *out = make([]OutputConfigInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -5052,42 +5119,42 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointInitParameters. -func (in *EndpointInitParameters) DeepCopy() *EndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetInitParameters. +func (in *DeviceFleetInitParameters) DeepCopy() *DeviceFleetInitParameters { if in == nil { return nil } - out := new(EndpointInitParameters) + out := new(DeviceFleetInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointList) DeepCopyInto(out *EndpointList) { +func (in *DeviceFleetList) DeepCopyInto(out *DeviceFleetList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Endpoint, len(*in)) + *out = make([]DeviceFleet, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList. -func (in *EndpointList) DeepCopy() *EndpointList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetList. +func (in *DeviceFleetList) DeepCopy() *DeviceFleetList { if in == nil { return nil } - out := new(EndpointList) + out := new(DeviceFleetList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EndpointList) DeepCopyObject() runtime.Object { +func (in *DeviceFleetList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5095,30 +5162,45 @@ func (in *EndpointList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { +func (in *DeviceFleetObservation) DeepCopyInto(out *DeviceFleetObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.DeploymentConfig != nil { - in, out := &in.DeploymentConfig, &out.DeploymentConfig - *out = make([]DeploymentConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EndpointConfigName != nil { - in, out := &in.EndpointConfigName, &out.EndpointConfigName + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + if in.EnableIotRoleAlias != nil { + in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias + *out = new(bool) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } + if in.IotRoleAlias != nil { + in, out := &in.IotRoleAlias, &out.IotRoleAlias + *out = new(string) + **out = **in + } + if in.OutputConfig != nil { + in, out := &in.OutputConfig, &out.OutputConfig + *out = make([]OutputConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -5153,46 +5235,56 @@ func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. -func (in *EndpointObservation) DeepCopy() *EndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetObservation. +func (in *DeviceFleetObservation) DeepCopy() *DeviceFleetObservation { if in == nil { return nil } - out := new(EndpointObservation) + out := new(DeviceFleetObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { +func (in *DeviceFleetParameters) DeepCopyInto(out *DeviceFleetParameters) { *out = *in - if in.DeploymentConfig != nil { - in, out := &in.DeploymentConfig, &out.DeploymentConfig - *out = make([]DeploymentConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EndpointConfigName != nil { - in, out := &in.EndpointConfigName, &out.EndpointConfigName + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.EndpointConfigNameRef != nil { - in, out := &in.EndpointConfigNameRef, &out.EndpointConfigNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.EnableIotRoleAlias != nil { + in, out := &in.EnableIotRoleAlias, &out.EnableIotRoleAlias + *out = new(bool) + **out = **in } - if in.EndpointConfigNameSelector != nil { - in, out := &in.EndpointConfigNameSelector, &out.EndpointConfigNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.OutputConfig != nil { + in, out := &in.OutputConfig, &out.OutputConfig + *out = make([]OutputConfigParameters, 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.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -5211,147 +5303,114 @@ func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. -func (in *EndpointParameters) DeepCopy() *EndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetParameters. +func (in *DeviceFleetParameters) DeepCopy() *DeviceFleetParameters { if in == nil { return nil } - out := new(EndpointParameters) + out := new(DeviceFleetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec) { +func (in *DeviceFleetSpec) DeepCopyInto(out *DeviceFleetSpec) { *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 EndpointSpec. -func (in *EndpointSpec) DeepCopy() *EndpointSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetSpec. +func (in *DeviceFleetSpec) DeepCopy() *DeviceFleetSpec { if in == nil { return nil } - out := new(EndpointSpec) + out := new(DeviceFleetSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus) { +func (in *DeviceFleetStatus) DeepCopyInto(out *DeviceFleetStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus. -func (in *EndpointStatus) DeepCopy() *EndpointStatus { - if in == nil { - return nil - } - out := new(EndpointStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureDefinitionInitParameters) DeepCopyInto(out *FeatureDefinitionInitParameters) { - *out = *in - if in.FeatureName != nil { - in, out := &in.FeatureName, &out.FeatureName - *out = new(string) - **out = **in - } - if in.FeatureType != nil { - in, out := &in.FeatureType, &out.FeatureType - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionInitParameters. -func (in *FeatureDefinitionInitParameters) DeepCopy() *FeatureDefinitionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceFleetStatus. +func (in *DeviceFleetStatus) DeepCopy() *DeviceFleetStatus { if in == nil { return nil } - out := new(FeatureDefinitionInitParameters) + out := new(DeviceFleetStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureDefinitionObservation) DeepCopyInto(out *FeatureDefinitionObservation) { +func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters) { *out = *in - if in.FeatureName != nil { - in, out := &in.FeatureName, &out.FeatureName - *out = new(string) - **out = **in + if in.Device != nil { + in, out := &in.Device, &out.Device + *out = make([]DeviceDeviceInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.FeatureType != nil { - in, out := &in.FeatureType, &out.FeatureType + if in.DeviceFleetName != nil { + in, out := &in.DeviceFleetName, &out.DeviceFleetName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionObservation. -func (in *FeatureDefinitionObservation) DeepCopy() *FeatureDefinitionObservation { - if in == nil { - return nil - } - out := new(FeatureDefinitionObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureDefinitionParameters) DeepCopyInto(out *FeatureDefinitionParameters) { - *out = *in - if in.FeatureName != nil { - in, out := &in.FeatureName, &out.FeatureName - *out = new(string) - **out = **in + if in.DeviceFleetNameRef != nil { + in, out := &in.DeviceFleetNameRef, &out.DeviceFleetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.FeatureType != nil { - in, out := &in.FeatureType, &out.FeatureType - *out = new(string) - **out = **in + if in.DeviceFleetNameSelector != nil { + in, out := &in.DeviceFleetNameSelector, &out.DeviceFleetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionParameters. -func (in *FeatureDefinitionParameters) DeepCopy() *FeatureDefinitionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters. +func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters { if in == nil { return nil } - out := new(FeatureDefinitionParameters) + out := new(DeviceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroup) DeepCopyInto(out *FeatureGroup) { +func (in *DeviceList) DeepCopyInto(out *DeviceList) { *out = *in out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Device, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroup. -func (in *FeatureGroup) DeepCopy() *FeatureGroup { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList. +func (in *DeviceList) DeepCopy() *DeviceList { if in == nil { return nil } - out := new(FeatureGroup) + out := new(DeviceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *FeatureGroup) DeepCopyObject() runtime.Object { +func (in *DeviceList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5359,261 +5418,300 @@ func (in *FeatureGroup) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroupInitParameters) DeepCopyInto(out *FeatureGroupInitParameters) { +func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.AgentVersion != nil { + in, out := &in.AgentVersion, &out.AgentVersion *out = new(string) **out = **in } - if in.EventTimeFeatureName != nil { - in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.FeatureDefinition != nil { - in, out := &in.FeatureDefinition, &out.FeatureDefinition - *out = make([]FeatureDefinitionInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OfflineStoreConfig != nil { - in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig - *out = make([]OfflineStoreConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OnlineStoreConfig != nil { - in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig - *out = make([]OnlineStoreConfigInitParameters, len(*in)) + if in.Device != nil { + in, out := &in.Device, &out.Device + *out = make([]DeviceDeviceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RecordIdentifierFeatureName != nil { - in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName + if in.DeviceFleetName != nil { + in, out := &in.DeviceFleetName, &out.DeviceFleetName *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.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 FeatureGroupInitParameters. -func (in *FeatureGroupInitParameters) DeepCopy() *FeatureGroupInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceObservation. +func (in *DeviceObservation) DeepCopy() *DeviceObservation { if in == nil { return nil } - out := new(FeatureGroupInitParameters) + out := new(DeviceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroupList) DeepCopyInto(out *FeatureGroupList) { +func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]FeatureGroup, len(*in)) + if in.Device != nil { + in, out := &in.Device, &out.Device + *out = make([]DeviceDeviceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DeviceFleetName != nil { + in, out := &in.DeviceFleetName, &out.DeviceFleetName + *out = new(string) + **out = **in + } + if in.DeviceFleetNameRef != nil { + in, out := &in.DeviceFleetNameRef, &out.DeviceFleetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeviceFleetNameSelector != nil { + in, out := &in.DeviceFleetNameSelector, &out.DeviceFleetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 FeatureGroupList. -func (in *FeatureGroupList) DeepCopy() *FeatureGroupList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceParameters. +func (in *DeviceParameters) DeepCopy() *DeviceParameters { if in == nil { return nil } - out := new(FeatureGroupList) + out := new(DeviceParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *FeatureGroupList) 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 *DeviceSpec) DeepCopyInto(out *DeviceSpec) { + *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 DeviceSpec. +func (in *DeviceSpec) DeepCopy() *DeviceSpec { + if in == nil { + return nil } - return nil + out := new(DeviceSpec) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroupObservation) DeepCopyInto(out *FeatureGroupObservation) { +func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus) { *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 + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus. +func (in *DeviceStatus) DeepCopy() *DeviceStatus { + if in == nil { + return nil } - if in.EventTimeFeatureName != nil { - in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName + out := new(DeviceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectDeploySettingsInitParameters) DeepCopyInto(out *DirectDeploySettingsInitParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } - if in.FeatureDefinition != nil { - in, out := &in.FeatureDefinition, &out.FeatureDefinition - *out = make([]FeatureDefinitionObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectDeploySettingsInitParameters. +func (in *DirectDeploySettingsInitParameters) DeepCopy() *DirectDeploySettingsInitParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID + out := new(DirectDeploySettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectDeploySettingsObservation) DeepCopyInto(out *DirectDeploySettingsObservation) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } - if in.OfflineStoreConfig != nil { - in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig - *out = make([]OfflineStoreConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OnlineStoreConfig != nil { - in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig - *out = make([]OnlineStoreConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RecordIdentifierFeatureName != nil { - in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectDeploySettingsObservation. +func (in *DirectDeploySettingsObservation) DeepCopy() *DirectDeploySettingsObservation { + if in == nil { + return nil } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + out := new(DirectDeploySettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectDeploySettingsParameters) DeepCopyInto(out *DirectDeploySettingsParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status *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 DirectDeploySettingsParameters. +func (in *DirectDeploySettingsParameters) DeepCopy() *DirectDeploySettingsParameters { + if in == nil { + return nil } + out := new(DirectDeploySettingsParameters) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupObservation. -func (in *FeatureGroupObservation) DeepCopy() *FeatureGroupObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Domain) DeepCopyInto(out *Domain) { + *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 Domain. +func (in *Domain) DeepCopy() *Domain { if in == nil { return nil } - out := new(FeatureGroupObservation) + out := new(Domain) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Domain) 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 *FeatureGroupParameters) DeepCopyInto(out *FeatureGroupParameters) { +func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.AppNetworkAccessType != nil { + in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType *out = new(string) **out = **in } - if in.EventTimeFeatureName != nil { - in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName + if in.AppSecurityGroupManagement != nil { + in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement *out = new(string) **out = **in } - if in.FeatureDefinition != nil { - in, out := &in.FeatureDefinition, &out.FeatureDefinition - *out = make([]FeatureDefinitionParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AuthMode != nil { + in, out := &in.AuthMode, &out.AuthMode + *out = new(string) + **out = **in } - if in.OfflineStoreConfig != nil { - in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig - *out = make([]OfflineStoreConfigParameters, len(*in)) + if in.DefaultSpaceSettings != nil { + in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings + *out = make([]DefaultSpaceSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.OnlineStoreConfig != nil { - in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig - *out = make([]OnlineStoreConfigParameters, len(*in)) + if in.DefaultUserSettings != nil { + in, out := &in.DefaultUserSettings, &out.DefaultUserSettings + *out = make([]DefaultUserSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RecordIdentifierFeatureName != nil { - in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.DomainSettings != nil { + in, out := &in.DomainSettings, &out.DomainSettings + *out = make([]DomainSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.RoleArnRef != nil { - in, out := &in.RoleArnRef, &out.RoleArnRef + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + 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)) @@ -5630,419 +5728,677 @@ func (in *FeatureGroupParameters) DeepCopyInto(out *FeatureGroupParameters) { (*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 FeatureGroupParameters. -func (in *FeatureGroupParameters) DeepCopy() *FeatureGroupParameters { - if in == nil { - return nil - } - out := new(FeatureGroupParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroupSpec) DeepCopyInto(out *FeatureGroupSpec) { - *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 FeatureGroupSpec. -func (in *FeatureGroupSpec) DeepCopy() *FeatureGroupSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainInitParameters. +func (in *DomainInitParameters) DeepCopy() *DomainInitParameters { if in == nil { return nil } - out := new(FeatureGroupSpec) + out := new(DomainInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FeatureGroupStatus) DeepCopyInto(out *FeatureGroupStatus) { +func (in *DomainList) DeepCopyInto(out *DomainList) { *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([]Domain, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupStatus. -func (in *FeatureGroupStatus) DeepCopy() *FeatureGroupStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList. +func (in *DomainList) DeepCopy() *DomainList { if in == nil { return nil } - out := new(FeatureGroupStatus) + out := new(DomainList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DomainList) 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 *FileSystemConfigInitParameters) DeepCopyInto(out *FileSystemConfigInitParameters) { +func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { *out = *in - if in.DefaultGID != nil { - in, out := &in.DefaultGID, &out.DefaultGID - *out = new(float64) + if in.AppNetworkAccessType != nil { + in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType + *out = new(string) **out = **in } - if in.DefaultUID != nil { - in, out := &in.DefaultUID, &out.DefaultUID - *out = new(float64) + if in.AppSecurityGroupManagement != nil { + in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement + *out = new(string) **out = **in } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfigInitParameters. -func (in *FileSystemConfigInitParameters) DeepCopy() *FileSystemConfigInitParameters { - if in == nil { - return nil + if in.AuthMode != nil { + in, out := &in.AuthMode, &out.AuthMode + *out = new(string) + **out = **in } - out := new(FileSystemConfigInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FileSystemConfigObservation) DeepCopyInto(out *FileSystemConfigObservation) { - *out = *in - if in.DefaultGID != nil { - in, out := &in.DefaultGID, &out.DefaultGID - *out = new(float64) + if in.DefaultSpaceSettings != nil { + in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings + *out = make([]DefaultSpaceSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultUserSettings != nil { + in, out := &in.DefaultUserSettings, &out.DefaultUserSettings + *out = make([]DefaultUserSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) **out = **in } - if in.DefaultUID != nil { - in, out := &in.DefaultUID, &out.DefaultUID - *out = new(float64) + if in.DomainSettings != nil { + in, out := &in.DomainSettings, &out.DomainSettings + *out = make([]DomainSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HomeEFSFileSystemID != nil { + in, out := &in.HomeEFSFileSystemID, &out.HomeEFSFileSystemID + *out = new(string) **out = **in } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + 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 FileSystemConfigObservation. -func (in *FileSystemConfigObservation) DeepCopy() *FileSystemConfigObservation { - if in == nil { - return nil + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in } - out := new(FileSystemConfigObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FileSystemConfigParameters) DeepCopyInto(out *FileSystemConfigParameters) { - *out = *in - if in.DefaultGID != nil { - in, out := &in.DefaultGID, &out.DefaultGID - *out = new(float64) + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIDForDomainBoundary != nil { + in, out := &in.SecurityGroupIDForDomainBoundary, &out.SecurityGroupIDForDomainBoundary + *out = new(string) **out = **in } - if in.DefaultUID != nil { - in, out := &in.DefaultUID, &out.DefaultUID - *out = new(float64) + if in.SingleSignOnApplicationArn != nil { + in, out := &in.SingleSignOnApplicationArn, &out.SingleSignOnApplicationArn + *out = new(string) **out = **in } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.SingleSignOnManagedApplicationInstanceID != nil { + in, out := &in.SingleSignOnManagedApplicationInstanceID, &out.SingleSignOnManagedApplicationInstanceID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfigParameters. -func (in *FileSystemConfigParameters) DeepCopy() *FileSystemConfigParameters { - if in == nil { - return nil + 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 + } + } } - out := new(FileSystemConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitConfigInitParameters) DeepCopyInto(out *GitConfigInitParameters) { - *out = *in - if in.Branch != nil { - in, out := &in.Branch, &out.Branch + 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.URL != nil { + in, out := &in.URL, &out.URL *out = new(string) **out = **in } - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + 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 GitConfigInitParameters. -func (in *GitConfigInitParameters) DeepCopy() *GitConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainObservation. +func (in *DomainObservation) DeepCopy() *DomainObservation { if in == nil { return nil } - out := new(GitConfigInitParameters) + out := new(DomainObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitConfigObservation) DeepCopyInto(out *GitConfigObservation) { +func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { *out = *in - if in.Branch != nil { - in, out := &in.Branch, &out.Branch + if in.AppNetworkAccessType != nil { + in, out := &in.AppNetworkAccessType, &out.AppNetworkAccessType *out = new(string) **out = **in } - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.AppSecurityGroupManagement != nil { + in, out := &in.AppSecurityGroupManagement, &out.AppSecurityGroupManagement *out = new(string) **out = **in } - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.AuthMode != nil { + in, out := &in.AuthMode, &out.AuthMode *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitConfigObservation. -func (in *GitConfigObservation) DeepCopy() *GitConfigObservation { - if in == nil { - return nil + if in.DefaultSpaceSettings != nil { + in, out := &in.DefaultSpaceSettings, &out.DefaultSpaceSettings + *out = make([]DefaultSpaceSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(GitConfigObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitConfigParameters) DeepCopyInto(out *GitConfigParameters) { - *out = *in - if in.Branch != nil { - in, out := &in.Branch, &out.Branch + if in.DefaultUserSettings != nil { + in, out := &in.DefaultUserSettings, &out.DefaultUserSettings + *out = make([]DefaultUserSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName *out = new(string) **out = **in } - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.DomainSettings != nil { + in, out := &in.DomainSettings, &out.DomainSettings + *out = make([]DomainSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.SecretArnRef != nil { - in, out := &in.SecretArnRef, &out.SecretArnRef + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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.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.SecretArnSelector != nil { - in, out := &in.SecretArnSelector, &out.SecretArnSelector + 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 GitConfigParameters. -func (in *GitConfigParameters) DeepCopy() *GitConfigParameters { - if in == nil { - return nil - } - out := new(GitConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image) DeepCopyInto(out *Image) { - *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 Image. -func (in *Image) DeepCopy() *Image { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainParameters. +func (in *DomainParameters) DeepCopy() *DomainParameters { if in == nil { return nil } - out := new(Image) + out := new(DomainParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Image) 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 *ImageConfigInitParameters) DeepCopyInto(out *ImageConfigInitParameters) { +func (in *DomainSettingsInitParameters) DeepCopyInto(out *DomainSettingsInitParameters) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.ExecutionRoleIdentityConfig != nil { + in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]RepositoryAuthConfigInitParameters, len(*in)) + if in.RStudioServerProDomainSettings != nil { + in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings + *out = make([]RStudioServerProDomainSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigInitParameters. -func (in *ImageConfigInitParameters) DeepCopy() *ImageConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsInitParameters. +func (in *DomainSettingsInitParameters) DeepCopy() *DomainSettingsInitParameters { if in == nil { return nil } - out := new(ImageConfigInitParameters) + out := new(DomainSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageConfigObservation) DeepCopyInto(out *ImageConfigObservation) { +func (in *DomainSettingsObservation) DeepCopyInto(out *DomainSettingsObservation) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.ExecutionRoleIdentityConfig != nil { + in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]RepositoryAuthConfigObservation, len(*in)) + if in.RStudioServerProDomainSettings != nil { + in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings + *out = make([]RStudioServerProDomainSettingsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigObservation. -func (in *ImageConfigObservation) DeepCopy() *ImageConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsObservation. +func (in *DomainSettingsObservation) DeepCopy() *DomainSettingsObservation { if in == nil { return nil } - out := new(ImageConfigObservation) + out := new(DomainSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageConfigParameters) DeepCopyInto(out *ImageConfigParameters) { +func (in *DomainSettingsParameters) DeepCopyInto(out *DomainSettingsParameters) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.ExecutionRoleIdentityConfig != nil { + in, out := &in.ExecutionRoleIdentityConfig, &out.ExecutionRoleIdentityConfig *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]RepositoryAuthConfigParameters, len(*in)) + if in.RStudioServerProDomainSettings != nil { + in, out := &in.RStudioServerProDomainSettings, &out.RStudioServerProDomainSettings + *out = make([]RStudioServerProDomainSettingsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + 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 + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigParameters. -func (in *ImageConfigParameters) DeepCopy() *ImageConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSettingsParameters. +func (in *DomainSettingsParameters) DeepCopy() *DomainSettingsParameters { if in == nil { return nil } - out := new(ImageConfigParameters) + out := new(DomainSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageConfigRepositoryAuthConfigInitParameters) DeepCopyInto(out *ImageConfigRepositoryAuthConfigInitParameters) { +func (in *DomainSpec) DeepCopyInto(out *DomainSpec) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn - *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 ImageConfigRepositoryAuthConfigInitParameters. -func (in *ImageConfigRepositoryAuthConfigInitParameters) DeepCopy() *ImageConfigRepositoryAuthConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSpec. +func (in *DomainSpec) DeepCopy() *DomainSpec { if in == nil { return nil } - out := new(ImageConfigRepositoryAuthConfigInitParameters) + out := new(DomainSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageConfigRepositoryAuthConfigObservation) DeepCopyInto(out *ImageConfigRepositoryAuthConfigObservation) { +func (in *DomainStatus) DeepCopyInto(out *DomainStatus) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn - *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 ImageConfigRepositoryAuthConfigObservation. -func (in *ImageConfigRepositoryAuthConfigObservation) DeepCopy() *ImageConfigRepositoryAuthConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus. +func (in *DomainStatus) DeepCopy() *DomainStatus { if in == nil { return nil } - out := new(ImageConfigRepositoryAuthConfigObservation) + out := new(DomainStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageConfigRepositoryAuthConfigParameters) DeepCopyInto(out *ImageConfigRepositoryAuthConfigParameters) { +func (in *EFSFileSystemConfigInitParameters) DeepCopyInto(out *EFSFileSystemConfigInitParameters) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigRepositoryAuthConfigParameters. -func (in *ImageConfigRepositoryAuthConfigParameters) DeepCopy() *ImageConfigRepositoryAuthConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSFileSystemConfigInitParameters. +func (in *EFSFileSystemConfigInitParameters) DeepCopy() *EFSFileSystemConfigInitParameters { if in == nil { return nil } - out := new(ImageConfigRepositoryAuthConfigParameters) + out := new(EFSFileSystemConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { +func (in *EFSFileSystemConfigObservation) DeepCopyInto(out *EFSFileSystemConfigObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID *out = new(string) **out = **in } - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName + if in.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSFileSystemConfigObservation. +func (in *EFSFileSystemConfigObservation) DeepCopy() *EFSFileSystemConfigObservation { + if in == nil { + return nil + } + out := new(EFSFileSystemConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSFileSystemConfigParameters) DeepCopyInto(out *EFSFileSystemConfigParameters) { + *out = *in + if in.FileSystemID != nil { + in, out := &in.FileSystemID, &out.FileSystemID + *out = new(string) + **out = **in + } + if in.FileSystemPath != nil { + in, out := &in.FileSystemPath, &out.FileSystemPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSFileSystemConfigParameters. +func (in *EFSFileSystemConfigParameters) DeepCopy() *EFSFileSystemConfigParameters { + if in == nil { + return nil + } + out := new(EFSFileSystemConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Endpoint) DeepCopyInto(out *Endpoint) { + *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 Endpoint. +func (in *Endpoint) DeepCopy() *Endpoint { + if in == nil { + return nil + } + out := new(Endpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Endpoint) 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 *EndpointConfiguration) DeepCopyInto(out *EndpointConfiguration) { + *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 EndpointConfiguration. +func (in *EndpointConfiguration) DeepCopy() *EndpointConfiguration { + if in == nil { + return nil + } + out := new(EndpointConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointConfiguration) 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 *EndpointConfigurationInitParameters) DeepCopyInto(out *EndpointConfigurationInitParameters) { + *out = *in + if in.AsyncInferenceConfig != nil { + in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig + *out = make([]AsyncInferenceConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataCaptureConfig != nil { + in, out := &in.DataCaptureConfig, &out.DataCaptureConfig + *out = make([]DataCaptureConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]ProductionVariantsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ShadowProductionVariants != nil { + in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants + *out = make([]ShadowProductionVariantsInitParameters, 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)) @@ -6061,42 +6417,42 @@ func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInitParameters. -func (in *ImageInitParameters) DeepCopy() *ImageInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationInitParameters. +func (in *EndpointConfigurationInitParameters) DeepCopy() *EndpointConfigurationInitParameters { if in == nil { return nil } - out := new(ImageInitParameters) + out := new(EndpointConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageList) DeepCopyInto(out *ImageList) { +func (in *EndpointConfigurationList) DeepCopyInto(out *EndpointConfigurationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Image, len(*in)) + *out = make([]EndpointConfiguration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList. -func (in *ImageList) DeepCopy() *ImageList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationList. +func (in *EndpointConfigurationList) DeepCopy() *EndpointConfigurationList { if in == nil { return nil } - out := new(ImageList) + out := new(EndpointConfigurationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ImageList) DeepCopyObject() runtime.Object { +func (in *EndpointConfigurationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6104,33 +6460,51 @@ func (in *ImageList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { +func (in *EndpointConfigurationObservation) DeepCopyInto(out *EndpointConfigurationObservation) { *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.AsyncInferenceConfig != nil { + in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig + *out = make([]AsyncInferenceConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName - *out = new(string) - **out = **in + if in.DataCaptureConfig != nil { + in, out := &in.DataCaptureConfig, &out.DataCaptureConfig + *out = make([]DataCaptureConfigObservation, 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.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } + if in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]ProductionVariantsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ShadowProductionVariants != nil { + in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants + *out = make([]ShadowProductionVariantsObservation, 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)) @@ -6165,54 +6539,72 @@ func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageObservation. -func (in *ImageObservation) DeepCopy() *ImageObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationObservation. +func (in *EndpointConfigurationObservation) DeepCopy() *EndpointConfigurationObservation { if in == nil { return nil } - out := new(ImageObservation) + out := new(EndpointConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { +func (in *EndpointConfigurationParameters) DeepCopyInto(out *EndpointConfigurationParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName - *out = new(string) - **out = **in + if in.AsyncInferenceConfig != nil { + in, out := &in.AsyncInferenceConfig, &out.AsyncInferenceConfig + *out = make([]AsyncInferenceConfigParameters, 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.DataCaptureConfig != nil { + in, out := &in.DataCaptureConfig, &out.DataCaptureConfig + *out = make([]DataCaptureConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.RoleArnRef != nil { - in, out := &in.RoleArnRef, &out.RoleArnRef + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector *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 in.ProductionVariants != nil { + in, out := &in.ProductionVariants, &out.ProductionVariants + *out = make([]ProductionVariantsParameters, 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.ShadowProductionVariants != nil { + in, out := &in.ShadowProductionVariants, &out.ShadowProductionVariants + *out = make([]ShadowProductionVariantsParameters, 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 { @@ -6226,124 +6618,130 @@ func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters. -func (in *ImageParameters) DeepCopy() *ImageParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationParameters. +func (in *EndpointConfigurationParameters) DeepCopy() *EndpointConfigurationParameters { if in == nil { return nil } - out := new(ImageParameters) + out := new(EndpointConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageSpec) DeepCopyInto(out *ImageSpec) { +func (in *EndpointConfigurationSpec) DeepCopyInto(out *EndpointConfigurationSpec) { *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 ImageSpec. -func (in *ImageSpec) DeepCopy() *ImageSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationSpec. +func (in *EndpointConfigurationSpec) DeepCopy() *EndpointConfigurationSpec { if in == nil { return nil } - out := new(ImageSpec) + out := new(EndpointConfigurationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageStatus) DeepCopyInto(out *ImageStatus) { +func (in *EndpointConfigurationStatus) DeepCopyInto(out *EndpointConfigurationStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus. -func (in *ImageStatus) DeepCopy() *ImageStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationStatus. +func (in *EndpointConfigurationStatus) DeepCopy() *EndpointConfigurationStatus { if in == nil { return nil } - out := new(ImageStatus) + out := new(EndpointConfigurationStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersion) DeepCopyInto(out *ImageVersion) { +func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { *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 ImageVersion. -func (in *ImageVersion) DeepCopy() *ImageVersion { - if in == nil { - return nil - } - out := new(ImageVersion) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ImageVersion) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.DeploymentConfig != nil { + in, out := &in.DeploymentConfig, &out.DeploymentConfig + *out = make([]DeploymentConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionInitParameters) DeepCopyInto(out *ImageVersionInitParameters) { - *out = *in - if in.BaseImage != nil { - in, out := &in.BaseImage, &out.BaseImage + if in.EndpointConfigName != nil { + in, out := &in.EndpointConfigName, &out.EndpointConfigName *out = new(string) **out = **in } + if in.EndpointConfigNameRef != nil { + in, out := &in.EndpointConfigNameRef, &out.EndpointConfigNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EndpointConfigNameSelector != nil { + in, out := &in.EndpointConfigNameSelector, &out.EndpointConfigNameSelector + *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 ImageVersionInitParameters. -func (in *ImageVersionInitParameters) DeepCopy() *ImageVersionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointInitParameters. +func (in *EndpointInitParameters) DeepCopy() *EndpointInitParameters { if in == nil { return nil } - out := new(ImageVersionInitParameters) + out := new(EndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionList) DeepCopyInto(out *ImageVersionList) { +func (in *EndpointList) DeepCopyInto(out *EndpointList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]ImageVersion, len(*in)) + *out = make([]Endpoint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionList. -func (in *ImageVersionList) DeepCopy() *ImageVersionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList. +func (in *EndpointList) DeepCopy() *EndpointList { if in == nil { return nil } - out := new(ImageVersionList) + out := new(EndpointList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ImageVersionList) DeepCopyObject() runtime.Object { +func (in *EndpointList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6351,20 +6749,22 @@ func (in *ImageVersionList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionObservation) DeepCopyInto(out *ImageVersionObservation) { +func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.BaseImage != nil { - in, out := &in.BaseImage, &out.BaseImage - *out = new(string) - **out = **in + if in.DeploymentConfig != nil { + in, out := &in.DeploymentConfig, &out.DeploymentConfig + *out = make([]DeploymentConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ContainerImage != nil { - in, out := &in.ContainerImage, &out.ContainerImage + if in.EndpointConfigName != nil { + in, out := &in.EndpointConfigName, &out.EndpointConfigName *out = new(string) **out = **in } @@ -6373,53 +6773,72 @@ func (in *ImageVersionObservation) DeepCopyInto(out *ImageVersionObservation) { *out = new(string) **out = **in } - if in.ImageArn != nil { - in, out := &in.ImageArn, &out.ImageArn - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName - *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.Version != nil { - in, out := &in.Version, &out.Version - *out = new(float64) - **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 + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionObservation. -func (in *ImageVersionObservation) DeepCopy() *ImageVersionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. +func (in *EndpointObservation) DeepCopy() *EndpointObservation { if in == nil { return nil } - out := new(ImageVersionObservation) + out := new(EndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionParameters) DeepCopyInto(out *ImageVersionParameters) { +func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { *out = *in - if in.BaseImage != nil { - in, out := &in.BaseImage, &out.BaseImage - *out = new(string) - **out = **in + if in.DeploymentConfig != nil { + in, out := &in.DeploymentConfig, &out.DeploymentConfig + *out = make([]DeploymentConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.EndpointConfigName != nil { + in, out := &in.EndpointConfigName, &out.EndpointConfigName *out = new(string) **out = **in } - if in.ImageNameRef != nil { - in, out := &in.ImageNameRef, &out.ImageNameRef + if in.EndpointConfigNameRef != nil { + in, out := &in.EndpointConfigNameRef, &out.EndpointConfigNameRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ImageNameSelector != nil { - in, out := &in.ImageNameSelector, &out.ImageNameSelector + if in.EndpointConfigNameSelector != nil { + in, out := &in.EndpointConfigNameSelector, &out.EndpointConfigNameSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } @@ -6428,1107 +6847,1221 @@ func (in *ImageVersionParameters) DeepCopyInto(out *ImageVersionParameters) { *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 ImageVersionParameters. -func (in *ImageVersionParameters) DeepCopy() *ImageVersionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. +func (in *EndpointParameters) DeepCopy() *EndpointParameters { if in == nil { return nil } - out := new(ImageVersionParameters) + out := new(EndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionSpec) DeepCopyInto(out *ImageVersionSpec) { +func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec) { *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 ImageVersionSpec. -func (in *ImageVersionSpec) DeepCopy() *ImageVersionSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec. +func (in *EndpointSpec) DeepCopy() *EndpointSpec { if in == nil { return nil } - out := new(ImageVersionSpec) + out := new(EndpointSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageVersionStatus) DeepCopyInto(out *ImageVersionStatus) { +func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionStatus. -func (in *ImageVersionStatus) DeepCopy() *ImageVersionStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus. +func (in *EndpointStatus) DeepCopy() *EndpointStatus { if in == nil { return nil } - out := new(ImageVersionStatus) + out := new(EndpointStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InferenceExecutionConfigInitParameters) DeepCopyInto(out *InferenceExecutionConfigInitParameters) { +func (in *FeatureDefinitionInitParameters) DeepCopyInto(out *FeatureDefinitionInitParameters) { *out = *in - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.FeatureName != nil { + in, out := &in.FeatureName, &out.FeatureName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigInitParameters. -func (in *InferenceExecutionConfigInitParameters) DeepCopy() *InferenceExecutionConfigInitParameters { - if in == nil { - return nil - } - out := new(InferenceExecutionConfigInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InferenceExecutionConfigObservation) DeepCopyInto(out *InferenceExecutionConfigObservation) { - *out = *in - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.FeatureType != nil { + in, out := &in.FeatureType, &out.FeatureType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigObservation. -func (in *InferenceExecutionConfigObservation) DeepCopy() *InferenceExecutionConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionInitParameters. +func (in *FeatureDefinitionInitParameters) DeepCopy() *FeatureDefinitionInitParameters { if in == nil { return nil } - out := new(InferenceExecutionConfigObservation) + out := new(FeatureDefinitionInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InferenceExecutionConfigParameters) DeepCopyInto(out *InferenceExecutionConfigParameters) { +func (in *FeatureDefinitionObservation) DeepCopyInto(out *FeatureDefinitionObservation) { *out = *in - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.FeatureName != nil { + in, out := &in.FeatureName, &out.FeatureName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigParameters. -func (in *InferenceExecutionConfigParameters) DeepCopy() *InferenceExecutionConfigParameters { - if in == nil { - return nil - } - out := new(InferenceExecutionConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMetadataServiceConfigurationInitParameters) DeepCopyInto(out *InstanceMetadataServiceConfigurationInitParameters) { - *out = *in - if in.MinimumInstanceMetadataServiceVersion != nil { - in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion + if in.FeatureType != nil { + in, out := &in.FeatureType, &out.FeatureType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataServiceConfigurationInitParameters. -func (in *InstanceMetadataServiceConfigurationInitParameters) DeepCopy() *InstanceMetadataServiceConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionObservation. +func (in *FeatureDefinitionObservation) DeepCopy() *FeatureDefinitionObservation { if in == nil { return nil } - out := new(InstanceMetadataServiceConfigurationInitParameters) + out := new(FeatureDefinitionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMetadataServiceConfigurationObservation) DeepCopyInto(out *InstanceMetadataServiceConfigurationObservation) { +func (in *FeatureDefinitionParameters) DeepCopyInto(out *FeatureDefinitionParameters) { *out = *in - if in.MinimumInstanceMetadataServiceVersion != nil { - in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion + if in.FeatureName != nil { + in, out := &in.FeatureName, &out.FeatureName + *out = new(string) + **out = **in + } + if in.FeatureType != nil { + in, out := &in.FeatureType, &out.FeatureType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataServiceConfigurationObservation. -func (in *InstanceMetadataServiceConfigurationObservation) DeepCopy() *InstanceMetadataServiceConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureDefinitionParameters. +func (in *FeatureDefinitionParameters) DeepCopy() *FeatureDefinitionParameters { if in == nil { return nil } - out := new(InstanceMetadataServiceConfigurationObservation) + out := new(FeatureDefinitionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMetadataServiceConfigurationParameters) DeepCopyInto(out *InstanceMetadataServiceConfigurationParameters) { +func (in *FeatureGroup) DeepCopyInto(out *FeatureGroup) { *out = *in - if in.MinimumInstanceMetadataServiceVersion != nil { - in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion - *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 InstanceMetadataServiceConfigurationParameters. -func (in *InstanceMetadataServiceConfigurationParameters) DeepCopy() *InstanceMetadataServiceConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroup. +func (in *FeatureGroup) DeepCopy() *FeatureGroup { if in == nil { return nil } - out := new(InstanceMetadataServiceConfigurationParameters) + out := new(FeatureGroup) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FeatureGroup) 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 *JupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryInitParameters) { +func (in *FeatureGroupInitParameters) DeepCopyInto(out *FeatureGroupInitParameters) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + 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 JupyterServerAppSettingsCodeRepositoryInitParameters. -func (in *JupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *JupyterServerAppSettingsCodeRepositoryInitParameters { - if in == nil { - return nil + if in.EventTimeFeatureName != nil { + in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName + *out = new(string) + **out = **in } - out := new(JupyterServerAppSettingsCodeRepositoryInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryObservation) { - *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL + if in.FeatureDefinition != nil { + in, out := &in.FeatureDefinition, &out.FeatureDefinition + *out = make([]FeatureDefinitionInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OfflineStoreConfig != nil { + in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig + *out = make([]OfflineStoreConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OnlineStoreConfig != nil { + in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig + *out = make([]OnlineStoreConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RecordIdentifierFeatureName != nil { + in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName *out = new(string) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *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 JupyterServerAppSettingsCodeRepositoryObservation. -func (in *JupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *JupyterServerAppSettingsCodeRepositoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupInitParameters. +func (in *FeatureGroupInitParameters) DeepCopy() *FeatureGroupInitParameters { if in == nil { return nil } - out := new(JupyterServerAppSettingsCodeRepositoryObservation) + out := new(FeatureGroupInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryParameters) { +func (in *FeatureGroupList) DeepCopyInto(out *FeatureGroupList) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL - *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([]FeatureGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsCodeRepositoryParameters. -func (in *JupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *JupyterServerAppSettingsCodeRepositoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupList. +func (in *FeatureGroupList) DeepCopy() *FeatureGroupList { if in == nil { return nil } - out := new(JupyterServerAppSettingsCodeRepositoryParameters) + out := new(FeatureGroupList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FeatureGroupList) 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 *JupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecInitParameters) { +func (in *FeatureGroupObservation) DeepCopyInto(out *FeatureGroupObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.EventTimeFeatureName != nil { + in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.FeatureDefinition != nil { + in, out := &in.FeatureDefinition, &out.FeatureDefinition + *out = make([]FeatureDefinitionObservation, 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 } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsDefaultResourceSpecInitParameters. -func (in *JupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecInitParameters { - if in == nil { - return nil + if in.OfflineStoreConfig != nil { + in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig + *out = make([]OfflineStoreConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(JupyterServerAppSettingsDefaultResourceSpecInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecObservation) { - *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in + if in.OnlineStoreConfig != nil { + in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig + *out = make([]OnlineStoreConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.RecordIdentifierFeatureName != nil { + in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *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 JupyterServerAppSettingsDefaultResourceSpecObservation. -func (in *JupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupObservation. +func (in *FeatureGroupObservation) DeepCopy() *FeatureGroupObservation { if in == nil { return nil } - out := new(JupyterServerAppSettingsDefaultResourceSpecObservation) + out := new(FeatureGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecParameters) { +func (in *FeatureGroupParameters) DeepCopyInto(out *FeatureGroupParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in - } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.EventTimeFeatureName != nil { + in, out := &in.EventTimeFeatureName, &out.EventTimeFeatureName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsDefaultResourceSpecParameters. -func (in *JupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecParameters { - if in == nil { - return nil - } - out := new(JupyterServerAppSettingsDefaultResourceSpecParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsInitParameters) DeepCopyInto(out *JupyterServerAppSettingsInitParameters) { - *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]JupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) + if in.FeatureDefinition != nil { + in, out := &in.FeatureDefinition, &out.FeatureDefinition + *out = make([]FeatureDefinitionParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultResourceSpecInitParameters, len(*in)) + if in.OfflineStoreConfig != nil { + in, out := &in.OfflineStoreConfig, &out.OfflineStoreConfig + *out = make([]OfflineStoreConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) + if in.OnlineStoreConfig != nil { + in, out := &in.OnlineStoreConfig, &out.OnlineStoreConfig + *out = make([]OnlineStoreConfigParameters, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RecordIdentifierFeatureName != nil { + in, out := &in.RecordIdentifierFeatureName, &out.RecordIdentifierFeatureName + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *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 JupyterServerAppSettingsInitParameters. -func (in *JupyterServerAppSettingsInitParameters) DeepCopy() *JupyterServerAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupParameters. +func (in *FeatureGroupParameters) DeepCopy() *FeatureGroupParameters { if in == nil { return nil } - out := new(JupyterServerAppSettingsInitParameters) + out := new(FeatureGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsObservation) DeepCopyInto(out *JupyterServerAppSettingsObservation) { +func (in *FeatureGroupSpec) DeepCopyInto(out *FeatureGroupSpec) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]JupyterServerAppSettingsCodeRepositoryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *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 JupyterServerAppSettingsObservation. -func (in *JupyterServerAppSettingsObservation) DeepCopy() *JupyterServerAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupSpec. +func (in *FeatureGroupSpec) DeepCopy() *FeatureGroupSpec { if in == nil { return nil } - out := new(JupyterServerAppSettingsObservation) + out := new(FeatureGroupSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JupyterServerAppSettingsParameters) DeepCopyInto(out *JupyterServerAppSettingsParameters) { +func (in *FeatureGroupStatus) DeepCopyInto(out *FeatureGroupStatus) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]JupyterServerAppSettingsCodeRepositoryParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]DefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *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 JupyterServerAppSettingsParameters. -func (in *JupyterServerAppSettingsParameters) DeepCopy() *JupyterServerAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGroupStatus. +func (in *FeatureGroupStatus) DeepCopy() *FeatureGroupStatus { if in == nil { return nil } - out := new(JupyterServerAppSettingsParameters) + out := new(FeatureGroupStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsCustomImageInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageInitParameters) { +func (in *FileSystemConfigInitParameters) DeepCopyInto(out *FileSystemConfigInitParameters) { *out = *in - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + if in.DefaultGID != nil { + in, out := &in.DefaultGID, &out.DefaultGID + *out = new(float64) + **out = **in + } + if in.DefaultUID != nil { + in, out := &in.DefaultUID, &out.DefaultUID *out = new(float64) **out = **in } + if in.MountPath != nil { + in, out := &in.MountPath, &out.MountPath + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageInitParameters. -func (in *KernelGatewayAppSettingsCustomImageInitParameters) DeepCopy() *KernelGatewayAppSettingsCustomImageInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfigInitParameters. +func (in *FileSystemConfigInitParameters) DeepCopy() *FileSystemConfigInitParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsCustomImageInitParameters) + out := new(FileSystemConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsCustomImageObservation) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageObservation) { +func (in *FileSystemConfigObservation) DeepCopyInto(out *FileSystemConfigObservation) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) + if in.DefaultGID != nil { + in, out := &in.DefaultGID, &out.DefaultGID + *out = new(float64) **out = **in } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.DefaultUID != nil { + in, out := &in.DefaultUID, &out.DefaultUID + *out = new(float64) + **out = **in + } + if in.MountPath != nil { + in, out := &in.MountPath, &out.MountPath *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfigObservation. +func (in *FileSystemConfigObservation) DeepCopy() *FileSystemConfigObservation { + if in == nil { + return nil + } + out := new(FileSystemConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FileSystemConfigParameters) DeepCopyInto(out *FileSystemConfigParameters) { + *out = *in + if in.DefaultGID != nil { + in, out := &in.DefaultGID, &out.DefaultGID + *out = new(float64) + **out = **in + } + if in.DefaultUID != nil { + in, out := &in.DefaultUID, &out.DefaultUID *out = new(float64) **out = **in } + if in.MountPath != nil { + in, out := &in.MountPath, &out.MountPath + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageObservation. -func (in *KernelGatewayAppSettingsCustomImageObservation) DeepCopy() *KernelGatewayAppSettingsCustomImageObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfigParameters. +func (in *FileSystemConfigParameters) DeepCopy() *FileSystemConfigParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsCustomImageObservation) + out := new(FileSystemConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsCustomImageParameters) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageParameters) { +func (in *GitConfigInitParameters) DeepCopyInto(out *GitConfigInitParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName + if in.Branch != nil { + in, out := &in.Branch, &out.Branch *out = new(string) **out = **in } - if in.AppImageConfigNameRef != nil { - in, out := &in.AppImageConfigNameRef, &out.AppImageConfigNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.AppImageConfigNameSelector != nil { - in, out := &in.AppImageConfigNameSelector, &out.AppImageConfigNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } - if in.ImageNameRef != nil { - in, out := &in.ImageNameRef, &out.ImageNameRef + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ImageNameSelector != nil { - in, out := &in.ImageNameSelector, &out.ImageNameSelector + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageParameters. -func (in *KernelGatewayAppSettingsCustomImageParameters) DeepCopy() *KernelGatewayAppSettingsCustomImageParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitConfigInitParameters. +func (in *GitConfigInitParameters) DeepCopy() *GitConfigInitParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsCustomImageParameters) + out := new(GitConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) { +func (in *GitConfigObservation) DeepCopyInto(out *GitConfigObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.Branch != nil { + in, out := &in.Branch, &out.Branch *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecInitParameters. -func (in *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitConfigObservation. +func (in *GitConfigObservation) DeepCopy() *GitConfigObservation { if in == nil { return nil } - out := new(KernelGatewayAppSettingsDefaultResourceSpecInitParameters) + out := new(GitConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecObservation) { +func (in *GitConfigParameters) DeepCopyInto(out *GitConfigParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.Branch != nil { + in, out := &in.Branch, &out.Branch *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *out = new(string) - **out = **in + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecObservation. -func (in *KernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitConfigParameters. +func (in *GitConfigParameters) DeepCopy() *GitConfigParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsDefaultResourceSpecObservation) + out := new(GitConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecParameters) { +func (in *IdentityProviderOauthSettingsInitParameters) DeepCopyInto(out *IdentityProviderOauthSettingsInitParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecParameters. -func (in *KernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderOauthSettingsInitParameters. +func (in *IdentityProviderOauthSettingsInitParameters) DeepCopy() *IdentityProviderOauthSettingsInitParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsDefaultResourceSpecParameters) + out := new(IdentityProviderOauthSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsInitParameters) { +func (in *IdentityProviderOauthSettingsObservation) DeepCopyInto(out *IdentityProviderOauthSettingsObservation) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]CustomImageInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName + *out = new(string) + **out = **in } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]KernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) + **out = **in } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsInitParameters. -func (in *KernelGatewayAppSettingsInitParameters) DeepCopy() *KernelGatewayAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderOauthSettingsObservation. +func (in *IdentityProviderOauthSettingsObservation) DeepCopy() *IdentityProviderOauthSettingsObservation { if in == nil { return nil } - out := new(KernelGatewayAppSettingsInitParameters) + out := new(IdentityProviderOauthSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsObservation) DeepCopyInto(out *KernelGatewayAppSettingsObservation) { +func (in *IdentityProviderOauthSettingsParameters) DeepCopyInto(out *IdentityProviderOauthSettingsParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]CustomImageObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.DataSourceName != nil { + in, out := &in.DataSourceName, &out.DataSourceName + *out = new(string) + **out = **in } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]KernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) + **out = **in } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsObservation. -func (in *KernelGatewayAppSettingsObservation) DeepCopy() *KernelGatewayAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderOauthSettingsParameters. +func (in *IdentityProviderOauthSettingsParameters) DeepCopy() *IdentityProviderOauthSettingsParameters { if in == nil { return nil } - out := new(KernelGatewayAppSettingsObservation) + out := new(IdentityProviderOauthSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayAppSettingsParameters) DeepCopyInto(out *KernelGatewayAppSettingsParameters) { +func (in *Image) DeepCopyInto(out *Image) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]CustomImageParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]KernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *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 KernelGatewayAppSettingsParameters. -func (in *KernelGatewayAppSettingsParameters) DeepCopy() *KernelGatewayAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image. +func (in *Image) DeepCopy() *Image { if in == nil { return nil } - out := new(KernelGatewayAppSettingsParameters) + out := new(Image) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Image) 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 *KernelGatewayImageConfigInitParameters) DeepCopyInto(out *KernelGatewayImageConfigInitParameters) { +func (in *ImageConfigInitParameters) DeepCopyInto(out *ImageConfigInitParameters) { *out = *in - if in.FileSystemConfig != nil { - in, out := &in.FileSystemConfig, &out.FileSystemConfig - *out = make([]FileSystemConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + *out = new(string) + **out = **in } - if in.KernelSpec != nil { - in, out := &in.KernelSpec, &out.KernelSpec - *out = make([]KernelSpecInitParameters, len(*in)) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]RepositoryAuthConfigInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigInitParameters. -func (in *KernelGatewayImageConfigInitParameters) DeepCopy() *KernelGatewayImageConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigInitParameters. +func (in *ImageConfigInitParameters) DeepCopy() *ImageConfigInitParameters { if in == nil { return nil } - out := new(KernelGatewayImageConfigInitParameters) + out := new(ImageConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayImageConfigObservation) DeepCopyInto(out *KernelGatewayImageConfigObservation) { +func (in *ImageConfigObservation) DeepCopyInto(out *ImageConfigObservation) { *out = *in - if in.FileSystemConfig != nil { - in, out := &in.FileSystemConfig, &out.FileSystemConfig - *out = make([]FileSystemConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + *out = new(string) + **out = **in } - if in.KernelSpec != nil { - in, out := &in.KernelSpec, &out.KernelSpec - *out = make([]KernelSpecObservation, len(*in)) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]RepositoryAuthConfigObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigObservation. -func (in *KernelGatewayImageConfigObservation) DeepCopy() *KernelGatewayImageConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigObservation. +func (in *ImageConfigObservation) DeepCopy() *ImageConfigObservation { if in == nil { return nil } - out := new(KernelGatewayImageConfigObservation) + out := new(ImageConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelGatewayImageConfigParameters) DeepCopyInto(out *KernelGatewayImageConfigParameters) { +func (in *ImageConfigParameters) DeepCopyInto(out *ImageConfigParameters) { *out = *in - if in.FileSystemConfig != nil { - in, out := &in.FileSystemConfig, &out.FileSystemConfig - *out = make([]FileSystemConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + *out = new(string) + **out = **in } - if in.KernelSpec != nil { - in, out := &in.KernelSpec, &out.KernelSpec - *out = make([]KernelSpecParameters, len(*in)) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]RepositoryAuthConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigParameters. -func (in *KernelGatewayImageConfigParameters) DeepCopy() *KernelGatewayImageConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigParameters. +func (in *ImageConfigParameters) DeepCopy() *ImageConfigParameters { if in == nil { return nil } - out := new(KernelGatewayImageConfigParameters) + out := new(ImageConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelSpecInitParameters) DeepCopyInto(out *KernelSpecInitParameters) { +func (in *ImageConfigRepositoryAuthConfigInitParameters) DeepCopyInto(out *ImageConfigRepositoryAuthConfigInitParameters) { *out = *in - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelSpecInitParameters. -func (in *KernelSpecInitParameters) DeepCopy() *KernelSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigRepositoryAuthConfigInitParameters. +func (in *ImageConfigRepositoryAuthConfigInitParameters) DeepCopy() *ImageConfigRepositoryAuthConfigInitParameters { if in == nil { return nil } - out := new(KernelSpecInitParameters) + out := new(ImageConfigRepositoryAuthConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelSpecObservation) DeepCopyInto(out *KernelSpecObservation) { +func (in *ImageConfigRepositoryAuthConfigObservation) DeepCopyInto(out *ImageConfigRepositoryAuthConfigObservation) { *out = *in - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelSpecObservation. -func (in *KernelSpecObservation) DeepCopy() *KernelSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigRepositoryAuthConfigObservation. +func (in *ImageConfigRepositoryAuthConfigObservation) DeepCopy() *ImageConfigRepositoryAuthConfigObservation { if in == nil { return nil } - out := new(KernelSpecObservation) + out := new(ImageConfigRepositoryAuthConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KernelSpecParameters) DeepCopyInto(out *KernelSpecParameters) { +func (in *ImageConfigRepositoryAuthConfigParameters) DeepCopyInto(out *ImageConfigRepositoryAuthConfigParameters) { *out = *in - if in.DisplayName != nil { - in, out := &in.DisplayName, &out.DisplayName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelSpecParameters. -func (in *KernelSpecParameters) DeepCopy() *KernelSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigRepositoryAuthConfigParameters. +func (in *ImageConfigRepositoryAuthConfigParameters) DeepCopy() *ImageConfigRepositoryAuthConfigParameters { if in == nil { return nil } - out := new(KernelSpecParameters) + out := new(ImageConfigRepositoryAuthConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LinearStepSizeInitParameters) DeepCopyInto(out *LinearStepSizeInitParameters) { +func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { *out = *in - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(float64) + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) **out = **in } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *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 LinearStepSizeInitParameters. -func (in *LinearStepSizeInitParameters) DeepCopy() *LinearStepSizeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInitParameters. +func (in *ImageInitParameters) DeepCopy() *ImageInitParameters { if in == nil { return nil } - out := new(LinearStepSizeInitParameters) + out := new(ImageInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LinearStepSizeObservation) DeepCopyInto(out *LinearStepSizeObservation) { +func (in *ImageList) DeepCopyInto(out *ImageList) { *out = *in - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(float64) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Image, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearStepSizeObservation. -func (in *LinearStepSizeObservation) DeepCopy() *LinearStepSizeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList. +func (in *ImageList) DeepCopy() *ImageList { if in == nil { return nil } - out := new(LinearStepSizeObservation) + out := new(ImageList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageList) 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 *LinearStepSizeParameters) DeepCopyInto(out *LinearStepSizeParameters) { +func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { *out = *in - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(float64) + 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 LinearStepSizeParameters. -func (in *LinearStepSizeParameters) DeepCopy() *LinearStepSizeParameters { - if in == nil { + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *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 ImageObservation. +func (in *ImageObservation) DeepCopy() *ImageObservation { + if in == nil { return nil } - out := new(LinearStepSizeParameters) + out := new(ImageObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemberDefinitionInitParameters) DeepCopyInto(out *MemberDefinitionInitParameters) { +func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { *out = *in - if in.CognitoMemberDefinition != nil { - in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition - *out = make([]CognitoMemberDefinitionInitParameters, len(*in)) - copy(*out, *in) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.OidcMemberDefinition != nil { - in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition - *out = make([]OidcMemberDefinitionInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *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 MemberDefinitionInitParameters. -func (in *MemberDefinitionInitParameters) DeepCopy() *MemberDefinitionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters. +func (in *ImageParameters) DeepCopy() *ImageParameters { if in == nil { return nil } - out := new(MemberDefinitionInitParameters) + out := new(ImageParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemberDefinitionObservation) DeepCopyInto(out *MemberDefinitionObservation) { +func (in *ImageSpec) DeepCopyInto(out *ImageSpec) { *out = *in - if in.CognitoMemberDefinition != nil { - in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition - *out = make([]CognitoMemberDefinitionObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OidcMemberDefinition != nil { - in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition - *out = make([]OidcMemberDefinitionObservation, 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 MemberDefinitionObservation. -func (in *MemberDefinitionObservation) DeepCopy() *MemberDefinitionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec. +func (in *ImageSpec) DeepCopy() *ImageSpec { if in == nil { return nil } - out := new(MemberDefinitionObservation) + out := new(ImageSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemberDefinitionParameters) DeepCopyInto(out *MemberDefinitionParameters) { +func (in *ImageStatus) DeepCopyInto(out *ImageStatus) { *out = *in - if in.CognitoMemberDefinition != nil { - in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition - *out = make([]CognitoMemberDefinitionParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OidcMemberDefinition != nil { - in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition - *out = make([]OidcMemberDefinitionParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberDefinitionParameters. -func (in *MemberDefinitionParameters) DeepCopy() *MemberDefinitionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus. +func (in *ImageStatus) DeepCopy() *ImageStatus { if in == nil { return nil } - out := new(MemberDefinitionParameters) + out := new(ImageStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Model) DeepCopyInto(out *Model) { +func (in *ImageVersion) DeepCopyInto(out *ImageVersion) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -7536,18 +8069,18 @@ func (in *Model) DeepCopyInto(out *Model) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model. -func (in *Model) DeepCopy() *Model { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersion. +func (in *ImageVersion) DeepCopy() *ImageVersion { if in == nil { return nil } - out := new(Model) + out := new(ImageVersion) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Model) DeepCopyObject() runtime.Object { +func (in *ImageVersion) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -7555,95 +8088,66 @@ func (in *Model) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { +func (in *ImageVersionInitParameters) DeepCopyInto(out *ImageVersionInitParameters) { *out = *in - if in.Container != nil { - in, out := &in.Container, &out.Container - *out = make([]ContainerInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EnableNetworkIsolation != nil { - in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation - *out = new(bool) + if in.BaseImage != nil { + in, out := &in.BaseImage, &out.BaseImage + *out = new(string) **out = **in } - if in.InferenceExecutionConfig != nil { - in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig - *out = make([]InferenceExecutionConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.PrimaryContainer != nil { - in, out := &in.PrimaryContainer, &out.PrimaryContainer - *out = make([]PrimaryContainerInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *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.ImageNameRef != nil { + in, out := &in.ImageNameRef, &out.ImageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = make([]VPCConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageNameSelector != nil { + in, out := &in.ImageNameSelector, &out.ImageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelInitParameters. -func (in *ModelInitParameters) DeepCopy() *ModelInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionInitParameters. +func (in *ImageVersionInitParameters) DeepCopy() *ImageVersionInitParameters { if in == nil { return nil } - out := new(ModelInitParameters) + out := new(ImageVersionInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelList) DeepCopyInto(out *ModelList) { +func (in *ImageVersionList) DeepCopyInto(out *ImageVersionList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Model, len(*in)) + *out = make([]ImageVersion, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList. -func (in *ModelList) DeepCopy() *ModelList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionList. +func (in *ImageVersionList) DeepCopy() *ImageVersionList { if in == nil { return nil } - out := new(ModelList) + out := new(ImageVersionList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ModelList) DeepCopyObject() runtime.Object { +func (in *ImageVersionList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -7651,27 +8155,20 @@ func (in *ModelList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { +func (in *ImageVersionObservation) DeepCopyInto(out *ImageVersionObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Container != nil { - in, out := &in.Container, &out.Container - *out = make([]ContainerObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EnableNetworkIsolation != nil { - in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation - *out = new(bool) + if in.BaseImage != nil { + in, out := &in.BaseImage, &out.BaseImage + *out = new(string) **out = **in } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.ContainerImage != nil { + in, out := &in.ContainerImage, &out.ContainerImage *out = new(string) **out = **in } @@ -7680,1031 +8177,4078 @@ func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { *out = new(string) **out = **in } - if in.InferenceExecutionConfig != nil { - in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig - *out = make([]InferenceExecutionConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageArn != nil { + in, out := &in.ImageArn, &out.ImageArn + *out = new(string) + **out = **in } - if in.PrimaryContainer != nil { - in, out := &in.PrimaryContainer, &out.PrimaryContainer - *out = make([]PrimaryContainerObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *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.Version != nil { + in, out := &in.Version, &out.Version + *out = new(float64) + **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 - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionObservation. +func (in *ImageVersionObservation) DeepCopy() *ImageVersionObservation { + if in == nil { + return nil } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = make([]VPCConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(ImageVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionParameters) DeepCopyInto(out *ImageVersionParameters) { + *out = *in + if in.BaseImage != nil { + in, out := &in.BaseImage, &out.BaseImage + *out = new(string) + **out = **in + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageNameRef != nil { + in, out := &in.ImageNameRef, &out.ImageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageNameSelector != nil { + in, out := &in.ImageNameSelector, &out.ImageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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 ModelObservation. -func (in *ModelObservation) DeepCopy() *ModelObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionParameters. +func (in *ImageVersionParameters) DeepCopy() *ImageVersionParameters { if in == nil { return nil } - out := new(ModelObservation) + out := new(ImageVersionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroup) DeepCopyInto(out *ModelPackageGroup) { +func (in *ImageVersionSpec) DeepCopyInto(out *ImageVersionSpec) { *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 ModelPackageGroup. -func (in *ModelPackageGroup) DeepCopy() *ModelPackageGroup { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionSpec. +func (in *ImageVersionSpec) DeepCopy() *ImageVersionSpec { if in == nil { return nil } - out := new(ModelPackageGroup) + out := new(ImageVersionSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ModelPackageGroup) 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 *ImageVersionStatus) DeepCopyInto(out *ImageVersionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionStatus. +func (in *ImageVersionStatus) DeepCopy() *ImageVersionStatus { + if in == nil { + return nil } - return nil + out := new(ImageVersionStatus) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupInitParameters) DeepCopyInto(out *ModelPackageGroupInitParameters) { +func (in *InferenceExecutionConfigInitParameters) DeepCopyInto(out *InferenceExecutionConfigInitParameters) { *out = *in - if in.ModelPackageGroupDescription != nil { - in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription + if in.Mode != nil { + in, out := &in.Mode, &out.Mode *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 ModelPackageGroupInitParameters. -func (in *ModelPackageGroupInitParameters) DeepCopy() *ModelPackageGroupInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigInitParameters. +func (in *InferenceExecutionConfigInitParameters) DeepCopy() *InferenceExecutionConfigInitParameters { if in == nil { return nil } - out := new(ModelPackageGroupInitParameters) + out := new(InferenceExecutionConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupList) DeepCopyInto(out *ModelPackageGroupList) { +func (in *InferenceExecutionConfigObservation) DeepCopyInto(out *InferenceExecutionConfigObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]ModelPackageGroup, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupList. -func (in *ModelPackageGroupList) DeepCopy() *ModelPackageGroupList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigObservation. +func (in *InferenceExecutionConfigObservation) DeepCopy() *InferenceExecutionConfigObservation { if in == nil { return nil } - out := new(ModelPackageGroupList) + out := new(InferenceExecutionConfigObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ModelPackageGroupList) 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 *InferenceExecutionConfigParameters) DeepCopyInto(out *InferenceExecutionConfigParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in } - return nil +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceExecutionConfigParameters. +func (in *InferenceExecutionConfigParameters) DeepCopy() *InferenceExecutionConfigParameters { + if in == nil { + return nil + } + out := new(InferenceExecutionConfigParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupObservation) DeepCopyInto(out *ModelPackageGroupObservation) { +func (in *InstanceMetadataServiceConfigurationInitParameters) DeepCopyInto(out *InstanceMetadataServiceConfigurationInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.MinimumInstanceMetadataServiceVersion != nil { + in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion *out = new(string) **out = **in } - 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 InstanceMetadataServiceConfigurationInitParameters. +func (in *InstanceMetadataServiceConfigurationInitParameters) DeepCopy() *InstanceMetadataServiceConfigurationInitParameters { + if in == nil { + return nil } - if in.ModelPackageGroupDescription != nil { - in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription + out := new(InstanceMetadataServiceConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMetadataServiceConfigurationObservation) DeepCopyInto(out *InstanceMetadataServiceConfigurationObservation) { + *out = *in + if in.MinimumInstanceMetadataServiceVersion != nil { + in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion *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 ModelPackageGroupObservation. -func (in *ModelPackageGroupObservation) DeepCopy() *ModelPackageGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataServiceConfigurationObservation. +func (in *InstanceMetadataServiceConfigurationObservation) DeepCopy() *InstanceMetadataServiceConfigurationObservation { if in == nil { return nil } - out := new(ModelPackageGroupObservation) + out := new(InstanceMetadataServiceConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupParameters) DeepCopyInto(out *ModelPackageGroupParameters) { +func (in *InstanceMetadataServiceConfigurationParameters) DeepCopyInto(out *InstanceMetadataServiceConfigurationParameters) { *out = *in - if in.ModelPackageGroupDescription != nil { - in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.MinimumInstanceMetadataServiceVersion != nil { + in, out := &in.MinimumInstanceMetadataServiceVersion, &out.MinimumInstanceMetadataServiceVersion *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 ModelPackageGroupParameters. -func (in *ModelPackageGroupParameters) DeepCopy() *ModelPackageGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataServiceConfigurationParameters. +func (in *InstanceMetadataServiceConfigurationParameters) DeepCopy() *InstanceMetadataServiceConfigurationParameters { if in == nil { return nil } - out := new(ModelPackageGroupParameters) + out := new(InstanceMetadataServiceConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupPolicy) DeepCopyInto(out *ModelPackageGroupPolicy) { +func (in *JupyterLabAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *JupyterLabAppSettingsCodeRepositoryInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicy. -func (in *ModelPackageGroupPolicy) DeepCopy() *ModelPackageGroupPolicy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCodeRepositoryInitParameters. +func (in *JupyterLabAppSettingsCodeRepositoryInitParameters) DeepCopy() *JupyterLabAppSettingsCodeRepositoryInitParameters { if in == nil { return nil } - out := new(ModelPackageGroupPolicy) + out := new(JupyterLabAppSettingsCodeRepositoryInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ModelPackageGroupPolicy) 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 *ModelPackageGroupPolicyInitParameters) DeepCopyInto(out *ModelPackageGroupPolicyInitParameters) { +func (in *JupyterLabAppSettingsCodeRepositoryObservation) DeepCopyInto(out *JupyterLabAppSettingsCodeRepositoryObservation) { *out = *in - if in.ResourcePolicy != nil { - in, out := &in.ResourcePolicy, &out.ResourcePolicy + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyInitParameters. -func (in *ModelPackageGroupPolicyInitParameters) DeepCopy() *ModelPackageGroupPolicyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCodeRepositoryObservation. +func (in *JupyterLabAppSettingsCodeRepositoryObservation) DeepCopy() *JupyterLabAppSettingsCodeRepositoryObservation { if in == nil { return nil } - out := new(ModelPackageGroupPolicyInitParameters) + out := new(JupyterLabAppSettingsCodeRepositoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupPolicyList) DeepCopyInto(out *ModelPackageGroupPolicyList) { +func (in *JupyterLabAppSettingsCodeRepositoryParameters) DeepCopyInto(out *JupyterLabAppSettingsCodeRepositoryParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]ModelPackageGroupPolicy, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyList. -func (in *ModelPackageGroupPolicyList) DeepCopy() *ModelPackageGroupPolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCodeRepositoryParameters. +func (in *JupyterLabAppSettingsCodeRepositoryParameters) DeepCopy() *JupyterLabAppSettingsCodeRepositoryParameters { if in == nil { return nil } - out := new(ModelPackageGroupPolicyList) + out := new(JupyterLabAppSettingsCodeRepositoryParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ModelPackageGroupPolicyList) 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 *ModelPackageGroupPolicyObservation) DeepCopyInto(out *ModelPackageGroupPolicyObservation) { +func (in *JupyterLabAppSettingsCustomImageInitParameters) DeepCopyInto(out *JupyterLabAppSettingsCustomImageInitParameters) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.ModelPackageGroupName != nil { - in, out := &in.ModelPackageGroupName, &out.ModelPackageGroupName + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.ResourcePolicy != nil { - in, out := &in.ResourcePolicy, &out.ResourcePolicy - *out = new(string) + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyObservation. -func (in *ModelPackageGroupPolicyObservation) DeepCopy() *ModelPackageGroupPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCustomImageInitParameters. +func (in *JupyterLabAppSettingsCustomImageInitParameters) DeepCopy() *JupyterLabAppSettingsCustomImageInitParameters { if in == nil { return nil } - out := new(ModelPackageGroupPolicyObservation) + out := new(JupyterLabAppSettingsCustomImageInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupPolicyParameters) DeepCopyInto(out *ModelPackageGroupPolicyParameters) { +func (in *JupyterLabAppSettingsCustomImageObservation) DeepCopyInto(out *JupyterLabAppSettingsCustomImageObservation) { *out = *in - if in.ModelPackageGroupName != nil { - in, out := &in.ModelPackageGroupName, &out.ModelPackageGroupName + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.ModelPackageGroupNameRef != nil { - in, out := &in.ModelPackageGroupNameRef, &out.ModelPackageGroupNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ModelPackageGroupNameSelector != nil { - in, out := &in.ModelPackageGroupNameSelector, &out.ModelPackageGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.ResourcePolicy != nil { - in, out := &in.ResourcePolicy, &out.ResourcePolicy - *out = new(string) + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyParameters. -func (in *ModelPackageGroupPolicyParameters) DeepCopy() *ModelPackageGroupPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCustomImageObservation. +func (in *JupyterLabAppSettingsCustomImageObservation) DeepCopy() *JupyterLabAppSettingsCustomImageObservation { if in == nil { return nil } - out := new(ModelPackageGroupPolicyParameters) + out := new(JupyterLabAppSettingsCustomImageObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupPolicySpec) DeepCopyInto(out *ModelPackageGroupPolicySpec) { +func (in *JupyterLabAppSettingsCustomImageParameters) DeepCopyInto(out *JupyterLabAppSettingsCustomImageParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicySpec. -func (in *ModelPackageGroupPolicySpec) DeepCopy() *ModelPackageGroupPolicySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsCustomImageParameters. +func (in *JupyterLabAppSettingsCustomImageParameters) DeepCopy() *JupyterLabAppSettingsCustomImageParameters { if in == nil { return nil } - out := new(ModelPackageGroupPolicySpec) + out := new(JupyterLabAppSettingsCustomImageParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupPolicyStatus) DeepCopyInto(out *ModelPackageGroupPolicyStatus) { +func (in *JupyterLabAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *JupyterLabAppSettingsDefaultResourceSpecInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyStatus. -func (in *ModelPackageGroupPolicyStatus) DeepCopy() *ModelPackageGroupPolicyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsDefaultResourceSpecInitParameters. +func (in *JupyterLabAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *JupyterLabAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(ModelPackageGroupPolicyStatus) + out := new(JupyterLabAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupSpec) DeepCopyInto(out *ModelPackageGroupSpec) { +func (in *JupyterLabAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *JupyterLabAppSettingsDefaultResourceSpecObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupSpec. -func (in *ModelPackageGroupSpec) DeepCopy() *ModelPackageGroupSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsDefaultResourceSpecObservation. +func (in *JupyterLabAppSettingsDefaultResourceSpecObservation) DeepCopy() *JupyterLabAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(ModelPackageGroupSpec) + out := new(JupyterLabAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelPackageGroupStatus) DeepCopyInto(out *ModelPackageGroupStatus) { +func (in *JupyterLabAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *JupyterLabAppSettingsDefaultResourceSpecParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupStatus. -func (in *ModelPackageGroupStatus) DeepCopy() *ModelPackageGroupStatus { - if in == nil { - return nil - } - out := new(ModelPackageGroupStatus) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsDefaultResourceSpecParameters. +func (in *JupyterLabAppSettingsDefaultResourceSpecParameters) DeepCopy() *JupyterLabAppSettingsDefaultResourceSpecParameters { + if in == nil { + return nil + } + out := new(JupyterLabAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelParameters) DeepCopyInto(out *ModelParameters) { +func (in *JupyterLabAppSettingsInitParameters) DeepCopyInto(out *JupyterLabAppSettingsInitParameters) { *out = *in - if in.Container != nil { - in, out := &in.Container, &out.Container - *out = make([]ContainerParameters, len(*in)) + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterLabAppSettingsCodeRepositoryInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EnableNetworkIsolation != nil { - in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation - *out = new(bool) - **out = **in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]JupyterLabAppSettingsCustomImageInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterLabAppSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsInitParameters. +func (in *JupyterLabAppSettingsInitParameters) DeepCopy() *JupyterLabAppSettingsInitParameters { + if in == nil { + return nil } - if in.InferenceExecutionConfig != nil { - in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig - *out = make([]InferenceExecutionConfigParameters, len(*in)) + out := new(JupyterLabAppSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JupyterLabAppSettingsObservation) DeepCopyInto(out *JupyterLabAppSettingsObservation) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterLabAppSettingsCodeRepositoryObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.PrimaryContainer != nil { - in, out := &in.PrimaryContainer, &out.PrimaryContainer - *out = make([]PrimaryContainerParameters, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]JupyterLabAppSettingsCustomImageObservation, 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.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterLabAppSettingsDefaultResourceSpecObservation, 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 + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = make([]VPCConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelParameters. -func (in *ModelParameters) DeepCopy() *ModelParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsObservation. +func (in *JupyterLabAppSettingsObservation) DeepCopy() *JupyterLabAppSettingsObservation { if in == nil { return nil } - out := new(ModelParameters) + out := new(JupyterLabAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelRegisterSettingsInitParameters) DeepCopyInto(out *ModelRegisterSettingsInitParameters) { +func (in *JupyterLabAppSettingsParameters) DeepCopyInto(out *JupyterLabAppSettingsParameters) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn - *out = new(string) - **out = **in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterLabAppSettingsCodeRepositoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]JupyterLabAppSettingsCustomImageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]JupyterLabAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsInitParameters. -func (in *ModelRegisterSettingsInitParameters) DeepCopy() *ModelRegisterSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabAppSettingsParameters. +func (in *JupyterLabAppSettingsParameters) DeepCopy() *JupyterLabAppSettingsParameters { if in == nil { return nil } - out := new(ModelRegisterSettingsInitParameters) + out := new(JupyterLabAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelRegisterSettingsObservation) DeepCopyInto(out *ModelRegisterSettingsObservation) { +func (in *JupyterLabImageConfigInitParameters) DeepCopyInto(out *JupyterLabImageConfigInitParameters) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn - *out = new(string) - **out = **in - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.ContainerConfig != nil { + in, out := &in.ContainerConfig, &out.ContainerConfig + *out = make([]ContainerConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsObservation. -func (in *ModelRegisterSettingsObservation) DeepCopy() *ModelRegisterSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabImageConfigInitParameters. +func (in *JupyterLabImageConfigInitParameters) DeepCopy() *JupyterLabImageConfigInitParameters { if in == nil { return nil } - out := new(ModelRegisterSettingsObservation) + out := new(JupyterLabImageConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelRegisterSettingsParameters) DeepCopyInto(out *ModelRegisterSettingsParameters) { +func (in *JupyterLabImageConfigObservation) DeepCopyInto(out *JupyterLabImageConfigObservation) { *out = *in - if in.CrossAccountModelRegisterRoleArn != nil { - in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn - *out = new(string) - **out = **in - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.ContainerConfig != nil { + in, out := &in.ContainerConfig, &out.ContainerConfig + *out = make([]ContainerConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsParameters. -func (in *ModelRegisterSettingsParameters) DeepCopy() *ModelRegisterSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabImageConfigObservation. +func (in *JupyterLabImageConfigObservation) DeepCopy() *JupyterLabImageConfigObservation { if in == nil { return nil } - out := new(ModelRegisterSettingsParameters) + out := new(JupyterLabImageConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelSpec) DeepCopyInto(out *ModelSpec) { +func (in *JupyterLabImageConfigParameters) DeepCopyInto(out *JupyterLabImageConfigParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.ContainerConfig != nil { + in, out := &in.ContainerConfig, &out.ContainerConfig + *out = make([]ContainerConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec. -func (in *ModelSpec) DeepCopy() *ModelSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterLabImageConfigParameters. +func (in *JupyterLabImageConfigParameters) DeepCopy() *JupyterLabImageConfigParameters { if in == nil { return nil } - out := new(ModelSpec) + out := new(JupyterLabImageConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ModelStatus) DeepCopyInto(out *ModelStatus) { +func (in *JupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus. -func (in *ModelStatus) DeepCopy() *ModelStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsCodeRepositoryInitParameters. +func (in *JupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *JupyterServerAppSettingsCodeRepositoryInitParameters { if in == nil { return nil } - out := new(ModelStatus) + out := new(JupyterServerAppSettingsCodeRepositoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstance) DeepCopyInto(out *NotebookInstance) { +func (in *JupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstance. -func (in *NotebookInstance) DeepCopy() *NotebookInstance { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsCodeRepositoryObservation. +func (in *JupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *JupyterServerAppSettingsCodeRepositoryObservation { if in == nil { return nil } - out := new(NotebookInstance) + out := new(JupyterServerAppSettingsCodeRepositoryObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NotebookInstance) 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 *JupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *JupyterServerAppSettingsCodeRepositoryParameters) { + *out = *in + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *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 *NotebookInstanceInitParameters) DeepCopyInto(out *NotebookInstanceInitParameters) { - *out = *in - if in.AcceleratorTypes != nil { - in, out := &in.AcceleratorTypes, &out.AcceleratorTypes - *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.AdditionalCodeRepositories != nil { - in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories - *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.DirectInternetAccess != nil { - in, out := &in.DirectInternetAccess, &out.DirectInternetAccess - *out = new(string) - **out = **in - } - if in.InstanceMetadataServiceConfiguration != nil { - in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration - *out = make([]InstanceMetadataServiceConfigurationInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsCodeRepositoryParameters. +func (in *JupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *JupyterServerAppSettingsCodeRepositoryParameters { + if in == nil { + return nil } + out := new(JupyterServerAppSettingsCodeRepositoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecInitParameters) { + *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.LifecycleConfigName != nil { - in, out := &in.LifecycleConfigName, &out.LifecycleConfigName + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.PlatformIdentifier != nil { - in, out := &in.PlatformIdentifier, &out.PlatformIdentifier + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.RootAccess != nil { - in, out := &in.RootAccess, &out.RootAccess + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *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.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.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceInitParameters. -func (in *NotebookInstanceInitParameters) DeepCopy() *NotebookInstanceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsDefaultResourceSpecInitParameters. +func (in *JupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(NotebookInstanceInitParameters) + out := new(JupyterServerAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceLifecycleConfiguration) DeepCopyInto(out *NotebookInstanceLifecycleConfiguration) { +func (in *JupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecObservation) { *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 NotebookInstanceLifecycleConfiguration. -func (in *NotebookInstanceLifecycleConfiguration) DeepCopy() *NotebookInstanceLifecycleConfiguration { - if in == nil { - return nil - } - out := new(NotebookInstanceLifecycleConfiguration) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NotebookInstanceLifecycleConfiguration) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *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 *NotebookInstanceLifecycleConfigurationInitParameters) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationInitParameters) { - *out = *in - if in.OnCreate != nil { - in, out := &in.OnCreate, &out.OnCreate + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.OnStart != nil { - in, out := &in.OnStart, &out.OnStart + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationInitParameters. -func (in *NotebookInstanceLifecycleConfigurationInitParameters) DeepCopy() *NotebookInstanceLifecycleConfigurationInitParameters { - if in == nil { - return nil + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in } - out := new(NotebookInstanceLifecycleConfigurationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceLifecycleConfigurationList) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NotebookInstanceLifecycleConfiguration, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationList. -func (in *NotebookInstanceLifecycleConfigurationList) DeepCopy() *NotebookInstanceLifecycleConfigurationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsDefaultResourceSpecObservation. +func (in *JupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(NotebookInstanceLifecycleConfigurationList) + out := new(JupyterServerAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NotebookInstanceLifecycleConfigurationList) 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 *NotebookInstanceLifecycleConfigurationObservation) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationObservation) { +func (in *JupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *JupyterServerAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.OnCreate != nil { - in, out := &in.OnCreate, &out.OnCreate + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.OnStart != nil { - in, out := &in.OnStart, &out.OnStart + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationObservation. -func (in *NotebookInstanceLifecycleConfigurationObservation) DeepCopy() *NotebookInstanceLifecycleConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsDefaultResourceSpecParameters. +func (in *JupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopy() *JupyterServerAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(NotebookInstanceLifecycleConfigurationObservation) + out := new(JupyterServerAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceLifecycleConfigurationParameters) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationParameters) { +func (in *JupyterServerAppSettingsInitParameters) DeepCopyInto(out *JupyterServerAppSettingsInitParameters) { *out = *in - if in.OnCreate != nil { - in, out := &in.OnCreate, &out.OnCreate - *out = new(string) - **out = **in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.OnStart != nil { - in, out := &in.OnStart, &out.OnStart - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultResourceSpecInitParameters, 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.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationParameters. -func (in *NotebookInstanceLifecycleConfigurationParameters) DeepCopy() *NotebookInstanceLifecycleConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsInitParameters. +func (in *JupyterServerAppSettingsInitParameters) DeepCopy() *JupyterServerAppSettingsInitParameters { if in == nil { return nil } - out := new(NotebookInstanceLifecycleConfigurationParameters) + out := new(JupyterServerAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceLifecycleConfigurationSpec) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationSpec) { +func (in *JupyterServerAppSettingsObservation) DeepCopyInto(out *JupyterServerAppSettingsObservation) { *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 NotebookInstanceLifecycleConfigurationSpec. -func (in *NotebookInstanceLifecycleConfigurationSpec) DeepCopy() *NotebookInstanceLifecycleConfigurationSpec { - if in == nil { - return nil - } + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterServerAppSettingsCodeRepositoryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsObservation. +func (in *JupyterServerAppSettingsObservation) DeepCopy() *JupyterServerAppSettingsObservation { + if in == nil { + return nil + } + out := new(JupyterServerAppSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JupyterServerAppSettingsParameters) DeepCopyInto(out *JupyterServerAppSettingsParameters) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]JupyterServerAppSettingsCodeRepositoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]DefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JupyterServerAppSettingsParameters. +func (in *JupyterServerAppSettingsParameters) DeepCopy() *JupyterServerAppSettingsParameters { + if in == nil { + return nil + } + out := new(JupyterServerAppSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KendraSettingsInitParameters) DeepCopyInto(out *KendraSettingsInitParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KendraSettingsInitParameters. +func (in *KendraSettingsInitParameters) DeepCopy() *KendraSettingsInitParameters { + if in == nil { + return nil + } + out := new(KendraSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KendraSettingsObservation) DeepCopyInto(out *KendraSettingsObservation) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KendraSettingsObservation. +func (in *KendraSettingsObservation) DeepCopy() *KendraSettingsObservation { + if in == nil { + return nil + } + out := new(KendraSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KendraSettingsParameters) DeepCopyInto(out *KendraSettingsParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KendraSettingsParameters. +func (in *KendraSettingsParameters) DeepCopy() *KendraSettingsParameters { + if in == nil { + return nil + } + out := new(KendraSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsCustomImageInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageInitParameters) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in + } + if in.AppImageConfigNameRef != nil { + in, out := &in.AppImageConfigNameRef, &out.AppImageConfigNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AppImageConfigNameSelector != nil { + in, out := &in.AppImageConfigNameSelector, &out.AppImageConfigNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageNameRef != nil { + in, out := &in.ImageNameRef, &out.ImageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageNameSelector != nil { + in, out := &in.ImageNameSelector, &out.ImageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageInitParameters. +func (in *KernelGatewayAppSettingsCustomImageInitParameters) DeepCopy() *KernelGatewayAppSettingsCustomImageInitParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsCustomImageInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsCustomImageObservation) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageObservation) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageObservation. +func (in *KernelGatewayAppSettingsCustomImageObservation) DeepCopy() *KernelGatewayAppSettingsCustomImageObservation { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsCustomImageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsCustomImageParameters) DeepCopyInto(out *KernelGatewayAppSettingsCustomImageParameters) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in + } + if in.AppImageConfigNameRef != nil { + in, out := &in.AppImageConfigNameRef, &out.AppImageConfigNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AppImageConfigNameSelector != nil { + in, out := &in.AppImageConfigNameSelector, &out.AppImageConfigNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageNameRef != nil { + in, out := &in.ImageNameRef, &out.ImageNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ImageNameSelector != nil { + in, out := &in.ImageNameSelector, &out.ImageNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsCustomImageParameters. +func (in *KernelGatewayAppSettingsCustomImageParameters) DeepCopy() *KernelGatewayAppSettingsCustomImageParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsCustomImageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecInitParameters. +func (in *KernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecInitParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsDefaultResourceSpecInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecObservation) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecObservation. +func (in *KernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecObservation { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsDefaultResourceSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *KernelGatewayAppSettingsDefaultResourceSpecParameters) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsDefaultResourceSpecParameters. +func (in *KernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *KernelGatewayAppSettingsDefaultResourceSpecParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsDefaultResourceSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsInitParameters) DeepCopyInto(out *KernelGatewayAppSettingsInitParameters) { + *out = *in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]CustomImageInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]KernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsInitParameters. +func (in *KernelGatewayAppSettingsInitParameters) DeepCopy() *KernelGatewayAppSettingsInitParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsObservation) DeepCopyInto(out *KernelGatewayAppSettingsObservation) { + *out = *in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]CustomImageObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]KernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsObservation. +func (in *KernelGatewayAppSettingsObservation) DeepCopy() *KernelGatewayAppSettingsObservation { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayAppSettingsParameters) DeepCopyInto(out *KernelGatewayAppSettingsParameters) { + *out = *in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]CustomImageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]KernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayAppSettingsParameters. +func (in *KernelGatewayAppSettingsParameters) DeepCopy() *KernelGatewayAppSettingsParameters { + if in == nil { + return nil + } + out := new(KernelGatewayAppSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayImageConfigInitParameters) DeepCopyInto(out *KernelGatewayImageConfigInitParameters) { + *out = *in + if in.FileSystemConfig != nil { + in, out := &in.FileSystemConfig, &out.FileSystemConfig + *out = make([]FileSystemConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelSpec != nil { + in, out := &in.KernelSpec, &out.KernelSpec + *out = make([]KernelSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigInitParameters. +func (in *KernelGatewayImageConfigInitParameters) DeepCopy() *KernelGatewayImageConfigInitParameters { + if in == nil { + return nil + } + out := new(KernelGatewayImageConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayImageConfigObservation) DeepCopyInto(out *KernelGatewayImageConfigObservation) { + *out = *in + if in.FileSystemConfig != nil { + in, out := &in.FileSystemConfig, &out.FileSystemConfig + *out = make([]FileSystemConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelSpec != nil { + in, out := &in.KernelSpec, &out.KernelSpec + *out = make([]KernelSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigObservation. +func (in *KernelGatewayImageConfigObservation) DeepCopy() *KernelGatewayImageConfigObservation { + if in == nil { + return nil + } + out := new(KernelGatewayImageConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelGatewayImageConfigParameters) DeepCopyInto(out *KernelGatewayImageConfigParameters) { + *out = *in + if in.FileSystemConfig != nil { + in, out := &in.FileSystemConfig, &out.FileSystemConfig + *out = make([]FileSystemConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelSpec != nil { + in, out := &in.KernelSpec, &out.KernelSpec + *out = make([]KernelSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelGatewayImageConfigParameters. +func (in *KernelGatewayImageConfigParameters) DeepCopy() *KernelGatewayImageConfigParameters { + if in == nil { + return nil + } + out := new(KernelGatewayImageConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelSpecInitParameters) DeepCopyInto(out *KernelSpecInitParameters) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *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 KernelSpecInitParameters. +func (in *KernelSpecInitParameters) DeepCopy() *KernelSpecInitParameters { + if in == nil { + return nil + } + out := new(KernelSpecInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelSpecObservation) DeepCopyInto(out *KernelSpecObservation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *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 KernelSpecObservation. +func (in *KernelSpecObservation) DeepCopy() *KernelSpecObservation { + if in == nil { + return nil + } + out := new(KernelSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KernelSpecParameters) DeepCopyInto(out *KernelSpecParameters) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *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 KernelSpecParameters. +func (in *KernelSpecParameters) DeepCopy() *KernelSpecParameters { + if in == nil { + return nil + } + out := new(KernelSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinearStepSizeInitParameters) DeepCopyInto(out *LinearStepSizeInitParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearStepSizeInitParameters. +func (in *LinearStepSizeInitParameters) DeepCopy() *LinearStepSizeInitParameters { + if in == nil { + return nil + } + out := new(LinearStepSizeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinearStepSizeObservation) DeepCopyInto(out *LinearStepSizeObservation) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearStepSizeObservation. +func (in *LinearStepSizeObservation) DeepCopy() *LinearStepSizeObservation { + if in == nil { + return nil + } + out := new(LinearStepSizeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinearStepSizeParameters) DeepCopyInto(out *LinearStepSizeParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinearStepSizeParameters. +func (in *LinearStepSizeParameters) DeepCopy() *LinearStepSizeParameters { + if in == nil { + return nil + } + out := new(LinearStepSizeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaximumBatchSizeInitParameters) DeepCopyInto(out *MaximumBatchSizeInitParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaximumBatchSizeInitParameters. +func (in *MaximumBatchSizeInitParameters) DeepCopy() *MaximumBatchSizeInitParameters { + if in == nil { + return nil + } + out := new(MaximumBatchSizeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaximumBatchSizeObservation) DeepCopyInto(out *MaximumBatchSizeObservation) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaximumBatchSizeObservation. +func (in *MaximumBatchSizeObservation) DeepCopy() *MaximumBatchSizeObservation { + if in == nil { + return nil + } + out := new(MaximumBatchSizeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaximumBatchSizeParameters) DeepCopyInto(out *MaximumBatchSizeParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaximumBatchSizeParameters. +func (in *MaximumBatchSizeParameters) DeepCopy() *MaximumBatchSizeParameters { + if in == nil { + return nil + } + out := new(MaximumBatchSizeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemberDefinitionInitParameters) DeepCopyInto(out *MemberDefinitionInitParameters) { + *out = *in + if in.CognitoMemberDefinition != nil { + in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition + *out = make([]CognitoMemberDefinitionInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OidcMemberDefinition != nil { + in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition + *out = make([]OidcMemberDefinitionInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberDefinitionInitParameters. +func (in *MemberDefinitionInitParameters) DeepCopy() *MemberDefinitionInitParameters { + if in == nil { + return nil + } + out := new(MemberDefinitionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemberDefinitionObservation) DeepCopyInto(out *MemberDefinitionObservation) { + *out = *in + if in.CognitoMemberDefinition != nil { + in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition + *out = make([]CognitoMemberDefinitionObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OidcMemberDefinition != nil { + in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition + *out = make([]OidcMemberDefinitionObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberDefinitionObservation. +func (in *MemberDefinitionObservation) DeepCopy() *MemberDefinitionObservation { + if in == nil { + return nil + } + out := new(MemberDefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemberDefinitionParameters) DeepCopyInto(out *MemberDefinitionParameters) { + *out = *in + if in.CognitoMemberDefinition != nil { + in, out := &in.CognitoMemberDefinition, &out.CognitoMemberDefinition + *out = make([]CognitoMemberDefinitionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OidcMemberDefinition != nil { + in, out := &in.OidcMemberDefinition, &out.OidcMemberDefinition + *out = make([]OidcMemberDefinitionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberDefinitionParameters. +func (in *MemberDefinitionParameters) DeepCopy() *MemberDefinitionParameters { + if in == nil { + return nil + } + out := new(MemberDefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Model) DeepCopyInto(out *Model) { + *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 Model. +func (in *Model) DeepCopy() *Model { + if in == nil { + return nil + } + out := new(Model) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Model) 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 *ModelDataSourceInitParameters) DeepCopyInto(out *ModelDataSourceInitParameters) { + *out = *in + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]S3DataSourceInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceInitParameters. +func (in *ModelDataSourceInitParameters) DeepCopy() *ModelDataSourceInitParameters { + if in == nil { + return nil + } + out := new(ModelDataSourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelDataSourceObservation) DeepCopyInto(out *ModelDataSourceObservation) { + *out = *in + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]S3DataSourceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceObservation. +func (in *ModelDataSourceObservation) DeepCopy() *ModelDataSourceObservation { + if in == nil { + return nil + } + out := new(ModelDataSourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelDataSourceParameters) DeepCopyInto(out *ModelDataSourceParameters) { + *out = *in + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]S3DataSourceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceParameters. +func (in *ModelDataSourceParameters) DeepCopy() *ModelDataSourceParameters { + if in == nil { + return nil + } + out := new(ModelDataSourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelDataSourceS3DataSourceInitParameters) DeepCopyInto(out *ModelDataSourceS3DataSourceInitParameters) { + *out = *in + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType + *out = new(string) + **out = **in + } + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType + *out = new(string) + **out = **in + } + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceS3DataSourceInitParameters. +func (in *ModelDataSourceS3DataSourceInitParameters) DeepCopy() *ModelDataSourceS3DataSourceInitParameters { + if in == nil { + return nil + } + out := new(ModelDataSourceS3DataSourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelDataSourceS3DataSourceObservation) DeepCopyInto(out *ModelDataSourceS3DataSourceObservation) { + *out = *in + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType + *out = new(string) + **out = **in + } + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType + *out = new(string) + **out = **in + } + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceS3DataSourceObservation. +func (in *ModelDataSourceS3DataSourceObservation) DeepCopy() *ModelDataSourceS3DataSourceObservation { + if in == nil { + return nil + } + out := new(ModelDataSourceS3DataSourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelDataSourceS3DataSourceParameters) DeepCopyInto(out *ModelDataSourceS3DataSourceParameters) { + *out = *in + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType + *out = new(string) + **out = **in + } + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType + *out = new(string) + **out = **in + } + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDataSourceS3DataSourceParameters. +func (in *ModelDataSourceS3DataSourceParameters) DeepCopy() *ModelDataSourceS3DataSourceParameters { + if in == nil { + return nil + } + out := new(ModelDataSourceS3DataSourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = make([]ContainerInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.InferenceExecutionConfig != nil { + in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig + *out = make([]InferenceExecutionConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrimaryContainer != nil { + in, out := &in.PrimaryContainer, &out.PrimaryContainer + *out = make([]PrimaryContainerInitParameters, 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.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = make([]VPCConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelInitParameters. +func (in *ModelInitParameters) DeepCopy() *ModelInitParameters { + if in == nil { + return nil + } + out := new(ModelInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelList) DeepCopyInto(out *ModelList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Model, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList. +func (in *ModelList) DeepCopy() *ModelList { + if in == nil { + return nil + } + out := new(ModelList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelList) 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 *ModelObservation) DeepCopyInto(out *ModelObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = make([]ContainerObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InferenceExecutionConfig != nil { + in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig + *out = make([]InferenceExecutionConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrimaryContainer != nil { + in, out := &in.PrimaryContainer, &out.PrimaryContainer + *out = make([]PrimaryContainerObservation, 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.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = make([]VPCConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelObservation. +func (in *ModelObservation) DeepCopy() *ModelObservation { + if in == nil { + return nil + } + out := new(ModelObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroup) DeepCopyInto(out *ModelPackageGroup) { + *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 ModelPackageGroup. +func (in *ModelPackageGroup) DeepCopy() *ModelPackageGroup { + if in == nil { + return nil + } + out := new(ModelPackageGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelPackageGroup) 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 *ModelPackageGroupInitParameters) DeepCopyInto(out *ModelPackageGroupInitParameters) { + *out = *in + if in.ModelPackageGroupDescription != nil { + in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription + *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 ModelPackageGroupInitParameters. +func (in *ModelPackageGroupInitParameters) DeepCopy() *ModelPackageGroupInitParameters { + if in == nil { + return nil + } + out := new(ModelPackageGroupInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupList) DeepCopyInto(out *ModelPackageGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ModelPackageGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupList. +func (in *ModelPackageGroupList) DeepCopy() *ModelPackageGroupList { + if in == nil { + return nil + } + out := new(ModelPackageGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelPackageGroupList) 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 *ModelPackageGroupObservation) DeepCopyInto(out *ModelPackageGroupObservation) { + *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.ModelPackageGroupDescription != nil { + in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription + *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 ModelPackageGroupObservation. +func (in *ModelPackageGroupObservation) DeepCopy() *ModelPackageGroupObservation { + if in == nil { + return nil + } + out := new(ModelPackageGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupParameters) DeepCopyInto(out *ModelPackageGroupParameters) { + *out = *in + if in.ModelPackageGroupDescription != nil { + in, out := &in.ModelPackageGroupDescription, &out.ModelPackageGroupDescription + *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 + *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 ModelPackageGroupParameters. +func (in *ModelPackageGroupParameters) DeepCopy() *ModelPackageGroupParameters { + if in == nil { + return nil + } + out := new(ModelPackageGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupPolicy) DeepCopyInto(out *ModelPackageGroupPolicy) { + *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 ModelPackageGroupPolicy. +func (in *ModelPackageGroupPolicy) DeepCopy() *ModelPackageGroupPolicy { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelPackageGroupPolicy) 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 *ModelPackageGroupPolicyInitParameters) DeepCopyInto(out *ModelPackageGroupPolicyInitParameters) { + *out = *in + if in.ModelPackageGroupName != nil { + in, out := &in.ModelPackageGroupName, &out.ModelPackageGroupName + *out = new(string) + **out = **in + } + if in.ModelPackageGroupNameRef != nil { + in, out := &in.ModelPackageGroupNameRef, &out.ModelPackageGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ModelPackageGroupNameSelector != nil { + in, out := &in.ModelPackageGroupNameSelector, &out.ModelPackageGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourcePolicy != nil { + in, out := &in.ResourcePolicy, &out.ResourcePolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyInitParameters. +func (in *ModelPackageGroupPolicyInitParameters) DeepCopy() *ModelPackageGroupPolicyInitParameters { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicyInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupPolicyList) DeepCopyInto(out *ModelPackageGroupPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ModelPackageGroupPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyList. +func (in *ModelPackageGroupPolicyList) DeepCopy() *ModelPackageGroupPolicyList { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModelPackageGroupPolicyList) 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 *ModelPackageGroupPolicyObservation) DeepCopyInto(out *ModelPackageGroupPolicyObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.ModelPackageGroupName != nil { + in, out := &in.ModelPackageGroupName, &out.ModelPackageGroupName + *out = new(string) + **out = **in + } + if in.ResourcePolicy != nil { + in, out := &in.ResourcePolicy, &out.ResourcePolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyObservation. +func (in *ModelPackageGroupPolicyObservation) DeepCopy() *ModelPackageGroupPolicyObservation { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupPolicyParameters) DeepCopyInto(out *ModelPackageGroupPolicyParameters) { + *out = *in + if in.ModelPackageGroupName != nil { + in, out := &in.ModelPackageGroupName, &out.ModelPackageGroupName + *out = new(string) + **out = **in + } + if in.ModelPackageGroupNameRef != nil { + in, out := &in.ModelPackageGroupNameRef, &out.ModelPackageGroupNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ModelPackageGroupNameSelector != nil { + in, out := &in.ModelPackageGroupNameSelector, &out.ModelPackageGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.ResourcePolicy != nil { + in, out := &in.ResourcePolicy, &out.ResourcePolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyParameters. +func (in *ModelPackageGroupPolicyParameters) DeepCopy() *ModelPackageGroupPolicyParameters { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupPolicySpec) DeepCopyInto(out *ModelPackageGroupPolicySpec) { + *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 ModelPackageGroupPolicySpec. +func (in *ModelPackageGroupPolicySpec) DeepCopy() *ModelPackageGroupPolicySpec { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupPolicyStatus) DeepCopyInto(out *ModelPackageGroupPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupPolicyStatus. +func (in *ModelPackageGroupPolicyStatus) DeepCopy() *ModelPackageGroupPolicyStatus { + if in == nil { + return nil + } + out := new(ModelPackageGroupPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupSpec) DeepCopyInto(out *ModelPackageGroupSpec) { + *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 ModelPackageGroupSpec. +func (in *ModelPackageGroupSpec) DeepCopy() *ModelPackageGroupSpec { + if in == nil { + return nil + } + out := new(ModelPackageGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelPackageGroupStatus) DeepCopyInto(out *ModelPackageGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPackageGroupStatus. +func (in *ModelPackageGroupStatus) DeepCopy() *ModelPackageGroupStatus { + if in == nil { + return nil + } + out := new(ModelPackageGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelParameters) DeepCopyInto(out *ModelParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = make([]ContainerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableNetworkIsolation != nil { + in, out := &in.EnableNetworkIsolation, &out.EnableNetworkIsolation + *out = new(bool) + **out = **in + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + *out = new(string) + **out = **in + } + if in.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.InferenceExecutionConfig != nil { + in, out := &in.InferenceExecutionConfig, &out.InferenceExecutionConfig + *out = make([]InferenceExecutionConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrimaryContainer != nil { + in, out := &in.PrimaryContainer, &out.PrimaryContainer + *out = make([]PrimaryContainerParameters, 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.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.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = make([]VPCConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelParameters. +func (in *ModelParameters) DeepCopy() *ModelParameters { + if in == nil { + return nil + } + out := new(ModelParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelRegisterSettingsInitParameters) DeepCopyInto(out *ModelRegisterSettingsInitParameters) { + *out = *in + if in.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsInitParameters. +func (in *ModelRegisterSettingsInitParameters) DeepCopy() *ModelRegisterSettingsInitParameters { + if in == nil { + return nil + } + out := new(ModelRegisterSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelRegisterSettingsObservation) DeepCopyInto(out *ModelRegisterSettingsObservation) { + *out = *in + if in.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsObservation. +func (in *ModelRegisterSettingsObservation) DeepCopy() *ModelRegisterSettingsObservation { + if in == nil { + return nil + } + out := new(ModelRegisterSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelRegisterSettingsParameters) DeepCopyInto(out *ModelRegisterSettingsParameters) { + *out = *in + if in.CrossAccountModelRegisterRoleArn != nil { + in, out := &in.CrossAccountModelRegisterRoleArn, &out.CrossAccountModelRegisterRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegisterSettingsParameters. +func (in *ModelRegisterSettingsParameters) DeepCopy() *ModelRegisterSettingsParameters { + if in == nil { + return nil + } + out := new(ModelRegisterSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelSpec) DeepCopyInto(out *ModelSpec) { + *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 ModelSpec. +func (in *ModelSpec) DeepCopy() *ModelSpec { + if in == nil { + return nil + } + out := new(ModelSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModelStatus) DeepCopyInto(out *ModelStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus. +func (in *ModelStatus) DeepCopy() *ModelStatus { + if in == nil { + return nil + } + out := new(ModelStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstance) DeepCopyInto(out *NotebookInstance) { + *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 NotebookInstance. +func (in *NotebookInstance) DeepCopy() *NotebookInstance { + if in == nil { + return nil + } + out := new(NotebookInstance) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NotebookInstance) 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 *NotebookInstanceInitParameters) DeepCopyInto(out *NotebookInstanceInitParameters) { + *out = *in + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *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.AdditionalCodeRepositories != nil { + in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories + *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.DefaultCodeRepository != nil { + in, out := &in.DefaultCodeRepository, &out.DefaultCodeRepository + *out = new(string) + **out = **in + } + if in.DefaultCodeRepositoryRef != nil { + in, out := &in.DefaultCodeRepositoryRef, &out.DefaultCodeRepositoryRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultCodeRepositorySelector != nil { + in, out := &in.DefaultCodeRepositorySelector, &out.DefaultCodeRepositorySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DirectInternetAccess != nil { + in, out := &in.DirectInternetAccess, &out.DirectInternetAccess + *out = new(string) + **out = **in + } + if in.InstanceMetadataServiceConfiguration != nil { + in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration + *out = make([]InstanceMetadataServiceConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LifecycleConfigName != nil { + in, out := &in.LifecycleConfigName, &out.LifecycleConfigName + *out = new(string) + **out = **in + } + if in.PlatformIdentifier != nil { + in, out := &in.PlatformIdentifier, &out.PlatformIdentifier + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RootAccess != nil { + in, out := &in.RootAccess, &out.RootAccess + *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.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.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.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceInitParameters. +func (in *NotebookInstanceInitParameters) DeepCopy() *NotebookInstanceInitParameters { + if in == nil { + return nil + } + out := new(NotebookInstanceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceLifecycleConfiguration) DeepCopyInto(out *NotebookInstanceLifecycleConfiguration) { + *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 NotebookInstanceLifecycleConfiguration. +func (in *NotebookInstanceLifecycleConfiguration) DeepCopy() *NotebookInstanceLifecycleConfiguration { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NotebookInstanceLifecycleConfiguration) 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 *NotebookInstanceLifecycleConfigurationInitParameters) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationInitParameters) { + *out = *in + if in.OnCreate != nil { + in, out := &in.OnCreate, &out.OnCreate + *out = new(string) + **out = **in + } + if in.OnStart != nil { + in, out := &in.OnStart, &out.OnStart + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationInitParameters. +func (in *NotebookInstanceLifecycleConfigurationInitParameters) DeepCopy() *NotebookInstanceLifecycleConfigurationInitParameters { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceLifecycleConfigurationList) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NotebookInstanceLifecycleConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationList. +func (in *NotebookInstanceLifecycleConfigurationList) DeepCopy() *NotebookInstanceLifecycleConfigurationList { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NotebookInstanceLifecycleConfigurationList) 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 *NotebookInstanceLifecycleConfigurationObservation) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationObservation) { + *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.OnCreate != nil { + in, out := &in.OnCreate, &out.OnCreate + *out = new(string) + **out = **in + } + if in.OnStart != nil { + in, out := &in.OnStart, &out.OnStart + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationObservation. +func (in *NotebookInstanceLifecycleConfigurationObservation) DeepCopy() *NotebookInstanceLifecycleConfigurationObservation { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceLifecycleConfigurationParameters) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationParameters) { + *out = *in + if in.OnCreate != nil { + in, out := &in.OnCreate, &out.OnCreate + *out = new(string) + **out = **in + } + if in.OnStart != nil { + in, out := &in.OnStart, &out.OnStart + *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 NotebookInstanceLifecycleConfigurationParameters. +func (in *NotebookInstanceLifecycleConfigurationParameters) DeepCopy() *NotebookInstanceLifecycleConfigurationParameters { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceLifecycleConfigurationSpec) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationSpec) { + *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 NotebookInstanceLifecycleConfigurationSpec. +func (in *NotebookInstanceLifecycleConfigurationSpec) DeepCopy() *NotebookInstanceLifecycleConfigurationSpec { + if in == nil { + return nil + } out := new(NotebookInstanceLifecycleConfigurationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceLifecycleConfigurationStatus) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationStatus) { +func (in *NotebookInstanceLifecycleConfigurationStatus) DeepCopyInto(out *NotebookInstanceLifecycleConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationStatus. +func (in *NotebookInstanceLifecycleConfigurationStatus) DeepCopy() *NotebookInstanceLifecycleConfigurationStatus { + if in == nil { + return nil + } + out := new(NotebookInstanceLifecycleConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceList) DeepCopyInto(out *NotebookInstanceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NotebookInstance, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceList. +func (in *NotebookInstanceList) DeepCopy() *NotebookInstanceList { + if in == nil { + return nil + } + out := new(NotebookInstanceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NotebookInstanceList) 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 *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObservation) { + *out = *in + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *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.AdditionalCodeRepositories != nil { + in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories + *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.DefaultCodeRepository != nil { + in, out := &in.DefaultCodeRepository, &out.DefaultCodeRepository + *out = new(string) + **out = **in + } + if in.DirectInternetAccess != nil { + in, out := &in.DirectInternetAccess, &out.DirectInternetAccess + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InstanceMetadataServiceConfiguration != nil { + in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration + *out = make([]InstanceMetadataServiceConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.LifecycleConfigName != nil { + in, out := &in.LifecycleConfigName, &out.LifecycleConfigName + *out = new(string) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.PlatformIdentifier != nil { + in, out := &in.PlatformIdentifier, &out.PlatformIdentifier + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RootAccess != nil { + in, out := &in.RootAccess, &out.RootAccess + *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.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceObservation. +func (in *NotebookInstanceObservation) DeepCopy() *NotebookInstanceObservation { + if in == nil { + return nil + } + out := new(NotebookInstanceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceParameters) DeepCopyInto(out *NotebookInstanceParameters) { + *out = *in + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *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.AdditionalCodeRepositories != nil { + in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories + *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.DefaultCodeRepository != nil { + in, out := &in.DefaultCodeRepository, &out.DefaultCodeRepository + *out = new(string) + **out = **in + } + if in.DefaultCodeRepositoryRef != nil { + in, out := &in.DefaultCodeRepositoryRef, &out.DefaultCodeRepositoryRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DefaultCodeRepositorySelector != nil { + in, out := &in.DefaultCodeRepositorySelector, &out.DefaultCodeRepositorySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DirectInternetAccess != nil { + in, out := &in.DirectInternetAccess, &out.DirectInternetAccess + *out = new(string) + **out = **in + } + if in.InstanceMetadataServiceConfiguration != nil { + in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration + *out = make([]InstanceMetadataServiceConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LifecycleConfigName != nil { + in, out := &in.LifecycleConfigName, &out.LifecycleConfigName + *out = new(string) + **out = **in + } + if in.PlatformIdentifier != nil { + in, out := &in.PlatformIdentifier, &out.PlatformIdentifier + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RootAccess != nil { + in, out := &in.RootAccess, &out.RootAccess + *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.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *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.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.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceParameters. +func (in *NotebookInstanceParameters) DeepCopy() *NotebookInstanceParameters { + if in == nil { + return nil + } + out := new(NotebookInstanceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceSpec) DeepCopyInto(out *NotebookInstanceSpec) { + *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 NotebookInstanceSpec. +func (in *NotebookInstanceSpec) DeepCopy() *NotebookInstanceSpec { + if in == nil { + return nil + } + out := new(NotebookInstanceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotebookInstanceStatus) DeepCopyInto(out *NotebookInstanceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceStatus. +func (in *NotebookInstanceStatus) DeepCopy() *NotebookInstanceStatus { + if in == nil { + return nil + } + out := new(NotebookInstanceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigInitParameters) DeepCopyInto(out *NotificationConfigInitParameters) { + *out = *in + if in.ErrorTopic != nil { + in, out := &in.ErrorTopic, &out.ErrorTopic + *out = new(string) + **out = **in + } + if in.IncludeInferenceResponseIn != nil { + in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn + *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.SuccessTopic != nil { + in, out := &in.SuccessTopic, &out.SuccessTopic + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigInitParameters. +func (in *NotificationConfigInitParameters) DeepCopy() *NotificationConfigInitParameters { + if in == nil { + return nil + } + out := new(NotificationConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigObservation) DeepCopyInto(out *NotificationConfigObservation) { + *out = *in + if in.ErrorTopic != nil { + in, out := &in.ErrorTopic, &out.ErrorTopic + *out = new(string) + **out = **in + } + if in.IncludeInferenceResponseIn != nil { + in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn + *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.SuccessTopic != nil { + in, out := &in.SuccessTopic, &out.SuccessTopic + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigObservation. +func (in *NotificationConfigObservation) DeepCopy() *NotificationConfigObservation { + if in == nil { + return nil + } + out := new(NotificationConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigParameters) DeepCopyInto(out *NotificationConfigParameters) { + *out = *in + if in.ErrorTopic != nil { + in, out := &in.ErrorTopic, &out.ErrorTopic + *out = new(string) + **out = **in + } + if in.IncludeInferenceResponseIn != nil { + in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn + *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.SuccessTopic != nil { + in, out := &in.SuccessTopic, &out.SuccessTopic + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigParameters. +func (in *NotificationConfigParameters) DeepCopy() *NotificationConfigParameters { + if in == nil { + return nil + } + out := new(NotificationConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigurationInitParameters) DeepCopyInto(out *NotificationConfigurationInitParameters) { + *out = *in + if in.NotificationTopicArn != nil { + in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationInitParameters. +func (in *NotificationConfigurationInitParameters) DeepCopy() *NotificationConfigurationInitParameters { + if in == nil { + return nil + } + out := new(NotificationConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigurationObservation) DeepCopyInto(out *NotificationConfigurationObservation) { + *out = *in + if in.NotificationTopicArn != nil { + in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationObservation. +func (in *NotificationConfigurationObservation) DeepCopy() *NotificationConfigurationObservation { + if in == nil { + return nil + } + out := new(NotificationConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationConfigurationParameters) DeepCopyInto(out *NotificationConfigurationParameters) { + *out = *in + if in.NotificationTopicArn != nil { + in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationParameters. +func (in *NotificationConfigurationParameters) DeepCopy() *NotificationConfigurationParameters { + if in == nil { + return nil + } + out := new(NotificationConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OfflineStoreConfigInitParameters) DeepCopyInto(out *OfflineStoreConfigInitParameters) { + *out = *in + if in.DataCatalogConfig != nil { + in, out := &in.DataCatalogConfig, &out.DataCatalogConfig + *out = make([]DataCatalogConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisableGlueTableCreation != nil { + in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation + *out = new(bool) + **out = **in + } + if in.S3StorageConfig != nil { + in, out := &in.S3StorageConfig, &out.S3StorageConfig + *out = make([]S3StorageConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableFormat != nil { + in, out := &in.TableFormat, &out.TableFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigInitParameters. +func (in *OfflineStoreConfigInitParameters) DeepCopy() *OfflineStoreConfigInitParameters { + if in == nil { + return nil + } + out := new(OfflineStoreConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OfflineStoreConfigObservation) DeepCopyInto(out *OfflineStoreConfigObservation) { + *out = *in + if in.DataCatalogConfig != nil { + in, out := &in.DataCatalogConfig, &out.DataCatalogConfig + *out = make([]DataCatalogConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisableGlueTableCreation != nil { + in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation + *out = new(bool) + **out = **in + } + if in.S3StorageConfig != nil { + in, out := &in.S3StorageConfig, &out.S3StorageConfig + *out = make([]S3StorageConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableFormat != nil { + in, out := &in.TableFormat, &out.TableFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigObservation. +func (in *OfflineStoreConfigObservation) DeepCopy() *OfflineStoreConfigObservation { + if in == nil { + return nil + } + out := new(OfflineStoreConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OfflineStoreConfigParameters) DeepCopyInto(out *OfflineStoreConfigParameters) { + *out = *in + if in.DataCatalogConfig != nil { + in, out := &in.DataCatalogConfig, &out.DataCatalogConfig + *out = make([]DataCatalogConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisableGlueTableCreation != nil { + in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation + *out = new(bool) + **out = **in + } + if in.S3StorageConfig != nil { + in, out := &in.S3StorageConfig, &out.S3StorageConfig + *out = make([]S3StorageConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableFormat != nil { + in, out := &in.TableFormat, &out.TableFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigParameters. +func (in *OfflineStoreConfigParameters) DeepCopy() *OfflineStoreConfigParameters { + if in == nil { + return nil + } + out := new(OfflineStoreConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OidcConfigInitParameters) DeepCopyInto(out *OidcConfigInitParameters) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.JwksURI != nil { + in, out := &in.JwksURI, &out.JwksURI + *out = new(string) + **out = **in + } + if in.LogoutEndpoint != nil { + in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + *out = new(string) + **out = **in + } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } + if in.UserInfoEndpoint != nil { + in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigInitParameters. +func (in *OidcConfigInitParameters) DeepCopy() *OidcConfigInitParameters { + if in == nil { + return nil + } + out := new(OidcConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OidcConfigObservation) DeepCopyInto(out *OidcConfigObservation) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.JwksURI != nil { + in, out := &in.JwksURI, &out.JwksURI + *out = new(string) + **out = **in + } + if in.LogoutEndpoint != nil { + in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + *out = new(string) + **out = **in + } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } + if in.UserInfoEndpoint != nil { + in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigObservation. +func (in *OidcConfigObservation) DeepCopy() *OidcConfigObservation { + if in == nil { + return nil + } + out := new(OidcConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OidcConfigParameters) DeepCopyInto(out *OidcConfigParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.JwksURI != nil { + in, out := &in.JwksURI, &out.JwksURI + *out = new(string) + **out = **in + } + if in.LogoutEndpoint != nil { + in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + *out = new(string) + **out = **in + } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } + if in.UserInfoEndpoint != nil { + in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceLifecycleConfigurationStatus. -func (in *NotebookInstanceLifecycleConfigurationStatus) DeepCopy() *NotebookInstanceLifecycleConfigurationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigParameters. +func (in *OidcConfigParameters) DeepCopy() *OidcConfigParameters { if in == nil { return nil } - out := new(NotebookInstanceLifecycleConfigurationStatus) + out := new(OidcConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceList) DeepCopyInto(out *NotebookInstanceList) { +func (in *OidcMemberDefinitionInitParameters) DeepCopyInto(out *OidcMemberDefinitionInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NotebookInstance, len(*in)) + if in.Groups != nil { + in, out := &in.Groups, &out.Groups + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceList. -func (in *NotebookInstanceList) DeepCopy() *NotebookInstanceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionInitParameters. +func (in *OidcMemberDefinitionInitParameters) DeepCopy() *OidcMemberDefinitionInitParameters { if in == nil { return nil } - out := new(NotebookInstanceList) + out := new(OidcMemberDefinitionInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NotebookInstanceList) 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 *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObservation) { +func (in *OidcMemberDefinitionObservation) DeepCopyInto(out *OidcMemberDefinitionObservation) { *out = *in - if in.AcceleratorTypes != nil { - in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + if in.Groups != nil { + in, out := &in.Groups, &out.Groups *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8714,8 +12258,23 @@ func (in *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObserva } } } - if in.AdditionalCodeRepositories != nil { - in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionObservation. +func (in *OidcMemberDefinitionObservation) DeepCopy() *OidcMemberDefinitionObservation { + if in == nil { + return nil + } + out := new(OidcMemberDefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OidcMemberDefinitionParameters) DeepCopyInto(out *OidcMemberDefinitionParameters) { + *out = *in + if in.Groups != nil { + in, out := &in.Groups, &out.Groups *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8725,273 +12284,301 @@ func (in *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObserva } } } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.DefaultCodeRepository != nil { - in, out := &in.DefaultCodeRepository, &out.DefaultCodeRepository - *out = new(string) - **out = **in - } - if in.DirectInternetAccess != nil { - in, out := &in.DirectInternetAccess, &out.DirectInternetAccess - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionParameters. +func (in *OidcMemberDefinitionParameters) DeepCopy() *OidcMemberDefinitionParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + out := new(OidcMemberDefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OnlineStoreConfigInitParameters) DeepCopyInto(out *OnlineStoreConfigInitParameters) { + *out = *in + if in.EnableOnlineStore != nil { + in, out := &in.EnableOnlineStore, &out.EnableOnlineStore + *out = new(bool) **out = **in } - if in.InstanceMetadataServiceConfiguration != nil { - in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration - *out = make([]InstanceMetadataServiceConfigurationObservation, len(*in)) + if in.SecurityConfig != nil { + in, out := &in.SecurityConfig, &out.SecurityConfig + *out = make([]SecurityConfigInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType *out = new(string) **out = **in } - if in.LifecycleConfigName != nil { - in, out := &in.LifecycleConfigName, &out.LifecycleConfigName - *out = new(string) - **out = **in + if in.TTLDuration != nil { + in, out := &in.TTLDuration, &out.TTLDuration + *out = make([]TTLDurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigInitParameters. +func (in *OnlineStoreConfigInitParameters) DeepCopy() *OnlineStoreConfigInitParameters { + if in == nil { + return nil } - if in.PlatformIdentifier != nil { - in, out := &in.PlatformIdentifier, &out.PlatformIdentifier - *out = new(string) + out := new(OnlineStoreConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OnlineStoreConfigObservation) DeepCopyInto(out *OnlineStoreConfigObservation) { + *out = *in + if in.EnableOnlineStore != nil { + in, out := &in.EnableOnlineStore, &out.EnableOnlineStore + *out = new(bool) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn - *out = new(string) - **out = **in + if in.SecurityConfig != nil { + in, out := &in.SecurityConfig, &out.SecurityConfig + *out = make([]SecurityConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RootAccess != nil { - in, out := &in.RootAccess, &out.RootAccess + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) + if in.TTLDuration != nil { + in, out := &in.TTLDuration, &out.TTLDuration + *out = make([]TTLDurationObservation, 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.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigObservation. +func (in *OnlineStoreConfigObservation) DeepCopy() *OnlineStoreConfigObservation { + if in == nil { + return nil } - 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(OnlineStoreConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OnlineStoreConfigParameters) DeepCopyInto(out *OnlineStoreConfigParameters) { + *out = *in + if in.EnableOnlineStore != nil { + in, out := &in.EnableOnlineStore, &out.EnableOnlineStore + *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.SecurityConfig != nil { + in, out := &in.SecurityConfig, &out.SecurityConfig + *out = make([]SecurityConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.URL != nil { - in, out := &in.URL, &out.URL + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType *out = new(string) **out = **in } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in + if in.TTLDuration != nil { + in, out := &in.TTLDuration, &out.TTLDuration + *out = make([]TTLDurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceObservation. -func (in *NotebookInstanceObservation) DeepCopy() *NotebookInstanceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigParameters. +func (in *OnlineStoreConfigParameters) DeepCopy() *OnlineStoreConfigParameters { if in == nil { return nil } - out := new(NotebookInstanceObservation) + out := new(OnlineStoreConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceParameters) DeepCopyInto(out *NotebookInstanceParameters) { +func (in *OutputConfigInitParameters) DeepCopyInto(out *OutputConfigInitParameters) { *out = *in - if in.AcceleratorTypes != nil { - in, out := &in.AcceleratorTypes, &out.AcceleratorTypes - *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.AdditionalCodeRepositories != nil { - in, out := &in.AdditionalCodeRepositories, &out.AdditionalCodeRepositories - *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.DefaultCodeRepository != nil { - in, out := &in.DefaultCodeRepository, &out.DefaultCodeRepository + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.DefaultCodeRepositoryRef != nil { - in, out := &in.DefaultCodeRepositoryRef, &out.DefaultCodeRepositoryRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DefaultCodeRepositorySelector != nil { - in, out := &in.DefaultCodeRepositorySelector, &out.DefaultCodeRepositorySelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.DirectInternetAccess != nil { - in, out := &in.DirectInternetAccess, &out.DirectInternetAccess + if in.S3OutputLocation != nil { + in, out := &in.S3OutputLocation, &out.S3OutputLocation *out = new(string) **out = **in } - if in.InstanceMetadataServiceConfiguration != nil { - in, out := &in.InstanceMetadataServiceConfiguration, &out.InstanceMetadataServiceConfiguration - *out = make([]InstanceMetadataServiceConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigInitParameters. +func (in *OutputConfigInitParameters) DeepCopy() *OutputConfigInitParameters { + if in == nil { + return nil } + out := new(OutputConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputConfigObservation) DeepCopyInto(out *OutputConfigObservation) { + *out = *in if in.KMSKeyID != nil { in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.KMSKeyIDRef != nil { - in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyIDSelector != nil { - in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.LifecycleConfigName != nil { - in, out := &in.LifecycleConfigName, &out.LifecycleConfigName + if in.S3OutputLocation != nil { + in, out := &in.S3OutputLocation, &out.S3OutputLocation *out = new(string) **out = **in } - if in.PlatformIdentifier != nil { - in, out := &in.PlatformIdentifier, &out.PlatformIdentifier +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigObservation. +func (in *OutputConfigObservation) DeepCopy() *OutputConfigObservation { + if in == nil { + return nil + } + out := new(OutputConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputConfigParameters) DeepCopyInto(out *OutputConfigParameters) { + *out = *in + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.S3OutputLocation != nil { + in, out := &in.S3OutputLocation, &out.S3OutputLocation *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigParameters. +func (in *OutputConfigParameters) DeepCopy() *OutputConfigParameters { + if in == nil { + return nil + } + out := new(OutputConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryContainerImageConfigInitParameters) DeepCopyInto(out *PrimaryContainerImageConfigInitParameters) { + *out = *in + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode *out = new(string) **out = **in } - if in.RoleArnRef != nil { - in, out := &in.RoleArnRef, &out.RoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]ImageConfigRepositoryAuthConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigInitParameters. +func (in *PrimaryContainerImageConfigInitParameters) DeepCopy() *PrimaryContainerImageConfigInitParameters { + if in == nil { + return nil } - if in.RootAccess != nil { - in, out := &in.RootAccess, &out.RootAccess + out := new(PrimaryContainerImageConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryContainerImageConfigObservation) DeepCopyInto(out *PrimaryContainerImageConfigObservation) { + *out = *in + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]ImageConfigRepositoryAuthConfigObservation, 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.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigObservation. +func (in *PrimaryContainerImageConfigObservation) DeepCopy() *PrimaryContainerImageConfigObservation { + if in == nil { + return nil + } + out := new(PrimaryContainerImageConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryContainerImageConfigParameters) DeepCopyInto(out *PrimaryContainerImageConfigParameters) { + *out = *in + if in.RepositoryAccessMode != nil { + in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.RepositoryAuthConfig != nil { + in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig + *out = make([]ImageConfigRepositoryAuthConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigParameters. +func (in *PrimaryContainerImageConfigParameters) DeepCopy() *PrimaryContainerImageConfigParameters { + if in == nil { + return nil } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + out := new(PrimaryContainerImageConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryContainerInitParameters) DeepCopyInto(out *PrimaryContainerInitParameters) { + *out = *in + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname + *out = new(string) + **out = **in + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9006,2235 +12593,2616 @@ func (in *NotebookInstanceParameters) DeepCopyInto(out *NotebookInstanceParamete (*out)[key] = outVal } } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(string) + **out = **in + } + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]PrimaryContainerImageConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]PrimaryContainerModelDataSourceInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceParameters. -func (in *NotebookInstanceParameters) DeepCopy() *NotebookInstanceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerInitParameters. +func (in *PrimaryContainerInitParameters) DeepCopy() *PrimaryContainerInitParameters { if in == nil { return nil } - out := new(NotebookInstanceParameters) + out := new(PrimaryContainerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceSpec) DeepCopyInto(out *NotebookInstanceSpec) { +func (in *PrimaryContainerModelDataSourceInitParameters) DeepCopyInto(out *PrimaryContainerModelDataSourceInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]ModelDataSourceS3DataSourceInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceSpec. -func (in *NotebookInstanceSpec) DeepCopy() *NotebookInstanceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerModelDataSourceInitParameters. +func (in *PrimaryContainerModelDataSourceInitParameters) DeepCopy() *PrimaryContainerModelDataSourceInitParameters { if in == nil { return nil } - out := new(NotebookInstanceSpec) + out := new(PrimaryContainerModelDataSourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotebookInstanceStatus) DeepCopyInto(out *NotebookInstanceStatus) { +func (in *PrimaryContainerModelDataSourceObservation) DeepCopyInto(out *PrimaryContainerModelDataSourceObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]ModelDataSourceS3DataSourceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookInstanceStatus. -func (in *NotebookInstanceStatus) DeepCopy() *NotebookInstanceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerModelDataSourceObservation. +func (in *PrimaryContainerModelDataSourceObservation) DeepCopy() *PrimaryContainerModelDataSourceObservation { if in == nil { return nil } - out := new(NotebookInstanceStatus) + out := new(PrimaryContainerModelDataSourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigInitParameters) DeepCopyInto(out *NotificationConfigInitParameters) { +func (in *PrimaryContainerModelDataSourceParameters) DeepCopyInto(out *PrimaryContainerModelDataSourceParameters) { *out = *in - if in.ErrorTopic != nil { - in, out := &in.ErrorTopic, &out.ErrorTopic - *out = new(string) - **out = **in - } - if in.IncludeInferenceResponseIn != nil { - in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn - *out = make([]*string, len(*in)) + if in.S3DataSource != nil { + in, out := &in.S3DataSource, &out.S3DataSource + *out = make([]ModelDataSourceS3DataSourceParameters, 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.SuccessTopic != nil { - in, out := &in.SuccessTopic, &out.SuccessTopic - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigInitParameters. -func (in *NotificationConfigInitParameters) DeepCopy() *NotificationConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerModelDataSourceParameters. +func (in *PrimaryContainerModelDataSourceParameters) DeepCopy() *PrimaryContainerModelDataSourceParameters { if in == nil { return nil } - out := new(NotificationConfigInitParameters) + out := new(PrimaryContainerModelDataSourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigObservation) DeepCopyInto(out *NotificationConfigObservation) { +func (in *PrimaryContainerObservation) DeepCopyInto(out *PrimaryContainerObservation) { *out = *in - if in.ErrorTopic != nil { - in, out := &in.ErrorTopic, &out.ErrorTopic + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname *out = new(string) **out = **in } - if in.IncludeInferenceResponseIn != nil { - in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *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.SuccessTopic != nil { - in, out := &in.SuccessTopic, &out.SuccessTopic + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(string) + **out = **in + } + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]PrimaryContainerImageConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]PrimaryContainerModelDataSourceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigObservation. -func (in *NotificationConfigObservation) DeepCopy() *NotificationConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerObservation. +func (in *PrimaryContainerObservation) DeepCopy() *PrimaryContainerObservation { if in == nil { return nil } - out := new(NotificationConfigObservation) + out := new(PrimaryContainerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigParameters) DeepCopyInto(out *NotificationConfigParameters) { +func (in *PrimaryContainerParameters) DeepCopyInto(out *PrimaryContainerParameters) { *out = *in - if in.ErrorTopic != nil { - in, out := &in.ErrorTopic, &out.ErrorTopic + if in.ContainerHostname != nil { + in, out := &in.ContainerHostname, &out.ContainerHostname *out = new(string) **out = **in } - if in.IncludeInferenceResponseIn != nil { - in, out := &in.IncludeInferenceResponseIn, &out.IncludeInferenceResponseIn - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *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.SuccessTopic != nil { - in, out := &in.SuccessTopic, &out.SuccessTopic + if in.Image != nil { + in, out := &in.Image, &out.Image *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigParameters. -func (in *NotificationConfigParameters) DeepCopy() *NotificationConfigParameters { - if in == nil { - return nil + if in.ImageConfig != nil { + in, out := &in.ImageConfig, &out.ImageConfig + *out = make([]PrimaryContainerImageConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(NotificationConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigurationInitParameters) DeepCopyInto(out *NotificationConfigurationInitParameters) { - *out = *in - if in.NotificationTopicArn != nil { - in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.ModelDataSource != nil { + in, out := &in.ModelDataSource, &out.ModelDataSource + *out = make([]PrimaryContainerModelDataSourceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelDataURL != nil { + in, out := &in.ModelDataURL, &out.ModelDataURL + *out = new(string) + **out = **in + } + if in.ModelPackageName != nil { + in, out := &in.ModelPackageName, &out.ModelPackageName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationInitParameters. -func (in *NotificationConfigurationInitParameters) DeepCopy() *NotificationConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerParameters. +func (in *PrimaryContainerParameters) DeepCopy() *PrimaryContainerParameters { if in == nil { return nil } - out := new(NotificationConfigurationInitParameters) + out := new(PrimaryContainerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigurationObservation) DeepCopyInto(out *NotificationConfigurationObservation) { +func (in *ProductionVariantsInitParameters) DeepCopyInto(out *ProductionVariantsInitParameters) { *out = *in - if in.NotificationTopicArn != nil { - in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType + *out = new(string) + **out = **in + } + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]CoreDumpConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess + *out = new(bool) + **out = **in + } + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.ModelNameRef != nil { + in, out := &in.ModelNameRef, &out.ModelNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ModelNameSelector != nil { + in, out := &in.ModelNameSelector, &out.ModelNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ServerlessConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationObservation. -func (in *NotificationConfigurationObservation) DeepCopy() *NotificationConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsInitParameters. +func (in *ProductionVariantsInitParameters) DeepCopy() *ProductionVariantsInitParameters { if in == nil { return nil } - out := new(NotificationConfigurationObservation) + out := new(ProductionVariantsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NotificationConfigurationParameters) DeepCopyInto(out *NotificationConfigurationParameters) { +func (in *ProductionVariantsObservation) DeepCopyInto(out *ProductionVariantsObservation) { *out = *in - if in.NotificationTopicArn != nil { - in, out := &in.NotificationTopicArn, &out.NotificationTopicArn + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigurationParameters. -func (in *NotificationConfigurationParameters) DeepCopy() *NotificationConfigurationParameters { - if in == nil { - return nil + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) + **out = **in } - out := new(NotificationConfigurationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OfflineStoreConfigInitParameters) DeepCopyInto(out *OfflineStoreConfigInitParameters) { - *out = *in - if in.DataCatalogConfig != nil { - in, out := &in.DataCatalogConfig, &out.DataCatalogConfig - *out = make([]DataCatalogConfigInitParameters, len(*in)) + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]CoreDumpConfigObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DisableGlueTableCreation != nil { - in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess *out = new(bool) **out = **in } - if in.S3StorageConfig != nil { - in, out := &in.S3StorageConfig, &out.S3StorageConfig - *out = make([]S3StorageConfigInitParameters, len(*in)) + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ServerlessConfigObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TableFormat != nil { - in, out := &in.TableFormat, &out.TableFormat + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigInitParameters. -func (in *OfflineStoreConfigInitParameters) DeepCopy() *OfflineStoreConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsObservation. +func (in *ProductionVariantsObservation) DeepCopy() *ProductionVariantsObservation { if in == nil { return nil } - out := new(OfflineStoreConfigInitParameters) + out := new(ProductionVariantsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OfflineStoreConfigObservation) DeepCopyInto(out *OfflineStoreConfigObservation) { +func (in *ProductionVariantsParameters) DeepCopyInto(out *ProductionVariantsParameters) { *out = *in - if in.DataCatalogConfig != nil { - in, out := &in.DataCatalogConfig, &out.DataCatalogConfig - *out = make([]DataCatalogConfigObservation, len(*in)) + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType + *out = new(string) + **out = **in + } + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]CoreDumpConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DisableGlueTableCreation != nil { - in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess *out = new(bool) **out = **in } - if in.S3StorageConfig != nil { - in, out := &in.S3StorageConfig, &out.S3StorageConfig - *out = make([]S3StorageConfigObservation, len(*in)) + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.ModelNameRef != nil { + in, out := &in.ModelNameRef, &out.ModelNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ModelNameSelector != nil { + in, out := &in.ModelNameSelector, &out.ModelNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ServerlessConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TableFormat != nil { - in, out := &in.TableFormat, &out.TableFormat + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigObservation. -func (in *OfflineStoreConfigObservation) DeepCopy() *OfflineStoreConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsParameters. +func (in *ProductionVariantsParameters) DeepCopy() *ProductionVariantsParameters { if in == nil { return nil } - out := new(OfflineStoreConfigObservation) + out := new(ProductionVariantsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OfflineStoreConfigParameters) DeepCopyInto(out *OfflineStoreConfigParameters) { +func (in *RSessionAppSettingsCustomImageInitParameters) DeepCopyInto(out *RSessionAppSettingsCustomImageInitParameters) { *out = *in - if in.DataCatalogConfig != nil { - in, out := &in.DataCatalogConfig, &out.DataCatalogConfig - *out = make([]DataCatalogConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in } - if in.DisableGlueTableCreation != nil { - in, out := &in.DisableGlueTableCreation, &out.DisableGlueTableCreation - *out = new(bool) + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) **out = **in } - if in.S3StorageConfig != nil { - in, out := &in.S3StorageConfig, &out.S3StorageConfig - *out = make([]S3StorageConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in } - if in.TableFormat != nil { - in, out := &in.TableFormat, &out.TableFormat +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageInitParameters. +func (in *RSessionAppSettingsCustomImageInitParameters) DeepCopy() *RSessionAppSettingsCustomImageInitParameters { + if in == nil { + return nil + } + out := new(RSessionAppSettingsCustomImageInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RSessionAppSettingsCustomImageObservation) DeepCopyInto(out *RSessionAppSettingsCustomImageObservation) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) + **out = **in + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineStoreConfigParameters. -func (in *OfflineStoreConfigParameters) DeepCopy() *OfflineStoreConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageObservation. +func (in *RSessionAppSettingsCustomImageObservation) DeepCopy() *RSessionAppSettingsCustomImageObservation { if in == nil { return nil } - out := new(OfflineStoreConfigParameters) + out := new(RSessionAppSettingsCustomImageObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcConfigInitParameters) DeepCopyInto(out *OidcConfigInitParameters) { +func (in *RSessionAppSettingsCustomImageParameters) DeepCopyInto(out *RSessionAppSettingsCustomImageParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageParameters. +func (in *RSessionAppSettingsCustomImageParameters) DeepCopy() *RSessionAppSettingsCustomImageParameters { + if in == nil { + return nil + } + out := new(RSessionAppSettingsCustomImageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RSessionAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecInitParameters) { + *out = *in + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.JwksURI != nil { - in, out := &in.JwksURI, &out.JwksURI + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.LogoutEndpoint != nil { - in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.UserInfoEndpoint != nil { - in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigInitParameters. -func (in *OidcConfigInitParameters) DeepCopy() *OidcConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecInitParameters. +func (in *RSessionAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *RSessionAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(OidcConfigInitParameters) + out := new(RSessionAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcConfigObservation) DeepCopyInto(out *OidcConfigObservation) { +func (in *RSessionAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecObservation) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint - *out = new(string) - **out = **in - } - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID - *out = new(string) - **out = **in - } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.JwksURI != nil { - in, out := &in.JwksURI, &out.JwksURI + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.LogoutEndpoint != nil { - in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.UserInfoEndpoint != nil { - in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigObservation. -func (in *OidcConfigObservation) DeepCopy() *OidcConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecObservation. +func (in *RSessionAppSettingsDefaultResourceSpecObservation) DeepCopy() *RSessionAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(OidcConfigObservation) + out := new(RSessionAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcConfigParameters) DeepCopyInto(out *OidcConfigParameters) { +func (in *RSessionAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint - *out = new(string) - **out = **in - } - if in.ClientID != nil { - in, out := &in.ClientID, &out.ClientID - *out = new(string) - **out = **in - } - out.ClientSecretSecretRef = in.ClientSecretSecretRef - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.JwksURI != nil { - in, out := &in.JwksURI, &out.JwksURI + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.LogoutEndpoint != nil { - in, out := &in.LogoutEndpoint, &out.LogoutEndpoint + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.UserInfoEndpoint != nil { - in, out := &in.UserInfoEndpoint, &out.UserInfoEndpoint + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcConfigParameters. -func (in *OidcConfigParameters) DeepCopy() *OidcConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecParameters. +func (in *RSessionAppSettingsDefaultResourceSpecParameters) DeepCopy() *RSessionAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(OidcConfigParameters) + out := new(RSessionAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcMemberDefinitionInitParameters) DeepCopyInto(out *OidcMemberDefinitionInitParameters) { +func (in *RSessionAppSettingsInitParameters) DeepCopyInto(out *RSessionAppSettingsInitParameters) { *out = *in - if in.Groups != nil { - in, out := &in.Groups, &out.Groups - *out = make([]*string, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]RSessionAppSettingsCustomImageInitParameters, 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.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RSessionAppSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionInitParameters. -func (in *OidcMemberDefinitionInitParameters) DeepCopy() *OidcMemberDefinitionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsInitParameters. +func (in *RSessionAppSettingsInitParameters) DeepCopy() *RSessionAppSettingsInitParameters { if in == nil { return nil } - out := new(OidcMemberDefinitionInitParameters) + out := new(RSessionAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcMemberDefinitionObservation) DeepCopyInto(out *OidcMemberDefinitionObservation) { +func (in *RSessionAppSettingsObservation) DeepCopyInto(out *RSessionAppSettingsObservation) { *out = *in - if in.Groups != nil { - in, out := &in.Groups, &out.Groups - *out = make([]*string, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]RSessionAppSettingsCustomImageObservation, 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.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RSessionAppSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionObservation. -func (in *OidcMemberDefinitionObservation) DeepCopy() *OidcMemberDefinitionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsObservation. +func (in *RSessionAppSettingsObservation) DeepCopy() *RSessionAppSettingsObservation { if in == nil { return nil } - out := new(OidcMemberDefinitionObservation) + out := new(RSessionAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OidcMemberDefinitionParameters) DeepCopyInto(out *OidcMemberDefinitionParameters) { +func (in *RSessionAppSettingsParameters) DeepCopyInto(out *RSessionAppSettingsParameters) { *out = *in - if in.Groups != nil { - in, out := &in.Groups, &out.Groups - *out = make([]*string, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]RSessionAppSettingsCustomImageParameters, 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.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RSessionAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcMemberDefinitionParameters. -func (in *OidcMemberDefinitionParameters) DeepCopy() *OidcMemberDefinitionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsParameters. +func (in *RSessionAppSettingsParameters) DeepCopy() *RSessionAppSettingsParameters { + if in == nil { + return nil + } + out := new(RSessionAppSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RStudioServerProAppSettingsInitParameters) DeepCopyInto(out *RStudioServerProAppSettingsInitParameters) { + *out = *in + if in.AccessStatus != nil { + in, out := &in.AccessStatus, &out.AccessStatus + *out = new(string) + **out = **in + } + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsInitParameters. +func (in *RStudioServerProAppSettingsInitParameters) DeepCopy() *RStudioServerProAppSettingsInitParameters { + if in == nil { + return nil + } + out := new(RStudioServerProAppSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RStudioServerProAppSettingsObservation) DeepCopyInto(out *RStudioServerProAppSettingsObservation) { + *out = *in + if in.AccessStatus != nil { + in, out := &in.AccessStatus, &out.AccessStatus + *out = new(string) + **out = **in + } + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsObservation. +func (in *RStudioServerProAppSettingsObservation) DeepCopy() *RStudioServerProAppSettingsObservation { + if in == nil { + return nil + } + out := new(RStudioServerProAppSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RStudioServerProAppSettingsParameters) DeepCopyInto(out *RStudioServerProAppSettingsParameters) { + *out = *in + if in.AccessStatus != nil { + in, out := &in.AccessStatus, &out.AccessStatus + *out = new(string) + **out = **in + } + if in.UserGroup != nil { + in, out := &in.UserGroup, &out.UserGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsParameters. +func (in *RStudioServerProAppSettingsParameters) DeepCopy() *RStudioServerProAppSettingsParameters { if in == nil { return nil } - out := new(OidcMemberDefinitionParameters) + out := new(RStudioServerProAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OnlineStoreConfigInitParameters) DeepCopyInto(out *OnlineStoreConfigInitParameters) { +func (in *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) { *out = *in - if in.EnableOnlineStore != nil { - in, out := &in.EnableOnlineStore, &out.EnableOnlineStore - *out = new(bool) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) **out = **in } - if in.SecurityConfig != nil { - in, out := &in.SecurityConfig, &out.SecurityConfig - *out = make([]SecurityConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigInitParameters. -func (in *OnlineStoreConfigInitParameters) DeepCopy() *OnlineStoreConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecInitParameters. +func (in *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(OnlineStoreConfigInitParameters) + out := new(RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OnlineStoreConfigObservation) DeepCopyInto(out *OnlineStoreConfigObservation) { +func (in *RStudioServerProDomainSettingsDefaultResourceSpecObservation) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecObservation) { *out = *in - if in.EnableOnlineStore != nil { - in, out := &in.EnableOnlineStore, &out.EnableOnlineStore - *out = new(bool) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) **out = **in } - if in.SecurityConfig != nil { - in, out := &in.SecurityConfig, &out.SecurityConfig - *out = make([]SecurityConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigObservation. -func (in *OnlineStoreConfigObservation) DeepCopy() *OnlineStoreConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecObservation. +func (in *RStudioServerProDomainSettingsDefaultResourceSpecObservation) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(OnlineStoreConfigObservation) + out := new(RStudioServerProDomainSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OnlineStoreConfigParameters) DeepCopyInto(out *OnlineStoreConfigParameters) { +func (in *RStudioServerProDomainSettingsDefaultResourceSpecParameters) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecParameters) { *out = *in - if in.EnableOnlineStore != nil { - in, out := &in.EnableOnlineStore, &out.EnableOnlineStore - *out = new(bool) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) **out = **in } - if in.SecurityConfig != nil { - in, out := &in.SecurityConfig, &out.SecurityConfig - *out = make([]SecurityConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreConfigParameters. -func (in *OnlineStoreConfigParameters) DeepCopy() *OnlineStoreConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecParameters. +func (in *RStudioServerProDomainSettingsDefaultResourceSpecParameters) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(OnlineStoreConfigParameters) + out := new(RStudioServerProDomainSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputConfigInitParameters) DeepCopyInto(out *OutputConfigInitParameters) { +func (in *RStudioServerProDomainSettingsInitParameters) DeepCopyInto(out *RStudioServerProDomainSettingsInitParameters) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainExecutionRoleArn != nil { + in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn *out = new(string) **out = **in } - if in.S3OutputLocation != nil { - in, out := &in.S3OutputLocation, &out.S3OutputLocation + if in.RStudioConnectURL != nil { + in, out := &in.RStudioConnectURL, &out.RStudioConnectURL + *out = new(string) + **out = **in + } + if in.RStudioPackageManagerURL != nil { + in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigInitParameters. -func (in *OutputConfigInitParameters) DeepCopy() *OutputConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsInitParameters. +func (in *RStudioServerProDomainSettingsInitParameters) DeepCopy() *RStudioServerProDomainSettingsInitParameters { if in == nil { return nil } - out := new(OutputConfigInitParameters) + out := new(RStudioServerProDomainSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputConfigObservation) DeepCopyInto(out *OutputConfigObservation) { +func (in *RStudioServerProDomainSettingsObservation) DeepCopyInto(out *RStudioServerProDomainSettingsObservation) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainExecutionRoleArn != nil { + in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn *out = new(string) **out = **in } - if in.S3OutputLocation != nil { - in, out := &in.S3OutputLocation, &out.S3OutputLocation + if in.RStudioConnectURL != nil { + in, out := &in.RStudioConnectURL, &out.RStudioConnectURL + *out = new(string) + **out = **in + } + if in.RStudioPackageManagerURL != nil { + in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigObservation. -func (in *OutputConfigObservation) DeepCopy() *OutputConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsObservation. +func (in *RStudioServerProDomainSettingsObservation) DeepCopy() *RStudioServerProDomainSettingsObservation { if in == nil { return nil } - out := new(OutputConfigObservation) + out := new(RStudioServerProDomainSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputConfigParameters) DeepCopyInto(out *OutputConfigParameters) { +func (in *RStudioServerProDomainSettingsParameters) DeepCopyInto(out *RStudioServerProDomainSettingsParameters) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainExecutionRoleArn != nil { + in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn *out = new(string) **out = **in } - if in.S3OutputLocation != nil { - in, out := &in.S3OutputLocation, &out.S3OutputLocation + if in.RStudioConnectURL != nil { + in, out := &in.RStudioConnectURL, &out.RStudioConnectURL + *out = new(string) + **out = **in + } + if in.RStudioPackageManagerURL != nil { + in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputConfigParameters. -func (in *OutputConfigParameters) DeepCopy() *OutputConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsParameters. +func (in *RStudioServerProDomainSettingsParameters) DeepCopy() *RStudioServerProDomainSettingsParameters { if in == nil { return nil } - out := new(OutputConfigParameters) + out := new(RStudioServerProDomainSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerImageConfigInitParameters) DeepCopyInto(out *PrimaryContainerImageConfigInitParameters) { +func (in *RepositoryAuthConfigInitParameters) DeepCopyInto(out *RepositoryAuthConfigInitParameters) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]ImageConfigRepositoryAuthConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigInitParameters. -func (in *PrimaryContainerImageConfigInitParameters) DeepCopy() *PrimaryContainerImageConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigInitParameters. +func (in *RepositoryAuthConfigInitParameters) DeepCopy() *RepositoryAuthConfigInitParameters { if in == nil { return nil } - out := new(PrimaryContainerImageConfigInitParameters) + out := new(RepositoryAuthConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerImageConfigObservation) DeepCopyInto(out *PrimaryContainerImageConfigObservation) { +func (in *RepositoryAuthConfigObservation) DeepCopyInto(out *RepositoryAuthConfigObservation) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]ImageConfigRepositoryAuthConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigObservation. -func (in *PrimaryContainerImageConfigObservation) DeepCopy() *PrimaryContainerImageConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigObservation. +func (in *RepositoryAuthConfigObservation) DeepCopy() *RepositoryAuthConfigObservation { if in == nil { return nil } - out := new(PrimaryContainerImageConfigObservation) + out := new(RepositoryAuthConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerImageConfigParameters) DeepCopyInto(out *PrimaryContainerImageConfigParameters) { +func (in *RepositoryAuthConfigParameters) DeepCopyInto(out *RepositoryAuthConfigParameters) { *out = *in - if in.RepositoryAccessMode != nil { - in, out := &in.RepositoryAccessMode, &out.RepositoryAccessMode + if in.RepositoryCredentialsProviderArn != nil { + in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn *out = new(string) **out = **in } - if in.RepositoryAuthConfig != nil { - in, out := &in.RepositoryAuthConfig, &out.RepositoryAuthConfig - *out = make([]ImageConfigRepositoryAuthConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerImageConfigParameters. -func (in *PrimaryContainerImageConfigParameters) DeepCopy() *PrimaryContainerImageConfigParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigParameters. +func (in *RepositoryAuthConfigParameters) DeepCopy() *RepositoryAuthConfigParameters { if in == nil { return nil } - out := new(PrimaryContainerImageConfigParameters) + out := new(RepositoryAuthConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerInitParameters) DeepCopyInto(out *PrimaryContainerInitParameters) { +func (in *ResourceSpecInitParameters) DeepCopyInto(out *ResourceSpecInitParameters) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.Image != nil { - in, out := &in.Image, &out.Image + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]PrimaryContainerImageConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerInitParameters. -func (in *PrimaryContainerInitParameters) DeepCopy() *PrimaryContainerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecInitParameters. +func (in *ResourceSpecInitParameters) DeepCopy() *ResourceSpecInitParameters { if in == nil { return nil } - out := new(PrimaryContainerInitParameters) + out := new(ResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerObservation) DeepCopyInto(out *PrimaryContainerObservation) { +func (in *ResourceSpecObservation) DeepCopyInto(out *ResourceSpecObservation) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.Image != nil { - in, out := &in.Image, &out.Image + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]PrimaryContainerImageConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerObservation. -func (in *PrimaryContainerObservation) DeepCopy() *PrimaryContainerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecObservation. +func (in *ResourceSpecObservation) DeepCopy() *ResourceSpecObservation { if in == nil { return nil } - out := new(PrimaryContainerObservation) + out := new(ResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrimaryContainerParameters) DeepCopyInto(out *PrimaryContainerParameters) { +func (in *ResourceSpecParameters) DeepCopyInto(out *ResourceSpecParameters) { *out = *in - if in.ContainerHostname != nil { - in, out := &in.ContainerHostname, &out.ContainerHostname + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.Environment != nil { - in, out := &in.Environment, &out.Environment - *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.Image != nil { - in, out := &in.Image, &out.Image + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.ImageConfig != nil { - in, out := &in.ImageConfig, &out.ImageConfig - *out = make([]PrimaryContainerImageConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.ModelDataURL != nil { - in, out := &in.ModelDataURL, &out.ModelDataURL + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryContainerParameters. -func (in *PrimaryContainerParameters) DeepCopy() *PrimaryContainerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecParameters. +func (in *ResourceSpecParameters) DeepCopy() *ResourceSpecParameters { if in == nil { return nil } - out := new(PrimaryContainerParameters) + out := new(ResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProductionVariantsInitParameters) DeepCopyInto(out *ProductionVariantsInitParameters) { +func (in *RetentionPolicyInitParameters) DeepCopyInto(out *RetentionPolicyInitParameters) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType + if in.HomeEFSFileSystem != nil { + in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem *out = new(string) **out = **in } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds - *out = new(float64) - **out = **in - } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]CoreDumpConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyInitParameters. +func (in *RetentionPolicyInitParameters) DeepCopy() *RetentionPolicyInitParameters { + if in == nil { + return nil } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) + out := new(RetentionPolicyInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { + *out = *in + if in.HomeEFSFileSystem != nil { + in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem + *out = new(string) **out = **in } - if in.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. +func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { + if in == nil { + return nil } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) + out := new(RetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { + *out = *in + if in.HomeEFSFileSystem != nil { + in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem + *out = new(string) **out = **in } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. +func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { + if in == nil { + return nil + } + out := new(RetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollbackMaximumBatchSizeInitParameters) DeepCopyInto(out *RollbackMaximumBatchSizeInitParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ServerlessConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackMaximumBatchSizeInitParameters. +func (in *RollbackMaximumBatchSizeInitParameters) DeepCopy() *RollbackMaximumBatchSizeInitParameters { + if in == nil { + return nil } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName + out := new(RollbackMaximumBatchSizeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollbackMaximumBatchSizeObservation) DeepCopyInto(out *RollbackMaximumBatchSizeObservation) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsInitParameters. -func (in *ProductionVariantsInitParameters) DeepCopy() *ProductionVariantsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackMaximumBatchSizeObservation. +func (in *RollbackMaximumBatchSizeObservation) DeepCopy() *RollbackMaximumBatchSizeObservation { if in == nil { return nil } - out := new(ProductionVariantsInitParameters) + out := new(RollbackMaximumBatchSizeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProductionVariantsObservation) DeepCopyInto(out *ProductionVariantsObservation) { +func (in *RollbackMaximumBatchSizeParameters) DeepCopyInto(out *RollbackMaximumBatchSizeParameters) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]CoreDumpConfigObservation, len(*in)) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackMaximumBatchSizeParameters. +func (in *RollbackMaximumBatchSizeParameters) DeepCopy() *RollbackMaximumBatchSizeParameters { + if in == nil { + return nil + } + out := new(RollbackMaximumBatchSizeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpdatePolicyInitParameters) DeepCopyInto(out *RollingUpdatePolicyInitParameters) { + *out = *in + if in.MaximumBatchSize != nil { + in, out := &in.MaximumBatchSize, &out.MaximumBatchSize + *out = make([]MaximumBatchSizeInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) - **out = **in - } - if in.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount - *out = new(float64) - **out = **in - } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) - **out = **in - } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + if in.MaximumExecutionTimeoutInSeconds != nil { + in, out := &in.MaximumExecutionTimeoutInSeconds, &out.MaximumExecutionTimeoutInSeconds *out = new(float64) **out = **in } - if in.ModelName != nil { - in, out := &in.ModelName, &out.ModelName - *out = new(string) - **out = **in - } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ServerlessConfigObservation, len(*in)) + if in.RollbackMaximumBatchSize != nil { + in, out := &in.RollbackMaximumBatchSize, &out.RollbackMaximumBatchSize + *out = make([]RollbackMaximumBatchSizeInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName - *out = new(string) - **out = **in - } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsObservation. -func (in *ProductionVariantsObservation) DeepCopy() *ProductionVariantsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdatePolicyInitParameters. +func (in *RollingUpdatePolicyInitParameters) DeepCopy() *RollingUpdatePolicyInitParameters { if in == nil { return nil } - out := new(ProductionVariantsObservation) + out := new(RollingUpdatePolicyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProductionVariantsParameters) DeepCopyInto(out *ProductionVariantsParameters) { +func (in *RollingUpdatePolicyObservation) DeepCopyInto(out *RollingUpdatePolicyObservation) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType - *out = new(string) - **out = **in + if in.MaximumBatchSize != nil { + in, out := &in.MaximumBatchSize, &out.MaximumBatchSize + *out = make([]MaximumBatchSizeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + if in.MaximumExecutionTimeoutInSeconds != nil { + in, out := &in.MaximumExecutionTimeoutInSeconds, &out.MaximumExecutionTimeoutInSeconds *out = new(float64) **out = **in } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]CoreDumpConfigParameters, len(*in)) + if in.RollbackMaximumBatchSize != nil { + in, out := &in.RollbackMaximumBatchSize, &out.RollbackMaximumBatchSize + *out = make([]RollbackMaximumBatchSizeObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) - **out = **in - } - if in.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds *out = new(float64) **out = **in } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdatePolicyObservation. +func (in *RollingUpdatePolicyObservation) DeepCopy() *RollingUpdatePolicyObservation { + if in == nil { + return nil } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in + out := new(RollingUpdatePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpdatePolicyParameters) DeepCopyInto(out *RollingUpdatePolicyParameters) { + *out = *in + if in.MaximumBatchSize != nil { + in, out := &in.MaximumBatchSize, &out.MaximumBatchSize + *out = make([]MaximumBatchSizeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + if in.MaximumExecutionTimeoutInSeconds != nil { + in, out := &in.MaximumExecutionTimeoutInSeconds, &out.MaximumExecutionTimeoutInSeconds *out = new(float64) **out = **in } - if in.ModelName != nil { - in, out := &in.ModelName, &out.ModelName - *out = new(string) - **out = **in - } - if in.ModelNameRef != nil { - in, out := &in.ModelNameRef, &out.ModelNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ModelNameSelector != nil { - in, out := &in.ModelNameSelector, &out.ModelNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ServerlessConfigParameters, len(*in)) + if in.RollbackMaximumBatchSize != nil { + in, out := &in.RollbackMaximumBatchSize, &out.RollbackMaximumBatchSize + *out = make([]RollbackMaximumBatchSizeParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName - *out = new(string) - **out = **in - } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionVariantsParameters. -func (in *ProductionVariantsParameters) DeepCopy() *ProductionVariantsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdatePolicyParameters. +func (in *RollingUpdatePolicyParameters) DeepCopy() *RollingUpdatePolicyParameters { if in == nil { return nil } - out := new(ProductionVariantsParameters) + out := new(RollingUpdatePolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsCustomImageInitParameters) DeepCopyInto(out *RSessionAppSettingsCustomImageInitParameters) { +func (in *S3DataSourceInitParameters) DeepCopyInto(out *S3DataSourceInitParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType *out = new(string) **out = **in } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageInitParameters. -func (in *RSessionAppSettingsCustomImageInitParameters) DeepCopy() *RSessionAppSettingsCustomImageInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3DataSourceInitParameters. +func (in *S3DataSourceInitParameters) DeepCopy() *S3DataSourceInitParameters { if in == nil { return nil } - out := new(RSessionAppSettingsCustomImageInitParameters) + out := new(S3DataSourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsCustomImageObservation) DeepCopyInto(out *RSessionAppSettingsCustomImageObservation) { +func (in *S3DataSourceObservation) DeepCopyInto(out *S3DataSourceObservation) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType *out = new(string) **out = **in } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageObservation. -func (in *RSessionAppSettingsCustomImageObservation) DeepCopy() *RSessionAppSettingsCustomImageObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3DataSourceObservation. +func (in *S3DataSourceObservation) DeepCopy() *S3DataSourceObservation { if in == nil { return nil } - out := new(RSessionAppSettingsCustomImageObservation) + out := new(S3DataSourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsCustomImageParameters) DeepCopyInto(out *RSessionAppSettingsCustomImageParameters) { +func (in *S3DataSourceParameters) DeepCopyInto(out *S3DataSourceParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName + if in.CompressionType != nil { + in, out := &in.CompressionType, &out.CompressionType *out = new(string) **out = **in } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.S3DataType != nil { + in, out := &in.S3DataType, &out.S3DataType *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber - *out = new(float64) + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsCustomImageParameters. -func (in *RSessionAppSettingsCustomImageParameters) DeepCopy() *RSessionAppSettingsCustomImageParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3DataSourceParameters. +func (in *S3DataSourceParameters) DeepCopy() *S3DataSourceParameters { if in == nil { return nil } - out := new(RSessionAppSettingsCustomImageParameters) + out := new(S3DataSourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecInitParameters) { +func (in *S3StorageConfigInitParameters) DeepCopyInto(out *S3StorageConfigInitParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ResolvedOutputS3URI != nil { + in, out := &in.ResolvedOutputS3URI, &out.ResolvedOutputS3URI *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecInitParameters. -func (in *RSessionAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *RSessionAppSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigInitParameters. +func (in *S3StorageConfigInitParameters) DeepCopy() *S3StorageConfigInitParameters { if in == nil { return nil } - out := new(RSessionAppSettingsDefaultResourceSpecInitParameters) + out := new(S3StorageConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecObservation) { +func (in *S3StorageConfigObservation) DeepCopyInto(out *S3StorageConfigObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ResolvedOutputS3URI != nil { + in, out := &in.ResolvedOutputS3URI, &out.ResolvedOutputS3URI *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecObservation. -func (in *RSessionAppSettingsDefaultResourceSpecObservation) DeepCopy() *RSessionAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigObservation. +func (in *S3StorageConfigObservation) DeepCopy() *S3StorageConfigObservation { if in == nil { return nil } - out := new(RSessionAppSettingsDefaultResourceSpecObservation) + out := new(S3StorageConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *RSessionAppSettingsDefaultResourceSpecParameters) { +func (in *S3StorageConfigParameters) DeepCopyInto(out *S3StorageConfigParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ResolvedOutputS3URI != nil { + in, out := &in.ResolvedOutputS3URI, &out.ResolvedOutputS3URI *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.S3URI != nil { + in, out := &in.S3URI, &out.S3URI *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsDefaultResourceSpecParameters. -func (in *RSessionAppSettingsDefaultResourceSpecParameters) DeepCopy() *RSessionAppSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigParameters. +func (in *S3StorageConfigParameters) DeepCopy() *S3StorageConfigParameters { if in == nil { return nil } - out := new(RSessionAppSettingsDefaultResourceSpecParameters) + out := new(S3StorageConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsInitParameters) DeepCopyInto(out *RSessionAppSettingsInitParameters) { +func (in *SecurityConfigInitParameters) DeepCopyInto(out *SecurityConfigInitParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]RSessionAppSettingsCustomImageInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RSessionAppSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsInitParameters. -func (in *RSessionAppSettingsInitParameters) DeepCopy() *RSessionAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigInitParameters. +func (in *SecurityConfigInitParameters) DeepCopy() *SecurityConfigInitParameters { if in == nil { return nil } - out := new(RSessionAppSettingsInitParameters) + out := new(SecurityConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsObservation) DeepCopyInto(out *RSessionAppSettingsObservation) { +func (in *SecurityConfigObservation) DeepCopyInto(out *SecurityConfigObservation) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]RSessionAppSettingsCustomImageObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RSessionAppSettingsDefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsObservation. -func (in *RSessionAppSettingsObservation) DeepCopy() *RSessionAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigObservation. +func (in *SecurityConfigObservation) DeepCopy() *SecurityConfigObservation { if in == nil { return nil } - out := new(RSessionAppSettingsObservation) + out := new(SecurityConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RSessionAppSettingsParameters) DeepCopyInto(out *RSessionAppSettingsParameters) { +func (in *SecurityConfigParameters) DeepCopyInto(out *SecurityConfigParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]RSessionAppSettingsCustomImageParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RSessionAppSettingsDefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RSessionAppSettingsParameters. -func (in *RSessionAppSettingsParameters) DeepCopy() *RSessionAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigParameters. +func (in *SecurityConfigParameters) DeepCopy() *SecurityConfigParameters { if in == nil { return nil } - out := new(RSessionAppSettingsParameters) + out := new(SecurityConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProAppSettingsInitParameters) DeepCopyInto(out *RStudioServerProAppSettingsInitParameters) { +func (in *ServerlessConfigInitParameters) DeepCopyInto(out *ServerlessConfigInitParameters) { *out = *in - if in.AccessStatus != nil { - in, out := &in.AccessStatus, &out.AccessStatus - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } - if in.UserGroup != nil { - in, out := &in.UserGroup, &out.UserGroup - *out = new(string) + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in + } + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsInitParameters. -func (in *RStudioServerProAppSettingsInitParameters) DeepCopy() *RStudioServerProAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigInitParameters. +func (in *ServerlessConfigInitParameters) DeepCopy() *ServerlessConfigInitParameters { if in == nil { return nil } - out := new(RStudioServerProAppSettingsInitParameters) + out := new(ServerlessConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProAppSettingsObservation) DeepCopyInto(out *RStudioServerProAppSettingsObservation) { +func (in *ServerlessConfigObservation) DeepCopyInto(out *ServerlessConfigObservation) { *out = *in - if in.AccessStatus != nil { - in, out := &in.AccessStatus, &out.AccessStatus - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } - if in.UserGroup != nil { - in, out := &in.UserGroup, &out.UserGroup - *out = new(string) + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in + } + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsObservation. -func (in *RStudioServerProAppSettingsObservation) DeepCopy() *RStudioServerProAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigObservation. +func (in *ServerlessConfigObservation) DeepCopy() *ServerlessConfigObservation { if in == nil { return nil } - out := new(RStudioServerProAppSettingsObservation) + out := new(ServerlessConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProAppSettingsParameters) DeepCopyInto(out *RStudioServerProAppSettingsParameters) { +func (in *ServerlessConfigParameters) DeepCopyInto(out *ServerlessConfigParameters) { *out = *in - if in.AccessStatus != nil { - in, out := &in.AccessStatus, &out.AccessStatus - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } - if in.UserGroup != nil { - in, out := &in.UserGroup, &out.UserGroup - *out = new(string) + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in + } + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProAppSettingsParameters. -func (in *RStudioServerProAppSettingsParameters) DeepCopy() *RStudioServerProAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigParameters. +func (in *ServerlessConfigParameters) DeepCopy() *ServerlessConfigParameters { if in == nil { return nil } - out := new(RStudioServerProAppSettingsParameters) + out := new(ServerlessConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) { +func (in *ServicecatalogPortfolioStatus) DeepCopyInto(out *ServicecatalogPortfolioStatus) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *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 ServicecatalogPortfolioStatus. +func (in *ServicecatalogPortfolioStatus) DeepCopy() *ServicecatalogPortfolioStatus { + if in == nil { + return nil } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn - *out = new(string) - **out = **in + out := new(ServicecatalogPortfolioStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicecatalogPortfolioStatus) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicecatalogPortfolioStatusInitParameters) DeepCopyInto(out *ServicecatalogPortfolioStatusInitParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecInitParameters. -func (in *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusInitParameters. +func (in *ServicecatalogPortfolioStatusInitParameters) DeepCopy() *ServicecatalogPortfolioStatusInitParameters { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsDefaultResourceSpecInitParameters) + out := new(ServicecatalogPortfolioStatusInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProDomainSettingsDefaultResourceSpecObservation) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecObservation) { +func (in *ServicecatalogPortfolioStatusList) DeepCopyInto(out *ServicecatalogPortfolioStatusList) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in - } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn - *out = new(string) - **out = **in - } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *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([]ServicecatalogPortfolioStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecObservation. -func (in *RStudioServerProDomainSettingsDefaultResourceSpecObservation) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusList. +func (in *ServicecatalogPortfolioStatusList) DeepCopy() *ServicecatalogPortfolioStatusList { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsDefaultResourceSpecObservation) + out := new(ServicecatalogPortfolioStatusList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicecatalogPortfolioStatusList) 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 *RStudioServerProDomainSettingsDefaultResourceSpecParameters) DeepCopyInto(out *RStudioServerProDomainSettingsDefaultResourceSpecParameters) { +func (in *ServicecatalogPortfolioStatusObservation) DeepCopyInto(out *ServicecatalogPortfolioStatusObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) - **out = **in - } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsDefaultResourceSpecParameters. -func (in *RStudioServerProDomainSettingsDefaultResourceSpecParameters) DeepCopy() *RStudioServerProDomainSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusObservation. +func (in *ServicecatalogPortfolioStatusObservation) DeepCopy() *ServicecatalogPortfolioStatusObservation { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsDefaultResourceSpecParameters) + out := new(ServicecatalogPortfolioStatusObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProDomainSettingsInitParameters) DeepCopyInto(out *RStudioServerProDomainSettingsInitParameters) { +func (in *ServicecatalogPortfolioStatusParameters) DeepCopyInto(out *ServicecatalogPortfolioStatusParameters) { *out = *in - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DomainExecutionRoleArn != nil { - in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn - *out = new(string) - **out = **in - } - if in.RStudioConnectURL != nil { - in, out := &in.RStudioConnectURL, &out.RStudioConnectURL + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.RStudioPackageManagerURL != nil { - in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsInitParameters. -func (in *RStudioServerProDomainSettingsInitParameters) DeepCopy() *RStudioServerProDomainSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusParameters. +func (in *ServicecatalogPortfolioStatusParameters) DeepCopy() *ServicecatalogPortfolioStatusParameters { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsInitParameters) + out := new(ServicecatalogPortfolioStatusParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProDomainSettingsObservation) DeepCopyInto(out *RStudioServerProDomainSettingsObservation) { +func (in *ServicecatalogPortfolioStatusSpec) DeepCopyInto(out *ServicecatalogPortfolioStatusSpec) { *out = *in - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DomainExecutionRoleArn != nil { - in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn - *out = new(string) - **out = **in - } - if in.RStudioConnectURL != nil { - in, out := &in.RStudioConnectURL, &out.RStudioConnectURL - *out = new(string) - **out = **in - } - if in.RStudioPackageManagerURL != nil { - in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL - *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 RStudioServerProDomainSettingsObservation. -func (in *RStudioServerProDomainSettingsObservation) DeepCopy() *RStudioServerProDomainSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusSpec. +func (in *ServicecatalogPortfolioStatusSpec) DeepCopy() *ServicecatalogPortfolioStatusSpec { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsObservation) + out := new(ServicecatalogPortfolioStatusSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RStudioServerProDomainSettingsParameters) DeepCopyInto(out *RStudioServerProDomainSettingsParameters) { +func (in *ServicecatalogPortfolioStatusStatus) DeepCopyInto(out *ServicecatalogPortfolioStatusStatus) { *out = *in - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]RStudioServerProDomainSettingsDefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DomainExecutionRoleArn != nil { - in, out := &in.DomainExecutionRoleArn, &out.DomainExecutionRoleArn - *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 ServicecatalogPortfolioStatusStatus. +func (in *ServicecatalogPortfolioStatusStatus) DeepCopy() *ServicecatalogPortfolioStatusStatus { + if in == nil { + return nil } - if in.RStudioConnectURL != nil { - in, out := &in.RStudioConnectURL, &out.RStudioConnectURL + out := new(ServicecatalogPortfolioStatusStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShadowProductionVariantsCoreDumpConfigInitParameters) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigInitParameters) { + *out = *in + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI *out = new(string) **out = **in } - if in.RStudioPackageManagerURL != nil { - in, out := &in.RStudioPackageManagerURL, &out.RStudioPackageManagerURL + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RStudioServerProDomainSettingsParameters. -func (in *RStudioServerProDomainSettingsParameters) DeepCopy() *RStudioServerProDomainSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigInitParameters. +func (in *ShadowProductionVariantsCoreDumpConfigInitParameters) DeepCopy() *ShadowProductionVariantsCoreDumpConfigInitParameters { if in == nil { return nil } - out := new(RStudioServerProDomainSettingsParameters) + out := new(ShadowProductionVariantsCoreDumpConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RepositoryAuthConfigInitParameters) DeepCopyInto(out *RepositoryAuthConfigInitParameters) { +func (in *ShadowProductionVariantsCoreDumpConfigObservation) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigObservation) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI + *out = new(string) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigInitParameters. -func (in *RepositoryAuthConfigInitParameters) DeepCopy() *RepositoryAuthConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigObservation. +func (in *ShadowProductionVariantsCoreDumpConfigObservation) DeepCopy() *ShadowProductionVariantsCoreDumpConfigObservation { if in == nil { return nil } - out := new(RepositoryAuthConfigInitParameters) + out := new(ShadowProductionVariantsCoreDumpConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RepositoryAuthConfigObservation) DeepCopyInto(out *RepositoryAuthConfigObservation) { +func (in *ShadowProductionVariantsCoreDumpConfigParameters) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigParameters) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn + if in.DestinationS3URI != nil { + in, out := &in.DestinationS3URI, &out.DestinationS3URI + *out = new(string) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigObservation. -func (in *RepositoryAuthConfigObservation) DeepCopy() *RepositoryAuthConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigParameters. +func (in *ShadowProductionVariantsCoreDumpConfigParameters) DeepCopy() *ShadowProductionVariantsCoreDumpConfigParameters { if in == nil { return nil } - out := new(RepositoryAuthConfigObservation) + out := new(ShadowProductionVariantsCoreDumpConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RepositoryAuthConfigParameters) DeepCopyInto(out *RepositoryAuthConfigParameters) { +func (in *ShadowProductionVariantsInitParameters) DeepCopyInto(out *ShadowProductionVariantsInitParameters) { *out = *in - if in.RepositoryCredentialsProviderArn != nil { - in, out := &in.RepositoryCredentialsProviderArn, &out.RepositoryCredentialsProviderArn + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType + *out = new(string) + **out = **in + } + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]ShadowProductionVariantsCoreDumpConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess + *out = new(bool) + **out = **in + } + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName + *out = new(string) + **out = **in + } + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ShadowProductionVariantsServerlessConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuthConfigParameters. -func (in *RepositoryAuthConfigParameters) DeepCopy() *RepositoryAuthConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsInitParameters. +func (in *ShadowProductionVariantsInitParameters) DeepCopy() *ShadowProductionVariantsInitParameters { if in == nil { return nil } - out := new(RepositoryAuthConfigParameters) + out := new(ShadowProductionVariantsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceSpecInitParameters) DeepCopyInto(out *ResourceSpecInitParameters) { +func (in *ShadowProductionVariantsObservation) DeepCopyInto(out *ShadowProductionVariantsObservation) { *out = *in + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType + *out = new(string) + **out = **in + } + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]ShadowProductionVariantsCoreDumpConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess + *out = new(bool) + **out = **in + } + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) + **out = **in + } + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in + } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) + **out = **in + } + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ShadowProductionVariantsServerlessConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *out = new(string) + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecInitParameters. -func (in *ResourceSpecInitParameters) DeepCopy() *ResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsObservation. +func (in *ShadowProductionVariantsObservation) DeepCopy() *ShadowProductionVariantsObservation { if in == nil { return nil } - out := new(ResourceSpecInitParameters) + out := new(ShadowProductionVariantsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceSpecObservation) DeepCopyInto(out *ResourceSpecObservation) { +func (in *ShadowProductionVariantsParameters) DeepCopyInto(out *ShadowProductionVariantsParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.AcceleratorType != nil { + in, out := &in.AcceleratorType, &out.AcceleratorType *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) + if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { + in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds + *out = new(float64) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn - *out = new(string) + if in.CoreDumpConfig != nil { + in, out := &in.CoreDumpConfig, &out.CoreDumpConfig + *out = make([]ShadowProductionVariantsCoreDumpConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableSsmAccess != nil { + in, out := &in.EnableSsmAccess, &out.EnableSsmAccess + *out = new(bool) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *out = new(string) + if in.InitialInstanceCount != nil { + in, out := &in.InitialInstanceCount, &out.InitialInstanceCount + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecObservation. -func (in *ResourceSpecObservation) DeepCopy() *ResourceSpecObservation { - if in == nil { - return nil + if in.InitialVariantWeight != nil { + in, out := &in.InitialVariantWeight, &out.InitialVariantWeight + *out = new(float64) + **out = **in } - out := new(ResourceSpecObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceSpecParameters) DeepCopyInto(out *ResourceSpecParameters) { - *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn - *out = new(string) + if in.ModelDataDownloadTimeoutInSeconds != nil { + in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds + *out = new(float64) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.ModelName != nil { + in, out := &in.ModelName, &out.ModelName *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.ServerlessConfig != nil { + in, out := &in.ServerlessConfig, &out.ServerlessConfig + *out = make([]ShadowProductionVariantsServerlessConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VariantName != nil { + in, out := &in.VariantName, &out.VariantName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecParameters. -func (in *ResourceSpecParameters) DeepCopy() *ResourceSpecParameters { - if in == nil { - return nil - } - out := new(ResourceSpecParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RetentionPolicyInitParameters) DeepCopyInto(out *RetentionPolicyInitParameters) { - *out = *in - if in.HomeEFSFileSystem != nil { - in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem - *out = new(string) + if in.VolumeSizeInGb != nil { + in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyInitParameters. -func (in *RetentionPolicyInitParameters) DeepCopy() *RetentionPolicyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsParameters. +func (in *ShadowProductionVariantsParameters) DeepCopy() *ShadowProductionVariantsParameters { if in == nil { return nil } - out := new(RetentionPolicyInitParameters) + out := new(ShadowProductionVariantsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { +func (in *ShadowProductionVariantsServerlessConfigInitParameters) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigInitParameters) { *out = *in - if in.HomeEFSFileSystem != nil { - in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. -func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { - if in == nil { - return nil + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in } - out := new(RetentionPolicyObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { - *out = *in - if in.HomeEFSFileSystem != nil { - in, out := &in.HomeEFSFileSystem, &out.HomeEFSFileSystem - *out = new(string) + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. -func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigInitParameters. +func (in *ShadowProductionVariantsServerlessConfigInitParameters) DeepCopy() *ShadowProductionVariantsServerlessConfigInitParameters { if in == nil { return nil } - out := new(RetentionPolicyParameters) + out := new(ShadowProductionVariantsServerlessConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *S3StorageConfigInitParameters) DeepCopyInto(out *S3StorageConfigInitParameters) { +func (in *ShadowProductionVariantsServerlessConfigObservation) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigObservation) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } - if in.S3URI != nil { - in, out := &in.S3URI, &out.S3URI - *out = new(string) + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in + } + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigInitParameters. -func (in *S3StorageConfigInitParameters) DeepCopy() *S3StorageConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigObservation. +func (in *ShadowProductionVariantsServerlessConfigObservation) DeepCopy() *ShadowProductionVariantsServerlessConfigObservation { if in == nil { return nil } - out := new(S3StorageConfigInitParameters) + out := new(ShadowProductionVariantsServerlessConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *S3StorageConfigObservation) DeepCopyInto(out *S3StorageConfigObservation) { +func (in *ShadowProductionVariantsServerlessConfigParameters) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigParameters) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) + if in.MaxConcurrency != nil { + in, out := &in.MaxConcurrency, &out.MaxConcurrency + *out = new(float64) **out = **in } - if in.S3URI != nil { - in, out := &in.S3URI, &out.S3URI - *out = new(string) + if in.MemorySizeInMb != nil { + in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + *out = new(float64) + **out = **in + } + if in.ProvisionedConcurrency != nil { + in, out := &in.ProvisionedConcurrency, &out.ProvisionedConcurrency + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigObservation. -func (in *S3StorageConfigObservation) DeepCopy() *S3StorageConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigParameters. +func (in *ShadowProductionVariantsServerlessConfigParameters) DeepCopy() *ShadowProductionVariantsServerlessConfigParameters { if in == nil { return nil } - out := new(S3StorageConfigObservation) + out := new(ShadowProductionVariantsServerlessConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *S3StorageConfigParameters) DeepCopyInto(out *S3StorageConfigParameters) { +func (in *SharingSettingsInitParameters) DeepCopyInto(out *SharingSettingsInitParameters) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.NotebookOutputOption != nil { + in, out := &in.NotebookOutputOption, &out.NotebookOutputOption *out = new(string) **out = **in } - if in.S3URI != nil { - in, out := &in.S3URI, &out.S3URI + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfigParameters. -func (in *S3StorageConfigParameters) DeepCopy() *S3StorageConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsInitParameters. +func (in *SharingSettingsInitParameters) DeepCopy() *SharingSettingsInitParameters { if in == nil { return nil } - out := new(S3StorageConfigParameters) + out := new(SharingSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityConfigInitParameters) DeepCopyInto(out *SecurityConfigInitParameters) { +func (in *SharingSettingsObservation) DeepCopyInto(out *SharingSettingsObservation) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.NotebookOutputOption != nil { + in, out := &in.NotebookOutputOption, &out.NotebookOutputOption *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigInitParameters. -func (in *SecurityConfigInitParameters) DeepCopy() *SecurityConfigInitParameters { - if in == nil { - return nil + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in } - out := new(SecurityConfigInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityConfigObservation) DeepCopyInto(out *SecurityConfigObservation) { - *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigObservation. -func (in *SecurityConfigObservation) DeepCopy() *SecurityConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsObservation. +func (in *SharingSettingsObservation) DeepCopy() *SharingSettingsObservation { if in == nil { return nil } - out := new(SecurityConfigObservation) + out := new(SharingSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityConfigParameters) DeepCopyInto(out *SecurityConfigParameters) { +func (in *SharingSettingsParameters) DeepCopyInto(out *SharingSettingsParameters) { *out = *in - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.NotebookOutputOption != nil { + in, out := &in.NotebookOutputOption, &out.NotebookOutputOption + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in + } + if in.S3OutputPath != nil { + in, out := &in.S3OutputPath, &out.S3OutputPath *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfigParameters. -func (in *SecurityConfigParameters) DeepCopy() *SecurityConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsParameters. +func (in *SharingSettingsParameters) DeepCopy() *SharingSettingsParameters { if in == nil { return nil } - out := new(SecurityConfigParameters) + out := new(SharingSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerlessConfigInitParameters) DeepCopyInto(out *ServerlessConfigInitParameters) { +func (in *SourceIPConfigInitParameters) DeepCopyInto(out *SourceIPConfigInitParameters) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) - **out = **in - } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb - *out = new(float64) - **out = **in + if in.Cidrs != nil { + in, out := &in.Cidrs, &out.Cidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigInitParameters. -func (in *ServerlessConfigInitParameters) DeepCopy() *ServerlessConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigInitParameters. +func (in *SourceIPConfigInitParameters) DeepCopy() *SourceIPConfigInitParameters { if in == nil { return nil } - out := new(ServerlessConfigInitParameters) + out := new(SourceIPConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerlessConfigObservation) DeepCopyInto(out *ServerlessConfigObservation) { +func (in *SourceIPConfigObservation) DeepCopyInto(out *SourceIPConfigObservation) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) - **out = **in - } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb - *out = new(float64) - **out = **in + if in.Cidrs != nil { + in, out := &in.Cidrs, &out.Cidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigObservation. -func (in *ServerlessConfigObservation) DeepCopy() *ServerlessConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigObservation. +func (in *SourceIPConfigObservation) DeepCopy() *SourceIPConfigObservation { if in == nil { return nil } - out := new(ServerlessConfigObservation) + out := new(SourceIPConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerlessConfigParameters) DeepCopyInto(out *ServerlessConfigParameters) { +func (in *SourceIPConfigParameters) DeepCopyInto(out *SourceIPConfigParameters) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) - **out = **in - } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb - *out = new(float64) - **out = **in + if in.Cidrs != nil { + in, out := &in.Cidrs, &out.Cidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessConfigParameters. -func (in *ServerlessConfigParameters) DeepCopy() *ServerlessConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigParameters. +func (in *SourceIPConfigParameters) DeepCopy() *SourceIPConfigParameters { if in == nil { return nil } - out := new(ServerlessConfigParameters) + out := new(SourceIPConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatus) DeepCopyInto(out *ServicecatalogPortfolioStatus) { +func (in *Space) DeepCopyInto(out *Space) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -11242,18 +15210,18 @@ func (in *ServicecatalogPortfolioStatus) DeepCopyInto(out *ServicecatalogPortfol in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatus. -func (in *ServicecatalogPortfolioStatus) DeepCopy() *ServicecatalogPortfolioStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Space. +func (in *Space) DeepCopy() *Space { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatus) + out := new(Space) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ServicecatalogPortfolioStatus) DeepCopyObject() runtime.Object { +func (in *Space) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -11261,51 +15229,94 @@ func (in *ServicecatalogPortfolioStatus) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusInitParameters) DeepCopyInto(out *ServicecatalogPortfolioStatusInitParameters) { +func (in *SpaceInitParameters) DeepCopyInto(out *SpaceInitParameters) { *out = *in - if in.Status != nil { - in, out := &in.Status, &out.Status + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.DomainIDRef != nil { + in, out := &in.DomainIDRef, &out.DomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainIDSelector != nil { + in, out := &in.DomainIDSelector, &out.DomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SpaceDisplayName != nil { + in, out := &in.SpaceDisplayName, &out.SpaceDisplayName + *out = new(string) + **out = **in + } + if in.SpaceName != nil { + in, out := &in.SpaceName, &out.SpaceName *out = new(string) **out = **in } + if in.SpaceSettings != nil { + in, out := &in.SpaceSettings, &out.SpaceSettings + *out = make([]SpaceSettingsInitParameters, 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 ServicecatalogPortfolioStatusInitParameters. -func (in *ServicecatalogPortfolioStatusInitParameters) DeepCopy() *ServicecatalogPortfolioStatusInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceInitParameters. +func (in *SpaceInitParameters) DeepCopy() *SpaceInitParameters { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatusInitParameters) + out := new(SpaceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusList) DeepCopyInto(out *ServicecatalogPortfolioStatusList) { +func (in *SpaceList) DeepCopyInto(out *SpaceList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]ServicecatalogPortfolioStatus, len(*in)) + *out = make([]Space, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusList. -func (in *ServicecatalogPortfolioStatusList) DeepCopy() *ServicecatalogPortfolioStatusList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceList. +func (in *SpaceList) DeepCopy() *SpaceList { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatusList) + out := new(SpaceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ServicecatalogPortfolioStatusList) DeepCopyObject() runtime.Object { +func (in *SpaceList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -11313,572 +15324,720 @@ func (in *ServicecatalogPortfolioStatusList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusObservation) DeepCopyInto(out *ServicecatalogPortfolioStatusObservation) { +func (in *SpaceObservation) DeepCopyInto(out *SpaceObservation) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.HomeEFSFileSystemUID != nil { + in, out := &in.HomeEFSFileSystemUID, &out.HomeEFSFileSystemUID + *out = new(string) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Status != nil { - in, out := &in.Status, &out.Status + if in.SpaceDisplayName != nil { + in, out := &in.SpaceDisplayName, &out.SpaceDisplayName + *out = new(string) + **out = **in + } + if in.SpaceName != nil { + in, out := &in.SpaceName, &out.SpaceName + *out = new(string) + **out = **in + } + if in.SpaceSettings != nil { + in, out := &in.SpaceSettings, &out.SpaceSettings + *out = make([]SpaceSettingsObservation, 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.URL != nil { + in, out := &in.URL, &out.URL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusObservation. -func (in *ServicecatalogPortfolioStatusObservation) DeepCopy() *ServicecatalogPortfolioStatusObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceObservation. +func (in *SpaceObservation) DeepCopy() *SpaceObservation { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatusObservation) + out := new(SpaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusParameters) DeepCopyInto(out *ServicecatalogPortfolioStatusParameters) { +func (in *SpaceParameters) DeepCopyInto(out *SpaceParameters) { *out = *in + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.DomainIDRef != nil { + in, out := &in.DomainIDRef, &out.DomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainIDSelector != nil { + in, out := &in.DomainIDSelector, &out.DomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Status != nil { - in, out := &in.Status, &out.Status + if in.SpaceDisplayName != nil { + in, out := &in.SpaceDisplayName, &out.SpaceDisplayName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusParameters. -func (in *ServicecatalogPortfolioStatusParameters) DeepCopy() *ServicecatalogPortfolioStatusParameters { - if in == nil { - return nil + if in.SpaceName != nil { + in, out := &in.SpaceName, &out.SpaceName + *out = new(string) + **out = **in + } + if in.SpaceSettings != nil { + in, out := &in.SpaceSettings, &out.SpaceSettings + *out = make([]SpaceSettingsParameters, 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 + } } - out := new(ServicecatalogPortfolioStatusParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusSpec) DeepCopyInto(out *ServicecatalogPortfolioStatusSpec) { - *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 ServicecatalogPortfolioStatusSpec. -func (in *ServicecatalogPortfolioStatusSpec) DeepCopy() *ServicecatalogPortfolioStatusSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceParameters. +func (in *SpaceParameters) DeepCopy() *SpaceParameters { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatusSpec) + out := new(SpaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServicecatalogPortfolioStatusStatus) DeepCopyInto(out *ServicecatalogPortfolioStatusStatus) { +func (in *SpaceSettingsInitParameters) DeepCopyInto(out *SpaceSettingsInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]SpaceSettingsJupyterServerAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]SpaceSettingsKernelGatewayAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicecatalogPortfolioStatusStatus. -func (in *ServicecatalogPortfolioStatusStatus) DeepCopy() *ServicecatalogPortfolioStatusStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsInitParameters. +func (in *SpaceSettingsInitParameters) DeepCopy() *SpaceSettingsInitParameters { if in == nil { return nil } - out := new(ServicecatalogPortfolioStatusStatus) + out := new(SpaceSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsCoreDumpConfigInitParameters) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigInitParameters) { +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigInitParameters. -func (in *ShadowProductionVariantsCoreDumpConfigInitParameters) DeepCopy() *ShadowProductionVariantsCoreDumpConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters. +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsCoreDumpConfigInitParameters) + out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsCoreDumpConfigObservation) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigObservation) { +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigObservation. -func (in *ShadowProductionVariantsCoreDumpConfigObservation) DeepCopy() *ShadowProductionVariantsCoreDumpConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation. +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation { if in == nil { return nil } - out := new(ShadowProductionVariantsCoreDumpConfigObservation) + out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsCoreDumpConfigParameters) DeepCopyInto(out *ShadowProductionVariantsCoreDumpConfigParameters) { +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) { *out = *in - if in.DestinationS3URI != nil { - in, out := &in.DestinationS3URI, &out.DestinationS3URI - *out = new(string) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsCoreDumpConfigParameters. -func (in *ShadowProductionVariantsCoreDumpConfigParameters) DeepCopy() *ShadowProductionVariantsCoreDumpConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters. +func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsCoreDumpConfigParameters) + out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsInitParameters) DeepCopyInto(out *ShadowProductionVariantsInitParameters) { +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType - *out = new(string) - **out = **in - } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds - *out = new(float64) - **out = **in - } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]ShadowProductionVariantsCoreDumpConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) - **out = **in - } - if in.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount - *out = new(float64) - **out = **in - } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) - **out = **in - } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds - *out = new(float64) + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) **out = **in } - if in.ModelName != nil { - in, out := &in.ModelName, &out.ModelName + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ShadowProductionVariantsServerlessConfigInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb - *out = new(float64) + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsInitParameters. -func (in *ShadowProductionVariantsInitParameters) DeepCopy() *ShadowProductionVariantsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters. +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsInitParameters) + out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsObservation) DeepCopyInto(out *ShadowProductionVariantsObservation) { +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds - *out = new(float64) + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) **out = **in } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]ShadowProductionVariantsCoreDumpConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) **out = **in } - if in.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount - *out = new(float64) + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) **out = **in } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) **out = **in } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation. +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation { + if in == nil { + return nil + } + out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) { + *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds - *out = new(float64) + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) **out = **in } - if in.ModelName != nil { - in, out := &in.ModelName, &out.ModelName + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn *out = new(string) **out = **in } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ShadowProductionVariantsServerlessConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias *out = new(string) **out = **in } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb - *out = new(float64) + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsObservation. -func (in *ShadowProductionVariantsObservation) DeepCopy() *ShadowProductionVariantsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters. +func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsObservation) + out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsParameters) DeepCopyInto(out *ShadowProductionVariantsParameters) { +func (in *SpaceSettingsJupyterServerAppSettingsInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsInitParameters) { *out = *in - if in.AcceleratorType != nil { - in, out := &in.AcceleratorType, &out.AcceleratorType - *out = new(string) - **out = **in - } - if in.ContainerStartupHealthCheckTimeoutInSeconds != nil { - in, out := &in.ContainerStartupHealthCheckTimeoutInSeconds, &out.ContainerStartupHealthCheckTimeoutInSeconds - *out = new(float64) - **out = **in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.CoreDumpConfig != nil { - in, out := &in.CoreDumpConfig, &out.CoreDumpConfig - *out = make([]ShadowProductionVariantsCoreDumpConfigParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EnableSsmAccess != nil { - in, out := &in.EnableSsmAccess, &out.EnableSsmAccess - *out = new(bool) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.InitialInstanceCount != nil { - in, out := &in.InitialInstanceCount, &out.InitialInstanceCount - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsInitParameters. +func (in *SpaceSettingsJupyterServerAppSettingsInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsInitParameters { + if in == nil { + return nil } - if in.InitialVariantWeight != nil { - in, out := &in.InitialVariantWeight, &out.InitialVariantWeight - *out = new(float64) - **out = **in + out := new(SpaceSettingsJupyterServerAppSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpaceSettingsJupyterServerAppSettingsObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsObservation) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ModelDataDownloadTimeoutInSeconds != nil { - in, out := &in.ModelDataDownloadTimeoutInSeconds, &out.ModelDataDownloadTimeoutInSeconds - *out = new(float64) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *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.ModelName != nil { - in, out := &in.ModelName, &out.ModelName - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsObservation. +func (in *SpaceSettingsJupyterServerAppSettingsObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsObservation { + if in == nil { + return nil } - if in.ServerlessConfig != nil { - in, out := &in.ServerlessConfig, &out.ServerlessConfig - *out = make([]ShadowProductionVariantsServerlessConfigParameters, len(*in)) + out := new(SpaceSettingsJupyterServerAppSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpaceSettingsJupyterServerAppSettingsParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsParameters) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VariantName != nil { - in, out := &in.VariantName, &out.VariantName - *out = new(string) - **out = **in + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.VolumeSizeInGb != nil { - in, out := &in.VolumeSizeInGb, &out.VolumeSizeInGb - *out = new(float64) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsParameters. -func (in *ShadowProductionVariantsParameters) DeepCopy() *ShadowProductionVariantsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsParameters. +func (in *SpaceSettingsJupyterServerAppSettingsParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsParameters) + out := new(SpaceSettingsJupyterServerAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsServerlessConfigInitParameters) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigInitParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) **out = **in } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigInitParameters. -func (in *ShadowProductionVariantsServerlessConfigInitParameters) DeepCopy() *ShadowProductionVariantsServerlessConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsServerlessConfigInitParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsServerlessConfigObservation) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigObservation) { +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) **out = **in } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigObservation. -func (in *ShadowProductionVariantsServerlessConfigObservation) DeepCopy() *ShadowProductionVariantsServerlessConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageObservation. +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation { if in == nil { return nil } - out := new(ShadowProductionVariantsServerlessConfigObservation) + out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ShadowProductionVariantsServerlessConfigParameters) DeepCopyInto(out *ShadowProductionVariantsServerlessConfigParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) { *out = *in - if in.MaxConcurrency != nil { - in, out := &in.MaxConcurrency, &out.MaxConcurrency - *out = new(float64) + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName + *out = new(string) **out = **in } - if in.MemorySizeInMb != nil { - in, out := &in.MemorySizeInMb, &out.MemorySizeInMb + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShadowProductionVariantsServerlessConfigParameters. -func (in *ShadowProductionVariantsServerlessConfigParameters) DeepCopy() *ShadowProductionVariantsServerlessConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters { if in == nil { return nil } - out := new(ShadowProductionVariantsServerlessConfigParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharingSettingsInitParameters) DeepCopyInto(out *SharingSettingsInitParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) { *out = *in - if in.NotebookOutputOption != nil { - in, out := &in.NotebookOutputOption, &out.NotebookOutputOption + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.S3KMSKeyID != nil { - in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.S3OutputPath != nil { - in, out := &in.S3OutputPath, &out.S3OutputPath + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsInitParameters. -func (in *SharingSettingsInitParameters) DeepCopy() *SharingSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(SharingSettingsInitParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharingSettingsObservation) DeepCopyInto(out *SharingSettingsObservation) { +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) { *out = *in - if in.NotebookOutputOption != nil { - in, out := &in.NotebookOutputOption, &out.NotebookOutputOption + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.S3KMSKeyID != nil { - in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.S3OutputPath != nil { - in, out := &in.S3OutputPath, &out.S3OutputPath + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsObservation. -func (in *SharingSettingsObservation) DeepCopy() *SharingSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation. +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(SharingSettingsObservation) + out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharingSettingsParameters) DeepCopyInto(out *SharingSettingsParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.NotebookOutputOption != nil { - in, out := &in.NotebookOutputOption, &out.NotebookOutputOption + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.S3KMSKeyID != nil { - in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn *out = new(string) **out = **in } - if in.S3OutputPath != nil { - in, out := &in.S3OutputPath, &out.S3OutputPath + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharingSettingsParameters. -func (in *SharingSettingsParameters) DeepCopy() *SharingSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(SharingSettingsParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceIPConfigInitParameters) DeepCopyInto(out *SourceIPConfigInitParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsInitParameters) { *out = *in - if in.Cidrs != nil { - in, out := &in.Cidrs, &out.Cidrs + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -11890,21 +16049,35 @@ func (in *SourceIPConfigInitParameters) DeepCopyInto(out *SourceIPConfigInitPara } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigInitParameters. -func (in *SourceIPConfigInitParameters) DeepCopy() *SourceIPConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsInitParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsInitParameters { if in == nil { return nil } - out := new(SourceIPConfigInitParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceIPConfigObservation) DeepCopyInto(out *SourceIPConfigObservation) { +func (in *SpaceSettingsKernelGatewayAppSettingsObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsObservation) { *out = *in - if in.Cidrs != nil { - in, out := &in.Cidrs, &out.Cidrs + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -11916,21 +16089,35 @@ func (in *SourceIPConfigObservation) DeepCopyInto(out *SourceIPConfigObservation } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigObservation. -func (in *SourceIPConfigObservation) DeepCopy() *SourceIPConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsObservation. +func (in *SpaceSettingsKernelGatewayAppSettingsObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsObservation { if in == nil { return nil } - out := new(SourceIPConfigObservation) + out := new(SpaceSettingsKernelGatewayAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SourceIPConfigParameters) DeepCopyInto(out *SourceIPConfigParameters) { +func (in *SpaceSettingsKernelGatewayAppSettingsParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsParameters) { *out = *in - if in.Cidrs != nil { - in, out := &in.Cidrs, &out.Cidrs + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -11942,666 +16129,575 @@ func (in *SourceIPConfigParameters) DeepCopyInto(out *SourceIPConfigParameters) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceIPConfigParameters. -func (in *SourceIPConfigParameters) DeepCopy() *SourceIPConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsParameters. +func (in *SpaceSettingsKernelGatewayAppSettingsParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsParameters { if in == nil { return nil } - out := new(SourceIPConfigParameters) + out := new(SpaceSettingsKernelGatewayAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Space) DeepCopyInto(out *Space) { +func (in *SpaceSettingsObservation) DeepCopyInto(out *SpaceSettingsObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]SpaceSettingsJupyterServerAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]SpaceSettingsKernelGatewayAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Space. -func (in *Space) DeepCopy() *Space { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsObservation. +func (in *SpaceSettingsObservation) DeepCopy() *SpaceSettingsObservation { if in == nil { return nil } - out := new(Space) + out := new(SpaceSettingsObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Space) 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 *SpaceInitParameters) DeepCopyInto(out *SpaceInitParameters) { +func (in *SpaceSettingsParameters) DeepCopyInto(out *SpaceSettingsParameters) { *out = *in - if in.SpaceName != nil { - in, out := &in.SpaceName, &out.SpaceName - *out = new(string) - **out = **in - } - if in.SpaceSettings != nil { - in, out := &in.SpaceSettings, &out.SpaceSettings - *out = make([]SpaceSettingsInitParameters, len(*in)) + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]SpaceSettingsJupyterServerAppSettingsParameters, 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.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]SpaceSettingsKernelGatewayAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceInitParameters. -func (in *SpaceInitParameters) DeepCopy() *SpaceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsParameters. +func (in *SpaceSettingsParameters) DeepCopy() *SpaceSettingsParameters { if in == nil { return nil } - out := new(SpaceInitParameters) + out := new(SpaceSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceList) DeepCopyInto(out *SpaceList) { +func (in *SpaceSpec) DeepCopyInto(out *SpaceSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Space, 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 SpaceSpec. +func (in *SpaceSpec) DeepCopy() *SpaceSpec { + if in == nil { + return nil } + out := new(SpaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpaceStatus) DeepCopyInto(out *SpaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceList. -func (in *SpaceList) DeepCopy() *SpaceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStatus. +func (in *SpaceStatus) DeepCopy() *SpaceStatus { if in == nil { return nil } - out := new(SpaceList) + out := new(SpaceStatus) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SpaceList) 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 *SpaceObservation) DeepCopyInto(out *SpaceObservation) { +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters) DeepCopyInto(out *SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.DomainID != nil { - in, out := &in.DomainID, &out.DomainID - *out = new(string) + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.HomeEFSFileSystemUID != nil { - in, out := &in.HomeEFSFileSystemUID, &out.HomeEFSFileSystemUID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters. +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters) DeepCopy() *SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + out := new(SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsObservation) DeepCopyInto(out *SpaceStorageSettingsDefaultEBSStorageSettingsObservation) { + *out = *in + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.SpaceName != nil { - in, out := &in.SpaceName, &out.SpaceName - *out = new(string) + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.SpaceSettings != nil { - in, out := &in.SpaceSettings, &out.SpaceSettings - *out = make([]SpaceSettingsObservation, 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 - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceObservation. -func (in *SpaceObservation) DeepCopy() *SpaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsDefaultEBSStorageSettingsObservation. +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsObservation) DeepCopy() *SpaceStorageSettingsDefaultEBSStorageSettingsObservation { if in == nil { return nil } - out := new(SpaceObservation) + out := new(SpaceStorageSettingsDefaultEBSStorageSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceParameters) DeepCopyInto(out *SpaceParameters) { +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsParameters) DeepCopyInto(out *SpaceStorageSettingsDefaultEBSStorageSettingsParameters) { *out = *in - if in.DomainID != nil { - in, out := &in.DomainID, &out.DomainID - *out = new(string) - **out = **in - } - if in.DomainIDRef != nil { - in, out := &in.DomainIDRef, &out.DomainIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DomainIDSelector != nil { - in, out := &in.DomainIDSelector, &out.DomainIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.DefaultEBSVolumeSizeInGb != nil { + in, out := &in.DefaultEBSVolumeSizeInGb, &out.DefaultEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.SpaceName != nil { - in, out := &in.SpaceName, &out.SpaceName - *out = new(string) + if in.MaximumEBSVolumeSizeInGb != nil { + in, out := &in.MaximumEBSVolumeSizeInGb, &out.MaximumEBSVolumeSizeInGb + *out = new(float64) **out = **in } - if in.SpaceSettings != nil { - in, out := &in.SpaceSettings, &out.SpaceSettings - *out = make([]SpaceSettingsParameters, 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 SpaceParameters. -func (in *SpaceParameters) DeepCopy() *SpaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsDefaultEBSStorageSettingsParameters. +func (in *SpaceStorageSettingsDefaultEBSStorageSettingsParameters) DeepCopy() *SpaceStorageSettingsDefaultEBSStorageSettingsParameters { if in == nil { return nil } - out := new(SpaceParameters) + out := new(SpaceStorageSettingsDefaultEBSStorageSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsInitParameters) DeepCopyInto(out *SpaceSettingsInitParameters) { +func (in *SpaceStorageSettingsInitParameters) DeepCopyInto(out *SpaceStorageSettingsInitParameters) { *out = *in - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]SpaceSettingsJupyterServerAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]SpaceSettingsKernelGatewayAppSettingsInitParameters, len(*in)) + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]DefaultEBSStorageSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsInitParameters. -func (in *SpaceSettingsInitParameters) DeepCopy() *SpaceSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsInitParameters. +func (in *SpaceStorageSettingsInitParameters) DeepCopy() *SpaceStorageSettingsInitParameters { if in == nil { return nil } - out := new(SpaceSettingsInitParameters) + out := new(SpaceStorageSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) { +func (in *SpaceStorageSettingsObservation) DeepCopyInto(out *SpaceStorageSettingsObservation) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL - *out = new(string) - **out = **in + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]DefaultEBSStorageSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsObservation. +func (in *SpaceStorageSettingsObservation) DeepCopy() *SpaceStorageSettingsObservation { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters) + out := new(SpaceStorageSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) { +func (in *SpaceStorageSettingsParameters) DeepCopyInto(out *SpaceStorageSettingsParameters) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL - *out = new(string) - **out = **in + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]DefaultEBSStorageSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStorageSettingsParameters. +func (in *SpaceStorageSettingsParameters) DeepCopy() *SpaceStorageSettingsParameters { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation) + out := new(SpaceStorageSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) { +func (in *StudioLifecycleConfig) DeepCopyInto(out *StudioLifecycleConfig) { *out = *in - if in.RepositoryURL != nil { - in, out := &in.RepositoryURL, &out.RepositoryURL - *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 SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters. -func (in *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfig. +func (in *StudioLifecycleConfig) DeepCopy() *StudioLifecycleConfig { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters) + out := new(StudioLifecycleConfig) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StudioLifecycleConfig) 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 *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) { +func (in *StudioLifecycleConfigInitParameters) DeepCopyInto(out *StudioLifecycleConfigInitParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.StudioLifecycleConfigAppType != nil { + in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.StudioLifecycleConfigContent != nil { + in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn - *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.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigInitParameters. +func (in *StudioLifecycleConfigInitParameters) DeepCopy() *StudioLifecycleConfigInitParameters { + if in == nil { + return nil } + out := new(StudioLifecycleConfigInitParameters) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters. -func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StudioLifecycleConfigList) DeepCopyInto(out *StudioLifecycleConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StudioLifecycleConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigList. +func (in *StudioLifecycleConfigList) DeepCopy() *StudioLifecycleConfigList { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) + out := new(StudioLifecycleConfigList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StudioLifecycleConfigList) 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 *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) { +func (in *StudioLifecycleConfigObservation) DeepCopyInto(out *StudioLifecycleConfigObservation) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.StudioLifecycleConfigAppType != nil { + in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.StudioLifecycleConfigContent != nil { + in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent *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 SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation. -func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigObservation. +func (in *StudioLifecycleConfigObservation) DeepCopy() *StudioLifecycleConfigObservation { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) + out := new(StudioLifecycleConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) { +func (in *StudioLifecycleConfigParameters) DeepCopyInto(out *StudioLifecycleConfigParameters) { *out = *in - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.LifecycleConfigArn != nil { - in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.SagemakerImageArn != nil { - in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + if in.StudioLifecycleConfigAppType != nil { + in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType *out = new(string) **out = **in } - if in.SagemakerImageVersionArn != nil { - in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + if in.StudioLifecycleConfigContent != nil { + in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters. -func (in *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters { - if in == nil { - return nil - } - out := new(SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsInitParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsInitParameters) { - *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*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 SpaceSettingsJupyterServerAppSettingsInitParameters. -func (in *SpaceSettingsJupyterServerAppSettingsInitParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigParameters. +func (in *StudioLifecycleConfigParameters) DeepCopy() *StudioLifecycleConfigParameters { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsInitParameters) + out := new(StudioLifecycleConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsObservation) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsObservation) { +func (in *StudioLifecycleConfigSpec) DeepCopyInto(out *StudioLifecycleConfigSpec) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *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 SpaceSettingsJupyterServerAppSettingsObservation. -func (in *SpaceSettingsJupyterServerAppSettingsObservation) DeepCopy() *SpaceSettingsJupyterServerAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigSpec. +func (in *StudioLifecycleConfigSpec) DeepCopy() *StudioLifecycleConfigSpec { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsObservation) + out := new(StudioLifecycleConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsJupyterServerAppSettingsParameters) DeepCopyInto(out *SpaceSettingsJupyterServerAppSettingsParameters) { +func (in *StudioLifecycleConfigStatus) DeepCopyInto(out *StudioLifecycleConfigStatus) { *out = *in - if in.CodeRepository != nil { - in, out := &in.CodeRepository, &out.CodeRepository - *out = make([]SpaceSettingsJupyterServerAppSettingsCodeRepositoryParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultResourceSpec != nil { - in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsJupyterServerAppSettingsDefaultResourceSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *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 SpaceSettingsJupyterServerAppSettingsParameters. -func (in *SpaceSettingsJupyterServerAppSettingsParameters) DeepCopy() *SpaceSettingsJupyterServerAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigStatus. +func (in *StudioLifecycleConfigStatus) DeepCopy() *StudioLifecycleConfigStatus { if in == nil { return nil } - out := new(SpaceSettingsJupyterServerAppSettingsParameters) + out := new(StudioLifecycleConfigStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) { +func (in *TTLDurationInitParameters) DeepCopyInto(out *TTLDurationInitParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.Unit != nil { + in, out := &in.Unit, &out.Unit *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TTLDurationInitParameters. +func (in *TTLDurationInitParameters) DeepCopy() *TTLDurationInitParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters) + out := new(TTLDurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) { +func (in *TTLDurationObservation) DeepCopyInto(out *TTLDurationObservation) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.Unit != nil { + in, out := &in.Unit, &out.Unit *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageObservation. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TTLDurationObservation. +func (in *TTLDurationObservation) DeepCopy() *TTLDurationObservation { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageObservation) + out := new(TTLDurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) { +func (in *TTLDurationParameters) DeepCopyInto(out *TTLDurationParameters) { *out = *in - if in.AppImageConfigName != nil { - in, out := &in.AppImageConfigName, &out.AppImageConfigName - *out = new(string) - **out = **in - } - if in.ImageName != nil { - in, out := &in.ImageName, &out.ImageName + if in.Unit != nil { + in, out := &in.Unit, &out.Unit *out = new(string) **out = **in } - if in.ImageVersionNumber != nil { - in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsCustomImageParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsCustomImageParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TTLDurationParameters. +func (in *TTLDurationParameters) DeepCopy() *TTLDurationParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsCustomImageParameters) + out := new(TTLDurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) { +func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecInitParameters) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -12618,6 +16714,11 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -12625,18 +16726,18 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecInitParameters. +func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) + out := new(TensorBoardAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) { +func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecObservation) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -12653,6 +16754,11 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) D *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -12660,18 +16766,18 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) D } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecObservation. +func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) + out := new(TensorBoardAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) { +func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecParameters) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -12688,6 +16794,11 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) De *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -12695,231 +16806,276 @@ func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) De } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecParameters. +func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) + out := new(TensorBoardAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsInitParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsInitParameters) { +func (in *TensorBoardAppSettingsInitParameters) DeepCopyInto(out *TensorBoardAppSettingsInitParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters, len(*in)) + *out = make([]TensorBoardAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsInitParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsInitParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsInitParameters. +func (in *TensorBoardAppSettingsInitParameters) DeepCopy() *TensorBoardAppSettingsInitParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsInitParameters) + out := new(TensorBoardAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsObservation) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsObservation) { +func (in *TensorBoardAppSettingsObservation) DeepCopyInto(out *TensorBoardAppSettingsObservation) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation, len(*in)) + *out = make([]TensorBoardAppSettingsDefaultResourceSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsObservation. -func (in *SpaceSettingsKernelGatewayAppSettingsObservation) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsObservation. +func (in *TensorBoardAppSettingsObservation) DeepCopy() *TensorBoardAppSettingsObservation { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsObservation) + out := new(TensorBoardAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsKernelGatewayAppSettingsParameters) DeepCopyInto(out *SpaceSettingsKernelGatewayAppSettingsParameters) { +func (in *TensorBoardAppSettingsParameters) DeepCopyInto(out *TensorBoardAppSettingsParameters) { *out = *in - if in.CustomImage != nil { - in, out := &in.CustomImage, &out.CustomImage - *out = make([]SpaceSettingsKernelGatewayAppSettingsCustomImageParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]SpaceSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters, len(*in)) + *out = make([]TensorBoardAppSettingsDefaultResourceSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LifecycleConfigArns != nil { - in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsParameters. +func (in *TensorBoardAppSettingsParameters) DeepCopy() *TensorBoardAppSettingsParameters { + if in == nil { + return nil } + out := new(TensorBoardAppSettingsParameters) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsKernelGatewayAppSettingsParameters. -func (in *SpaceSettingsKernelGatewayAppSettingsParameters) DeepCopy() *SpaceSettingsKernelGatewayAppSettingsParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesForecastingSettingsInitParameters) DeepCopyInto(out *TimeSeriesForecastingSettingsInitParameters) { + *out = *in + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsInitParameters. +func (in *TimeSeriesForecastingSettingsInitParameters) DeepCopy() *TimeSeriesForecastingSettingsInitParameters { if in == nil { return nil } - out := new(SpaceSettingsKernelGatewayAppSettingsParameters) + out := new(TimeSeriesForecastingSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsObservation) DeepCopyInto(out *SpaceSettingsObservation) { +func (in *TimeSeriesForecastingSettingsObservation) DeepCopyInto(out *TimeSeriesForecastingSettingsObservation) { *out = *in - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]SpaceSettingsJupyterServerAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]SpaceSettingsKernelGatewayAppSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsObservation. -func (in *SpaceSettingsObservation) DeepCopy() *SpaceSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsObservation. +func (in *TimeSeriesForecastingSettingsObservation) DeepCopy() *TimeSeriesForecastingSettingsObservation { if in == nil { return nil } - out := new(SpaceSettingsObservation) + out := new(TimeSeriesForecastingSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSettingsParameters) DeepCopyInto(out *SpaceSettingsParameters) { +func (in *TimeSeriesForecastingSettingsParameters) DeepCopyInto(out *TimeSeriesForecastingSettingsParameters) { *out = *in - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]SpaceSettingsJupyterServerAppSettingsParameters, len(*in)) + if in.AmazonForecastRoleArn != nil { + in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsParameters. +func (in *TimeSeriesForecastingSettingsParameters) DeepCopy() *TimeSeriesForecastingSettingsParameters { + if in == nil { + return nil + } + out := new(TimeSeriesForecastingSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficRoutingConfigurationInitParameters) DeepCopyInto(out *TrafficRoutingConfigurationInitParameters) { + *out = *in + if in.CanarySize != nil { + in, out := &in.CanarySize, &out.CanarySize + *out = make([]CanarySizeInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]SpaceSettingsKernelGatewayAppSettingsParameters, len(*in)) + if in.LinearStepSize != nil { + in, out := &in.LinearStepSize, &out.LinearStepSize + *out = make([]LinearStepSizeInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSettingsParameters. -func (in *SpaceSettingsParameters) DeepCopy() *SpaceSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationInitParameters. +func (in *TrafficRoutingConfigurationInitParameters) DeepCopy() *TrafficRoutingConfigurationInitParameters { if in == nil { return nil } - out := new(SpaceSettingsParameters) + out := new(TrafficRoutingConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceSpec) DeepCopyInto(out *SpaceSpec) { +func (in *TrafficRoutingConfigurationObservation) DeepCopyInto(out *TrafficRoutingConfigurationObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.CanarySize != nil { + in, out := &in.CanarySize, &out.CanarySize + *out = make([]CanarySizeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinearStepSize != nil { + in, out := &in.LinearStepSize, &out.LinearStepSize + *out = make([]LinearStepSizeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceSpec. -func (in *SpaceSpec) DeepCopy() *SpaceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationObservation. +func (in *TrafficRoutingConfigurationObservation) DeepCopy() *TrafficRoutingConfigurationObservation { if in == nil { return nil } - out := new(SpaceSpec) + out := new(TrafficRoutingConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpaceStatus) DeepCopyInto(out *SpaceStatus) { +func (in *TrafficRoutingConfigurationParameters) DeepCopyInto(out *TrafficRoutingConfigurationParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.CanarySize != nil { + in, out := &in.CanarySize, &out.CanarySize + *out = make([]CanarySizeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinearStepSize != nil { + in, out := &in.LinearStepSize, &out.LinearStepSize + *out = make([]LinearStepSizeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.WaitIntervalInSeconds != nil { + in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpaceStatus. -func (in *SpaceStatus) DeepCopy() *SpaceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationParameters. +func (in *TrafficRoutingConfigurationParameters) DeepCopy() *TrafficRoutingConfigurationParameters { if in == nil { return nil } - out := new(SpaceStatus) + out := new(TrafficRoutingConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfig) DeepCopyInto(out *StudioLifecycleConfig) { +func (in *UserProfile) DeepCopyInto(out *UserProfile) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -12927,18 +17083,18 @@ func (in *StudioLifecycleConfig) DeepCopyInto(out *StudioLifecycleConfig) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfig. -func (in *StudioLifecycleConfig) DeepCopy() *StudioLifecycleConfig { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfile. +func (in *UserProfile) DeepCopy() *UserProfile { if in == nil { return nil } - out := new(StudioLifecycleConfig) + out := new(UserProfile) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *StudioLifecycleConfig) DeepCopyObject() runtime.Object { +func (in *UserProfile) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -12946,15 +17102,30 @@ func (in *StudioLifecycleConfig) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigInitParameters) DeepCopyInto(out *StudioLifecycleConfigInitParameters) { +func (in *UserProfileInitParameters) DeepCopyInto(out *UserProfileInitParameters) { *out = *in - if in.StudioLifecycleConfigAppType != nil { - in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID *out = new(string) **out = **in } - if in.StudioLifecycleConfigContent != nil { - in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent + if in.DomainIDRef != nil { + in, out := &in.DomainIDRef, &out.DomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainIDSelector != nil { + in, out := &in.DomainIDSelector, &out.DomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SingleSignOnUserIdentifier != nil { + in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier + *out = new(string) + **out = **in + } + if in.SingleSignOnUserValue != nil { + in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue *out = new(string) **out = **in } @@ -12974,44 +17145,56 @@ func (in *StudioLifecycleConfigInitParameters) DeepCopyInto(out *StudioLifecycle (*out)[key] = outVal } } + if in.UserProfileName != nil { + in, out := &in.UserProfileName, &out.UserProfileName + *out = new(string) + **out = **in + } + if in.UserSettings != nil { + in, out := &in.UserSettings, &out.UserSettings + *out = make([]UserSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigInitParameters. -func (in *StudioLifecycleConfigInitParameters) DeepCopy() *StudioLifecycleConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileInitParameters. +func (in *UserProfileInitParameters) DeepCopy() *UserProfileInitParameters { if in == nil { return nil } - out := new(StudioLifecycleConfigInitParameters) + out := new(UserProfileInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigList) DeepCopyInto(out *StudioLifecycleConfigList) { +func (in *UserProfileList) DeepCopyInto(out *UserProfileList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]StudioLifecycleConfig, len(*in)) + *out = make([]UserProfile, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigList. -func (in *StudioLifecycleConfigList) DeepCopy() *StudioLifecycleConfigList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileList. +func (in *UserProfileList) DeepCopy() *UserProfileList { if in == nil { return nil } - out := new(StudioLifecycleConfigList) + out := new(UserProfileList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *StudioLifecycleConfigList) DeepCopyObject() runtime.Object { +func (in *UserProfileList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -13019,25 +17202,35 @@ func (in *StudioLifecycleConfigList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigObservation) DeepCopyInto(out *StudioLifecycleConfigObservation) { +func (in *UserProfileObservation) DeepCopyInto(out *UserProfileObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.HomeEFSFileSystemUID != nil { + in, out := &in.HomeEFSFileSystemUID, &out.HomeEFSFileSystemUID + *out = new(string) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.StudioLifecycleConfigAppType != nil { - in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType + if in.SingleSignOnUserIdentifier != nil { + in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier *out = new(string) **out = **in } - if in.StudioLifecycleConfigContent != nil { - in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent + if in.SingleSignOnUserValue != nil { + in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue *out = new(string) **out = **in } @@ -13073,33 +17266,60 @@ func (in *StudioLifecycleConfigObservation) DeepCopyInto(out *StudioLifecycleCon (*out)[key] = outVal } } + if in.UserProfileName != nil { + in, out := &in.UserProfileName, &out.UserProfileName + *out = new(string) + **out = **in + } + if in.UserSettings != nil { + in, out := &in.UserSettings, &out.UserSettings + *out = make([]UserSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigObservation. -func (in *StudioLifecycleConfigObservation) DeepCopy() *StudioLifecycleConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileObservation. +func (in *UserProfileObservation) DeepCopy() *UserProfileObservation { if in == nil { return nil } - out := new(StudioLifecycleConfigObservation) + out := new(UserProfileObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigParameters) DeepCopyInto(out *StudioLifecycleConfigParameters) { +func (in *UserProfileParameters) DeepCopyInto(out *UserProfileParameters) { *out = *in + if in.DomainID != nil { + in, out := &in.DomainID, &out.DomainID + *out = new(string) + **out = **in + } + if in.DomainIDRef != nil { + in, out := &in.DomainIDRef, &out.DomainIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainIDSelector != nil { + in, out := &in.DomainIDSelector, &out.DomainIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.StudioLifecycleConfigAppType != nil { - in, out := &in.StudioLifecycleConfigAppType, &out.StudioLifecycleConfigAppType + if in.SingleSignOnUserIdentifier != nil { + in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier *out = new(string) **out = **in } - if in.StudioLifecycleConfigContent != nil { - in, out := &in.StudioLifecycleConfigContent, &out.StudioLifecycleConfigContent + if in.SingleSignOnUserValue != nil { + in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue *out = new(string) **out = **in } @@ -13119,55 +17339,238 @@ func (in *StudioLifecycleConfigParameters) DeepCopyInto(out *StudioLifecycleConf (*out)[key] = outVal } } + if in.UserProfileName != nil { + in, out := &in.UserProfileName, &out.UserProfileName + *out = new(string) + **out = **in + } + if in.UserSettings != nil { + in, out := &in.UserSettings, &out.UserSettings + *out = make([]UserSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileParameters. +func (in *UserProfileParameters) DeepCopy() *UserProfileParameters { + if in == nil { + return nil + } + out := new(UserProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserProfileSpec) DeepCopyInto(out *UserProfileSpec) { + *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 UserProfileSpec. +func (in *UserProfileSpec) DeepCopy() *UserProfileSpec { + if in == nil { + return nil + } + out := new(UserProfileSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserProfileStatus) DeepCopyInto(out *UserProfileStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileStatus. +func (in *UserProfileStatus) DeepCopy() *UserProfileStatus { + if in == nil { + return nil + } + out := new(UserProfileStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsCanvasAppSettingsInitParameters) DeepCopyInto(out *UserSettingsCanvasAppSettingsInitParameters) { + *out = *in + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]CanvasAppSettingsDirectDeploySettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]CanvasAppSettingsIdentityProviderOauthSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]CanvasAppSettingsKendraSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelRegisterSettings != nil { + in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings + *out = make([]CanvasAppSettingsModelRegisterSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TimeSeriesForecastingSettings != nil { + in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings + *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]CanvasAppSettingsWorkspaceSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigParameters. -func (in *StudioLifecycleConfigParameters) DeepCopy() *StudioLifecycleConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsInitParameters. +func (in *UserSettingsCanvasAppSettingsInitParameters) DeepCopy() *UserSettingsCanvasAppSettingsInitParameters { if in == nil { return nil } - out := new(StudioLifecycleConfigParameters) + out := new(UserSettingsCanvasAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigSpec) DeepCopyInto(out *StudioLifecycleConfigSpec) { +func (in *UserSettingsCanvasAppSettingsObservation) DeepCopyInto(out *UserSettingsCanvasAppSettingsObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]CanvasAppSettingsDirectDeploySettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]CanvasAppSettingsIdentityProviderOauthSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]CanvasAppSettingsKendraSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelRegisterSettings != nil { + in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings + *out = make([]CanvasAppSettingsModelRegisterSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TimeSeriesForecastingSettings != nil { + in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings + *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]CanvasAppSettingsWorkspaceSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigSpec. -func (in *StudioLifecycleConfigSpec) DeepCopy() *StudioLifecycleConfigSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsObservation. +func (in *UserSettingsCanvasAppSettingsObservation) DeepCopy() *UserSettingsCanvasAppSettingsObservation { if in == nil { return nil } - out := new(StudioLifecycleConfigSpec) + out := new(UserSettingsCanvasAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StudioLifecycleConfigStatus) DeepCopyInto(out *StudioLifecycleConfigStatus) { +func (in *UserSettingsCanvasAppSettingsParameters) DeepCopyInto(out *UserSettingsCanvasAppSettingsParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.DirectDeploySettings != nil { + in, out := &in.DirectDeploySettings, &out.DirectDeploySettings + *out = make([]CanvasAppSettingsDirectDeploySettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdentityProviderOauthSettings != nil { + in, out := &in.IdentityProviderOauthSettings, &out.IdentityProviderOauthSettings + *out = make([]CanvasAppSettingsIdentityProviderOauthSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KendraSettings != nil { + in, out := &in.KendraSettings, &out.KendraSettings + *out = make([]CanvasAppSettingsKendraSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModelRegisterSettings != nil { + in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings + *out = make([]CanvasAppSettingsModelRegisterSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TimeSeriesForecastingSettings != nil { + in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings + *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceSettings != nil { + in, out := &in.WorkspaceSettings, &out.WorkspaceSettings + *out = make([]CanvasAppSettingsWorkspaceSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudioLifecycleConfigStatus. -func (in *StudioLifecycleConfigStatus) DeepCopy() *StudioLifecycleConfigStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsParameters. +func (in *UserSettingsCanvasAppSettingsParameters) DeepCopy() *UserSettingsCanvasAppSettingsParameters { if in == nil { return nil } - out := new(StudioLifecycleConfigStatus) + out := new(UserSettingsCanvasAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecInitParameters) { +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -13184,6 +17587,11 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto( *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -13191,18 +17599,18 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto( } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecInitParameters. -func (in *TensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters. +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(TensorBoardAppSettingsDefaultResourceSpecInitParameters) + out := new(UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecObservation) { +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -13219,6 +17627,11 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -13226,18 +17639,18 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecObservation. -func (in *TensorBoardAppSettingsDefaultResourceSpecObservation) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation. +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation) DeepCopy() *UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(TensorBoardAppSettingsDefaultResourceSpecObservation) + out := new(UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *TensorBoardAppSettingsDefaultResourceSpecParameters) { +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters) { *out = *in if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType @@ -13254,6 +17667,11 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -13261,715 +17679,771 @@ func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsDefaultResourceSpecParameters. -func (in *TensorBoardAppSettingsDefaultResourceSpecParameters) DeepCopy() *TensorBoardAppSettingsDefaultResourceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters. +func (in *UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters) DeepCopy() *UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(TensorBoardAppSettingsDefaultResourceSpecParameters) + out := new(UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsInitParameters) DeepCopyInto(out *TensorBoardAppSettingsInitParameters) { +func (in *UserSettingsCodeEditorAppSettingsInitParameters) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsInitParameters) { *out = *in if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]TensorBoardAppSettingsDefaultResourceSpecInitParameters, len(*in)) + *out = make([]UserSettingsCodeEditorAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsInitParameters. -func (in *TensorBoardAppSettingsInitParameters) DeepCopy() *TensorBoardAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsInitParameters. +func (in *UserSettingsCodeEditorAppSettingsInitParameters) DeepCopy() *UserSettingsCodeEditorAppSettingsInitParameters { if in == nil { return nil } - out := new(TensorBoardAppSettingsInitParameters) + out := new(UserSettingsCodeEditorAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsObservation) DeepCopyInto(out *TensorBoardAppSettingsObservation) { +func (in *UserSettingsCodeEditorAppSettingsObservation) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsObservation) { *out = *in if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]TensorBoardAppSettingsDefaultResourceSpecObservation, len(*in)) + *out = make([]UserSettingsCodeEditorAppSettingsDefaultResourceSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsObservation. -func (in *TensorBoardAppSettingsObservation) DeepCopy() *TensorBoardAppSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsObservation. +func (in *UserSettingsCodeEditorAppSettingsObservation) DeepCopy() *UserSettingsCodeEditorAppSettingsObservation { if in == nil { return nil } - out := new(TensorBoardAppSettingsObservation) + out := new(UserSettingsCodeEditorAppSettingsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TensorBoardAppSettingsParameters) DeepCopyInto(out *TensorBoardAppSettingsParameters) { +func (in *UserSettingsCodeEditorAppSettingsParameters) DeepCopyInto(out *UserSettingsCodeEditorAppSettingsParameters) { *out = *in if in.DefaultResourceSpec != nil { in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec - *out = make([]TensorBoardAppSettingsDefaultResourceSpecParameters, len(*in)) + *out = make([]UserSettingsCodeEditorAppSettingsDefaultResourceSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TensorBoardAppSettingsParameters. -func (in *TensorBoardAppSettingsParameters) DeepCopy() *TensorBoardAppSettingsParameters { - if in == nil { - return nil - } - out := new(TensorBoardAppSettingsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TimeSeriesForecastingSettingsInitParameters) DeepCopyInto(out *TimeSeriesForecastingSettingsInitParameters) { - *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn - *out = new(string) - **out = **in - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsInitParameters. -func (in *TimeSeriesForecastingSettingsInitParameters) DeepCopy() *TimeSeriesForecastingSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCodeEditorAppSettingsParameters. +func (in *UserSettingsCodeEditorAppSettingsParameters) DeepCopy() *UserSettingsCodeEditorAppSettingsParameters { if in == nil { return nil } - out := new(TimeSeriesForecastingSettingsInitParameters) + out := new(UserSettingsCodeEditorAppSettingsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TimeSeriesForecastingSettingsObservation) DeepCopyInto(out *TimeSeriesForecastingSettingsObservation) { +func (in *UserSettingsCustomFileSystemConfigInitParameters) DeepCopyInto(out *UserSettingsCustomFileSystemConfigInitParameters) { *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn - *out = new(string) - **out = **in - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]CustomFileSystemConfigEFSFileSystemConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsObservation. -func (in *TimeSeriesForecastingSettingsObservation) DeepCopy() *TimeSeriesForecastingSettingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomFileSystemConfigInitParameters. +func (in *UserSettingsCustomFileSystemConfigInitParameters) DeepCopy() *UserSettingsCustomFileSystemConfigInitParameters { if in == nil { return nil } - out := new(TimeSeriesForecastingSettingsObservation) + out := new(UserSettingsCustomFileSystemConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TimeSeriesForecastingSettingsParameters) DeepCopyInto(out *TimeSeriesForecastingSettingsParameters) { +func (in *UserSettingsCustomFileSystemConfigObservation) DeepCopyInto(out *UserSettingsCustomFileSystemConfigObservation) { *out = *in - if in.AmazonForecastRoleArn != nil { - in, out := &in.AmazonForecastRoleArn, &out.AmazonForecastRoleArn - *out = new(string) - **out = **in - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) - **out = **in + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]CustomFileSystemConfigEFSFileSystemConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesForecastingSettingsParameters. -func (in *TimeSeriesForecastingSettingsParameters) DeepCopy() *TimeSeriesForecastingSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomFileSystemConfigObservation. +func (in *UserSettingsCustomFileSystemConfigObservation) DeepCopy() *UserSettingsCustomFileSystemConfigObservation { if in == nil { return nil } - out := new(TimeSeriesForecastingSettingsParameters) + out := new(UserSettingsCustomFileSystemConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TrafficRoutingConfigurationInitParameters) DeepCopyInto(out *TrafficRoutingConfigurationInitParameters) { +func (in *UserSettingsCustomFileSystemConfigParameters) DeepCopyInto(out *UserSettingsCustomFileSystemConfigParameters) { *out = *in - if in.CanarySize != nil { - in, out := &in.CanarySize, &out.CanarySize - *out = make([]CanarySizeInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LinearStepSize != nil { - in, out := &in.LinearStepSize, &out.LinearStepSize - *out = make([]LinearStepSizeInitParameters, len(*in)) + if in.EFSFileSystemConfig != nil { + in, out := &in.EFSFileSystemConfig, &out.EFSFileSystemConfig + *out = make([]CustomFileSystemConfigEFSFileSystemConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } - if in.WaitIntervalInSeconds != nil { - in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationInitParameters. -func (in *TrafficRoutingConfigurationInitParameters) DeepCopy() *TrafficRoutingConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomFileSystemConfigParameters. +func (in *UserSettingsCustomFileSystemConfigParameters) DeepCopy() *UserSettingsCustomFileSystemConfigParameters { if in == nil { return nil } - out := new(TrafficRoutingConfigurationInitParameters) + out := new(UserSettingsCustomFileSystemConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TrafficRoutingConfigurationObservation) DeepCopyInto(out *TrafficRoutingConfigurationObservation) { +func (in *UserSettingsCustomPosixUserConfigInitParameters) DeepCopyInto(out *UserSettingsCustomPosixUserConfigInitParameters) { *out = *in - if in.CanarySize != nil { - in, out := &in.CanarySize, &out.CanarySize - *out = make([]CanarySizeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LinearStepSize != nil { - in, out := &in.LinearStepSize, &out.LinearStepSize - *out = make([]LinearStepSizeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) **out = **in } - if in.WaitIntervalInSeconds != nil { - in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds + if in.UID != nil { + in, out := &in.UID, &out.UID *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationObservation. -func (in *TrafficRoutingConfigurationObservation) DeepCopy() *TrafficRoutingConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomPosixUserConfigInitParameters. +func (in *UserSettingsCustomPosixUserConfigInitParameters) DeepCopy() *UserSettingsCustomPosixUserConfigInitParameters { if in == nil { return nil } - out := new(TrafficRoutingConfigurationObservation) + out := new(UserSettingsCustomPosixUserConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TrafficRoutingConfigurationParameters) DeepCopyInto(out *TrafficRoutingConfigurationParameters) { +func (in *UserSettingsCustomPosixUserConfigObservation) DeepCopyInto(out *UserSettingsCustomPosixUserConfigObservation) { *out = *in - if in.CanarySize != nil { - in, out := &in.CanarySize, &out.CanarySize - *out = make([]CanarySizeParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LinearStepSize != nil { - in, out := &in.LinearStepSize, &out.LinearStepSize - *out = make([]LinearStepSizeParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) **out = **in } - if in.WaitIntervalInSeconds != nil { - in, out := &in.WaitIntervalInSeconds, &out.WaitIntervalInSeconds + if in.UID != nil { + in, out := &in.UID, &out.UID *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficRoutingConfigurationParameters. -func (in *TrafficRoutingConfigurationParameters) DeepCopy() *TrafficRoutingConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomPosixUserConfigObservation. +func (in *UserSettingsCustomPosixUserConfigObservation) DeepCopy() *UserSettingsCustomPosixUserConfigObservation { if in == nil { return nil } - out := new(TrafficRoutingConfigurationParameters) + out := new(UserSettingsCustomPosixUserConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserProfile) DeepCopyInto(out *UserProfile) { +func (in *UserSettingsCustomPosixUserConfigParameters) DeepCopyInto(out *UserSettingsCustomPosixUserConfigParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.GID != nil { + in, out := &in.GID, &out.GID + *out = new(float64) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfile. -func (in *UserProfile) DeepCopy() *UserProfile { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCustomPosixUserConfigParameters. +func (in *UserSettingsCustomPosixUserConfigParameters) DeepCopy() *UserSettingsCustomPosixUserConfigParameters { if in == nil { return nil } - out := new(UserProfile) + out := new(UserSettingsCustomPosixUserConfigParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *UserProfile) 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 *UserProfileInitParameters) DeepCopyInto(out *UserProfileInitParameters) { +func (in *UserSettingsInitParameters) DeepCopyInto(out *UserSettingsInitParameters) { *out = *in - if in.SingleSignOnUserIdentifier != nil { - in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier + if in.CanvasAppSettings != nil { + in, out := &in.CanvasAppSettings, &out.CanvasAppSettings + *out = make([]UserSettingsCanvasAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]UserSettingsCodeEditorAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]UserSettingsCustomFileSystemConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]UserSettingsCustomPosixUserConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI *out = new(string) **out = **in } - if in.SingleSignOnUserValue != nil { - in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue + if in.ExecutionRole != nil { + in, out := &in.ExecutionRole, &out.ExecutionRole *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 + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]UserSettingsJupyterLabAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JupyterServerAppSettings != nil { + in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings + *out = make([]UserSettingsJupyterServerAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KernelGatewayAppSettings != nil { + in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings + *out = make([]UserSettingsKernelGatewayAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RSessionAppSettings != nil { + in, out := &in.RSessionAppSettings, &out.RSessionAppSettings + *out = make([]UserSettingsRSessionAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RStudioServerProAppSettings != nil { + in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings + *out = make([]UserSettingsRStudioServerProAppSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + 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 } - (*out)[key] = outVal } } - if in.UserProfileName != nil { - in, out := &in.UserProfileName, &out.UserProfileName + if in.SharingSettings != nil { + in, out := &in.SharingSettings, &out.SharingSettings + *out = make([]UserSettingsSharingSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]UserSettingsSpaceStorageSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal *out = new(string) **out = **in } - if in.UserSettings != nil { - in, out := &in.UserSettings, &out.UserSettings - *out = make([]UserSettingsInitParameters, len(*in)) + if in.TensorBoardAppSettings != nil { + in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings + *out = make([]UserSettingsTensorBoardAppSettingsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileInitParameters. -func (in *UserProfileInitParameters) DeepCopy() *UserProfileInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsInitParameters. +func (in *UserSettingsInitParameters) DeepCopy() *UserSettingsInitParameters { if in == nil { return nil } - out := new(UserProfileInitParameters) + out := new(UserSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserProfileList) DeepCopyInto(out *UserProfileList) { +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]UserProfile, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileList. -func (in *UserProfileList) DeepCopy() *UserProfileList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters. +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters { if in == nil { return nil } - out := new(UserProfileList) + out := new(UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *UserProfileList) 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 *UserProfileObservation) DeepCopyInto(out *UserProfileObservation) { +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryObservation) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCodeRepositoryObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } - if in.DomainID != nil { - in, out := &in.DomainID, &out.DomainID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsCodeRepositoryObservation. +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryObservation) DeepCopy() *UserSettingsJupyterLabAppSettingsCodeRepositoryObservation { + if in == nil { + return nil } - if in.HomeEFSFileSystemUID != nil { - in, out := &in.HomeEFSFileSystemUID, &out.HomeEFSFileSystemUID + out := new(UserSettingsJupyterLabAppSettingsCodeRepositoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCodeRepositoryParameters) { + *out = *in + if in.RepositoryURL != nil { + in, out := &in.RepositoryURL, &out.RepositoryURL *out = new(string) **out = **in } - 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 UserSettingsJupyterLabAppSettingsCodeRepositoryParameters. +func (in *UserSettingsJupyterLabAppSettingsCodeRepositoryParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsCodeRepositoryParameters { + if in == nil { + return nil } - if in.SingleSignOnUserIdentifier != nil { - in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier + out := new(UserSettingsJupyterLabAppSettingsCodeRepositoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsJupyterLabAppSettingsCustomImageInitParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCustomImageInitParameters) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.SingleSignOnUserValue != nil { - in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *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.UserProfileName != nil { - in, out := &in.UserProfileName, &out.UserProfileName - *out = new(string) + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) **out = **in } - if in.UserSettings != nil { - in, out := &in.UserSettings, &out.UserSettings - *out = make([]UserSettingsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileObservation. -func (in *UserProfileObservation) DeepCopy() *UserProfileObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsCustomImageInitParameters. +func (in *UserSettingsJupyterLabAppSettingsCustomImageInitParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsCustomImageInitParameters { if in == nil { return nil } - out := new(UserProfileObservation) + out := new(UserSettingsJupyterLabAppSettingsCustomImageInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserProfileParameters) DeepCopyInto(out *UserProfileParameters) { +func (in *UserSettingsJupyterLabAppSettingsCustomImageObservation) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCustomImageObservation) { *out = *in - if in.DomainID != nil { - in, out := &in.DomainID, &out.DomainID + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *out = new(string) **out = **in } - if in.DomainIDRef != nil { - in, out := &in.DomainIDRef, &out.DomainIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DomainIDSelector != nil { - in, out := &in.DomainIDSelector, &out.DomainIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.SingleSignOnUserIdentifier != nil { - in, out := &in.SingleSignOnUserIdentifier, &out.SingleSignOnUserIdentifier - *out = new(string) + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) **out = **in } - if in.SingleSignOnUserValue != nil { - in, out := &in.SingleSignOnUserValue, &out.SingleSignOnUserValue +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsCustomImageObservation. +func (in *UserSettingsJupyterLabAppSettingsCustomImageObservation) DeepCopy() *UserSettingsJupyterLabAppSettingsCustomImageObservation { + if in == nil { + return nil + } + out := new(UserSettingsJupyterLabAppSettingsCustomImageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsJupyterLabAppSettingsCustomImageParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsCustomImageParameters) { + *out = *in + if in.AppImageConfigName != nil { + in, out := &in.AppImageConfigName, &out.AppImageConfigName *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.UserProfileName != nil { - in, out := &in.UserProfileName, &out.UserProfileName + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName *out = new(string) **out = **in } - if in.UserSettings != nil { - in, out := &in.UserSettings, &out.UserSettings - *out = make([]UserSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageVersionNumber != nil { + in, out := &in.ImageVersionNumber, &out.ImageVersionNumber + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileParameters. -func (in *UserProfileParameters) DeepCopy() *UserProfileParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsCustomImageParameters. +func (in *UserSettingsJupyterLabAppSettingsCustomImageParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsCustomImageParameters { if in == nil { return nil } - out := new(UserProfileParameters) + out := new(UserSettingsJupyterLabAppSettingsCustomImageParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserProfileSpec) DeepCopyInto(out *UserProfileSpec) { +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileSpec. -func (in *UserProfileSpec) DeepCopy() *UserProfileSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters. +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters { if in == nil { return nil } - out := new(UserProfileSpec) + out := new(UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserProfileStatus) DeepCopyInto(out *UserProfileStatus) { +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserProfileStatus. -func (in *UserProfileStatus) DeepCopy() *UserProfileStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation. +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation) DeepCopy() *UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation { if in == nil { return nil } - out := new(UserProfileStatus) + out := new(UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserSettingsCanvasAppSettingsInitParameters) DeepCopyInto(out *UserSettingsCanvasAppSettingsInitParameters) { +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters) { *out = *in - if in.ModelRegisterSettings != nil { - in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]CanvasAppSettingsModelRegisterSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in } - if in.TimeSeriesForecastingSettings != nil { - in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LifecycleConfigArn != nil { + in, out := &in.LifecycleConfigArn, &out.LifecycleConfigArn + *out = new(string) + **out = **in + } + if in.SagemakerImageArn != nil { + in, out := &in.SagemakerImageArn, &out.SagemakerImageArn + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } + if in.SagemakerImageVersionArn != nil { + in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsInitParameters. -func (in *UserSettingsCanvasAppSettingsInitParameters) DeepCopy() *UserSettingsCanvasAppSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters. +func (in *UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters { if in == nil { return nil } - out := new(UserSettingsCanvasAppSettingsInitParameters) + out := new(UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserSettingsCanvasAppSettingsObservation) DeepCopyInto(out *UserSettingsCanvasAppSettingsObservation) { +func (in *UserSettingsJupyterLabAppSettingsInitParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsInitParameters) { *out = *in - if in.ModelRegisterSettings != nil { - in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]CanvasAppSettingsModelRegisterSettingsObservation, len(*in)) + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]UserSettingsJupyterLabAppSettingsCodeRepositoryInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TimeSeriesForecastingSettings != nil { - in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsObservation, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]UserSettingsJupyterLabAppSettingsCustomImageInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsObservation. -func (in *UserSettingsCanvasAppSettingsObservation) DeepCopy() *UserSettingsCanvasAppSettingsObservation { - if in == nil { - return nil - } - out := new(UserSettingsCanvasAppSettingsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserSettingsCanvasAppSettingsParameters) DeepCopyInto(out *UserSettingsCanvasAppSettingsParameters) { - *out = *in - if in.ModelRegisterSettings != nil { - in, out := &in.ModelRegisterSettings, &out.ModelRegisterSettings - *out = make([]CanvasAppSettingsModelRegisterSettingsParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]UserSettingsJupyterLabAppSettingsDefaultResourceSpecInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TimeSeriesForecastingSettings != nil { - in, out := &in.TimeSeriesForecastingSettings, &out.TimeSeriesForecastingSettings - *out = make([]CanvasAppSettingsTimeSeriesForecastingSettingsParameters, len(*in)) + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsCanvasAppSettingsParameters. -func (in *UserSettingsCanvasAppSettingsParameters) DeepCopy() *UserSettingsCanvasAppSettingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsInitParameters. +func (in *UserSettingsJupyterLabAppSettingsInitParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsInitParameters { if in == nil { return nil } - out := new(UserSettingsCanvasAppSettingsParameters) + out := new(UserSettingsJupyterLabAppSettingsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *UserSettingsInitParameters) DeepCopyInto(out *UserSettingsInitParameters) { +func (in *UserSettingsJupyterLabAppSettingsObservation) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsObservation) { *out = *in - if in.CanvasAppSettings != nil { - in, out := &in.CanvasAppSettings, &out.CanvasAppSettings - *out = make([]UserSettingsCanvasAppSettingsInitParameters, len(*in)) + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]UserSettingsJupyterLabAppSettingsCodeRepositoryObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ExecutionRole != nil { - in, out := &in.ExecutionRole, &out.ExecutionRole - *out = new(string) - **out = **in + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]UserSettingsJupyterLabAppSettingsCustomImageObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.JupyterServerAppSettings != nil { - in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings - *out = make([]UserSettingsJupyterServerAppSettingsInitParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]UserSettingsJupyterLabAppSettingsDefaultResourceSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KernelGatewayAppSettings != nil { - in, out := &in.KernelGatewayAppSettings, &out.KernelGatewayAppSettings - *out = make([]UserSettingsKernelGatewayAppSettingsInitParameters, len(*in)) + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsObservation. +func (in *UserSettingsJupyterLabAppSettingsObservation) DeepCopy() *UserSettingsJupyterLabAppSettingsObservation { + if in == nil { + return nil + } + out := new(UserSettingsJupyterLabAppSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsJupyterLabAppSettingsParameters) DeepCopyInto(out *UserSettingsJupyterLabAppSettingsParameters) { + *out = *in + if in.CodeRepository != nil { + in, out := &in.CodeRepository, &out.CodeRepository + *out = make([]UserSettingsJupyterLabAppSettingsCodeRepositoryParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RSessionAppSettings != nil { - in, out := &in.RSessionAppSettings, &out.RSessionAppSettings - *out = make([]UserSettingsRSessionAppSettingsInitParameters, len(*in)) + if in.CustomImage != nil { + in, out := &in.CustomImage, &out.CustomImage + *out = make([]UserSettingsJupyterLabAppSettingsCustomImageParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RStudioServerProAppSettings != nil { - in, out := &in.RStudioServerProAppSettings, &out.RStudioServerProAppSettings - *out = make([]UserSettingsRStudioServerProAppSettingsInitParameters, len(*in)) + if in.DefaultResourceSpec != nil { + in, out := &in.DefaultResourceSpec, &out.DefaultResourceSpec + *out = make([]UserSettingsJupyterLabAppSettingsDefaultResourceSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.LifecycleConfigArns != nil { + in, out := &in.LifecycleConfigArns, &out.LifecycleConfigArns *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -13979,28 +18453,14 @@ func (in *UserSettingsInitParameters) DeepCopyInto(out *UserSettingsInitParamete } } } - if in.SharingSettings != nil { - in, out := &in.SharingSettings, &out.SharingSettings - *out = make([]UserSettingsSharingSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TensorBoardAppSettings != nil { - in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings - *out = make([]UserSettingsTensorBoardAppSettingsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsInitParameters. -func (in *UserSettingsInitParameters) DeepCopy() *UserSettingsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsJupyterLabAppSettingsParameters. +func (in *UserSettingsJupyterLabAppSettingsParameters) DeepCopy() *UserSettingsJupyterLabAppSettingsParameters { if in == nil { return nil } - out := new(UserSettingsInitParameters) + out := new(UserSettingsJupyterLabAppSettingsParameters) in.DeepCopyInto(out) return out } @@ -14083,6 +18543,11 @@ func (in *UserSettingsJupyterServerAppSettingsDefaultResourceSpecInitParameters) *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14118,6 +18583,11 @@ func (in *UserSettingsJupyterServerAppSettingsDefaultResourceSpecObservation) De *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14153,6 +18623,11 @@ func (in *UserSettingsJupyterServerAppSettingsDefaultResourceSpecParameters) Dee *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14398,6 +18873,11 @@ func (in *UserSettingsKernelGatewayAppSettingsDefaultResourceSpecInitParameters) *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14433,6 +18913,11 @@ func (in *UserSettingsKernelGatewayAppSettingsDefaultResourceSpecObservation) De *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14468,6 +18953,11 @@ func (in *UserSettingsKernelGatewayAppSettingsDefaultResourceSpecParameters) Dee *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14615,11 +19105,44 @@ func (in *UserSettingsObservation) DeepCopyInto(out *UserSettingsObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]UserSettingsCodeEditorAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]UserSettingsCustomFileSystemConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]UserSettingsCustomPosixUserConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI + *out = new(string) + **out = **in + } if in.ExecutionRole != nil { in, out := &in.ExecutionRole, &out.ExecutionRole *out = new(string) **out = **in } + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]UserSettingsJupyterLabAppSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.JupyterServerAppSettings != nil { in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings *out = make([]UserSettingsJupyterServerAppSettingsObservation, len(*in)) @@ -14666,6 +19189,18 @@ func (in *UserSettingsObservation) DeepCopyInto(out *UserSettingsObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]UserSettingsSpaceStorageSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal + *out = new(string) + **out = **in + } if in.TensorBoardAppSettings != nil { in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings *out = make([]UserSettingsTensorBoardAppSettingsObservation, len(*in)) @@ -14695,11 +19230,44 @@ func (in *UserSettingsParameters) DeepCopyInto(out *UserSettingsParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.CodeEditorAppSettings != nil { + in, out := &in.CodeEditorAppSettings, &out.CodeEditorAppSettings + *out = make([]UserSettingsCodeEditorAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomFileSystemConfig != nil { + in, out := &in.CustomFileSystemConfig, &out.CustomFileSystemConfig + *out = make([]UserSettingsCustomFileSystemConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomPosixUserConfig != nil { + in, out := &in.CustomPosixUserConfig, &out.CustomPosixUserConfig + *out = make([]UserSettingsCustomPosixUserConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLandingURI != nil { + in, out := &in.DefaultLandingURI, &out.DefaultLandingURI + *out = new(string) + **out = **in + } if in.ExecutionRole != nil { in, out := &in.ExecutionRole, &out.ExecutionRole *out = new(string) **out = **in } + if in.JupyterLabAppSettings != nil { + in, out := &in.JupyterLabAppSettings, &out.JupyterLabAppSettings + *out = make([]UserSettingsJupyterLabAppSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.JupyterServerAppSettings != nil { in, out := &in.JupyterServerAppSettings, &out.JupyterServerAppSettings *out = make([]UserSettingsJupyterServerAppSettingsParameters, len(*in)) @@ -14746,6 +19314,18 @@ func (in *UserSettingsParameters) DeepCopyInto(out *UserSettingsParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SpaceStorageSettings != nil { + in, out := &in.SpaceStorageSettings, &out.SpaceStorageSettings + *out = make([]UserSettingsSpaceStorageSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StudioWebPortal != nil { + in, out := &in.StudioWebPortal, &out.StudioWebPortal + *out = new(string) + **out = **in + } if in.TensorBoardAppSettings != nil { in, out := &in.TensorBoardAppSettings, &out.TensorBoardAppSettings *out = make([]UserSettingsTensorBoardAppSettingsParameters, len(*in)) @@ -14873,6 +19453,11 @@ func (in *UserSettingsRSessionAppSettingsDefaultResourceSpecInitParameters) Deep *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14908,6 +19493,11 @@ func (in *UserSettingsRSessionAppSettingsDefaultResourceSpecObservation) DeepCop *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -14943,6 +19533,11 @@ func (in *UserSettingsRSessionAppSettingsDefaultResourceSpecParameters) DeepCopy *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -15212,6 +19807,72 @@ func (in *UserSettingsSharingSettingsParameters) DeepCopy() *UserSettingsSharing return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsSpaceStorageSettingsInitParameters) DeepCopyInto(out *UserSettingsSpaceStorageSettingsInitParameters) { + *out = *in + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]SpaceStorageSettingsDefaultEBSStorageSettingsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsSpaceStorageSettingsInitParameters. +func (in *UserSettingsSpaceStorageSettingsInitParameters) DeepCopy() *UserSettingsSpaceStorageSettingsInitParameters { + if in == nil { + return nil + } + out := new(UserSettingsSpaceStorageSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsSpaceStorageSettingsObservation) DeepCopyInto(out *UserSettingsSpaceStorageSettingsObservation) { + *out = *in + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]SpaceStorageSettingsDefaultEBSStorageSettingsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsSpaceStorageSettingsObservation. +func (in *UserSettingsSpaceStorageSettingsObservation) DeepCopy() *UserSettingsSpaceStorageSettingsObservation { + if in == nil { + return nil + } + out := new(UserSettingsSpaceStorageSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserSettingsSpaceStorageSettingsParameters) DeepCopyInto(out *UserSettingsSpaceStorageSettingsParameters) { + *out = *in + if in.DefaultEBSStorageSettings != nil { + in, out := &in.DefaultEBSStorageSettings, &out.DefaultEBSStorageSettings + *out = make([]SpaceStorageSettingsDefaultEBSStorageSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSettingsSpaceStorageSettingsParameters. +func (in *UserSettingsSpaceStorageSettingsParameters) DeepCopy() *UserSettingsSpaceStorageSettingsParameters { + if in == nil { + return nil + } + out := new(UserSettingsSpaceStorageSettingsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UserSettingsTensorBoardAppSettingsDefaultResourceSpecInitParameters) DeepCopyInto(out *UserSettingsTensorBoardAppSettingsDefaultResourceSpecInitParameters) { *out = *in @@ -15230,6 +19891,11 @@ func (in *UserSettingsTensorBoardAppSettingsDefaultResourceSpecInitParameters) D *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -15265,6 +19931,11 @@ func (in *UserSettingsTensorBoardAppSettingsDefaultResourceSpecObservation) Deep *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -15300,6 +19971,11 @@ func (in *UserSettingsTensorBoardAppSettingsDefaultResourceSpecParameters) DeepC *out = new(string) **out = **in } + if in.SagemakerImageVersionAlias != nil { + in, out := &in.SagemakerImageVersionAlias, &out.SagemakerImageVersionAlias + *out = new(string) + **out = **in + } if in.SagemakerImageVersionArn != nil { in, out := &in.SagemakerImageVersionArn, &out.SagemakerImageVersionArn *out = new(string) @@ -15527,7 +20203,9 @@ func (in *WorkforceInitParameters) DeepCopyInto(out *WorkforceInitParameters) { if in.CognitoConfig != nil { in, out := &in.CognitoConfig, &out.CognitoConfig *out = make([]CognitoConfigInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.OidcConfig != nil { in, out := &in.OidcConfig, &out.OidcConfig @@ -15866,6 +20544,81 @@ func (in *WorkforceVPCConfigParameters) DeepCopy() *WorkforceVPCConfigParameters return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSettingsInitParameters) DeepCopyInto(out *WorkspaceSettingsInitParameters) { + *out = *in + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSettingsInitParameters. +func (in *WorkspaceSettingsInitParameters) DeepCopy() *WorkspaceSettingsInitParameters { + if in == nil { + return nil + } + out := new(WorkspaceSettingsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSettingsObservation) DeepCopyInto(out *WorkspaceSettingsObservation) { + *out = *in + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSettingsObservation. +func (in *WorkspaceSettingsObservation) DeepCopy() *WorkspaceSettingsObservation { + if in == nil { + return nil + } + out := new(WorkspaceSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSettingsParameters) DeepCopyInto(out *WorkspaceSettingsParameters) { + *out = *in + if in.S3ArtifactPath != nil { + in, out := &in.S3ArtifactPath, &out.S3ArtifactPath + *out = new(string) + **out = **in + } + if in.S3KMSKeyID != nil { + in, out := &in.S3KMSKeyID, &out.S3KMSKeyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSettingsParameters. +func (in *WorkspaceSettingsParameters) DeepCopy() *WorkspaceSettingsParameters { + if in == nil { + return nil + } + out := new(WorkspaceSettingsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Workteam) DeepCopyInto(out *Workteam) { *out = *in @@ -15931,6 +20684,21 @@ func (in *WorkteamInitParameters) DeepCopyInto(out *WorkteamInitParameters) { (*out)[key] = outVal } } + if in.WorkforceName != nil { + in, out := &in.WorkforceName, &out.WorkforceName + *out = new(string) + **out = **in + } + if in.WorkforceNameRef != nil { + in, out := &in.WorkforceNameRef, &out.WorkforceNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WorkforceNameSelector != nil { + in, out := &in.WorkforceNameSelector, &out.WorkforceNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkteamInitParameters. diff --git a/apis/sagemaker/v1beta1/zz_generated.resolvers.go b/apis/sagemaker/v1beta1/zz_generated.resolvers.go index 1ac2ea7f52..5e3c09d4c1 100644 --- a/apis/sagemaker/v1beta1/zz_generated.resolvers.go +++ b/apis/sagemaker/v1beta1/zz_generated.resolvers.go @@ -58,6 +58,38 @@ func (mg *App) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.UserProfileName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserProfileNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DomainIDRef, + Selector: mg.Spec.InitProvider.DomainIDSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainID") + } + mg.Spec.InitProvider.DomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserProfileName), + Extract: resource.ExtractParamPath("user_profile_name", false), + Reference: mg.Spec.InitProvider.UserProfileNameRef, + Selector: mg.Spec.InitProvider.UserProfileNameSelector, + To: reference.To{ + List: &UserProfileList{}, + Managed: &UserProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserProfileName") + } + mg.Spec.InitProvider.UserProfileName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserProfileNameRef = rsp.ResolvedReference + return nil } @@ -85,6 +117,24 @@ func (mg *CodeRepository) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.GitConfig[i3].SecretArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GitConfig[i3].SecretArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.GitConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.GitConfig[i3].SecretArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.GitConfig[i3].SecretArnRef, + Selector: mg.Spec.InitProvider.GitConfig[i3].SecretArnSelector, + To: reference.To{ + List: &v1beta1.SecretList{}, + Managed: &v1beta1.Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.GitConfig[i3].SecretArn") + } + mg.Spec.InitProvider.GitConfig[i3].SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.GitConfig[i3].SecretArnRef = rsp.ResolvedReference + } return nil @@ -113,6 +163,22 @@ func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.DeviceFleetName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DeviceFleetNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeviceFleetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DeviceFleetNameRef, + Selector: mg.Spec.InitProvider.DeviceFleetNameSelector, + To: reference.To{ + List: &DeviceFleetList{}, + Managed: &DeviceFleet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeviceFleetName") + } + mg.Spec.InitProvider.DeviceFleetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeviceFleetNameRef = rsp.ResolvedReference + return nil } @@ -139,6 +205,22 @@ func (mg *DeviceFleet) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -260,6 +342,116 @@ func (mg *Domain) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCIDRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.DefaultUserSettings); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRole), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRoleRef, + Selector: mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRoleSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRole") + } + mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultUserSettings[i3].ExecutionRoleRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DefaultUserSettings); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigNameRef, + Selector: mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigNameSelector, + To: reference.To{ + List: &AppImageConfigList{}, + Managed: &AppImageConfig{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigName") + } + mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].AppImageConfigNameRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DefaultUserSettings); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageName), + Extract: resource.ExtractParamPath("image_name", false), + Reference: mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageNameRef, + Selector: mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageNameSelector, + To: reference.To{ + List: &ImageVersionList{}, + Managed: &ImageVersion{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageName") + } + mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultUserSettings[i3].KernelGatewayAppSettings[i4].CustomImage[i5].ImageNameRef = rsp.ResolvedReference + + } + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPCID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCIDRef, + Selector: mg.Spec.InitProvider.VPCIDSelector, + To: reference.To{ + List: &v1beta13.VPCList{}, + Managed: &v1beta13.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPCID") + } + mg.Spec.InitProvider.VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCIDRef = rsp.ResolvedReference + return nil } @@ -286,6 +478,22 @@ func (mg *Endpoint) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.EndpointConfigName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EndpointConfigNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EndpointConfigName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.EndpointConfigNameRef, + Selector: mg.Spec.InitProvider.EndpointConfigNameSelector, + To: reference.To{ + List: &EndpointConfigurationList{}, + Managed: &EndpointConfiguration{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EndpointConfigName") + } + mg.Spec.InitProvider.EndpointConfigName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EndpointConfigNameRef = rsp.ResolvedReference + return nil } @@ -329,6 +537,40 @@ func (mg *EndpointConfiguration) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ProductionVariants[i3].ModelName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProductionVariants[i3].ModelNameRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.ProductionVariants); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProductionVariants[i3].ModelName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ProductionVariants[i3].ModelNameRef, + Selector: mg.Spec.InitProvider.ProductionVariants[i3].ModelNameSelector, + To: reference.To{ + List: &ModelList{}, + Managed: &Model{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProductionVariants[i3].ModelName") + } + mg.Spec.InitProvider.ProductionVariants[i3].ModelName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProductionVariants[i3].ModelNameRef = rsp.ResolvedReference + } return nil @@ -357,6 +599,22 @@ func (mg *FeatureGroup) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -383,6 +641,22 @@ func (mg *Image) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } @@ -409,6 +683,22 @@ func (mg *ImageVersion) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ImageName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ImageNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ImageName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ImageNameRef, + Selector: mg.Spec.InitProvider.ImageNameSelector, + To: reference.To{ + List: &ImageList{}, + Managed: &Image{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ImageName") + } + mg.Spec.InitProvider.ImageName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ImageNameRef = rsp.ResolvedReference + return nil } @@ -435,6 +725,22 @@ func (mg *Model) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ExecutionRoleArn") + } + mg.Spec.InitProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ExecutionRoleArnRef = rsp.ResolvedReference + return nil } @@ -461,6 +767,22 @@ func (mg *ModelPackageGroupPolicy) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.ModelPackageGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ModelPackageGroupNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ModelPackageGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ModelPackageGroupNameRef, + Selector: mg.Spec.InitProvider.ModelPackageGroupNameSelector, + To: reference.To{ + List: &ModelPackageGroupList{}, + Managed: &ModelPackageGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ModelPackageGroupName") + } + mg.Spec.InitProvider.ModelPackageGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ModelPackageGroupNameRef = rsp.ResolvedReference + return nil } @@ -535,6 +857,70 @@ func (mg *NotebookInstance) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DefaultCodeRepository), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DefaultCodeRepositoryRef, + Selector: mg.Spec.InitProvider.DefaultCodeRepositorySelector, + To: reference.To{ + List: &CodeRepositoryList{}, + Managed: &CodeRepository{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DefaultCodeRepository") + } + mg.Spec.InitProvider.DefaultCodeRepository = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DefaultCodeRepositoryRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta12.KeyList{}, + Managed: &v1beta12.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubnetID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.SubnetIDRef, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta13.SubnetList{}, + Managed: &v1beta13.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetID") + } + mg.Spec.InitProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubnetIDRef = rsp.ResolvedReference + return nil } @@ -561,6 +947,22 @@ func (mg *Space) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.DomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DomainIDRef, + Selector: mg.Spec.InitProvider.DomainIDSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainID") + } + mg.Spec.InitProvider.DomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainIDRef = rsp.ResolvedReference + return nil } @@ -587,6 +989,22 @@ func (mg *UserProfile) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.DomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DomainID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DomainIDRef, + Selector: mg.Spec.InitProvider.DomainIDSelector, + To: reference.To{ + List: &DomainList{}, + Managed: &Domain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DomainID") + } + mg.Spec.InitProvider.DomainID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainIDRef = rsp.ResolvedReference + return nil } @@ -632,6 +1050,42 @@ func (mg *Workforce) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.CognitoConfig[i3].UserPool = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CognitoConfig[i3].UserPoolRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.CognitoConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CognitoConfig[i3].ClientID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.CognitoConfig[i3].ClientIDRef, + Selector: mg.Spec.InitProvider.CognitoConfig[i3].ClientIDSelector, + To: reference.To{ + List: &v1beta14.UserPoolClientList{}, + Managed: &v1beta14.UserPoolClient{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CognitoConfig[i3].ClientID") + } + mg.Spec.InitProvider.CognitoConfig[i3].ClientID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CognitoConfig[i3].ClientIDRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.CognitoConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CognitoConfig[i3].UserPool), + Extract: resource.ExtractParamPath("user_pool_id", false), + Reference: mg.Spec.InitProvider.CognitoConfig[i3].UserPoolRef, + Selector: mg.Spec.InitProvider.CognitoConfig[i3].UserPoolSelector, + To: reference.To{ + List: &v1beta14.UserPoolDomainList{}, + Managed: &v1beta14.UserPoolDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CognitoConfig[i3].UserPool") + } + mg.Spec.InitProvider.CognitoConfig[i3].UserPool = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CognitoConfig[i3].UserPoolRef = rsp.ResolvedReference + } return nil @@ -720,5 +1174,81 @@ func (mg *Workteam) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.WorkforceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkforceNameRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.MemberDefinition); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientIDRef, + Selector: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientIDSelector, + To: reference.To{ + List: &v1beta14.UserPoolClientList{}, + Managed: &v1beta14.UserPoolClient{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientID") + } + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].ClientIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.MemberDefinition); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroup), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroupRef, + Selector: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroupSelector, + To: reference.To{ + List: &v1beta14.UserGroupList{}, + Managed: &v1beta14.UserGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroup") + } + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroup = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserGroupRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.MemberDefinition); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPool), + Extract: resource.ExtractParamPath("user_pool_id", false), + Reference: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPoolRef, + Selector: mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPoolSelector, + To: reference.To{ + List: &v1beta14.UserPoolDomainList{}, + Managed: &v1beta14.UserPoolDomain{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPool") + } + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPool = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemberDefinition[i3].CognitoMemberDefinition[i4].UserPoolRef = rsp.ResolvedReference + + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkforceName), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkforceNameRef, + Selector: mg.Spec.InitProvider.WorkforceNameSelector, + To: reference.To{ + List: &WorkforceList{}, + Managed: &Workforce{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkforceName") + } + mg.Spec.InitProvider.WorkforceName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkforceNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/sagemaker/v1beta1/zz_image_types.go b/apis/sagemaker/v1beta1/zz_image_types.go index 6b2b544452..586e5495e4 100755 --- a/apis/sagemaker/v1beta1/zz_image_types.go +++ b/apis/sagemaker/v1beta1/zz_image_types.go @@ -25,6 +25,19 @@ type ImageInitParameters struct { // The display name of the image. When the image is added to a domain (must be unique to the domain). DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_imageversion_types.go b/apis/sagemaker/v1beta1/zz_imageversion_types.go index e6629e84c0..82b1ebc03e 100755 --- a/apis/sagemaker/v1beta1/zz_imageversion_types.go +++ b/apis/sagemaker/v1beta1/zz_imageversion_types.go @@ -21,6 +21,19 @@ type ImageVersionInitParameters struct { // The registry path of the container image on which this image version is based. BaseImage *string `json:"baseImage,omitempty" tf:"base_image,omitempty"` + + // The name of the image. Must be unique to your account. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Image + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ImageName *string `json:"imageName,omitempty" tf:"image_name,omitempty"` + + // Reference to a Image in sagemaker to populate imageName. + // +kubebuilder:validation:Optional + ImageNameRef *v1.Reference `json:"imageNameRef,omitempty" tf:"-"` + + // Selector for a Image in sagemaker to populate imageName. + // +kubebuilder:validation:Optional + ImageNameSelector *v1.Selector `json:"imageNameSelector,omitempty" tf:"-"` } type ImageVersionObservation struct { diff --git a/apis/sagemaker/v1beta1/zz_model_types.go b/apis/sagemaker/v1beta1/zz_model_types.go index cccc7d9dcb..5dc87a75f4 100755 --- a/apis/sagemaker/v1beta1/zz_model_types.go +++ b/apis/sagemaker/v1beta1/zz_model_types.go @@ -245,6 +245,19 @@ type ModelInitParameters struct { // Isolates the model container. No inbound or outbound network calls can be made to or from the model container. EnableNetworkIsolation *bool `json:"enableNetworkIsolation,omitempty" tf:"enable_network_isolation,omitempty"` + // A role that SageMaker can assume to access model artifacts and docker images for deployment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"` + // Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config. InferenceExecutionConfig []InferenceExecutionConfigInitParameters `json:"inferenceExecutionConfig,omitempty" tf:"inference_execution_config,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go b/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go index 57078f1723..e8908dffe7 100755 --- a/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go +++ b/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go @@ -18,6 +18,19 @@ import ( ) type ModelPackageGroupPolicyInitParameters struct { + + // The name of the model package group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.ModelPackageGroup + ModelPackageGroupName *string `json:"modelPackageGroupName,omitempty" tf:"model_package_group_name,omitempty"` + + // Reference to a ModelPackageGroup in sagemaker to populate modelPackageGroupName. + // +kubebuilder:validation:Optional + ModelPackageGroupNameRef *v1.Reference `json:"modelPackageGroupNameRef,omitempty" tf:"-"` + + // Selector for a ModelPackageGroup in sagemaker to populate modelPackageGroupName. + // +kubebuilder:validation:Optional + ModelPackageGroupNameSelector *v1.Selector `json:"modelPackageGroupNameSelector,omitempty" tf:"-"` + ResourcePolicy *string `json:"resourcePolicy,omitempty" tf:"resource_policy,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_notebookinstance_types.go b/apis/sagemaker/v1beta1/zz_notebookinstance_types.go index eec85b75df..e4376cbbe5 100755 --- a/apis/sagemaker/v1beta1/zz_notebookinstance_types.go +++ b/apis/sagemaker/v1beta1/zz_notebookinstance_types.go @@ -47,6 +47,18 @@ type NotebookInstanceInitParameters struct { // +listType=set AdditionalCodeRepositories []*string `json:"additionalCodeRepositories,omitempty" tf:"additional_code_repositories,omitempty"` + // The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.CodeRepository + DefaultCodeRepository *string `json:"defaultCodeRepository,omitempty" tf:"default_code_repository,omitempty"` + + // Reference to a CodeRepository in sagemaker to populate defaultCodeRepository. + // +kubebuilder:validation:Optional + DefaultCodeRepositoryRef *v1.Reference `json:"defaultCodeRepositoryRef,omitempty" tf:"-"` + + // Selector for a CodeRepository in sagemaker to populate defaultCodeRepository. + // +kubebuilder:validation:Optional + DefaultCodeRepositorySelector *v1.Selector `json:"defaultCodeRepositorySelector,omitempty" tf:"-"` + // Set to Disabled to disable internet access to notebook. Requires security_groups and subnet_id to be set. Supported values: Enabled (Default) or Disabled. If set to Disabled, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your VPC. DirectInternetAccess *string `json:"directInternetAccess,omitempty" tf:"direct_internet_access,omitempty"` @@ -56,12 +68,37 @@ type NotebookInstanceInitParameters struct { // The name of ML compute instance type. InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + // The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // The name of a lifecycle configuration to associate with the notebook instance. LifecycleConfigName *string `json:"lifecycleConfigName,omitempty" tf:"lifecycle_config_name,omitempty"` // The platform identifier of the notebook instance runtime environment. This value can be either notebook-al1-v1, notebook-al2-v1, or notebook-al2-v2, depending on which version of Amazon Linux you require. PlatformIdentifier *string `json:"platformIdentifier,omitempty" tf:"platform_identifier,omitempty"` + // The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Whether root access is Enabled or Disabled for users of the notebook instance. The default value is Enabled. RootAccess *string `json:"rootAccess,omitempty" tf:"root_access,omitempty"` @@ -69,6 +106,18 @@ type NotebookInstanceInitParameters struct { // +listType=set SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + // The VPC subnet ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Reference to a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` + + // Selector for a Subnet in ec2 to populate subnetId. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_space_types.go b/apis/sagemaker/v1beta1/zz_space_types.go index f41d29ffe7..f002891d76 100755 --- a/apis/sagemaker/v1beta1/zz_space_types.go +++ b/apis/sagemaker/v1beta1/zz_space_types.go @@ -19,6 +19,19 @@ import ( type SpaceInitParameters struct { + // The ID of the associated Domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"` + + // Reference to a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDRef *v1.Reference `json:"domainIdRef,omitempty" tf:"-"` + + // Selector for a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDSelector *v1.Selector `json:"domainIdSelector,omitempty" tf:"-"` + // The name of the space that appears in the SageMaker Studio UI. SpaceDisplayName *string `json:"spaceDisplayName,omitempty" tf:"space_display_name,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_userprofile_types.go b/apis/sagemaker/v1beta1/zz_userprofile_types.go index 4f92d4367b..fc84f0e083 100755 --- a/apis/sagemaker/v1beta1/zz_userprofile_types.go +++ b/apis/sagemaker/v1beta1/zz_userprofile_types.go @@ -241,6 +241,19 @@ type SpaceStorageSettingsDefaultEBSStorageSettingsParameters struct { type UserProfileInitParameters struct { + // The ID of the associated Domain. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Domain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"` + + // Reference to a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDRef *v1.Reference `json:"domainIdRef,omitempty" tf:"-"` + + // Selector for a Domain in sagemaker to populate domainId. + // +kubebuilder:validation:Optional + DomainIDSelector *v1.Selector `json:"domainIdSelector,omitempty" tf:"-"` + // A specifier for the type of value specified in single_sign_on_user_value. Currently, the only supported value is UserName. If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified. SingleSignOnUserIdentifier *string `json:"singleSignOnUserIdentifier,omitempty" tf:"single_sign_on_user_identifier,omitempty"` diff --git a/apis/sagemaker/v1beta1/zz_workforce_types.go b/apis/sagemaker/v1beta1/zz_workforce_types.go index 14075468e1..9c01f7cac2 100755 --- a/apis/sagemaker/v1beta1/zz_workforce_types.go +++ b/apis/sagemaker/v1beta1/zz_workforce_types.go @@ -18,6 +18,32 @@ import ( ) type CognitoConfigInitParameters struct { + + // The client ID for your Amazon Cognito user pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolClient + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` + + // Reference to a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"` + + // Selector for a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"` + + // ID for your Amazon Cognito user pool. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("user_pool_id",false) + UserPool *string `json:"userPool,omitempty" tf:"user_pool,omitempty"` + + // Reference to a UserPoolDomain in cognitoidp to populate userPool. + // +kubebuilder:validation:Optional + UserPoolRef *v1.Reference `json:"userPoolRef,omitempty" tf:"-"` + + // Selector for a UserPoolDomain in cognitoidp to populate userPool. + // +kubebuilder:validation:Optional + UserPoolSelector *v1.Selector `json:"userPoolSelector,omitempty" tf:"-"` } type CognitoConfigObservation struct { diff --git a/apis/sagemaker/v1beta1/zz_workteam_types.go b/apis/sagemaker/v1beta1/zz_workteam_types.go index e15384628d..886956d7cd 100755 --- a/apis/sagemaker/v1beta1/zz_workteam_types.go +++ b/apis/sagemaker/v1beta1/zz_workteam_types.go @@ -18,6 +18,45 @@ import ( ) type CognitoMemberDefinitionInitParameters struct { + + // An identifier for an application client. You must create the app client ID using Amazon Cognito. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolClient + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` + + // Reference to a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"` + + // Selector for a UserPoolClient in cognitoidp to populate clientId. + // +kubebuilder:validation:Optional + ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"` + + // An identifier for a user group. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + UserGroup *string `json:"userGroup,omitempty" tf:"user_group,omitempty"` + + // Reference to a UserGroup in cognitoidp to populate userGroup. + // +kubebuilder:validation:Optional + UserGroupRef *v1.Reference `json:"userGroupRef,omitempty" tf:"-"` + + // Selector for a UserGroup in cognitoidp to populate userGroup. + // +kubebuilder:validation:Optional + UserGroupSelector *v1.Selector `json:"userGroupSelector,omitempty" tf:"-"` + + // An identifier for a user pool. The user pool must be in the same region as the service that you are calling. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cognitoidp/v1beta1.UserPoolDomain + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("user_pool_id",false) + UserPool *string `json:"userPool,omitempty" tf:"user_pool,omitempty"` + + // Reference to a UserPoolDomain in cognitoidp to populate userPool. + // +kubebuilder:validation:Optional + UserPoolRef *v1.Reference `json:"userPoolRef,omitempty" tf:"-"` + + // Selector for a UserPoolDomain in cognitoidp to populate userPool. + // +kubebuilder:validation:Optional + UserPoolSelector *v1.Selector `json:"userPoolSelector,omitempty" tf:"-"` } type CognitoMemberDefinitionObservation struct { @@ -161,6 +200,19 @@ type WorkteamInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The name of the Workteam (must be unique). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sagemaker/v1beta1.Workforce + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WorkforceName *string `json:"workforceName,omitempty" tf:"workforce_name,omitempty"` + + // Reference to a Workforce in sagemaker to populate workforceName. + // +kubebuilder:validation:Optional + WorkforceNameRef *v1.Reference `json:"workforceNameRef,omitempty" tf:"-"` + + // Selector for a Workforce in sagemaker to populate workforceName. + // +kubebuilder:validation:Optional + WorkforceNameSelector *v1.Selector `json:"workforceNameSelector,omitempty" tf:"-"` } type WorkteamObservation struct { diff --git a/apis/scheduler/v1beta1/zz_generated.deepcopy.go b/apis/scheduler/v1beta1/zz_generated.deepcopy.go index cf23071bdf..6b6094e15a 100644 --- a/apis/scheduler/v1beta1/zz_generated.deepcopy.go +++ b/apis/scheduler/v1beta1/zz_generated.deepcopy.go @@ -1477,6 +1477,21 @@ func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters) { *out = new(string) **out = **in } + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in + } + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -1824,6 +1839,21 @@ func (in *SqsParametersParameters) DeepCopy() *SqsParametersParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DeadLetterConfig != nil { in, out := &in.DeadLetterConfig, &out.DeadLetterConfig *out = make([]DeadLetterConfigInitParameters, len(*in)) @@ -1864,6 +1894,21 @@ func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SagemakerPipelineParameters != nil { in, out := &in.SagemakerPipelineParameters, &out.SagemakerPipelineParameters *out = make([]SagemakerPipelineParametersInitParameters, len(*in)) diff --git a/apis/scheduler/v1beta1/zz_generated.resolvers.go b/apis/scheduler/v1beta1/zz_generated.resolvers.go index 684e2f5e77..585b8afa62 100644 --- a/apis/scheduler/v1beta1/zz_generated.resolvers.go +++ b/apis/scheduler/v1beta1/zz_generated.resolvers.go @@ -74,6 +74,58 @@ func (mg *Schedule) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.Target[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Target[i3].RoleArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyArn") + } + mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Target); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Target[i3].Arn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Target[i3].ArnRef, + Selector: mg.Spec.InitProvider.Target[i3].ArnSelector, + To: reference.To{ + List: &v1beta11.QueueList{}, + Managed: &v1beta11.Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Target[i3].Arn") + } + mg.Spec.InitProvider.Target[i3].Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Target[i3].ArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Target); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Target[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Target[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.Target[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta12.RoleList{}, + Managed: &v1beta12.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Target[i3].RoleArn") + } + mg.Spec.InitProvider.Target[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Target[i3].RoleArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/scheduler/v1beta1/zz_schedule_types.go b/apis/scheduler/v1beta1/zz_schedule_types.go index 5c6216f424..fd2ade3a72 100755 --- a/apis/scheduler/v1beta1/zz_schedule_types.go +++ b/apis/scheduler/v1beta1/zz_schedule_types.go @@ -498,6 +498,18 @@ type ScheduleInitParameters struct { // Name of the schedule group to associate with this schedule. When omitted, the default schedule group is used. GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"` + // ARN for the customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + // Name of the schedule. Conflicts with name_prefix. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -641,6 +653,19 @@ type SqsParametersParameters struct { type TargetInitParameters struct { + // ARN of the target of this schedule, such as a SQS queue or ECS cluster. For universal targets, this is a Service ARN specific to the target service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Queue in sqs to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue. Detailed below. DeadLetterConfig []DeadLetterConfigInitParameters `json:"deadLetterConfig,omitempty" tf:"dead_letter_config,omitempty"` @@ -659,6 +684,19 @@ type TargetInitParameters struct { // Information about the retry policy settings. Detailed below. RetryPolicy []RetryPolicyInitParameters `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"` + // ARN of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked. Read more in Set up the execution role. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Templated target type for the Amazon SageMaker StartPipelineExecution API operation. Detailed below. SagemakerPipelineParameters []SagemakerPipelineParametersInitParameters `json:"sagemakerPipelineParameters,omitempty" tf:"sagemaker_pipeline_parameters,omitempty"` diff --git a/apis/schemas/v1beta1/zz_discoverer_types.go b/apis/schemas/v1beta1/zz_discoverer_types.go index a44062e301..22c3ace0f8 100755 --- a/apis/schemas/v1beta1/zz_discoverer_types.go +++ b/apis/schemas/v1beta1/zz_discoverer_types.go @@ -22,6 +22,19 @@ type DiscovererInitParameters struct { // The description of the discoverer. Maximum of 256 characters. Description *string `json:"description,omitempty" tf:"description,omitempty"` + // The ARN of the event bus to discover event schemas on. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Bus + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"` + + // Reference to a Bus in cloudwatchevents to populate sourceArn. + // +kubebuilder:validation:Optional + SourceArnRef *v1.Reference `json:"sourceArnRef,omitempty" tf:"-"` + + // Selector for a Bus in cloudwatchevents to populate sourceArn. + // +kubebuilder:validation:Optional + SourceArnSelector *v1.Selector `json:"sourceArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/schemas/v1beta1/zz_generated.deepcopy.go b/apis/schemas/v1beta1/zz_generated.deepcopy.go index e7f5123c3a..1c3cc6a1e1 100644 --- a/apis/schemas/v1beta1/zz_generated.deepcopy.go +++ b/apis/schemas/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,21 @@ func (in *DiscovererInitParameters) DeepCopyInto(out *DiscovererInitParameters) *out = new(string) **out = **in } + if in.SourceArn != nil { + in, out := &in.SourceArn, &out.SourceArn + *out = new(string) + **out = **in + } + if in.SourceArnRef != nil { + in, out := &in.SourceArnRef, &out.SourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SourceArnSelector != nil { + in, out := &in.SourceArnSelector, &out.SourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -544,6 +559,21 @@ func (in *SchemaInitParameters) DeepCopyInto(out *SchemaInitParameters) { *out = new(string) **out = **in } + if in.RegistryName != nil { + in, out := &in.RegistryName, &out.RegistryName + *out = new(string) + **out = **in + } + if in.RegistryNameRef != nil { + in, out := &in.RegistryNameRef, &out.RegistryNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RegistryNameSelector != nil { + in, out := &in.RegistryNameSelector, &out.RegistryNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/schemas/v1beta1/zz_generated.resolvers.go b/apis/schemas/v1beta1/zz_generated.resolvers.go index 7879cc0fef..82ae6718e5 100644 --- a/apis/schemas/v1beta1/zz_generated.resolvers.go +++ b/apis/schemas/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *Discoverer) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.SourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SourceArnRef, + Selector: mg.Spec.InitProvider.SourceArnSelector, + To: reference.To{ + List: &v1beta1.BusList{}, + Managed: &v1beta1.Bus{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SourceArn") + } + mg.Spec.InitProvider.SourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SourceArnRef = rsp.ResolvedReference + return nil } @@ -63,5 +79,21 @@ func (mg *Schema) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.RegistryName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RegistryNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegistryName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.RegistryNameRef, + Selector: mg.Spec.InitProvider.RegistryNameSelector, + To: reference.To{ + List: &RegistryList{}, + Managed: &Registry{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RegistryName") + } + mg.Spec.InitProvider.RegistryName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RegistryNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/schemas/v1beta1/zz_schema_types.go b/apis/schemas/v1beta1/zz_schema_types.go index 1c843db891..3d15ada455 100755 --- a/apis/schemas/v1beta1/zz_schema_types.go +++ b/apis/schemas/v1beta1/zz_schema_types.go @@ -28,6 +28,18 @@ type SchemaInitParameters struct { // The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The name of the registry in which this schema belongs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/schemas/v1beta1.Registry + RegistryName *string `json:"registryName,omitempty" tf:"registry_name,omitempty"` + + // Reference to a Registry in schemas to populate registryName. + // +kubebuilder:validation:Optional + RegistryNameRef *v1.Reference `json:"registryNameRef,omitempty" tf:"-"` + + // Selector for a Registry in schemas to populate registryName. + // +kubebuilder:validation:Optional + RegistryNameSelector *v1.Selector `json:"registryNameSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go b/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go index 2ffc45d9cc..c1900b3866 100644 --- a/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go @@ -228,6 +228,21 @@ func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters) { *out = new(bool) **out = **in } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -517,6 +532,21 @@ func (in *SecretPolicyInitParameters) DeepCopyInto(out *SecretPolicyInitParamete *out = new(string) **out = **in } + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) + **out = **in + } + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPolicyInitParameters. @@ -706,6 +736,21 @@ func (in *SecretRotation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretRotationInitParameters) DeepCopyInto(out *SecretRotationInitParameters) { *out = *in + if in.RotationLambdaArn != nil { + in, out := &in.RotationLambdaArn, &out.RotationLambdaArn + *out = new(string) + **out = **in + } + if in.RotationLambdaArnRef != nil { + in, out := &in.RotationLambdaArnRef, &out.RotationLambdaArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RotationLambdaArnSelector != nil { + in, out := &in.RotationLambdaArnSelector, &out.RotationLambdaArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RotationRules != nil { in, out := &in.RotationRules, &out.RotationRules *out = make([]RotationRulesInitParameters, len(*in)) @@ -713,6 +758,21 @@ func (in *SecretRotationInitParameters) DeepCopyInto(out *SecretRotationInitPara (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecretID != nil { + in, out := &in.SecretID, &out.SecretID + *out = new(string) + **out = **in + } + if in.SecretIDRef != nil { + in, out := &in.SecretIDRef, &out.SecretIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretIDSelector != nil { + in, out := &in.SecretIDSelector, &out.SecretIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRotationInitParameters. @@ -956,6 +1016,21 @@ func (in *SecretVersion) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretVersionInitParameters) DeepCopyInto(out *SecretVersionInitParameters) { *out = *in + if in.SecretID != nil { + in, out := &in.SecretID, &out.SecretID + *out = new(string) + **out = **in + } + if in.SecretIDRef != nil { + in, out := &in.SecretIDRef, &out.SecretIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecretIDSelector != nil { + in, out := &in.SecretIDSelector, &out.SecretIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.VersionStages != nil { in, out := &in.VersionStages, &out.VersionStages *out = make([]*string, len(*in)) diff --git a/apis/secretsmanager/v1beta1/zz_generated.resolvers.go b/apis/secretsmanager/v1beta1/zz_generated.resolvers.go index c7eaf24240..3ddc90bd87 100644 --- a/apis/secretsmanager/v1beta1/zz_generated.resolvers.go +++ b/apis/secretsmanager/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,22 @@ func (mg *Secret) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,22 @@ func (mg *SecretPolicy) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecretArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecretArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SecretArnRef, + Selector: mg.Spec.InitProvider.SecretArnSelector, + To: reference.To{ + List: &SecretList{}, + Managed: &Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecretArn") + } + mg.Spec.InitProvider.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecretArnRef = rsp.ResolvedReference + return nil } @@ -106,6 +138,38 @@ func (mg *SecretRotation) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.SecretID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecretIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RotationLambdaArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.RotationLambdaArnRef, + Selector: mg.Spec.InitProvider.RotationLambdaArnSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RotationLambdaArn") + } + mg.Spec.InitProvider.RotationLambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RotationLambdaArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecretID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SecretIDRef, + Selector: mg.Spec.InitProvider.SecretIDSelector, + To: reference.To{ + List: &SecretList{}, + Managed: &Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecretID") + } + mg.Spec.InitProvider.SecretID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecretIDRef = rsp.ResolvedReference + return nil } @@ -132,5 +196,21 @@ func (mg *SecretVersion) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.SecretID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SecretIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SecretID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.SecretIDRef, + Selector: mg.Spec.InitProvider.SecretIDSelector, + To: reference.To{ + List: &SecretList{}, + Managed: &Secret{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SecretID") + } + mg.Spec.InitProvider.SecretID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SecretIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/secretsmanager/v1beta1/zz_secret_types.go b/apis/secretsmanager/v1beta1/zz_secret_types.go index 976156e4fe..6a5b97da41 100755 --- a/apis/secretsmanager/v1beta1/zz_secret_types.go +++ b/apis/secretsmanager/v1beta1/zz_secret_types.go @@ -60,6 +60,18 @@ type SecretInitParameters struct { // Accepts boolean value to specify whether to overwrite a secret with the same name in the destination Region. ForceOverwriteReplicaSecret *bool `json:"forceOverwriteReplicaSecret,omitempty" tf:"force_overwrite_replica_secret,omitempty"` + // ARN or Id of the AWS KMS key to be used to encrypt the secret values in the versions stored in this secret. If you need to reference a CMK in a different account, you can use only the key ARN. If you don't specify this value, then Secrets Manager defaults to using the AWS account's default KMS key (the one named aws/secretsmanager). If the default KMS key with that name doesn't yet exist, then AWS Secrets Manager creates it for you automatically the first time. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: /_+=.@- Conflicts with name_prefix. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go b/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go index f1d7b987d4..8228a09f45 100755 --- a/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go +++ b/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go @@ -24,6 +24,19 @@ type SecretPolicyInitParameters struct { // Valid JSON document representing a resource policy. Unlike aws_secretsmanager_secret, where policy can be set to "{}" to delete the policy, "{}" is not a valid policy since policy is required. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Secret ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.Reference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` } type SecretPolicyObservation struct { diff --git a/apis/secretsmanager/v1beta1/zz_secretrotation_types.go b/apis/secretsmanager/v1beta1/zz_secretrotation_types.go index 6862501654..2f74557038 100755 --- a/apis/secretsmanager/v1beta1/zz_secretrotation_types.go +++ b/apis/secretsmanager/v1beta1/zz_secretrotation_types.go @@ -58,8 +58,34 @@ type RotationRulesParameters struct { type SecretRotationInitParameters struct { + // Specifies the ARN of the Lambda function that can rotate the secret. Must be supplied if the secret is not managed by AWS. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RotationLambdaArn *string `json:"rotationLambdaArn,omitempty" tf:"rotation_lambda_arn,omitempty"` + + // Reference to a Function in lambda to populate rotationLambdaArn. + // +kubebuilder:validation:Optional + RotationLambdaArnRef *v1.Reference `json:"rotationLambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate rotationLambdaArn. + // +kubebuilder:validation:Optional + RotationLambdaArnSelector *v1.Selector `json:"rotationLambdaArnSelector,omitempty" tf:"-"` + // A structure that defines the rotation configuration for this secret. Defined below. RotationRules []RotationRulesInitParameters `json:"rotationRules,omitempty" tf:"rotation_rules,omitempty"` + + // Specifies the secret to which you want to add a new version. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already exist. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretId. + // +kubebuilder:validation:Optional + SecretIDRef *v1.Reference `json:"secretIdRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretId. + // +kubebuilder:validation:Optional + SecretIDSelector *v1.Selector `json:"secretIdSelector,omitempty" tf:"-"` } type SecretRotationObservation struct { diff --git a/apis/secretsmanager/v1beta1/zz_secretversion_types.go b/apis/secretsmanager/v1beta1/zz_secretversion_types.go index dc3f1816f9..01cafbd026 100755 --- a/apis/secretsmanager/v1beta1/zz_secretversion_types.go +++ b/apis/secretsmanager/v1beta1/zz_secretversion_types.go @@ -19,6 +19,19 @@ import ( type SecretVersionInitParameters struct { + // Specifies the secret to which you want to add a new version. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already exist. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretId. + // +kubebuilder:validation:Optional + SecretIDRef *v1.Reference `json:"secretIdRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretId. + // +kubebuilder:validation:Optional + SecretIDSelector *v1.Selector `json:"secretIdSelector,omitempty" tf:"-"` + // Specifies a list of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret. If you specify a staging label that's already associated with a different version of the same secret then that staging label is automatically removed from the other version and attached to this version. If you do not specify a value, then AWS Secrets Manager automatically moves the staging label AWSCURRENT to this new version on creation. // +listType=set VersionStages []*string `json:"versionStages,omitempty" tf:"version_stages,omitempty"` diff --git a/apis/securityhub/v1beta1/zz_generated.deepcopy.go b/apis/securityhub/v1beta1/zz_generated.deepcopy.go index 188ede5eff..dd141c59e8 100644 --- a/apis/securityhub/v1beta1/zz_generated.deepcopy.go +++ b/apis/securityhub/v1beta1/zz_generated.deepcopy.go @@ -4248,6 +4248,21 @@ func (in *InviteAccepter) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InviteAccepterInitParameters) DeepCopyInto(out *InviteAccepterInitParameters) { *out = *in + if in.MasterID != nil { + in, out := &in.MasterID, &out.MasterID + *out = new(string) + **out = **in + } + if in.MasterIDRef != nil { + in, out := &in.MasterIDRef, &out.MasterIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MasterIDSelector != nil { + in, out := &in.MasterIDSelector, &out.MasterIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InviteAccepterInitParameters. @@ -4362,7 +4377,7 @@ func (in *InviteAccepterSpec) DeepCopyInto(out *InviteAccepterSpec) { *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 InviteAccepterSpec. diff --git a/apis/securityhub/v1beta1/zz_generated.resolvers.go b/apis/securityhub/v1beta1/zz_generated.resolvers.go index 4701b2875d..4108fb9020 100644 --- a/apis/securityhub/v1beta1/zz_generated.resolvers.go +++ b/apis/securityhub/v1beta1/zz_generated.resolvers.go @@ -36,5 +36,21 @@ func (mg *InviteAccepter) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.MasterID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.MasterIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MasterID), + Extract: resource.ExtractParamPath("master_id", true), + Reference: mg.Spec.InitProvider.MasterIDRef, + Selector: mg.Spec.InitProvider.MasterIDSelector, + To: reference.To{ + List: &MemberList{}, + Managed: &Member{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MasterID") + } + mg.Spec.InitProvider.MasterID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MasterIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/securityhub/v1beta1/zz_inviteaccepter_types.go b/apis/securityhub/v1beta1/zz_inviteaccepter_types.go index e1714447b9..8970ec5fa3 100755 --- a/apis/securityhub/v1beta1/zz_inviteaccepter_types.go +++ b/apis/securityhub/v1beta1/zz_inviteaccepter_types.go @@ -18,6 +18,19 @@ import ( ) type InviteAccepterInitParameters struct { + + // The account ID of the master Security Hub account whose invitation you're accepting. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/securityhub/v1beta1.Member + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("master_id",true) + MasterID *string `json:"masterId,omitempty" tf:"master_id,omitempty"` + + // Reference to a Member in securityhub to populate masterId. + // +kubebuilder:validation:Optional + MasterIDRef *v1.Reference `json:"masterIdRef,omitempty" tf:"-"` + + // Selector for a Member in securityhub to populate masterId. + // +kubebuilder:validation:Optional + MasterIDSelector *v1.Selector `json:"masterIdSelector,omitempty" tf:"-"` } type InviteAccepterObservation struct { diff --git a/apis/servicecatalog/v1beta1/zz_budgetresourceassociation_types.go b/apis/servicecatalog/v1beta1/zz_budgetresourceassociation_types.go index 3412981e56..7a47bef2d0 100755 --- a/apis/servicecatalog/v1beta1/zz_budgetresourceassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_budgetresourceassociation_types.go @@ -18,6 +18,30 @@ import ( ) type BudgetResourceAssociationInitParameters struct { + + // Budget name. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/budgets/v1beta1.Budget + BudgetName *string `json:"budgetName,omitempty" tf:"budget_name,omitempty"` + + // Reference to a Budget in budgets to populate budgetName. + // +kubebuilder:validation:Optional + BudgetNameRef *v1.Reference `json:"budgetNameRef,omitempty" tf:"-"` + + // Selector for a Budget in budgets to populate budgetName. + // +kubebuilder:validation:Optional + BudgetNameSelector *v1.Selector `json:"budgetNameSelector,omitempty" tf:"-"` + + // Resource identifier. + // +crossplane:generate:reference:type=Product + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Product to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Product to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` } type BudgetResourceAssociationObservation struct { diff --git a/apis/servicecatalog/v1beta1/zz_constraint_types.go b/apis/servicecatalog/v1beta1/zz_constraint_types.go index 5ab3cf2da7..e1569631d0 100755 --- a/apis/servicecatalog/v1beta1/zz_constraint_types.go +++ b/apis/servicecatalog/v1beta1/zz_constraint_types.go @@ -28,6 +28,32 @@ type ConstraintInitParameters struct { // Constraint parameters in JSON format. The syntax depends on the constraint type. See details below. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + // Portfolio identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicecatalog/v1beta1.Portfolio + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PortfolioID *string `json:"portfolioId,omitempty" tf:"portfolio_id,omitempty"` + + // Reference to a Portfolio in servicecatalog to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDRef *v1.Reference `json:"portfolioIdRef,omitempty" tf:"-"` + + // Selector for a Portfolio in servicecatalog to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDSelector *v1.Selector `json:"portfolioIdSelector,omitempty" tf:"-"` + + // Product identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicecatalog/v1beta1.Product + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ProductID *string `json:"productId,omitempty" tf:"product_id,omitempty"` + + // Reference to a Product in servicecatalog to populate productId. + // +kubebuilder:validation:Optional + ProductIDRef *v1.Reference `json:"productIdRef,omitempty" tf:"-"` + + // Selector for a Product in servicecatalog to populate productId. + // +kubebuilder:validation:Optional + ProductIDSelector *v1.Selector `json:"productIdSelector,omitempty" tf:"-"` + // Type of constraint. Valid values are LAUNCH, NOTIFICATION, RESOURCE_UPDATE, STACKSET, and TEMPLATE. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go b/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go index 9a02143a08..1b66d96cc0 100644 --- a/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go +++ b/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,36 @@ func (in *BudgetResourceAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BudgetResourceAssociationInitParameters) DeepCopyInto(out *BudgetResourceAssociationInitParameters) { *out = *in + if in.BudgetName != nil { + in, out := &in.BudgetName, &out.BudgetName + *out = new(string) + **out = **in + } + if in.BudgetNameRef != nil { + in, out := &in.BudgetNameRef, &out.BudgetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BudgetNameSelector != nil { + in, out := &in.BudgetNameSelector, &out.BudgetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceAssociationInitParameters. @@ -172,7 +202,7 @@ func (in *BudgetResourceAssociationSpec) DeepCopyInto(out *BudgetResourceAssocia *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 BudgetResourceAssociationSpec. @@ -247,6 +277,36 @@ func (in *ConstraintInitParameters) DeepCopyInto(out *ConstraintInitParameters) *out = new(string) **out = **in } + if in.PortfolioID != nil { + in, out := &in.PortfolioID, &out.PortfolioID + *out = new(string) + **out = **in + } + if in.PortfolioIDRef != nil { + in, out := &in.PortfolioIDRef, &out.PortfolioIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PortfolioIDSelector != nil { + in, out := &in.PortfolioIDSelector, &out.PortfolioIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ProductIDRef != nil { + in, out := &in.ProductIDRef, &out.ProductIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProductIDSelector != nil { + in, out := &in.ProductIDSelector, &out.ProductIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -849,6 +909,21 @@ func (in *PortfolioShareInitParameters) DeepCopyInto(out *PortfolioShareInitPara *out = new(string) **out = **in } + if in.PortfolioID != nil { + in, out := &in.PortfolioID, &out.PortfolioID + *out = new(string) + **out = **in + } + if in.PortfolioIDRef != nil { + in, out := &in.PortfolioIDRef, &out.PortfolioIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PortfolioIDSelector != nil { + in, out := &in.PortfolioIDSelector, &out.PortfolioIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PrincipalID != nil { in, out := &in.PrincipalID, &out.PrincipalID *out = new(string) @@ -1148,6 +1223,36 @@ func (in *PrincipalPortfolioAssociationInitParameters) DeepCopyInto(out *Princip *out = new(string) **out = **in } + if in.PortfolioID != nil { + in, out := &in.PortfolioID, &out.PortfolioID + *out = new(string) + **out = **in + } + if in.PortfolioIDRef != nil { + in, out := &in.PortfolioIDRef, &out.PortfolioIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PortfolioIDSelector != nil { + in, out := &in.PortfolioIDSelector, &out.PortfolioIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.PrincipalArn != nil { + in, out := &in.PrincipalArn, &out.PrincipalArn + *out = new(string) + **out = **in + } + if in.PrincipalArnRef != nil { + in, out := &in.PrincipalArnRef, &out.PrincipalArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrincipalArnSelector != nil { + in, out := &in.PrincipalArnSelector, &out.PrincipalArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PrincipalType != nil { in, out := &in.PrincipalType, &out.PrincipalType *out = new(string) @@ -1721,6 +1826,36 @@ func (in *ProductPortfolioAssociationInitParameters) DeepCopyInto(out *ProductPo *out = new(string) **out = **in } + if in.PortfolioID != nil { + in, out := &in.PortfolioID, &out.PortfolioID + *out = new(string) + **out = **in + } + if in.PortfolioIDRef != nil { + in, out := &in.PortfolioIDRef, &out.PortfolioIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PortfolioIDSelector != nil { + in, out := &in.PortfolioIDSelector, &out.PortfolioIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ProductIDRef != nil { + in, out := &in.ProductIDRef, &out.ProductIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProductIDSelector != nil { + in, out := &in.ProductIDSelector, &out.ProductIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SourcePortfolioID != nil { in, out := &in.SourcePortfolioID, &out.SourcePortfolioID *out = new(string) @@ -2000,6 +2135,21 @@ func (in *ProvisioningArtifactInitParameters) DeepCopyInto(out *ProvisioningArti *out = new(string) **out = **in } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ProductIDRef != nil { + in, out := &in.ProductIDRef, &out.ProductIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProductIDSelector != nil { + in, out := &in.ProductIDSelector, &out.ProductIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TemplatePhysicalID != nil { in, out := &in.TemplatePhysicalID, &out.TemplatePhysicalID *out = new(string) @@ -2798,6 +2948,36 @@ func (in *TagOptionResourceAssociation) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TagOptionResourceAssociationInitParameters) DeepCopyInto(out *TagOptionResourceAssociationInitParameters) { *out = *in + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceIDRef != nil { + in, out := &in.ResourceIDRef, &out.ResourceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceIDSelector != nil { + in, out := &in.ResourceIDSelector, &out.ResourceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TagOptionID != nil { + in, out := &in.TagOptionID, &out.TagOptionID + *out = new(string) + **out = **in + } + if in.TagOptionIDRef != nil { + in, out := &in.TagOptionIDRef, &out.TagOptionIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TagOptionIDSelector != nil { + in, out := &in.TagOptionIDSelector, &out.TagOptionIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagOptionResourceAssociationInitParameters. @@ -2947,7 +3127,7 @@ func (in *TagOptionResourceAssociationSpec) DeepCopyInto(out *TagOptionResourceA *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 TagOptionResourceAssociationSpec. diff --git a/apis/servicecatalog/v1beta1/zz_generated.resolvers.go b/apis/servicecatalog/v1beta1/zz_generated.resolvers.go index 80182f34ef..cb7060dd80 100644 --- a/apis/servicecatalog/v1beta1/zz_generated.resolvers.go +++ b/apis/servicecatalog/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *BudgetResourceAssociation) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BudgetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.BudgetNameRef, + Selector: mg.Spec.InitProvider.BudgetNameSelector, + To: reference.To{ + List: &v1beta1.BudgetList{}, + Managed: &v1beta1.Budget{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BudgetName") + } + mg.Spec.InitProvider.BudgetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BudgetNameRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ProductList{}, + Managed: &Product{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + return nil } @@ -97,6 +129,38 @@ func (mg *Constraint) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProductIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PortfolioID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PortfolioIDRef, + Selector: mg.Spec.InitProvider.PortfolioIDSelector, + To: reference.To{ + List: &PortfolioList{}, + Managed: &Portfolio{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PortfolioID") + } + mg.Spec.InitProvider.PortfolioID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PortfolioIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProductID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ProductIDRef, + Selector: mg.Spec.InitProvider.ProductIDSelector, + To: reference.To{ + List: &ProductList{}, + Managed: &Product{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProductID") + } + mg.Spec.InitProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProductIDRef = rsp.ResolvedReference + return nil } @@ -123,6 +187,22 @@ func (mg *PortfolioShare) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.PortfolioID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PortfolioIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PortfolioID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.PortfolioIDRef, + Selector: mg.Spec.InitProvider.PortfolioIDSelector, + To: reference.To{ + List: &PortfolioList{}, + Managed: &Portfolio{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PortfolioID") + } + mg.Spec.InitProvider.PortfolioID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PortfolioIDRef = rsp.ResolvedReference + return nil } @@ -165,6 +245,38 @@ func (mg *PrincipalPortfolioAssociation) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.PrincipalArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PrincipalArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PortfolioID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PortfolioIDRef, + Selector: mg.Spec.InitProvider.PortfolioIDSelector, + To: reference.To{ + List: &PortfolioList{}, + Managed: &Portfolio{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PortfolioID") + } + mg.Spec.InitProvider.PortfolioID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PortfolioIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PrincipalArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.PrincipalArnRef, + Selector: mg.Spec.InitProvider.PrincipalArnSelector, + To: reference.To{ + List: &v1beta11.UserList{}, + Managed: &v1beta11.User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PrincipalArn") + } + mg.Spec.InitProvider.PrincipalArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PrincipalArnRef = rsp.ResolvedReference + return nil } @@ -207,6 +319,38 @@ func (mg *ProductPortfolioAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProductIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PortfolioID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PortfolioIDRef, + Selector: mg.Spec.InitProvider.PortfolioIDSelector, + To: reference.To{ + List: &PortfolioList{}, + Managed: &Portfolio{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PortfolioID") + } + mg.Spec.InitProvider.PortfolioID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PortfolioIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProductID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ProductIDRef, + Selector: mg.Spec.InitProvider.ProductIDSelector, + To: reference.To{ + List: &ProductList{}, + Managed: &Product{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProductID") + } + mg.Spec.InitProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProductIDRef = rsp.ResolvedReference + return nil } @@ -233,6 +377,22 @@ func (mg *ProvisioningArtifact) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProductIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProductID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ProductIDRef, + Selector: mg.Spec.InitProvider.ProductIDSelector, + To: reference.To{ + List: &ProductList{}, + Managed: &Product{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProductID") + } + mg.Spec.InitProvider.ProductID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProductIDRef = rsp.ResolvedReference + return nil } @@ -275,5 +435,37 @@ func (mg *TagOptionResourceAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.TagOptionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TagOptionIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ResourceIDRef, + Selector: mg.Spec.InitProvider.ResourceIDSelector, + To: reference.To{ + List: &ProductList{}, + Managed: &Product{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceID") + } + mg.Spec.InitProvider.ResourceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TagOptionID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.TagOptionIDRef, + Selector: mg.Spec.InitProvider.TagOptionIDSelector, + To: reference.To{ + List: &TagOptionList{}, + Managed: &TagOption{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TagOptionID") + } + mg.Spec.InitProvider.TagOptionID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TagOptionIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go b/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go index e6b2c11bdb..01d082a032 100755 --- a/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go +++ b/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go @@ -22,6 +22,19 @@ type PortfolioShareInitParameters struct { // Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en. AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"` + // Portfolio identifier. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicecatalog/v1beta1.Portfolio + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + PortfolioID *string `json:"portfolioId,omitempty" tf:"portfolio_id,omitempty"` + + // Reference to a Portfolio in servicecatalog to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDRef *v1.Reference `json:"portfolioIdRef,omitempty" tf:"-"` + + // Selector for a Portfolio in servicecatalog to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDSelector *v1.Selector `json:"portfolioIdSelector,omitempty" tf:"-"` + // Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units. PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` diff --git a/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go b/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go index 98aa568e40..bc039f8f57 100755 --- a/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go @@ -22,6 +22,31 @@ type PrincipalPortfolioAssociationInitParameters struct { // Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en. AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"` + // Portfolio identifier. + // +crossplane:generate:reference:type=Portfolio + PortfolioID *string `json:"portfolioId,omitempty" tf:"portfolio_id,omitempty"` + + // Reference to a Portfolio to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDRef *v1.Reference `json:"portfolioIdRef,omitempty" tf:"-"` + + // Selector for a Portfolio to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDSelector *v1.Selector `json:"portfolioIdSelector,omitempty" tf:"-"` + + // Principal ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.User + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + PrincipalArn *string `json:"principalArn,omitempty" tf:"principal_arn,omitempty"` + + // Reference to a User in iam to populate principalArn. + // +kubebuilder:validation:Optional + PrincipalArnRef *v1.Reference `json:"principalArnRef,omitempty" tf:"-"` + + // Selector for a User in iam to populate principalArn. + // +kubebuilder:validation:Optional + PrincipalArnSelector *v1.Selector `json:"principalArnSelector,omitempty" tf:"-"` + // Principal type. Setting this argument empty (e.g., principal_type = "") will result in an error. Valid values are IAM and IAM_PATTERN. Default is IAM. PrincipalType *string `json:"principalType,omitempty" tf:"principal_type,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go b/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go index ce96e9a95a..ed96ce7db8 100755 --- a/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go @@ -22,6 +22,30 @@ type ProductPortfolioAssociationInitParameters struct { // Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en. AcceptLanguage *string `json:"acceptLanguage,omitempty" tf:"accept_language,omitempty"` + // Portfolio identifier. + // +crossplane:generate:reference:type=Portfolio + PortfolioID *string `json:"portfolioId,omitempty" tf:"portfolio_id,omitempty"` + + // Reference to a Portfolio to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDRef *v1.Reference `json:"portfolioIdRef,omitempty" tf:"-"` + + // Selector for a Portfolio to populate portfolioId. + // +kubebuilder:validation:Optional + PortfolioIDSelector *v1.Selector `json:"portfolioIdSelector,omitempty" tf:"-"` + + // Product identifier. + // +crossplane:generate:reference:type=Product + ProductID *string `json:"productId,omitempty" tf:"product_id,omitempty"` + + // Reference to a Product to populate productId. + // +kubebuilder:validation:Optional + ProductIDRef *v1.Reference `json:"productIdRef,omitempty" tf:"-"` + + // Selector for a Product to populate productId. + // +kubebuilder:validation:Optional + ProductIDSelector *v1.Selector `json:"productIdSelector,omitempty" tf:"-"` + // Identifier of the source portfolio. SourcePortfolioID *string `json:"sourcePortfolioId,omitempty" tf:"source_portfolio_id,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_provisioningartifact_types.go b/apis/servicecatalog/v1beta1/zz_provisioningartifact_types.go index 5ed12beca2..632aa10d00 100755 --- a/apis/servicecatalog/v1beta1/zz_provisioningartifact_types.go +++ b/apis/servicecatalog/v1beta1/zz_provisioningartifact_types.go @@ -37,6 +37,19 @@ type ProvisioningArtifactInitParameters struct { // Name of the provisioning artifact (for example, v1, v2beta). No spaces are allowed. Name *string `json:"name,omitempty" tf:"name,omitempty"` + // Identifier of the product. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicecatalog/v1beta1.Product + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ProductID *string `json:"productId,omitempty" tf:"product_id,omitempty"` + + // Reference to a Product in servicecatalog to populate productId. + // +kubebuilder:validation:Optional + ProductIDRef *v1.Reference `json:"productIdRef,omitempty" tf:"-"` + + // Selector for a Product in servicecatalog to populate productId. + // +kubebuilder:validation:Optional + ProductIDSelector *v1.Selector `json:"productIdSelector,omitempty" tf:"-"` + // Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]. TemplatePhysicalID *string `json:"templatePhysicalId,omitempty" tf:"template_physical_id,omitempty"` diff --git a/apis/servicecatalog/v1beta1/zz_tagoptionresourceassociation_types.go b/apis/servicecatalog/v1beta1/zz_tagoptionresourceassociation_types.go index 1c7ad09da1..ce38a3f26e 100755 --- a/apis/servicecatalog/v1beta1/zz_tagoptionresourceassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_tagoptionresourceassociation_types.go @@ -18,6 +18,30 @@ import ( ) type TagOptionResourceAssociationInitParameters struct { + + // Resource identifier. + // +crossplane:generate:reference:type=Product + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // Reference to a Product to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` + + // Selector for a Product to populate resourceId. + // +kubebuilder:validation:Optional + ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` + + // Tag Option identifier. + // +crossplane:generate:reference:type=TagOption + TagOptionID *string `json:"tagOptionId,omitempty" tf:"tag_option_id,omitempty"` + + // Reference to a TagOption to populate tagOptionId. + // +kubebuilder:validation:Optional + TagOptionIDRef *v1.Reference `json:"tagOptionIdRef,omitempty" tf:"-"` + + // Selector for a TagOption to populate tagOptionId. + // +kubebuilder:validation:Optional + TagOptionIDSelector *v1.Selector `json:"tagOptionIdSelector,omitempty" tf:"-"` } type TagOptionResourceAssociationObservation struct { diff --git a/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go b/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go index 296d307cfa..b0344cba12 100644 --- a/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go +++ b/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go @@ -23,6 +23,21 @@ func (in *DNSConfigInitParameters) DeepCopyInto(out *DNSConfigInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.NamespaceID != nil { + in, out := &in.NamespaceID, &out.NamespaceID + *out = new(string) + **out = **in + } + if in.NamespaceIDRef != nil { + in, out := &in.NamespaceIDRef, &out.NamespaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NamespaceIDSelector != nil { + in, out := &in.NamespaceIDSelector, &out.NamespaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RoutingPolicy != nil { in, out := &in.RoutingPolicy, &out.RoutingPolicy *out = new(string) @@ -648,6 +663,21 @@ func (in *PrivateDNSNamespaceInitParameters) DeepCopyInto(out *PrivateDNSNamespa (*out)[key] = outVal } } + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = new(string) + **out = **in + } + if in.VPCRef != nil { + in, out := &in.VPCRef, &out.VPCRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCSelector != nil { + in, out := &in.VPCSelector, &out.VPCSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateDNSNamespaceInitParameters. diff --git a/apis/servicediscovery/v1beta1/zz_generated.resolvers.go b/apis/servicediscovery/v1beta1/zz_generated.resolvers.go index 7ee6e8e5f8..40ba98f639 100644 --- a/apis/servicediscovery/v1beta1/zz_generated.resolvers.go +++ b/apis/servicediscovery/v1beta1/zz_generated.resolvers.go @@ -37,6 +37,22 @@ func (mg *PrivateDNSNamespace) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.VPC = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPCRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.VPC), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.VPCRef, + Selector: mg.Spec.InitProvider.VPCSelector, + To: reference.To{ + List: &v1beta1.VPCList{}, + Managed: &v1beta1.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.VPC") + } + mg.Spec.InitProvider.VPC = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.VPCRef = rsp.ResolvedReference + return nil } @@ -64,6 +80,24 @@ func (mg *Service) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.DNSConfig[i3].NamespaceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DNSConfig[i3].NamespaceIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.DNSConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DNSConfig[i3].NamespaceID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DNSConfig[i3].NamespaceIDRef, + Selector: mg.Spec.InitProvider.DNSConfig[i3].NamespaceIDSelector, + To: reference.To{ + List: &PrivateDNSNamespaceList{}, + Managed: &PrivateDNSNamespace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DNSConfig[i3].NamespaceID") + } + mg.Spec.InitProvider.DNSConfig[i3].NamespaceID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DNSConfig[i3].NamespaceIDRef = rsp.ResolvedReference + } return nil diff --git a/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go b/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go index 954f393fef..85f31f0e2f 100755 --- a/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go +++ b/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go @@ -28,6 +28,18 @@ type PrivateDNSNamespaceInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // The ID of VPC that you want to associate the namespace with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + VPC *string `json:"vpc,omitempty" tf:"vpc,omitempty"` + + // Reference to a VPC in ec2 to populate vpc. + // +kubebuilder:validation:Optional + VPCRef *v1.Reference `json:"vpcRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpc. + // +kubebuilder:validation:Optional + VPCSelector *v1.Selector `json:"vpcSelector,omitempty" tf:"-"` } type PrivateDNSNamespaceObservation struct { diff --git a/apis/servicediscovery/v1beta1/zz_service_types.go b/apis/servicediscovery/v1beta1/zz_service_types.go index d4b0f7e2fa..2d5be87b13 100755 --- a/apis/servicediscovery/v1beta1/zz_service_types.go +++ b/apis/servicediscovery/v1beta1/zz_service_types.go @@ -22,6 +22,19 @@ type DNSConfigInitParameters struct { // An array that contains one DnsRecord object for each resource record set. DNSRecords []DNSRecordsInitParameters `json:"dnsRecords,omitempty" tf:"dns_records,omitempty"` + // The ID of the namespace to use for DNS configuration. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/servicediscovery/v1beta1.PrivateDNSNamespace + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"` + + // Reference to a PrivateDNSNamespace in servicediscovery to populate namespaceId. + // +kubebuilder:validation:Optional + NamespaceIDRef *v1.Reference `json:"namespaceIdRef,omitempty" tf:"-"` + + // Selector for a PrivateDNSNamespace in servicediscovery to populate namespaceId. + // +kubebuilder:validation:Optional + NamespaceIDSelector *v1.Selector `json:"namespaceIdSelector,omitempty" tf:"-"` + // The routing policy that you want to apply to all records that Route 53 creates when you register an instance and specify the service. Valid Values: MULTIVALUE, WEIGHTED RoutingPolicy *string `json:"routingPolicy,omitempty" tf:"routing_policy,omitempty"` } diff --git a/apis/ses/v1beta1/zz_domainmailfrom_types.go b/apis/ses/v1beta1/zz_domainmailfrom_types.go index 2428c9e1e0..6753cd32b4 100755 --- a/apis/ses/v1beta1/zz_domainmailfrom_types.go +++ b/apis/ses/v1beta1/zz_domainmailfrom_types.go @@ -22,6 +22,18 @@ type DomainMailFromInitParameters struct { // The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. Defaults to UseDefaultValue. See the SES API documentation for more information. BehaviorOnMxFailure *string `json:"behaviorOnMxFailure,omitempty" tf:"behavior_on_mx_failure,omitempty"` + // Verified domain name or email identity to generate DKIM tokens for. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ses/v1beta1.DomainIdentity + Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // Reference to a DomainIdentity in ses to populate domain. + // +kubebuilder:validation:Optional + DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"` + + // Selector for a DomainIdentity in ses to populate domain. + // +kubebuilder:validation:Optional + DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"` + // Subdomain (of above domain) which is to be used as MAIL FROM address MailFromDomain *string `json:"mailFromDomain,omitempty" tf:"mail_from_domain,omitempty"` } diff --git a/apis/ses/v1beta1/zz_eventdestination_types.go b/apis/ses/v1beta1/zz_eventdestination_types.go index 01a746c07f..fca940b98a 100755 --- a/apis/ses/v1beta1/zz_eventdestination_types.go +++ b/apis/ses/v1beta1/zz_eventdestination_types.go @@ -61,6 +61,18 @@ type EventDestinationInitParameters struct { // CloudWatch destination for the events CloudwatchDestination []CloudwatchDestinationInitParameters `json:"cloudwatchDestination,omitempty" tf:"cloudwatch_destination,omitempty"` + // The name of the configuration set + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ses/v1beta1.ConfigurationSet + ConfigurationSetName *string `json:"configurationSetName,omitempty" tf:"configuration_set_name,omitempty"` + + // Reference to a ConfigurationSet in ses to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameRef *v1.Reference `json:"configurationSetNameRef,omitempty" tf:"-"` + + // Selector for a ConfigurationSet in ses to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameSelector *v1.Selector `json:"configurationSetNameSelector,omitempty" tf:"-"` + // If true, the event destination will be enabled Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` @@ -146,6 +158,32 @@ type EventDestinationParameters struct { } type KinesisDestinationInitParameters struct { + + // The ARN of the role that has permissions to access the Kinesis Stream + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + + // The ARN of the Kinesis Stream + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnRef *v1.Reference `json:"streamArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate streamArn. + // +kubebuilder:validation:Optional + StreamArnSelector *v1.Selector `json:"streamArnSelector,omitempty" tf:"-"` } type KinesisDestinationObservation struct { @@ -189,6 +227,19 @@ type KinesisDestinationParameters struct { } type SnsDestinationInitParameters struct { + + // The ARN of the SNS topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type SnsDestinationObservation struct { diff --git a/apis/ses/v1beta1/zz_generated.deepcopy.go b/apis/ses/v1beta1/zz_generated.deepcopy.go index ea2e0ae919..513cbb84ad 100644 --- a/apis/ses/v1beta1/zz_generated.deepcopy.go +++ b/apis/ses/v1beta1/zz_generated.deepcopy.go @@ -1142,6 +1142,21 @@ func (in *DomainMailFromInitParameters) DeepCopyInto(out *DomainMailFromInitPara *out = new(string) **out = **in } + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.DomainRef != nil { + in, out := &in.DomainRef, &out.DomainRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DomainSelector != nil { + in, out := &in.DomainSelector, &out.DomainSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.MailFromDomain != nil { in, out := &in.MailFromDomain, &out.MailFromDomain *out = new(string) @@ -1512,6 +1527,21 @@ func (in *EventDestinationInitParameters) DeepCopyInto(out *EventDestinationInit (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ConfigurationSetName != nil { + in, out := &in.ConfigurationSetName, &out.ConfigurationSetName + *out = new(string) + **out = **in + } + if in.ConfigurationSetNameRef != nil { + in, out := &in.ConfigurationSetNameRef, &out.ConfigurationSetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationSetNameSelector != nil { + in, out := &in.ConfigurationSetNameSelector, &out.ConfigurationSetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) @@ -1520,7 +1550,9 @@ func (in *EventDestinationInitParameters) DeepCopyInto(out *EventDestinationInit if in.KinesisDestination != nil { in, out := &in.KinesisDestination, &out.KinesisDestination *out = make([]KinesisDestinationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.MatchingTypes != nil { in, out := &in.MatchingTypes, &out.MatchingTypes @@ -1536,7 +1568,9 @@ func (in *EventDestinationInitParameters) DeepCopyInto(out *EventDestinationInit if in.SnsDestination != nil { in, out := &in.SnsDestination, &out.SnsDestination *out = make([]SnsDestinationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -1786,6 +1820,21 @@ func (in *IdentityNotificationTopic) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IdentityNotificationTopicInitParameters) DeepCopyInto(out *IdentityNotificationTopicInitParameters) { *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(string) + **out = **in + } + if in.IdentityRef != nil { + in, out := &in.IdentityRef, &out.IdentityRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IdentitySelector != nil { + in, out := &in.IdentitySelector, &out.IdentitySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IncludeOriginalHeaders != nil { in, out := &in.IncludeOriginalHeaders, &out.IncludeOriginalHeaders *out = new(bool) @@ -1796,6 +1845,21 @@ func (in *IdentityNotificationTopicInitParameters) DeepCopyInto(out *IdentityNot *out = new(string) **out = **in } + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityNotificationTopicInitParameters. @@ -2005,6 +2069,21 @@ func (in *IdentityPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IdentityPolicyInitParameters) DeepCopyInto(out *IdentityPolicyInitParameters) { *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(string) + **out = **in + } + if in.IdentityRef != nil { + in, out := &in.IdentityRef, &out.IdentityRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IdentitySelector != nil { + in, out := &in.IdentitySelector, &out.IdentitySelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -2177,6 +2256,36 @@ func (in *IdentityPolicyStatus) DeepCopy() *IdentityPolicyStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisDestinationInitParameters) DeepCopyInto(out *KinesisDestinationInitParameters) { *out = *in + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StreamArn != nil { + in, out := &in.StreamArn, &out.StreamArn + *out = new(string) + **out = **in + } + if in.StreamArnRef != nil { + in, out := &in.StreamArnRef, &out.StreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StreamArnSelector != nil { + in, out := &in.StreamArnSelector, &out.StreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisDestinationInitParameters. @@ -3354,6 +3463,21 @@ func (in *SnsActionParameters) DeepCopy() *SnsActionParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnsDestinationInitParameters) DeepCopyInto(out *SnsDestinationInitParameters) { *out = *in + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsDestinationInitParameters. diff --git a/apis/ses/v1beta1/zz_generated.resolvers.go b/apis/ses/v1beta1/zz_generated.resolvers.go index 0018efc5d8..0340a1a7c7 100644 --- a/apis/ses/v1beta1/zz_generated.resolvers.go +++ b/apis/ses/v1beta1/zz_generated.resolvers.go @@ -39,6 +39,22 @@ func (mg *DomainMailFrom) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.Domain = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DomainRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Domain), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.DomainRef, + Selector: mg.Spec.InitProvider.DomainSelector, + To: reference.To{ + List: &DomainIdentityList{}, + Managed: &DomainIdentity{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Domain") + } + mg.Spec.InitProvider.Domain = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DomainRef = rsp.ResolvedReference + return nil } @@ -118,6 +134,76 @@ func (mg *EventDestination) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.SnsDestination[i3].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SnsDestination[i3].TopicArnRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationSetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConfigurationSetNameRef, + Selector: mg.Spec.InitProvider.ConfigurationSetNameSelector, + To: reference.To{ + List: &ConfigurationSetList{}, + Managed: &ConfigurationSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationSetName") + } + mg.Spec.InitProvider.ConfigurationSetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationSetNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.KinesisDestination); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KinesisDestination[i3].RoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.KinesisDestination[i3].RoleArnRef, + Selector: mg.Spec.InitProvider.KinesisDestination[i3].RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KinesisDestination[i3].RoleArn") + } + mg.Spec.InitProvider.KinesisDestination[i3].RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KinesisDestination[i3].RoleArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.KinesisDestination); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KinesisDestination[i3].StreamArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.KinesisDestination[i3].StreamArnRef, + Selector: mg.Spec.InitProvider.KinesisDestination[i3].StreamArnSelector, + To: reference.To{ + List: &v1beta11.DeliveryStreamList{}, + Managed: &v1beta11.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KinesisDestination[i3].StreamArn") + } + mg.Spec.InitProvider.KinesisDestination[i3].StreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KinesisDestination[i3].StreamArnRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.SnsDestination); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SnsDestination[i3].TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.SnsDestination[i3].TopicArnRef, + Selector: mg.Spec.InitProvider.SnsDestination[i3].TopicArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SnsDestination[i3].TopicArn") + } + mg.Spec.InitProvider.SnsDestination[i3].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SnsDestination[i3].TopicArnRef = rsp.ResolvedReference + } return nil @@ -162,6 +248,38 @@ func (mg *IdentityNotificationTopic) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Identity), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.IdentityRef, + Selector: mg.Spec.InitProvider.IdentitySelector, + To: reference.To{ + List: &DomainIdentityList{}, + Managed: &DomainIdentity{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Identity") + } + mg.Spec.InitProvider.Identity = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IdentityRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TopicArnRef, + Selector: mg.Spec.InitProvider.TopicArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TopicArn") + } + mg.Spec.InitProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TopicArnRef = rsp.ResolvedReference + return nil } @@ -188,5 +306,21 @@ func (mg *IdentityPolicy) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.Identity = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IdentityRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Identity), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.IdentityRef, + Selector: mg.Spec.InitProvider.IdentitySelector, + To: reference.To{ + List: &DomainIdentityList{}, + Managed: &DomainIdentity{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Identity") + } + mg.Spec.InitProvider.Identity = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IdentityRef = rsp.ResolvedReference + return nil } diff --git a/apis/ses/v1beta1/zz_identitynotificationtopic_types.go b/apis/ses/v1beta1/zz_identitynotificationtopic_types.go index 7b7ff16245..19839d6679 100755 --- a/apis/ses/v1beta1/zz_identitynotificationtopic_types.go +++ b/apis/ses/v1beta1/zz_identitynotificationtopic_types.go @@ -19,11 +19,36 @@ import ( type IdentityNotificationTopicInitParameters struct { + // The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ses/v1beta1.DomainIdentity + Identity *string `json:"identity,omitempty" tf:"identity,omitempty"` + + // Reference to a DomainIdentity in ses to populate identity. + // +kubebuilder:validation:Optional + IdentityRef *v1.Reference `json:"identityRef,omitempty" tf:"-"` + + // Selector for a DomainIdentity in ses to populate identity. + // +kubebuilder:validation:Optional + IdentitySelector *v1.Selector `json:"identitySelector,omitempty" tf:"-"` + // Whether SES should include original email headers in SNS notifications of this type. false by default. IncludeOriginalHeaders *bool `json:"includeOriginalHeaders,omitempty" tf:"include_original_headers,omitempty"` // The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: Bounce, Complaint or Delivery. NotificationType *string `json:"notificationType,omitempty" tf:"notification_type,omitempty"` + + // The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type IdentityNotificationTopicObservation struct { diff --git a/apis/ses/v1beta1/zz_identitypolicy_types.go b/apis/ses/v1beta1/zz_identitypolicy_types.go index e7dba278ba..f48cb2d0d8 100755 --- a/apis/ses/v1beta1/zz_identitypolicy_types.go +++ b/apis/ses/v1beta1/zz_identitypolicy_types.go @@ -19,6 +19,19 @@ import ( type IdentityPolicyInitParameters struct { + // Name or Amazon Resource Name (ARN) of the SES Identity. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ses/v1beta1.DomainIdentity + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Identity *string `json:"identity,omitempty" tf:"identity,omitempty"` + + // Reference to a DomainIdentity in ses to populate identity. + // +kubebuilder:validation:Optional + IdentityRef *v1.Reference `json:"identityRef,omitempty" tf:"-"` + + // Selector for a DomainIdentity in ses to populate identity. + // +kubebuilder:validation:Optional + IdentitySelector *v1.Selector `json:"identitySelector,omitempty" tf:"-"` + // Name of the policy. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go b/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go index 287a916a0f..f5767e0de6 100755 --- a/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go +++ b/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go @@ -38,6 +38,18 @@ type CloudWatchDestinationParameters struct { type ConfigurationSetEventDestinationInitParameters struct { + // The name of the configuration set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sesv2/v1beta1.ConfigurationSet + ConfigurationSetName *string `json:"configurationSetName,omitempty" tf:"configuration_set_name,omitempty"` + + // Reference to a ConfigurationSet in sesv2 to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameRef *v1.Reference `json:"configurationSetNameRef,omitempty" tf:"-"` + + // Selector for a ConfigurationSet in sesv2 to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameSelector *v1.Selector `json:"configurationSetNameSelector,omitempty" tf:"-"` + // A name that identifies the event destination within the configuration set. EventDestination []EventDestinationInitParameters `json:"eventDestination,omitempty" tf:"event_destination,omitempty"` @@ -198,6 +210,32 @@ type EventDestinationParameters struct { } type KinesisFirehoseDestinationInitParameters struct { + + // The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + DeliveryStreamArn *string `json:"deliveryStreamArn,omitempty" tf:"delivery_stream_arn,omitempty"` + + // Reference to a DeliveryStream in firehose to populate deliveryStreamArn. + // +kubebuilder:validation:Optional + DeliveryStreamArnRef *v1.Reference `json:"deliveryStreamArnRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate deliveryStreamArn. + // +kubebuilder:validation:Optional + DeliveryStreamArnSelector *v1.Selector `json:"deliveryStreamArnSelector,omitempty" tf:"-"` + + // The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRoleArn. + // +kubebuilder:validation:Optional + IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,omitempty" tf:"-"` } type KinesisFirehoseDestinationObservation struct { @@ -241,6 +279,18 @@ type KinesisFirehoseDestinationParameters struct { } type PinpointDestinationInitParameters struct { + + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/pinpoint/v1beta1.App + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ApplicationArn *string `json:"applicationArn,omitempty" tf:"application_arn,omitempty"` + + // Reference to a App in pinpoint to populate applicationArn. + // +kubebuilder:validation:Optional + ApplicationArnRef *v1.Reference `json:"applicationArnRef,omitempty" tf:"-"` + + // Selector for a App in pinpoint to populate applicationArn. + // +kubebuilder:validation:Optional + ApplicationArnSelector *v1.Selector `json:"applicationArnSelector,omitempty" tf:"-"` } type PinpointDestinationObservation struct { @@ -264,6 +314,19 @@ type PinpointDestinationParameters struct { } type SnsDestinationInitParameters struct { + + // The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type SnsDestinationObservation struct { diff --git a/apis/sesv2/v1beta1/zz_emailidentity_types.go b/apis/sesv2/v1beta1/zz_emailidentity_types.go index 4dc9c5df07..dc3fcf82af 100755 --- a/apis/sesv2/v1beta1/zz_emailidentity_types.go +++ b/apis/sesv2/v1beta1/zz_emailidentity_types.go @@ -67,6 +67,18 @@ type DKIMSigningAttributesParameters struct { type EmailIdentityInitParameters struct { + // The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sesv2/v1beta1.ConfigurationSet + ConfigurationSetName *string `json:"configurationSetName,omitempty" tf:"configuration_set_name,omitempty"` + + // Reference to a ConfigurationSet in sesv2 to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameRef *v1.Reference `json:"configurationSetNameRef,omitempty" tf:"-"` + + // Selector for a ConfigurationSet in sesv2 to populate configurationSetName. + // +kubebuilder:validation:Optional + ConfigurationSetNameSelector *v1.Selector `json:"configurationSetNameSelector,omitempty" tf:"-"` + // The configuration of the DKIM authentication settings for an email domain identity. DKIMSigningAttributes []DKIMSigningAttributesInitParameters `json:"dkimSigningAttributes,omitempty" tf:"dkim_signing_attributes,omitempty"` diff --git a/apis/sesv2/v1beta1/zz_generated.deepcopy.go b/apis/sesv2/v1beta1/zz_generated.deepcopy.go index 7cb208f26b..54216587e9 100644 --- a/apis/sesv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/sesv2/v1beta1/zz_generated.deepcopy.go @@ -136,6 +136,21 @@ func (in *ConfigurationSetEventDestination) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigurationSetEventDestinationInitParameters) DeepCopyInto(out *ConfigurationSetEventDestinationInitParameters) { *out = *in + if in.ConfigurationSetName != nil { + in, out := &in.ConfigurationSetName, &out.ConfigurationSetName + *out = new(string) + **out = **in + } + if in.ConfigurationSetNameRef != nil { + in, out := &in.ConfigurationSetNameRef, &out.ConfigurationSetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationSetNameSelector != nil { + in, out := &in.ConfigurationSetNameSelector, &out.ConfigurationSetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.EventDestination != nil { in, out := &in.EventDestination, &out.EventDestination *out = make([]EventDestinationInitParameters, len(*in)) @@ -1391,6 +1406,21 @@ func (in *EmailIdentityFeedbackAttributesStatus) DeepCopy() *EmailIdentityFeedba // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EmailIdentityInitParameters) DeepCopyInto(out *EmailIdentityInitParameters) { *out = *in + if in.ConfigurationSetName != nil { + in, out := &in.ConfigurationSetName, &out.ConfigurationSetName + *out = new(string) + **out = **in + } + if in.ConfigurationSetNameRef != nil { + in, out := &in.ConfigurationSetNameRef, &out.ConfigurationSetNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ConfigurationSetNameSelector != nil { + in, out := &in.ConfigurationSetNameSelector, &out.ConfigurationSetNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DKIMSigningAttributes != nil { in, out := &in.DKIMSigningAttributes, &out.DKIMSigningAttributes *out = make([]DKIMSigningAttributesInitParameters, len(*in)) @@ -1827,7 +1857,9 @@ func (in *EventDestinationInitParameters) DeepCopyInto(out *EventDestinationInit if in.KinesisFirehoseDestination != nil { in, out := &in.KinesisFirehoseDestination, &out.KinesisFirehoseDestination *out = make([]KinesisFirehoseDestinationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.MatchingEventTypes != nil { in, out := &in.MatchingEventTypes, &out.MatchingEventTypes @@ -1843,12 +1875,16 @@ func (in *EventDestinationInitParameters) DeepCopyInto(out *EventDestinationInit if in.PinpointDestination != nil { in, out := &in.PinpointDestination, &out.PinpointDestination *out = make([]PinpointDestinationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.SnsDestination != nil { in, out := &in.SnsDestination, &out.SnsDestination *out = make([]SnsDestinationInitParameters, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } @@ -2043,6 +2079,36 @@ func (in *GuardianOptionsParameters) DeepCopy() *GuardianOptionsParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KinesisFirehoseDestinationInitParameters) DeepCopyInto(out *KinesisFirehoseDestinationInitParameters) { *out = *in + if in.DeliveryStreamArn != nil { + in, out := &in.DeliveryStreamArn, &out.DeliveryStreamArn + *out = new(string) + **out = **in + } + if in.DeliveryStreamArnRef != nil { + in, out := &in.DeliveryStreamArnRef, &out.DeliveryStreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeliveryStreamArnSelector != nil { + in, out := &in.DeliveryStreamArnSelector, &out.DeliveryStreamArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn + *out = new(string) + **out = **in + } + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisFirehoseDestinationInitParameters. @@ -2128,6 +2194,21 @@ func (in *KinesisFirehoseDestinationParameters) DeepCopy() *KinesisFirehoseDesti // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PinpointDestinationInitParameters) DeepCopyInto(out *PinpointDestinationInitParameters) { *out = *in + if in.ApplicationArn != nil { + in, out := &in.ApplicationArn, &out.ApplicationArn + *out = new(string) + **out = **in + } + if in.ApplicationArnRef != nil { + in, out := &in.ApplicationArnRef, &out.ApplicationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationArnSelector != nil { + in, out := &in.ApplicationArnSelector, &out.ApplicationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PinpointDestinationInitParameters. @@ -2318,6 +2399,21 @@ func (in *SendingOptionsParameters) DeepCopy() *SendingOptionsParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SnsDestinationInitParameters) DeepCopyInto(out *SnsDestinationInitParameters) { *out = *in + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnsDestinationInitParameters. diff --git a/apis/sesv2/v1beta1/zz_generated.resolvers.go b/apis/sesv2/v1beta1/zz_generated.resolvers.go index f846c32c8e..1fabdd3100 100644 --- a/apis/sesv2/v1beta1/zz_generated.resolvers.go +++ b/apis/sesv2/v1beta1/zz_generated.resolvers.go @@ -120,6 +120,102 @@ func (mg *ConfigurationSetEventDestination) ResolveReferences(ctx context.Contex } } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationSetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConfigurationSetNameRef, + Selector: mg.Spec.InitProvider.ConfigurationSetNameSelector, + To: reference.To{ + List: &ConfigurationSetList{}, + Managed: &ConfigurationSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationSetName") + } + mg.Spec.InitProvider.ConfigurationSetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationSetNameRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.EventDestination); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArn), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArnRef, + Selector: mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArnSelector, + To: reference.To{ + List: &v1beta1.DeliveryStreamList{}, + Managed: &v1beta1.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArn") + } + mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].DeliveryStreamArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EventDestination); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArnRef, + Selector: mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArnSelector, + To: reference.To{ + List: &v1beta11.RoleList{}, + Managed: &v1beta11.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArn") + } + mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventDestination[i3].KinesisFirehoseDestination[i4].IAMRoleArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EventDestination); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EventDestination[i3].PinpointDestination); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArnRef, + Selector: mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArnSelector, + To: reference.To{ + List: &v1beta12.AppList{}, + Managed: &v1beta12.App{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArn") + } + mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventDestination[i3].PinpointDestination[i4].ApplicationArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.EventDestination); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.EventDestination[i3].SnsDestination); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArnRef, + Selector: mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArnSelector, + To: reference.To{ + List: &v1beta13.TopicList{}, + Managed: &v1beta13.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArn") + } + mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EventDestination[i3].SnsDestination[i4].TopicArnRef = rsp.ResolvedReference + + } + } return nil } @@ -147,5 +243,21 @@ func (mg *EmailIdentity) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ConfigurationSetName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ConfigurationSetNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ConfigurationSetName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ConfigurationSetNameRef, + Selector: mg.Spec.InitProvider.ConfigurationSetNameSelector, + To: reference.To{ + List: &ConfigurationSetList{}, + Managed: &ConfigurationSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ConfigurationSetName") + } + mg.Spec.InitProvider.ConfigurationSetName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ConfigurationSetNameRef = rsp.ResolvedReference + return nil } diff --git a/apis/sfn/v1beta1/zz_generated.deepcopy.go b/apis/sfn/v1beta1/zz_generated.deepcopy.go index 23efac7541..831e0819b6 100644 --- a/apis/sfn/v1beta1/zz_generated.deepcopy.go +++ b/apis/sfn/v1beta1/zz_generated.deepcopy.go @@ -368,6 +368,21 @@ func (in *StateMachineInitParameters) DeepCopyInto(out *StateMachineInitParamete *out = new(bool) **out = **in } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/sfn/v1beta1/zz_generated.resolvers.go b/apis/sfn/v1beta1/zz_generated.resolvers.go index 034c7a6531..c3b99d7cf2 100644 --- a/apis/sfn/v1beta1/zz_generated.resolvers.go +++ b/apis/sfn/v1beta1/zz_generated.resolvers.go @@ -37,5 +37,21 @@ func (mg *StateMachine) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleArnRef, + Selector: mg.Spec.InitProvider.RoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RoleArn") + } + mg.Spec.InitProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/sfn/v1beta1/zz_statemachine_types.go b/apis/sfn/v1beta1/zz_statemachine_types.go index fccfef528c..205bbce14a 100755 --- a/apis/sfn/v1beta1/zz_statemachine_types.go +++ b/apis/sfn/v1beta1/zz_statemachine_types.go @@ -67,6 +67,19 @@ type StateMachineInitParameters struct { // Set to true to publish a version of the state machine during creation. Default: false. Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"` + // The Amazon Resource Name (ARN) of the IAM role to use for this state machine. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` + + // Reference to a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate roleArn. + // +kubebuilder:validation:Optional + RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/signer/v1beta1/zz_generated.deepcopy.go b/apis/signer/v1beta1/zz_generated.deepcopy.go index 5341091b82..4b7d19d3ce 100644 --- a/apis/signer/v1beta1/zz_generated.deepcopy.go +++ b/apis/signer/v1beta1/zz_generated.deepcopy.go @@ -438,6 +438,21 @@ func (in *SigningJobInitParameters) DeepCopyInto(out *SigningJobInitParameters) *out = new(bool) **out = **in } + if in.ProfileName != nil { + in, out := &in.ProfileName, &out.ProfileName + *out = new(string) + **out = **in + } + if in.ProfileNameRef != nil { + in, out := &in.ProfileNameRef, &out.ProfileNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProfileNameSelector != nil { + in, out := &in.ProfileNameSelector, &out.ProfileNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Source != nil { in, out := &in.Source, &out.Source *out = make([]SourceInitParameters, len(*in)) @@ -1063,6 +1078,21 @@ func (in *SigningProfilePermissionInitParameters) DeepCopyInto(out *SigningProfi *out = new(string) **out = **in } + if in.ProfileVersion != nil { + in, out := &in.ProfileVersion, &out.ProfileVersion + *out = new(string) + **out = **in + } + if in.ProfileVersionRef != nil { + in, out := &in.ProfileVersionRef, &out.ProfileVersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProfileVersionSelector != nil { + in, out := &in.ProfileVersionSelector, &out.ProfileVersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.StatementIDPrefix != nil { in, out := &in.StatementIDPrefix, &out.StatementIDPrefix *out = new(string) diff --git a/apis/signer/v1beta1/zz_generated.resolvers.go b/apis/signer/v1beta1/zz_generated.resolvers.go index 0e0d017587..6b683bc057 100644 --- a/apis/signer/v1beta1/zz_generated.resolvers.go +++ b/apis/signer/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *SigningJob) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.ProfileName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProfileNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProfileName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ProfileNameRef, + Selector: mg.Spec.InitProvider.ProfileNameSelector, + To: reference.To{ + List: &SigningProfileList{}, + Managed: &SigningProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProfileName") + } + mg.Spec.InitProvider.ProfileName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProfileNameRef = rsp.ResolvedReference + return nil } @@ -78,5 +94,21 @@ func (mg *SigningProfilePermission) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.ProfileVersion = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ProfileVersionRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ProfileVersion), + Extract: resource.ExtractParamPath("version", true), + Reference: mg.Spec.InitProvider.ProfileVersionRef, + Selector: mg.Spec.InitProvider.ProfileVersionSelector, + To: reference.To{ + List: &SigningProfileList{}, + Managed: &SigningProfile{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ProfileVersion") + } + mg.Spec.InitProvider.ProfileVersion = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ProfileVersionRef = rsp.ResolvedReference + return nil } diff --git a/apis/signer/v1beta1/zz_signingjob_types.go b/apis/signer/v1beta1/zz_signingjob_types.go index 1afbca775d..04da99d894 100755 --- a/apis/signer/v1beta1/zz_signingjob_types.go +++ b/apis/signer/v1beta1/zz_signingjob_types.go @@ -114,6 +114,18 @@ type SigningJobInitParameters struct { // Set this argument to true to ignore signing job failures and retrieve failed status and reason. Default false. IgnoreSigningJobFailure *bool `json:"ignoreSigningJobFailure,omitempty" tf:"ignore_signing_job_failure,omitempty"` + // The name of the profile to initiate the signing operation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/signer/v1beta1.SigningProfile + ProfileName *string `json:"profileName,omitempty" tf:"profile_name,omitempty"` + + // Reference to a SigningProfile in signer to populate profileName. + // +kubebuilder:validation:Optional + ProfileNameRef *v1.Reference `json:"profileNameRef,omitempty" tf:"-"` + + // Selector for a SigningProfile in signer to populate profileName. + // +kubebuilder:validation:Optional + ProfileNameSelector *v1.Selector `json:"profileNameSelector,omitempty" tf:"-"` + // The S3 bucket that contains the object to sign. See Source below for details. Source []SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"` } diff --git a/apis/signer/v1beta1/zz_signingprofilepermission_types.go b/apis/signer/v1beta1/zz_signingprofilepermission_types.go index 1273512e5e..c50d3025ae 100755 --- a/apis/signer/v1beta1/zz_signingprofilepermission_types.go +++ b/apis/signer/v1beta1/zz_signingprofilepermission_types.go @@ -25,6 +25,19 @@ type SigningProfilePermissionInitParameters struct { // The AWS principal to be granted a cross-account permission. Principal *string `json:"principal,omitempty" tf:"principal,omitempty"` + // The signing profile version that a permission applies to. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/signer/v1beta1.SigningProfile + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("version",true) + ProfileVersion *string `json:"profileVersion,omitempty" tf:"profile_version,omitempty"` + + // Reference to a SigningProfile in signer to populate profileVersion. + // +kubebuilder:validation:Optional + ProfileVersionRef *v1.Reference `json:"profileVersionRef,omitempty" tf:"-"` + + // Selector for a SigningProfile in signer to populate profileVersion. + // +kubebuilder:validation:Optional + ProfileVersionSelector *v1.Selector `json:"profileVersionSelector,omitempty" tf:"-"` + // A statement identifier prefix. Conflicts with statement_id. StatementIDPrefix *string `json:"statementIdPrefix,omitempty" tf:"statement_id_prefix,omitempty"` } diff --git a/apis/sns/v1beta1/zz_generated.deepcopy.go b/apis/sns/v1beta1/zz_generated.deepcopy.go index ffccffd978..490555a473 100644 --- a/apis/sns/v1beta1/zz_generated.deepcopy.go +++ b/apis/sns/v1beta1/zz_generated.deepcopy.go @@ -73,11 +73,41 @@ func (in *PlatformApplicationInitParameters) DeepCopyInto(out *PlatformApplicati *out = new(string) **out = **in } + if in.FailureFeedbackRoleArn != nil { + in, out := &in.FailureFeedbackRoleArn, &out.FailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.FailureFeedbackRoleArnRef != nil { + in, out := &in.FailureFeedbackRoleArnRef, &out.FailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FailureFeedbackRoleArnSelector != nil { + in, out := &in.FailureFeedbackRoleArnSelector, &out.FailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Platform != nil { in, out := &in.Platform, &out.Platform *out = new(string) **out = **in } + if in.SuccessFeedbackRoleArn != nil { + in, out := &in.SuccessFeedbackRoleArn, &out.SuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.SuccessFeedbackRoleArnRef != nil { + in, out := &in.SuccessFeedbackRoleArnRef, &out.SuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SuccessFeedbackRoleArnSelector != nil { + in, out := &in.SuccessFeedbackRoleArnSelector, &out.SuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SuccessFeedbackSampleRate != nil { in, out := &in.SuccessFeedbackSampleRate, &out.SuccessFeedbackSampleRate *out = new(string) @@ -373,6 +403,21 @@ func (in *SMSPreferencesInitParameters) DeepCopyInto(out *SMSPreferencesInitPara *out = new(string) **out = **in } + if in.DeliveryStatusIAMRoleArn != nil { + in, out := &in.DeliveryStatusIAMRoleArn, &out.DeliveryStatusIAMRoleArn + *out = new(string) + **out = **in + } + if in.DeliveryStatusIAMRoleArnRef != nil { + in, out := &in.DeliveryStatusIAMRoleArnRef, &out.DeliveryStatusIAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DeliveryStatusIAMRoleArnSelector != nil { + in, out := &in.DeliveryStatusIAMRoleArnSelector, &out.DeliveryStatusIAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DeliveryStatusSuccessSamplingRate != nil { in, out := &in.DeliveryStatusSuccessSamplingRate, &out.DeliveryStatusSuccessSamplingRate *out = new(string) @@ -607,6 +652,36 @@ func (in *Topic) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { *out = *in + if in.ApplicationFailureFeedbackRoleArn != nil { + in, out := &in.ApplicationFailureFeedbackRoleArn, &out.ApplicationFailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.ApplicationFailureFeedbackRoleArnRef != nil { + in, out := &in.ApplicationFailureFeedbackRoleArnRef, &out.ApplicationFailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationFailureFeedbackRoleArnSelector != nil { + in, out := &in.ApplicationFailureFeedbackRoleArnSelector, &out.ApplicationFailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ApplicationSuccessFeedbackRoleArn != nil { + in, out := &in.ApplicationSuccessFeedbackRoleArn, &out.ApplicationSuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.ApplicationSuccessFeedbackRoleArnRef != nil { + in, out := &in.ApplicationSuccessFeedbackRoleArnRef, &out.ApplicationSuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ApplicationSuccessFeedbackRoleArnSelector != nil { + in, out := &in.ApplicationSuccessFeedbackRoleArnSelector, &out.ApplicationSuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ApplicationSuccessFeedbackSampleRate != nil { in, out := &in.ApplicationSuccessFeedbackSampleRate, &out.ApplicationSuccessFeedbackSampleRate *out = new(float64) @@ -637,11 +712,71 @@ func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { *out = new(bool) **out = **in } + if in.FirehoseFailureFeedbackRoleArn != nil { + in, out := &in.FirehoseFailureFeedbackRoleArn, &out.FirehoseFailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.FirehoseFailureFeedbackRoleArnRef != nil { + in, out := &in.FirehoseFailureFeedbackRoleArnRef, &out.FirehoseFailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirehoseFailureFeedbackRoleArnSelector != nil { + in, out := &in.FirehoseFailureFeedbackRoleArnSelector, &out.FirehoseFailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.FirehoseSuccessFeedbackRoleArn != nil { + in, out := &in.FirehoseSuccessFeedbackRoleArn, &out.FirehoseSuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.FirehoseSuccessFeedbackRoleArnRef != nil { + in, out := &in.FirehoseSuccessFeedbackRoleArnRef, &out.FirehoseSuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.FirehoseSuccessFeedbackRoleArnSelector != nil { + in, out := &in.FirehoseSuccessFeedbackRoleArnSelector, &out.FirehoseSuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FirehoseSuccessFeedbackSampleRate != nil { in, out := &in.FirehoseSuccessFeedbackSampleRate, &out.FirehoseSuccessFeedbackSampleRate *out = new(float64) **out = **in } + if in.HTTPFailureFeedbackRoleArn != nil { + in, out := &in.HTTPFailureFeedbackRoleArn, &out.HTTPFailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.HTTPFailureFeedbackRoleArnRef != nil { + in, out := &in.HTTPFailureFeedbackRoleArnRef, &out.HTTPFailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HTTPFailureFeedbackRoleArnSelector != nil { + in, out := &in.HTTPFailureFeedbackRoleArnSelector, &out.HTTPFailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.HTTPSuccessFeedbackRoleArn != nil { + in, out := &in.HTTPSuccessFeedbackRoleArn, &out.HTTPSuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.HTTPSuccessFeedbackRoleArnRef != nil { + in, out := &in.HTTPSuccessFeedbackRoleArnRef, &out.HTTPSuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.HTTPSuccessFeedbackRoleArnSelector != nil { + in, out := &in.HTTPSuccessFeedbackRoleArnSelector, &out.HTTPSuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.HTTPSuccessFeedbackSampleRate != nil { in, out := &in.HTTPSuccessFeedbackSampleRate, &out.HTTPSuccessFeedbackSampleRate *out = new(float64) @@ -652,6 +787,36 @@ func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { *out = new(string) **out = **in } + if in.LambdaFailureFeedbackRoleArn != nil { + in, out := &in.LambdaFailureFeedbackRoleArn, &out.LambdaFailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.LambdaFailureFeedbackRoleArnRef != nil { + in, out := &in.LambdaFailureFeedbackRoleArnRef, &out.LambdaFailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LambdaFailureFeedbackRoleArnSelector != nil { + in, out := &in.LambdaFailureFeedbackRoleArnSelector, &out.LambdaFailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LambdaSuccessFeedbackRoleArn != nil { + in, out := &in.LambdaSuccessFeedbackRoleArn, &out.LambdaSuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.LambdaSuccessFeedbackRoleArnRef != nil { + in, out := &in.LambdaSuccessFeedbackRoleArnRef, &out.LambdaSuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LambdaSuccessFeedbackRoleArnSelector != nil { + in, out := &in.LambdaSuccessFeedbackRoleArnSelector, &out.LambdaSuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.LambdaSuccessFeedbackSampleRate != nil { in, out := &in.LambdaSuccessFeedbackSampleRate, &out.LambdaSuccessFeedbackSampleRate *out = new(float64) @@ -667,6 +832,36 @@ func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { *out = new(float64) **out = **in } + if in.SqsFailureFeedbackRoleArn != nil { + in, out := &in.SqsFailureFeedbackRoleArn, &out.SqsFailureFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.SqsFailureFeedbackRoleArnRef != nil { + in, out := &in.SqsFailureFeedbackRoleArnRef, &out.SqsFailureFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SqsFailureFeedbackRoleArnSelector != nil { + in, out := &in.SqsFailureFeedbackRoleArnSelector, &out.SqsFailureFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SqsSuccessFeedbackRoleArn != nil { + in, out := &in.SqsSuccessFeedbackRoleArn, &out.SqsSuccessFeedbackRoleArn + *out = new(string) + **out = **in + } + if in.SqsSuccessFeedbackRoleArnRef != nil { + in, out := &in.SqsSuccessFeedbackRoleArnRef, &out.SqsSuccessFeedbackRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SqsSuccessFeedbackRoleArnSelector != nil { + in, out := &in.SqsSuccessFeedbackRoleArnSelector, &out.SqsSuccessFeedbackRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.SqsSuccessFeedbackSampleRate != nil { in, out := &in.SqsSuccessFeedbackSampleRate, &out.SqsSuccessFeedbackSampleRate *out = new(float64) @@ -1210,6 +1405,21 @@ func (in *TopicPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TopicPolicyInitParameters) DeepCopyInto(out *TopicPolicyInitParameters) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Policy != nil { in, out := &in.Policy, &out.Policy *out = new(string) @@ -1444,11 +1654,26 @@ func (in *TopicSubscriptionInitParameters) DeepCopyInto(out *TopicSubscriptionIn *out = new(string) **out = **in } + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } if in.EndpointAutoConfirms != nil { in, out := &in.EndpointAutoConfirms, &out.EndpointAutoConfirms *out = new(bool) **out = **in } + if in.EndpointRef != nil { + in, out := &in.EndpointRef, &out.EndpointRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EndpointSelector != nil { + in, out := &in.EndpointSelector, &out.EndpointSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.FilterPolicy != nil { in, out := &in.FilterPolicy, &out.FilterPolicy *out = new(string) @@ -1479,6 +1704,36 @@ func (in *TopicSubscriptionInitParameters) DeepCopyInto(out *TopicSubscriptionIn *out = new(string) **out = **in } + if in.SubscriptionRoleArn != nil { + in, out := &in.SubscriptionRoleArn, &out.SubscriptionRoleArn + *out = new(string) + **out = **in + } + if in.SubscriptionRoleArnRef != nil { + in, out := &in.SubscriptionRoleArnRef, &out.SubscriptionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubscriptionRoleArnSelector != nil { + in, out := &in.SubscriptionRoleArnSelector, &out.SubscriptionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.TopicArn != nil { + in, out := &in.TopicArn, &out.TopicArn + *out = new(string) + **out = **in + } + if in.TopicArnRef != nil { + in, out := &in.TopicArnRef, &out.TopicArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TopicArnSelector != nil { + in, out := &in.TopicArnSelector, &out.TopicArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicSubscriptionInitParameters. diff --git a/apis/sns/v1beta1/zz_generated.resolvers.go b/apis/sns/v1beta1/zz_generated.resolvers.go index 49d3892820..742a9acdc6 100644 --- a/apis/sns/v1beta1/zz_generated.resolvers.go +++ b/apis/sns/v1beta1/zz_generated.resolvers.go @@ -55,6 +55,38 @@ func (mg *PlatformApplication) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.SuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SuccessFeedbackRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.FailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FailureFeedbackRoleArn") + } + mg.Spec.InitProvider.FailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.SuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.SuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SuccessFeedbackRoleArnRef = rsp.ResolvedReference + return nil } @@ -81,6 +113,22 @@ func (mg *SMSPreferences) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.DeliveryStatusIAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DeliveryStatusIAMRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DeliveryStatusIAMRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.DeliveryStatusIAMRoleArnRef, + Selector: mg.Spec.InitProvider.DeliveryStatusIAMRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DeliveryStatusIAMRoleArn") + } + mg.Spec.InitProvider.DeliveryStatusIAMRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DeliveryStatusIAMRoleArnRef = rsp.ResolvedReference + return nil } @@ -251,6 +299,166 @@ func (mg *Topic) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.SqsSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SqsSuccessFeedbackRoleArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArn") + } + mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationFailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ApplicationSuccessFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArn") + } + mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirehoseFailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FirehoseSuccessFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPFailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.HTTPFailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.HTTPFailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPFailureFeedbackRoleArn") + } + mg.Spec.InitProvider.HTTPFailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPFailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.HTTPSuccessFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaFailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaFailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.LambdaFailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaFailureFeedbackRoleArn") + } + mg.Spec.InitProvider.LambdaFailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaFailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LambdaSuccessFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SqsFailureFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SqsFailureFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.SqsFailureFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SqsFailureFeedbackRoleArn") + } + mg.Spec.InitProvider.SqsFailureFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SqsFailureFeedbackRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SqsSuccessFeedbackRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SqsSuccessFeedbackRoleArnRef, + Selector: mg.Spec.InitProvider.SqsSuccessFeedbackRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SqsSuccessFeedbackRoleArn") + } + mg.Spec.InitProvider.SqsSuccessFeedbackRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SqsSuccessFeedbackRoleArnRef = rsp.ResolvedReference + return nil } @@ -277,6 +485,22 @@ func (mg *TopicPolicy) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Arn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Arn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ArnRef, + Selector: mg.Spec.InitProvider.ArnSelector, + To: reference.To{ + List: &TopicList{}, + Managed: &Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Arn") + } + mg.Spec.InitProvider.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ArnRef = rsp.ResolvedReference + return nil } @@ -335,5 +559,53 @@ func (mg *TopicSubscription) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TopicArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Endpoint), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.EndpointRef, + Selector: mg.Spec.InitProvider.EndpointSelector, + To: reference.To{ + List: &v1beta11.QueueList{}, + Managed: &v1beta11.Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Endpoint") + } + mg.Spec.InitProvider.Endpoint = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EndpointRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SubscriptionRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.SubscriptionRoleArnRef, + Selector: mg.Spec.InitProvider.SubscriptionRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubscriptionRoleArn") + } + mg.Spec.InitProvider.SubscriptionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.SubscriptionRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TopicArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.TopicArnRef, + Selector: mg.Spec.InitProvider.TopicArnSelector, + To: reference.To{ + List: &TopicList{}, + Managed: &Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TopicArn") + } + mg.Spec.InitProvider.TopicArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TopicArnRef = rsp.ResolvedReference + return nil } diff --git a/apis/sns/v1beta1/zz_platformapplication_types.go b/apis/sns/v1beta1/zz_platformapplication_types.go index 6b2868008a..d379a570d8 100755 --- a/apis/sns/v1beta1/zz_platformapplication_types.go +++ b/apis/sns/v1beta1/zz_platformapplication_types.go @@ -37,9 +37,35 @@ type PlatformApplicationInitParameters struct { // The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application. EventEndpointUpdatedTopicArn *string `json:"eventEndpointUpdatedTopicArn,omitempty" tf:"event_endpoint_updated_topic_arn,omitempty"` + // The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + FailureFeedbackRoleArn *string `json:"failureFeedbackRoleArn,omitempty" tf:"failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate failureFeedbackRoleArn. + // +kubebuilder:validation:Optional + FailureFeedbackRoleArnRef *v1.Reference `json:"failureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate failureFeedbackRoleArn. + // +kubebuilder:validation:Optional + FailureFeedbackRoleArnSelector *v1.Selector `json:"failureFeedbackRoleArnSelector,omitempty" tf:"-"` + // The platform that the app is registered with. See Platform for supported platforms. Platform *string `json:"platform,omitempty" tf:"platform,omitempty"` + // The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SuccessFeedbackRoleArn *string `json:"successFeedbackRoleArn,omitempty" tf:"success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate successFeedbackRoleArn. + // +kubebuilder:validation:Optional + SuccessFeedbackRoleArnRef *v1.Reference `json:"successFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate successFeedbackRoleArn. + // +kubebuilder:validation:Optional + SuccessFeedbackRoleArnSelector *v1.Selector `json:"successFeedbackRoleArnSelector,omitempty" tf:"-"` + // The sample rate percentage (0-100) of successfully delivered messages. SuccessFeedbackSampleRate *string `json:"successFeedbackSampleRate,omitempty" tf:"success_feedback_sample_rate,omitempty"` } diff --git a/apis/sns/v1beta1/zz_smspreferences_types.go b/apis/sns/v1beta1/zz_smspreferences_types.go index c95c084dd5..7b77847aaf 100755 --- a/apis/sns/v1beta1/zz_smspreferences_types.go +++ b/apis/sns/v1beta1/zz_smspreferences_types.go @@ -25,6 +25,19 @@ type SMSPreferencesInitParameters struct { // A string, such as your business brand, that is displayed as the sender on the receiving device. DefaultSenderID *string `json:"defaultSenderId,omitempty" tf:"default_sender_id,omitempty"` + // The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + DeliveryStatusIAMRoleArn *string `json:"deliveryStatusIamRoleArn,omitempty" tf:"delivery_status_iam_role_arn,omitempty"` + + // Reference to a Role in iam to populate deliveryStatusIamRoleArn. + // +kubebuilder:validation:Optional + DeliveryStatusIAMRoleArnRef *v1.Reference `json:"deliveryStatusIamRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate deliveryStatusIamRoleArn. + // +kubebuilder:validation:Optional + DeliveryStatusIAMRoleArnSelector *v1.Selector `json:"deliveryStatusIamRoleArnSelector,omitempty" tf:"-"` + // The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100. DeliveryStatusSuccessSamplingRate *string `json:"deliveryStatusSuccessSamplingRate,omitempty" tf:"delivery_status_success_sampling_rate,omitempty"` diff --git a/apis/sns/v1beta1/zz_topic_types.go b/apis/sns/v1beta1/zz_topic_types.go index 1f1e177c9a..cfde9f2a33 100755 --- a/apis/sns/v1beta1/zz_topic_types.go +++ b/apis/sns/v1beta1/zz_topic_types.go @@ -19,6 +19,32 @@ import ( type TopicInitParameters struct { + // IAM role for failure feedback + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ApplicationFailureFeedbackRoleArn *string `json:"applicationFailureFeedbackRoleArn,omitempty" tf:"application_failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate applicationFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + ApplicationFailureFeedbackRoleArnRef *v1.Reference `json:"applicationFailureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate applicationFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + ApplicationFailureFeedbackRoleArnSelector *v1.Selector `json:"applicationFailureFeedbackRoleArnSelector,omitempty" tf:"-"` + + // The IAM role permitted to receive success feedback for this topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ApplicationSuccessFeedbackRoleArn *string `json:"applicationSuccessFeedbackRoleArn,omitempty" tf:"application_success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate applicationSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + ApplicationSuccessFeedbackRoleArnRef *v1.Reference `json:"applicationSuccessFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate applicationSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + ApplicationSuccessFeedbackRoleArnSelector *v1.Selector `json:"applicationSuccessFeedbackRoleArnSelector,omitempty" tf:"-"` + // Percentage of success to sample ApplicationSuccessFeedbackSampleRate *float64 `json:"applicationSuccessFeedbackSampleRate,omitempty" tf:"application_success_feedback_sample_rate,omitempty"` @@ -37,15 +63,93 @@ type TopicInitParameters struct { // Boolean indicating whether or not to create a FIFO (first-in-first-out) topic (default is false). FifoTopic *bool `json:"fifoTopic,omitempty" tf:"fifo_topic,omitempty"` + // IAM role for failure feedback + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + FirehoseFailureFeedbackRoleArn *string `json:"firehoseFailureFeedbackRoleArn,omitempty" tf:"firehose_failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate firehoseFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + FirehoseFailureFeedbackRoleArnRef *v1.Reference `json:"firehoseFailureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate firehoseFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + FirehoseFailureFeedbackRoleArnSelector *v1.Selector `json:"firehoseFailureFeedbackRoleArnSelector,omitempty" tf:"-"` + + // The IAM role permitted to receive success feedback for this topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + FirehoseSuccessFeedbackRoleArn *string `json:"firehoseSuccessFeedbackRoleArn,omitempty" tf:"firehose_success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate firehoseSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + FirehoseSuccessFeedbackRoleArnRef *v1.Reference `json:"firehoseSuccessFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate firehoseSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + FirehoseSuccessFeedbackRoleArnSelector *v1.Selector `json:"firehoseSuccessFeedbackRoleArnSelector,omitempty" tf:"-"` + // Percentage of success to sample FirehoseSuccessFeedbackSampleRate *float64 `json:"firehoseSuccessFeedbackSampleRate,omitempty" tf:"firehose_success_feedback_sample_rate,omitempty"` + // IAM role for failure feedback + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + HTTPFailureFeedbackRoleArn *string `json:"httpFailureFeedbackRoleArn,omitempty" tf:"http_failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate httpFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + HTTPFailureFeedbackRoleArnRef *v1.Reference `json:"httpFailureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate httpFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + HTTPFailureFeedbackRoleArnSelector *v1.Selector `json:"httpFailureFeedbackRoleArnSelector,omitempty" tf:"-"` + + // The IAM role permitted to receive success feedback for this topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + HTTPSuccessFeedbackRoleArn *string `json:"httpSuccessFeedbackRoleArn,omitempty" tf:"http_success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate httpSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + HTTPSuccessFeedbackRoleArnRef *v1.Reference `json:"httpSuccessFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate httpSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + HTTPSuccessFeedbackRoleArnSelector *v1.Selector `json:"httpSuccessFeedbackRoleArnSelector,omitempty" tf:"-"` + // Percentage of success to sample HTTPSuccessFeedbackSampleRate *float64 `json:"httpSuccessFeedbackSampleRate,omitempty" tf:"http_success_feedback_sample_rate,omitempty"` // The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms KMSMasterKeyID *string `json:"kmsMasterKeyId,omitempty" tf:"kms_master_key_id,omitempty"` + // IAM role for failure feedback + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + LambdaFailureFeedbackRoleArn *string `json:"lambdaFailureFeedbackRoleArn,omitempty" tf:"lambda_failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate lambdaFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + LambdaFailureFeedbackRoleArnRef *v1.Reference `json:"lambdaFailureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate lambdaFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + LambdaFailureFeedbackRoleArnSelector *v1.Selector `json:"lambdaFailureFeedbackRoleArnSelector,omitempty" tf:"-"` + + // The IAM role permitted to receive success feedback for this topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + LambdaSuccessFeedbackRoleArn *string `json:"lambdaSuccessFeedbackRoleArn,omitempty" tf:"lambda_success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate lambdaSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + LambdaSuccessFeedbackRoleArnRef *v1.Reference `json:"lambdaSuccessFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate lambdaSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + LambdaSuccessFeedbackRoleArnSelector *v1.Selector `json:"lambdaSuccessFeedbackRoleArnSelector,omitempty" tf:"-"` + // Percentage of success to sample LambdaSuccessFeedbackSampleRate *float64 `json:"lambdaSuccessFeedbackSampleRate,omitempty" tf:"lambda_success_feedback_sample_rate,omitempty"` @@ -55,6 +159,32 @@ type TopicInitParameters struct { // If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. SignatureVersion *float64 `json:"signatureVersion,omitempty" tf:"signature_version,omitempty"` + // IAM role for failure feedback + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SqsFailureFeedbackRoleArn *string `json:"sqsFailureFeedbackRoleArn,omitempty" tf:"sqs_failure_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate sqsFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + SqsFailureFeedbackRoleArnRef *v1.Reference `json:"sqsFailureFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate sqsFailureFeedbackRoleArn. + // +kubebuilder:validation:Optional + SqsFailureFeedbackRoleArnSelector *v1.Selector `json:"sqsFailureFeedbackRoleArnSelector,omitempty" tf:"-"` + + // The IAM role permitted to receive success feedback for this topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SqsSuccessFeedbackRoleArn *string `json:"sqsSuccessFeedbackRoleArn,omitempty" tf:"sqs_success_feedback_role_arn,omitempty"` + + // Reference to a Role in iam to populate sqsSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + SqsSuccessFeedbackRoleArnRef *v1.Reference `json:"sqsSuccessFeedbackRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate sqsSuccessFeedbackRoleArn. + // +kubebuilder:validation:Optional + SqsSuccessFeedbackRoleArnSelector *v1.Selector `json:"sqsSuccessFeedbackRoleArnSelector,omitempty" tf:"-"` + // Percentage of success to sample SqsSuccessFeedbackSampleRate *float64 `json:"sqsSuccessFeedbackSampleRate,omitempty" tf:"sqs_success_feedback_sample_rate,omitempty"` diff --git a/apis/sns/v1beta1/zz_topicpolicy_types.go b/apis/sns/v1beta1/zz_topicpolicy_types.go index ca7370114c..0498c8478c 100755 --- a/apis/sns/v1beta1/zz_topicpolicy_types.go +++ b/apis/sns/v1beta1/zz_topicpolicy_types.go @@ -19,6 +19,19 @@ import ( type TopicPolicyInitParameters struct { + // The ARN of the SNS topic + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Topic in sns to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // The fully-formed AWS policy as JSON. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` } diff --git a/apis/sns/v1beta1/zz_topicsubscription_types.go b/apis/sns/v1beta1/zz_topicsubscription_types.go index e738e5c0c0..fcbfa0dac8 100755 --- a/apis/sns/v1beta1/zz_topicsubscription_types.go +++ b/apis/sns/v1beta1/zz_topicsubscription_types.go @@ -25,9 +25,22 @@ type TopicSubscriptionInitParameters struct { // JSON String with the delivery policy (retries, backoff, etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the SNS docs for more details. DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"` + // Endpoint to send data to. The contents vary with the protocol. See details below. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` + // Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false. EndpointAutoConfirms *bool `json:"endpointAutoConfirms,omitempty" tf:"endpoint_auto_confirms,omitempty"` + // Reference to a Queue in sqs to populate endpoint. + // +kubebuilder:validation:Optional + EndpointRef *v1.Reference `json:"endpointRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate endpoint. + // +kubebuilder:validation:Optional + EndpointSelector *v1.Selector `json:"endpointSelector,omitempty" tf:"-"` + // JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. Refer to the SNS docs for more details. FilterPolicy *string `json:"filterPolicy,omitempty" tf:"filter_policy,omitempty"` @@ -45,6 +58,32 @@ type TopicSubscriptionInitParameters struct { // JSON String with the archived message replay policy that will be used in the subscription. Refer to the SNS docs for more details. ReplayPolicy *string `json:"replayPolicy,omitempty" tf:"replay_policy,omitempty"` + + // ARN of the IAM role to publish to Kinesis Data Firehose delivery stream. Refer to SNS docs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + SubscriptionRoleArn *string `json:"subscriptionRoleArn,omitempty" tf:"subscription_role_arn,omitempty"` + + // Reference to a Role in iam to populate subscriptionRoleArn. + // +kubebuilder:validation:Optional + SubscriptionRoleArnRef *v1.Reference `json:"subscriptionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate subscriptionRoleArn. + // +kubebuilder:validation:Optional + SubscriptionRoleArnSelector *v1.Selector `json:"subscriptionRoleArnSelector,omitempty" tf:"-"` + + // ARN of the SNS topic to subscribe to. + // +crossplane:generate:reference:type=Topic + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"` + + // Reference to a Topic to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"` + + // Selector for a Topic to populate topicArn. + // +kubebuilder:validation:Optional + TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"` } type TopicSubscriptionObservation struct { diff --git a/apis/sqs/v1beta1/zz_generated.deepcopy.go b/apis/sqs/v1beta1/zz_generated.deepcopy.go index b0931cf940..4a33ab6038 100644 --- a/apis/sqs/v1beta1/zz_generated.deepcopy.go +++ b/apis/sqs/v1beta1/zz_generated.deepcopy.go @@ -476,6 +476,21 @@ func (in *QueuePolicyInitParameters) DeepCopyInto(out *QueuePolicyInitParameters *out = new(string) **out = **in } + if in.QueueURL != nil { + in, out := &in.QueueURL, &out.QueueURL + *out = new(string) + **out = **in + } + if in.QueueURLRef != nil { + in, out := &in.QueueURLRef, &out.QueueURLRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.QueueURLSelector != nil { + in, out := &in.QueueURLSelector, &out.QueueURLSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePolicyInitParameters. @@ -655,6 +670,21 @@ func (in *QueueRedriveAllowPolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *QueueRedriveAllowPolicyInitParameters) DeepCopyInto(out *QueueRedriveAllowPolicyInitParameters) { *out = *in + if in.QueueURL != nil { + in, out := &in.QueueURL, &out.QueueURL + *out = new(string) + **out = **in + } + if in.QueueURLRef != nil { + in, out := &in.QueueURLRef, &out.QueueURLRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.QueueURLSelector != nil { + in, out := &in.QueueURLSelector, &out.QueueURLSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RedriveAllowPolicy != nil { in, out := &in.RedriveAllowPolicy, &out.RedriveAllowPolicy *out = new(string) @@ -839,6 +869,21 @@ func (in *QueueRedrivePolicy) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *QueueRedrivePolicyInitParameters) DeepCopyInto(out *QueueRedrivePolicyInitParameters) { *out = *in + if in.QueueURL != nil { + in, out := &in.QueueURL, &out.QueueURL + *out = new(string) + **out = **in + } + if in.QueueURLRef != nil { + in, out := &in.QueueURLRef, &out.QueueURLRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.QueueURLSelector != nil { + in, out := &in.QueueURLSelector, &out.QueueURLSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RedrivePolicy != nil { in, out := &in.RedrivePolicy, &out.RedrivePolicy *out = new(string) diff --git a/apis/sqs/v1beta1/zz_generated.resolvers.go b/apis/sqs/v1beta1/zz_generated.resolvers.go index 731455d79f..dc53b08d33 100644 --- a/apis/sqs/v1beta1/zz_generated.resolvers.go +++ b/apis/sqs/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *QueuePolicy) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.QueueURLRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.QueueURL), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.QueueURLRef, + Selector: mg.Spec.InitProvider.QueueURLSelector, + To: reference.To{ + List: &QueueList{}, + Managed: &Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.QueueURL") + } + mg.Spec.InitProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.QueueURLRef = rsp.ResolvedReference + return nil } @@ -62,6 +78,22 @@ func (mg *QueueRedriveAllowPolicy) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.QueueURLRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.QueueURL), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.QueueURLRef, + Selector: mg.Spec.InitProvider.QueueURLSelector, + To: reference.To{ + List: &QueueList{}, + Managed: &Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.QueueURL") + } + mg.Spec.InitProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.QueueURLRef = rsp.ResolvedReference + return nil } @@ -88,5 +120,21 @@ func (mg *QueueRedrivePolicy) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.QueueURLRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.QueueURL), + Extract: common.TerraformID(), + Reference: mg.Spec.InitProvider.QueueURLRef, + Selector: mg.Spec.InitProvider.QueueURLSelector, + To: reference.To{ + List: &QueueList{}, + Managed: &Queue{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.QueueURL") + } + mg.Spec.InitProvider.QueueURL = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.QueueURLRef = rsp.ResolvedReference + return nil } diff --git a/apis/sqs/v1beta1/zz_queuepolicy_types.go b/apis/sqs/v1beta1/zz_queuepolicy_types.go index 66493be39d..206bf9e18c 100755 --- a/apis/sqs/v1beta1/zz_queuepolicy_types.go +++ b/apis/sqs/v1beta1/zz_queuepolicy_types.go @@ -21,6 +21,19 @@ type QueuePolicyInitParameters struct { // The JSON policy for the SQS queue. Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // The URL of the SQS Queue to which to attach the policy + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + QueueURL *string `json:"queueUrl,omitempty" tf:"queue_url,omitempty"` + + // Reference to a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLRef *v1.Reference `json:"queueUrlRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLSelector *v1.Selector `json:"queueUrlSelector,omitempty" tf:"-"` } type QueuePolicyObservation struct { diff --git a/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go b/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go index eecd10f80c..8e4fe39ef6 100755 --- a/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go +++ b/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go @@ -19,6 +19,19 @@ import ( type QueueRedriveAllowPolicyInitParameters struct { + // The URL of the SQS Queue to which to attach the policy + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + QueueURL *string `json:"queueUrl,omitempty" tf:"queue_url,omitempty"` + + // Reference to a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLRef *v1.Reference `json:"queueUrlRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLSelector *v1.Selector `json:"queueUrlSelector,omitempty" tf:"-"` + // The JSON redrive allow policy for the SQS queue. Learn more in the Amazon SQS dead-letter queues documentation. RedriveAllowPolicy *string `json:"redriveAllowPolicy,omitempty" tf:"redrive_allow_policy,omitempty"` } diff --git a/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go b/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go index ce321af576..6b01420f56 100755 --- a/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go +++ b/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go @@ -19,6 +19,19 @@ import ( type QueueRedrivePolicyInitParameters struct { + // The URL of the SQS Queue to which to attach the policy + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID() + QueueURL *string `json:"queueUrl,omitempty" tf:"queue_url,omitempty"` + + // Reference to a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLRef *v1.Reference `json:"queueUrlRef,omitempty" tf:"-"` + + // Selector for a Queue in sqs to populate queueUrl. + // +kubebuilder:validation:Optional + QueueURLSelector *v1.Selector `json:"queueUrlSelector,omitempty" tf:"-"` + // The JSON redrive policy for the SQS queue. Accepts two key/val pairs: deadLetterTargetArn and maxReceiveCount. Learn more in the Amazon SQS dead-letter queues documentation. RedrivePolicy *string `json:"redrivePolicy,omitempty" tf:"redrive_policy,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_activation_types.go b/apis/ssm/v1beta1/zz_activation_types.go index 96b1b1c7b1..604a954cce 100755 --- a/apis/ssm/v1beta1/zz_activation_types.go +++ b/apis/ssm/v1beta1/zz_activation_types.go @@ -25,6 +25,19 @@ type ActivationInitParameters struct { // UTC timestamp in RFC3339 format by which this activation request should expire. The default value is 24 hours from resource creation time. ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + // The IAM Role to attach to the managed instance. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + IAMRole *string `json:"iamRole,omitempty" tf:"iam_role,omitempty"` + + // Reference to a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleRef *v1.Reference `json:"iamRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate iamRole. + // +kubebuilder:validation:Optional + IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"` + // The default name of the registered managed instance. Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/ssm/v1beta1/zz_association_types.go b/apis/ssm/v1beta1/zz_association_types.go index 64ec917969..57492af994 100755 --- a/apis/ssm/v1beta1/zz_association_types.go +++ b/apis/ssm/v1beta1/zz_association_types.go @@ -43,6 +43,18 @@ type AssociationInitParameters struct { // The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%. If you specify a threshold of 3, the stop command is sent when the fourth error is returned. If you specify a threshold of 10% for 50 associations, the stop command is sent when the sixth error is returned. MaxErrors *string `json:"maxErrors,omitempty" tf:"max_errors,omitempty"` + // The name of the SSM document to apply. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.Document + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a Document in ssm to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a Document in ssm to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` + // An output location block. Output Location is documented below. OutputLocation []OutputLocationInitParameters `json:"outputLocation,omitempty" tf:"output_location,omitempty"` diff --git a/apis/ssm/v1beta1/zz_defaultpatchbaseline_types.go b/apis/ssm/v1beta1/zz_defaultpatchbaseline_types.go index 0d5d2f9a84..bfdab2f8d0 100755 --- a/apis/ssm/v1beta1/zz_defaultpatchbaseline_types.go +++ b/apis/ssm/v1beta1/zz_defaultpatchbaseline_types.go @@ -18,6 +18,48 @@ import ( ) type DefaultPatchBaselineInitParameters struct { + + // ID of the patch baseline. + // Can be an ID or an ARN. + // When specifying an AWS-provided patch baseline, must be the ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.PatchBaseline + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + BaselineID *string `json:"baselineId,omitempty" tf:"baseline_id,omitempty"` + + // Reference to a PatchBaseline in ssm to populate baselineId. + // +kubebuilder:validation:Optional + BaselineIDRef *v1.Reference `json:"baselineIdRef,omitempty" tf:"-"` + + // Selector for a PatchBaseline in ssm to populate baselineId. + // +kubebuilder:validation:Optional + BaselineIDSelector *v1.Selector `json:"baselineIdSelector,omitempty" tf:"-"` + + // The operating system the patch baseline applies to. + // Valid values are + // AMAZON_LINUX, + // AMAZON_LINUX_2, + // AMAZON_LINUX_2022, + // CENTOS, + // DEBIAN, + // MACOS, + // ORACLE_LINUX, + // RASPBIAN, + // REDHAT_ENTERPRISE_LINUX, + // ROCKY_LINUX, + // SUSE, + // UBUNTU, and + // WINDOWS. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.PatchBaseline + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("operating_system",false) + OperatingSystem *string `json:"operatingSystem,omitempty" tf:"operating_system,omitempty"` + + // Reference to a PatchBaseline in ssm to populate operatingSystem. + // +kubebuilder:validation:Optional + OperatingSystemRef *v1.Reference `json:"operatingSystemRef,omitempty" tf:"-"` + + // Selector for a PatchBaseline in ssm to populate operatingSystem. + // +kubebuilder:validation:Optional + OperatingSystemSelector *v1.Selector `json:"operatingSystemSelector,omitempty" tf:"-"` } type DefaultPatchBaselineObservation struct { diff --git a/apis/ssm/v1beta1/zz_generated.deepcopy.go b/apis/ssm/v1beta1/zz_generated.deepcopy.go index 6684f4b3b3..d649c154b5 100644 --- a/apis/ssm/v1beta1/zz_generated.deepcopy.go +++ b/apis/ssm/v1beta1/zz_generated.deepcopy.go @@ -53,6 +53,21 @@ func (in *ActivationInitParameters) DeepCopyInto(out *ActivationInitParameters) *out = new(string) **out = **in } + if in.IAMRole != nil { + in, out := &in.IAMRole, &out.IAMRole + *out = new(string) + **out = **in + } + if in.IAMRoleRef != nil { + in, out := &in.IAMRoleRef, &out.IAMRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleSelector != nil { + in, out := &in.IAMRoleSelector, &out.IAMRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -517,6 +532,21 @@ func (in *AssociationInitParameters) DeepCopyInto(out *AssociationInitParameters *out = new(string) **out = **in } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.OutputLocation != nil { in, out := &in.OutputLocation, &out.OutputLocation *out = make([]OutputLocationInitParameters, len(*in)) @@ -1268,6 +1298,36 @@ func (in *DefaultPatchBaseline) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DefaultPatchBaselineInitParameters) DeepCopyInto(out *DefaultPatchBaselineInitParameters) { *out = *in + if in.BaselineID != nil { + in, out := &in.BaselineID, &out.BaselineID + *out = new(string) + **out = **in + } + if in.BaselineIDRef != nil { + in, out := &in.BaselineIDRef, &out.BaselineIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BaselineIDSelector != nil { + in, out := &in.BaselineIDSelector, &out.BaselineIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.OperatingSystem != nil { + in, out := &in.OperatingSystem, &out.OperatingSystem + *out = new(string) + **out = **in + } + if in.OperatingSystemRef != nil { + in, out := &in.OperatingSystemRef, &out.OperatingSystemRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.OperatingSystemSelector != nil { + in, out := &in.OperatingSystemSelector, &out.OperatingSystemSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPatchBaselineInitParameters. @@ -1397,7 +1457,7 @@ func (in *DefaultPatchBaselineSpec) DeepCopyInto(out *DefaultPatchBaselineSpec) *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 DefaultPatchBaselineSpec. @@ -2465,6 +2525,21 @@ func (in *MaintenanceWindowTargetInitParameters) DeepCopyInto(out *MaintenanceWi (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.WindowID != nil { + in, out := &in.WindowID, &out.WindowID + *out = new(string) + **out = **in + } + if in.WindowIDRef != nil { + in, out := &in.WindowIDRef, &out.WindowIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WindowIDSelector != nil { + in, out := &in.WindowIDSelector, &out.WindowIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowTargetInitParameters. @@ -2811,6 +2886,21 @@ func (in *MaintenanceWindowTaskInitParameters) DeepCopyInto(out *MaintenanceWind *out = new(float64) **out = **in } + if in.ServiceRoleArn != nil { + in, out := &in.ServiceRoleArn, &out.ServiceRoleArn + *out = new(string) + **out = **in + } + if in.ServiceRoleArnRef != nil { + in, out := &in.ServiceRoleArnRef, &out.ServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleArnSelector != nil { + in, out := &in.ServiceRoleArnSelector, &out.ServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Targets != nil { in, out := &in.Targets, &out.Targets *out = make([]MaintenanceWindowTaskTargetsInitParameters, len(*in)) @@ -2818,6 +2908,21 @@ func (in *MaintenanceWindowTaskInitParameters) DeepCopyInto(out *MaintenanceWind (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.TaskArn != nil { + in, out := &in.TaskArn, &out.TaskArn + *out = new(string) + **out = **in + } + if in.TaskArnRef != nil { + in, out := &in.TaskArnRef, &out.TaskArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TaskArnSelector != nil { + in, out := &in.TaskArnSelector, &out.TaskArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TaskInvocationParameters != nil { in, out := &in.TaskInvocationParameters, &out.TaskInvocationParameters *out = make([]TaskInvocationParametersInitParameters, len(*in)) @@ -2830,6 +2935,21 @@ func (in *MaintenanceWindowTaskInitParameters) DeepCopyInto(out *MaintenanceWind *out = new(string) **out = **in } + if in.WindowID != nil { + in, out := &in.WindowID, &out.WindowID + *out = new(string) + **out = **in + } + if in.WindowIDRef != nil { + in, out := &in.WindowIDRef, &out.WindowIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.WindowIDSelector != nil { + in, out := &in.WindowIDSelector, &out.WindowIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowTaskInitParameters. @@ -3213,6 +3333,21 @@ func (in *MaintenanceWindowTaskTargetsParameters) DeepCopy() *MaintenanceWindowT // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotificationConfigInitParameters) DeepCopyInto(out *NotificationConfigInitParameters) { *out = *in + if in.NotificationArn != nil { + in, out := &in.NotificationArn, &out.NotificationArn + *out = new(string) + **out = **in + } + if in.NotificationArnRef != nil { + in, out := &in.NotificationArnRef, &out.NotificationArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NotificationArnSelector != nil { + in, out := &in.NotificationArnSelector, &out.NotificationArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.NotificationEvents != nil { in, out := &in.NotificationEvents, &out.NotificationEvents *out = make([]*string, len(*in)) @@ -4396,6 +4531,21 @@ func (in *PatchGroup) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PatchGroupInitParameters) DeepCopyInto(out *PatchGroupInitParameters) { *out = *in + if in.BaselineID != nil { + in, out := &in.BaselineID, &out.BaselineID + *out = new(string) + **out = **in + } + if in.BaselineIDRef != nil { + in, out := &in.BaselineIDRef, &out.BaselineIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BaselineIDSelector != nil { + in, out := &in.BaselineIDSelector, &out.BaselineIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.PatchGroup != nil { in, out := &in.PatchGroup, &out.PatchGroup *out = new(string) @@ -4757,6 +4907,21 @@ func (in *RunCommandParametersInitParameters) DeepCopyInto(out *RunCommandParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.OutputS3Bucket != nil { + in, out := &in.OutputS3Bucket, &out.OutputS3Bucket + *out = new(string) + **out = **in + } + if in.OutputS3BucketRef != nil { + in, out := &in.OutputS3BucketRef, &out.OutputS3BucketRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.OutputS3BucketSelector != nil { + in, out := &in.OutputS3BucketSelector, &out.OutputS3BucketSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.OutputS3KeyPrefix != nil { in, out := &in.OutputS3KeyPrefix, &out.OutputS3KeyPrefix *out = new(string) @@ -4769,6 +4934,21 @@ func (in *RunCommandParametersInitParameters) DeepCopyInto(out *RunCommandParame (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ServiceRoleArn != nil { + in, out := &in.ServiceRoleArn, &out.ServiceRoleArn + *out = new(string) + **out = **in + } + if in.ServiceRoleArnRef != nil { + in, out := &in.ServiceRoleArnRef, &out.ServiceRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServiceRoleArnSelector != nil { + in, out := &in.ServiceRoleArnSelector, &out.ServiceRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TimeoutSeconds != nil { in, out := &in.TimeoutSeconds, &out.TimeoutSeconds *out = new(float64) @@ -5054,6 +5234,21 @@ func (in *RunCommandParametersParameters) DeepCopy() *RunCommandParametersParame // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *S3DestinationInitParameters) DeepCopyInto(out *S3DestinationInitParameters) { *out = *in + if in.BucketName != nil { + in, out := &in.BucketName, &out.BucketName + *out = new(string) + **out = **in + } + if in.BucketNameRef != nil { + in, out := &in.BucketNameRef, &out.BucketNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.BucketNameSelector != nil { + in, out := &in.BucketNameSelector, &out.BucketNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.KMSKeyArn != nil { in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) diff --git a/apis/ssm/v1beta1/zz_generated.resolvers.go b/apis/ssm/v1beta1/zz_generated.resolvers.go index 1c0f979bba..3e30ef324e 100644 --- a/apis/ssm/v1beta1/zz_generated.resolvers.go +++ b/apis/ssm/v1beta1/zz_generated.resolvers.go @@ -41,6 +41,22 @@ func (mg *Activation) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.IAMRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.IAMRoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.IAMRole), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.IAMRoleRef, + Selector: mg.Spec.InitProvider.IAMRoleSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.IAMRole") + } + mg.Spec.InitProvider.IAMRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.IAMRoleRef = rsp.ResolvedReference + return nil } @@ -67,6 +83,22 @@ func (mg *Association) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Name = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.NameRef, + Selector: mg.Spec.InitProvider.NameSelector, + To: reference.To{ + List: &DocumentList{}, + Managed: &Document{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Name") + } + mg.Spec.InitProvider.Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.NameRef = rsp.ResolvedReference + return nil } @@ -109,6 +141,38 @@ func (mg *DefaultPatchBaseline) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.OperatingSystem = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.OperatingSystemRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BaselineID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BaselineIDRef, + Selector: mg.Spec.InitProvider.BaselineIDSelector, + To: reference.To{ + List: &PatchBaselineList{}, + Managed: &PatchBaseline{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BaselineID") + } + mg.Spec.InitProvider.BaselineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BaselineIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.OperatingSystem), + Extract: resource.ExtractParamPath("operating_system", false), + Reference: mg.Spec.InitProvider.OperatingSystemRef, + Selector: mg.Spec.InitProvider.OperatingSystemSelector, + To: reference.To{ + List: &PatchBaselineList{}, + Managed: &PatchBaseline{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.OperatingSystem") + } + mg.Spec.InitProvider.OperatingSystem = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.OperatingSystemRef = rsp.ResolvedReference + return nil } @@ -135,6 +199,22 @@ func (mg *MaintenanceWindowTarget) ResolveReferences(ctx context.Context, c clie mg.Spec.ForProvider.WindowID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WindowIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WindowID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WindowIDRef, + Selector: mg.Spec.InitProvider.WindowIDSelector, + To: reference.To{ + List: &MaintenanceWindowList{}, + Managed: &MaintenanceWindow{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WindowID") + } + mg.Spec.InitProvider.WindowID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WindowIDRef = rsp.ResolvedReference + return nil } @@ -255,6 +335,116 @@ func (mg *MaintenanceWindowTask) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.WindowID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WindowIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServiceRoleArn), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.ServiceRoleArnRef, + Selector: mg.Spec.InitProvider.ServiceRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServiceRoleArn") + } + mg.Spec.InitProvider.ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServiceRoleArnRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TaskArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TaskArnRef, + Selector: mg.Spec.InitProvider.TaskArnSelector, + To: reference.To{ + List: &v1beta11.FunctionList{}, + Managed: &v1beta11.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TaskArn") + } + mg.Spec.InitProvider.TaskArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TaskArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.TaskInvocationParameters); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig); i5++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArnRef, + Selector: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArnSelector, + To: reference.To{ + List: &v1beta12.TopicList{}, + Managed: &v1beta12.Topic{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArn") + } + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].NotificationConfig[i5].NotificationArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.TaskInvocationParameters); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3Bucket), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3BucketRef, + Selector: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3BucketSelector, + To: reference.To{ + List: &v1beta13.BucketList{}, + Managed: &v1beta13.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3Bucket") + } + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3Bucket = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].OutputS3BucketRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.TaskInvocationParameters); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArnRef, + Selector: mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArn") + } + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TaskInvocationParameters[i3].RunCommandParameters[i4].ServiceRoleArnRef = rsp.ResolvedReference + + } + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WindowID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WindowIDRef, + Selector: mg.Spec.InitProvider.WindowIDSelector, + To: reference.To{ + List: &MaintenanceWindowList{}, + Managed: &MaintenanceWindow{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WindowID") + } + mg.Spec.InitProvider.WindowID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WindowIDRef = rsp.ResolvedReference + return nil } @@ -281,6 +471,22 @@ func (mg *PatchGroup) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.BaselineID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BaselineIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.BaselineID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.BaselineIDRef, + Selector: mg.Spec.InitProvider.BaselineIDSelector, + To: reference.To{ + List: &PatchBaselineList{}, + Managed: &PatchBaseline{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.BaselineID") + } + mg.Spec.InitProvider.BaselineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.BaselineIDRef = rsp.ResolvedReference + return nil } @@ -326,6 +532,24 @@ func (mg *ResourceDataSync) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.S3Destination[i3].Region = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.S3Destination[i3].RegionRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.S3Destination); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.S3Destination[i3].BucketName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.S3Destination[i3].BucketNameRef, + Selector: mg.Spec.InitProvider.S3Destination[i3].BucketNameSelector, + To: reference.To{ + List: &v1beta13.BucketList{}, + Managed: &v1beta13.Bucket{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.S3Destination[i3].BucketName") + } + mg.Spec.InitProvider.S3Destination[i3].BucketName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.S3Destination[i3].BucketNameRef = rsp.ResolvedReference + } return nil diff --git a/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go b/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go index 93fe095344..4cb0af1819 100755 --- a/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go +++ b/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go @@ -34,6 +34,19 @@ type MaintenanceWindowTargetInitParameters struct { // The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see // (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html) Targets []MaintenanceWindowTargetTargetsInitParameters `json:"targets,omitempty" tf:"targets,omitempty"` + + // The Id of the maintenance window to register the target with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.MaintenanceWindow + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WindowID *string `json:"windowId,omitempty" tf:"window_id,omitempty"` + + // Reference to a MaintenanceWindow in ssm to populate windowId. + // +kubebuilder:validation:Optional + WindowIDRef *v1.Reference `json:"windowIdRef,omitempty" tf:"-"` + + // Selector for a MaintenanceWindow in ssm to populate windowId. + // +kubebuilder:validation:Optional + WindowIDSelector *v1.Selector `json:"windowIdSelector,omitempty" tf:"-"` } type MaintenanceWindowTargetObservation struct { diff --git a/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go b/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go index b11891278f..33aaf7221b 100755 --- a/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go +++ b/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go @@ -157,14 +157,53 @@ type MaintenanceWindowTaskInitParameters struct { // The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + // The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"` + // The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2. Targets []MaintenanceWindowTaskTargetsInitParameters `json:"targets,omitempty" tf:"targets,omitempty"` + // The ARN of the task to execute. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + TaskArn *string `json:"taskArn,omitempty" tf:"task_arn,omitempty"` + + // Reference to a Function in lambda to populate taskArn. + // +kubebuilder:validation:Optional + TaskArnRef *v1.Reference `json:"taskArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate taskArn. + // +kubebuilder:validation:Optional + TaskArnSelector *v1.Selector `json:"taskArnSelector,omitempty" tf:"-"` + // Configuration block with parameters for task execution. TaskInvocationParameters []TaskInvocationParametersInitParameters `json:"taskInvocationParameters,omitempty" tf:"task_invocation_parameters,omitempty"` // The type of task being registered. Valid values: AUTOMATION, LAMBDA, RUN_COMMAND or STEP_FUNCTIONS. TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"` + + // The Id of the maintenance window to register the task with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.MaintenanceWindow + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + WindowID *string `json:"windowId,omitempty" tf:"window_id,omitempty"` + + // Reference to a MaintenanceWindow in ssm to populate windowId. + // +kubebuilder:validation:Optional + WindowIDRef *v1.Reference `json:"windowIdRef,omitempty" tf:"-"` + + // Selector for a MaintenanceWindow in ssm to populate windowId. + // +kubebuilder:validation:Optional + WindowIDSelector *v1.Selector `json:"windowIdSelector,omitempty" tf:"-"` } type MaintenanceWindowTaskObservation struct { @@ -327,6 +366,19 @@ type MaintenanceWindowTaskTargetsParameters struct { type NotificationConfigInitParameters struct { + // An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + NotificationArn *string `json:"notificationArn,omitempty" tf:"notification_arn,omitempty"` + + // Reference to a Topic in sns to populate notificationArn. + // +kubebuilder:validation:Optional + NotificationArnRef *v1.Reference `json:"notificationArnRef,omitempty" tf:"-"` + + // Selector for a Topic in sns to populate notificationArn. + // +kubebuilder:validation:Optional + NotificationArnSelector *v1.Selector `json:"notificationArnSelector,omitempty" tf:"-"` + // The different events for which you can receive notifications. Valid values: All, InProgress, Success, TimedOut, Cancelled, and Failed NotificationEvents []*string `json:"notificationEvents,omitempty" tf:"notification_events,omitempty"` @@ -391,12 +443,38 @@ type RunCommandParametersInitParameters struct { // Configurations for sending notifications about command status changes on a per-instance basis. Documented below. NotificationConfig []NotificationConfigInitParameters `json:"notificationConfig,omitempty" tf:"notification_config,omitempty"` + // The name of the Amazon S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + OutputS3Bucket *string `json:"outputS3Bucket,omitempty" tf:"output_s3_bucket,omitempty"` + + // Reference to a Bucket in s3 to populate outputS3Bucket. + // +kubebuilder:validation:Optional + OutputS3BucketRef *v1.Reference `json:"outputS3BucketRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate outputS3Bucket. + // +kubebuilder:validation:Optional + OutputS3BucketSelector *v1.Selector `json:"outputS3BucketSelector,omitempty" tf:"-"` + // The Amazon S3 bucket subfolder. OutputS3KeyPrefix *string `json:"outputS3KeyPrefix,omitempty" tf:"output_s3_key_prefix,omitempty"` // The parameters for the RUN_COMMAND task execution. Documented below. Parameter []RunCommandParametersParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` + // The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"` + + // Reference to a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate serviceRoleArn. + // +kubebuilder:validation:Optional + ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"` + // If this time is reached and the command has not already started executing, it doesn't run. TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_patchgroup_types.go b/apis/ssm/v1beta1/zz_patchgroup_types.go index 2044440260..957abb3518 100755 --- a/apis/ssm/v1beta1/zz_patchgroup_types.go +++ b/apis/ssm/v1beta1/zz_patchgroup_types.go @@ -19,6 +19,19 @@ import ( type PatchGroupInitParameters struct { + // The ID of the patch baseline to register the patch group with. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ssm/v1beta1.PatchBaseline + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + BaselineID *string `json:"baselineId,omitempty" tf:"baseline_id,omitempty"` + + // Reference to a PatchBaseline in ssm to populate baselineId. + // +kubebuilder:validation:Optional + BaselineIDRef *v1.Reference `json:"baselineIdRef,omitempty" tf:"-"` + + // Selector for a PatchBaseline in ssm to populate baselineId. + // +kubebuilder:validation:Optional + BaselineIDSelector *v1.Selector `json:"baselineIdSelector,omitempty" tf:"-"` + // The name of the patch group that should be registered with the patch baseline. PatchGroup *string `json:"patchGroup,omitempty" tf:"patch_group,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_resourcedatasync_types.go b/apis/ssm/v1beta1/zz_resourcedatasync_types.go index 541b3ea855..751c22429c 100755 --- a/apis/ssm/v1beta1/zz_resourcedatasync_types.go +++ b/apis/ssm/v1beta1/zz_resourcedatasync_types.go @@ -45,6 +45,18 @@ type ResourceDataSyncParameters struct { type S3DestinationInitParameters struct { + // Name of S3 bucket where the aggregated data is stored. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket + BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"` + + // Reference to a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"` + + // Selector for a Bucket in s3 to populate bucketName. + // +kubebuilder:validation:Optional + BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"` + // ARN of an encryption key for a destination in Amazon S3. KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` diff --git a/apis/ssoadmin/v1beta1/zz_customermanagedpolicyattachment_types.go b/apis/ssoadmin/v1beta1/zz_customermanagedpolicyattachment_types.go index 3385fe48dc..9edc9a428a 100755 --- a/apis/ssoadmin/v1beta1/zz_customermanagedpolicyattachment_types.go +++ b/apis/ssoadmin/v1beta1/zz_customermanagedpolicyattachment_types.go @@ -70,8 +70,22 @@ type CustomerManagedPolicyAttachmentParameters struct { type CustomerManagedPolicyReferenceInitParameters struct { + // Name of the customer managed IAM Policy to be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy + // +crossplane:generate:reference:refFieldName=PolicyNameRef + // +crossplane:generate:reference:selectorFieldName=PolicyNameSelector + Name *string `json:"name,omitempty" tf:"name,omitempty"` + // The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information. Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // Reference to a Policy in iam to populate name. + // +kubebuilder:validation:Optional + PolicyNameRef *v1.Reference `json:"policyNameRef,omitempty" tf:"-"` + + // Selector for a Policy in iam to populate name. + // +kubebuilder:validation:Optional + PolicyNameSelector *v1.Selector `json:"policyNameSelector,omitempty" tf:"-"` } type CustomerManagedPolicyReferenceObservation struct { diff --git a/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go b/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go index 412317d592..c884d1459a 100644 --- a/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go +++ b/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go @@ -526,11 +526,26 @@ func (in *CustomerManagedPolicyAttachmentStatus) DeepCopy() *CustomerManagedPoli // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomerManagedPolicyReferenceInitParameters) DeepCopyInto(out *CustomerManagedPolicyReferenceInitParameters) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } if in.Path != nil { in, out := &in.Path, &out.Path *out = new(string) **out = **in } + if in.PolicyNameRef != nil { + in, out := &in.PolicyNameRef, &out.PolicyNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyNameSelector != nil { + in, out := &in.PolicyNameSelector, &out.PolicyNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedPolicyReferenceInitParameters. @@ -1682,6 +1697,21 @@ func (in *PermissionsBoundaryAttachmentStatus) DeepCopy() *PermissionsBoundaryAt // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters) DeepCopyInto(out *PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Path != nil { in, out := &in.Path, &out.Path *out = new(string) diff --git a/apis/ssoadmin/v1beta1/zz_generated.resolvers.go b/apis/ssoadmin/v1beta1/zz_generated.resolvers.go index 28bc094cd1..b86d33e5da 100644 --- a/apis/ssoadmin/v1beta1/zz_generated.resolvers.go +++ b/apis/ssoadmin/v1beta1/zz_generated.resolvers.go @@ -99,6 +99,25 @@ func (mg *CustomerManagedPolicyAttachment) ResolveReferences(ctx context.Context mg.Spec.ForProvider.PermissionSetArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PermissionSetArnRef = rsp.ResolvedReference + for i3 := 0; i3 < len(mg.Spec.InitProvider.CustomerManagedPolicyReference); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].PolicyNameRef, + Selector: mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].PolicyNameSelector, + To: reference.To{ + List: &v1beta11.PolicyList{}, + Managed: &v1beta11.Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].Name") + } + mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CustomerManagedPolicyReference[i3].PolicyNameRef = rsp.ResolvedReference + + } + return nil } @@ -197,6 +216,26 @@ func (mg *PermissionsBoundaryAttachment) ResolveReferences(ctx context.Context, } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.PermissionsBoundary); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].Name), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].NameRef, + Selector: mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].NameSelector, + To: reference.To{ + List: &v1beta11.PolicyList{}, + Managed: &v1beta11.Policy{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].Name") + } + mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].Name = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PermissionsBoundary[i3].CustomerManagedPolicyReference[i4].NameRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/ssoadmin/v1beta1/zz_permissionsboundaryattachment_types.go b/apis/ssoadmin/v1beta1/zz_permissionsboundaryattachment_types.go index 98e0d90765..c3ea5ab326 100755 --- a/apis/ssoadmin/v1beta1/zz_permissionsboundaryattachment_types.go +++ b/apis/ssoadmin/v1beta1/zz_permissionsboundaryattachment_types.go @@ -70,6 +70,18 @@ type PermissionsBoundaryAttachmentParameters struct { type PermissionsBoundaryCustomerManagedPolicyReferenceInitParameters struct { + // Name of the customer managed IAM Policy to be attached. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Policy + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Reference to a Policy in iam to populate name. + // +kubebuilder:validation:Optional + NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"` + + // Selector for a Policy in iam to populate name. + // +kubebuilder:validation:Optional + NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"` + // The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information. Path *string `json:"path,omitempty" tf:"path,omitempty"` } diff --git a/apis/timestreamwrite/v1beta1/zz_database_types.go b/apis/timestreamwrite/v1beta1/zz_database_types.go index ab7b546edc..5b952cf711 100755 --- a/apis/timestreamwrite/v1beta1/zz_database_types.go +++ b/apis/timestreamwrite/v1beta1/zz_database_types.go @@ -19,6 +19,18 @@ import ( type DatabaseInitParameters struct { + // The ARN (not Alias ARN) of the KMS key to be used to encrypt the data stored in the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. Refer to AWS managed KMS keys for more info. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` + + // Reference to a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyId. + // +kubebuilder:validation:Optional + KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go b/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go index 1379795b34..31d4cba59c 100644 --- a/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go +++ b/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go @@ -133,6 +133,21 @@ func (in *Database) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters) { *out = *in + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/timestreamwrite/v1beta1/zz_generated.resolvers.go b/apis/timestreamwrite/v1beta1/zz_generated.resolvers.go index c7a0ba39b1..e4ac264393 100644 --- a/apis/timestreamwrite/v1beta1/zz_generated.resolvers.go +++ b/apis/timestreamwrite/v1beta1/zz_generated.resolvers.go @@ -36,6 +36,22 @@ func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.KMSKeyIDRef, + Selector: mg.Spec.InitProvider.KMSKeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KMSKeyID") + } + mg.Spec.InitProvider.KMSKeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KMSKeyIDRef = rsp.ResolvedReference + return nil } diff --git a/apis/transcribe/v1beta1/zz_generated.deepcopy.go b/apis/transcribe/v1beta1/zz_generated.deepcopy.go index ec536c6c25..e7ca075cb7 100644 --- a/apis/transcribe/v1beta1/zz_generated.deepcopy.go +++ b/apis/transcribe/v1beta1/zz_generated.deepcopy.go @@ -16,6 +16,21 @@ import ( // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InputDataConfigInitParameters) DeepCopyInto(out *InputDataConfigInitParameters) { *out = *in + if in.DataAccessRoleArn != nil { + in, out := &in.DataAccessRoleArn, &out.DataAccessRoleArn + *out = new(string) + **out = **in + } + if in.DataAccessRoleArnRef != nil { + in, out := &in.DataAccessRoleArnRef, &out.DataAccessRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataAccessRoleArnSelector != nil { + in, out := &in.DataAccessRoleArnSelector, &out.DataAccessRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.S3URI != nil { in, out := &in.S3URI, &out.S3URI *out = new(string) diff --git a/apis/transcribe/v1beta1/zz_generated.resolvers.go b/apis/transcribe/v1beta1/zz_generated.resolvers.go index c99f196d64..4be01e3052 100644 --- a/apis/transcribe/v1beta1/zz_generated.resolvers.go +++ b/apis/transcribe/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *LanguageModel) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.InputDataConfig[i3].DataAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InputDataConfig[i3].DataAccessRoleArnRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.InputDataConfig); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArnRef, + Selector: mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArnSelector, + To: reference.To{ + List: &v1beta1.RoleList{}, + Managed: &v1beta1.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArn") + } + mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.InputDataConfig[i3].DataAccessRoleArnRef = rsp.ResolvedReference + } return nil diff --git a/apis/transcribe/v1beta1/zz_languagemodel_types.go b/apis/transcribe/v1beta1/zz_languagemodel_types.go index 93d8f73728..944c7656d6 100755 --- a/apis/transcribe/v1beta1/zz_languagemodel_types.go +++ b/apis/transcribe/v1beta1/zz_languagemodel_types.go @@ -19,6 +19,19 @@ import ( type InputDataConfigInitParameters struct { + // IAM role with access to S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"` + + // Reference to a Role in iam to populate dataAccessRoleArn. + // +kubebuilder:validation:Optional + DataAccessRoleArnRef *v1.Reference `json:"dataAccessRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate dataAccessRoleArn. + // +kubebuilder:validation:Optional + DataAccessRoleArnSelector *v1.Selector `json:"dataAccessRoleArnSelector,omitempty" tf:"-"` + // S3 URI where training data is located. S3URI *string `json:"s3Uri,omitempty" tf:"s3_uri,omitempty"` diff --git a/apis/transfer/v1beta1/zz_generated.deepcopy.go b/apis/transfer/v1beta1/zz_generated.deepcopy.go index edffdfdacb..4791ff4dad 100644 --- a/apis/transfer/v1beta1/zz_generated.deepcopy.go +++ b/apis/transfer/v1beta1/zz_generated.deepcopy.go @@ -1257,6 +1257,21 @@ func (in *EndpointDetailsInitParameters) DeepCopyInto(out *EndpointDetailsInitPa *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 EndpointDetailsInitParameters. @@ -2126,6 +2141,36 @@ func (in *SSHKeyInitParameters) DeepCopyInto(out *SSHKeyInitParameters) { *out = new(string) **out = **in } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } + if in.ServerIDRef != nil { + in, out := &in.ServerIDRef, &out.ServerIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServerIDSelector != nil { + in, out := &in.ServerIDSelector, &out.ServerIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.UserName != nil { + in, out := &in.UserName, &out.UserName + *out = new(string) + **out = **in + } + if in.UserNameRef != nil { + in, out := &in.UserNameRef, &out.UserNameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.UserNameSelector != nil { + in, out := &in.UserNameSelector, &out.UserNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyInitParameters. @@ -2325,6 +2370,36 @@ func (in *Server) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServerInitParameters) DeepCopyInto(out *ServerInitParameters) { *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = new(string) + **out = **in + } + if in.CertificateRef != nil { + in, out := &in.CertificateRef, &out.CertificateRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CertificateSelector != nil { + in, out := &in.CertificateSelector, &out.CertificateSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.DirectoryID != nil { + in, out := &in.DirectoryID, &out.DirectoryID + *out = new(string) + **out = **in + } + if in.DirectoryIDRef != nil { + in, out := &in.DirectoryIDRef, &out.DirectoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DirectoryIDSelector != nil { + in, out := &in.DirectoryIDSelector, &out.DirectoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Domain != nil { in, out := &in.Domain, &out.Domain *out = new(string) @@ -2362,6 +2437,21 @@ func (in *ServerInitParameters) DeepCopyInto(out *ServerInitParameters) { *out = new(string) **out = **in } + if in.LoggingRole != nil { + in, out := &in.LoggingRole, &out.LoggingRole + *out = new(string) + **out = **in + } + if in.LoggingRoleRef != nil { + in, out := &in.LoggingRoleRef, &out.LoggingRoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LoggingRoleSelector != nil { + in, out := &in.LoggingRoleSelector, &out.LoggingRoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.ProtocolDetails != nil { in, out := &in.ProtocolDetails, &out.ProtocolDetails *out = make([]ProtocolDetailsInitParameters, len(*in)) @@ -2971,6 +3061,21 @@ func (in *StepsCustomStepDetailsInitParameters) DeepCopyInto(out *StepsCustomSte *out = new(string) **out = **in } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.TargetRef != nil { + in, out := &in.TargetRef, &out.TargetRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.TargetSelector != nil { + in, out := &in.TargetSelector, &out.TargetSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TimeoutSeconds != nil { in, out := &in.TimeoutSeconds, &out.TimeoutSeconds *out = new(float64) @@ -3652,6 +3757,21 @@ func (in *TagInitParameters) DeepCopyInto(out *TagInitParameters) { *out = new(string) **out = **in } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn + *out = new(string) + **out = **in + } + if in.ResourceArnRef != nil { + in, out := &in.ResourceArnRef, &out.ResourceArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceArnSelector != nil { + in, out := &in.ResourceArnSelector, &out.ResourceArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Value != nil { in, out := &in.Value, &out.Value *out = new(string) @@ -4121,6 +4241,36 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.RoleRef != nil { + in, out := &in.RoleRef, &out.RoleRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RoleSelector != nil { + in, out := &in.RoleSelector, &out.RoleSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } + if in.ServerIDRef != nil { + in, out := &in.ServerIDRef, &out.ServerIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ServerIDSelector != nil { + in, out := &in.ServerIDSelector, &out.ServerIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) diff --git a/apis/transfer/v1beta1/zz_generated.resolvers.go b/apis/transfer/v1beta1/zz_generated.resolvers.go index c802164d1f..f4e7fec066 100644 --- a/apis/transfer/v1beta1/zz_generated.resolvers.go +++ b/apis/transfer/v1beta1/zz_generated.resolvers.go @@ -58,6 +58,38 @@ func (mg *SSHKey) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.UserName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.UserNameRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServerID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.ServerIDRef, + Selector: mg.Spec.InitProvider.ServerIDSelector, + To: reference.To{ + List: &ServerList{}, + Managed: &Server{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServerID") + } + mg.Spec.InitProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServerIDRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.UserName), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.UserNameRef, + Selector: mg.Spec.InitProvider.UserNameSelector, + To: reference.To{ + List: &UserList{}, + Managed: &User{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.UserName") + } + mg.Spec.InitProvider.UserName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.UserNameRef = rsp.ResolvedReference + return nil } @@ -134,6 +166,72 @@ func (mg *Server) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.LoggingRole = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LoggingRoleRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Certificate), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.CertificateRef, + Selector: mg.Spec.InitProvider.CertificateSelector, + To: reference.To{ + List: &v1beta1.CertificateList{}, + Managed: &v1beta1.Certificate{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Certificate") + } + mg.Spec.InitProvider.Certificate = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CertificateRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DirectoryID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DirectoryIDRef, + Selector: mg.Spec.InitProvider.DirectoryIDSelector, + To: reference.To{ + List: &v1beta11.DirectoryList{}, + Managed: &v1beta11.Directory{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DirectoryID") + } + mg.Spec.InitProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DirectoryIDRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.EndpointDetails); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EndpointDetails[i3].VPCID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.EndpointDetails[i3].VPCIDRef, + Selector: mg.Spec.InitProvider.EndpointDetails[i3].VPCIDSelector, + To: reference.To{ + List: &v1beta12.VPCList{}, + Managed: &v1beta12.VPC{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EndpointDetails[i3].VPCID") + } + mg.Spec.InitProvider.EndpointDetails[i3].VPCID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EndpointDetails[i3].VPCIDRef = rsp.ResolvedReference + + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingRole), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.LoggingRoleRef, + Selector: mg.Spec.InitProvider.LoggingRoleSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingRole") + } + mg.Spec.InitProvider.LoggingRole = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingRoleRef = rsp.ResolvedReference + return nil } @@ -160,6 +258,22 @@ func (mg *Tag) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceArnRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceArn), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.ResourceArnRef, + Selector: mg.Spec.InitProvider.ResourceArnSelector, + To: reference.To{ + List: &ServerList{}, + Managed: &Server{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ResourceArn") + } + mg.Spec.InitProvider.ResourceArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ResourceArnRef = rsp.ResolvedReference + return nil } @@ -202,6 +316,38 @@ func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Role), + Extract: common.ARNExtractor(), + Reference: mg.Spec.InitProvider.RoleRef, + Selector: mg.Spec.InitProvider.RoleSelector, + To: reference.To{ + List: &v1beta13.RoleList{}, + Managed: &v1beta13.Role{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Role") + } + mg.Spec.InitProvider.Role = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RoleRef = rsp.ResolvedReference + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ServerID), + Extract: reference.ExternalName(), + Reference: mg.Spec.InitProvider.ServerIDRef, + Selector: mg.Spec.InitProvider.ServerIDSelector, + To: reference.To{ + List: &ServerList{}, + Managed: &Server{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.ServerID") + } + mg.Spec.InitProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.ServerIDRef = rsp.ResolvedReference + return nil } @@ -232,6 +378,26 @@ func (mg *Workflow) ResolveReferences(ctx context.Context, c client.Reader) erro } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Steps); i3++ { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Steps[i3].CustomStepDetails); i4++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].Target), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].TargetRef, + Selector: mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].TargetSelector, + To: reference.To{ + List: &v1beta14.FunctionList{}, + Managed: &v1beta14.Function{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].Target") + } + mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].Target = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Steps[i3].CustomStepDetails[i4].TargetRef = rsp.ResolvedReference + + } + } return nil } diff --git a/apis/transfer/v1beta1/zz_server_types.go b/apis/transfer/v1beta1/zz_server_types.go index 7cbc24a19a..5d636ce569 100755 --- a/apis/transfer/v1beta1/zz_server_types.go +++ b/apis/transfer/v1beta1/zz_server_types.go @@ -33,6 +33,19 @@ type EndpointDetailsInitParameters struct { // The ID of the VPC endpoint. This property can only be used when endpoint_type is set to VPC_ENDPOINT VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + + // The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted. This property can only be used when endpoint_type is set to VPC. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` + + // Reference to a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` + + // Selector for a VPC in ec2 to populate vpcId. + // +kubebuilder:validation:Optional + VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` } type EndpointDetailsObservation struct { @@ -204,6 +217,32 @@ type ProtocolDetailsParameters struct { type ServerInitParameters struct { + // The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate. This is required when protocols is set to FTPS + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta1.Certificate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"` + + // Reference to a Certificate in acm to populate certificate. + // +kubebuilder:validation:Optional + CertificateRef *v1.Reference `json:"certificateRef,omitempty" tf:"-"` + + // Selector for a Certificate in acm to populate certificate. + // +kubebuilder:validation:Optional + CertificateSelector *v1.Selector `json:"certificateSelector,omitempty" tf:"-"` + + // The directory service ID of the directory service you want to connect to with an identity_provider_type of AWS_DIRECTORY_SERVICE. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta1.Directory + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"` + + // Reference to a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"` + + // Selector for a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,omitempty" tf:"-"` + // The domain of the storage system that is used for file transfers. Valid values are: S3 and EFS. The default value is S3. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` @@ -225,6 +264,19 @@ type ServerInitParameters struct { // Amazon Resource Name (ARN) of the IAM role used to authenticate the user account with an identity_provider_type of API_GATEWAY. InvocationRole *string `json:"invocationRole,omitempty" tf:"invocation_role,omitempty"` + // Amazon Resource Name (ARN) of an IAM role that allows the service to write your SFTP users’ activity to your Amazon CloudWatch logs for monitoring and auditing purposes. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + LoggingRole *string `json:"loggingRole,omitempty" tf:"logging_role,omitempty"` + + // Reference to a Role in iam to populate loggingRole. + // +kubebuilder:validation:Optional + LoggingRoleRef *v1.Reference `json:"loggingRoleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate loggingRole. + // +kubebuilder:validation:Optional + LoggingRoleSelector *v1.Selector `json:"loggingRoleSelector,omitempty" tf:"-"` + // The protocol settings that are configured for your server. ProtocolDetails []ProtocolDetailsInitParameters `json:"protocolDetails,omitempty" tf:"protocol_details,omitempty"` diff --git a/apis/transfer/v1beta1/zz_sshkey_types.go b/apis/transfer/v1beta1/zz_sshkey_types.go index 966b8244b6..c33fbf94de 100755 --- a/apis/transfer/v1beta1/zz_sshkey_types.go +++ b/apis/transfer/v1beta1/zz_sshkey_types.go @@ -21,6 +21,31 @@ type SSHKeyInitParameters struct { // (Requirement) The public key portion of an SSH key pair. Body *string `json:"body,omitempty" tf:"body,omitempty"` + + // (Requirement) The Server ID of the Transfer Server (e.g., s-12345678) + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/transfer/v1beta1.Server + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` + + // Reference to a Server in transfer to populate serverId. + // +kubebuilder:validation:Optional + ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"` + + // Selector for a Server in transfer to populate serverId. + // +kubebuilder:validation:Optional + ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"` + + // (Requirement) The name of the user account that is assigned to one or more servers. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/transfer/v1beta1.User + UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"` + + // Reference to a User in transfer to populate userName. + // +kubebuilder:validation:Optional + UserNameRef *v1.Reference `json:"userNameRef,omitempty" tf:"-"` + + // Selector for a User in transfer to populate userName. + // +kubebuilder:validation:Optional + UserNameSelector *v1.Selector `json:"userNameSelector,omitempty" tf:"-"` } type SSHKeyObservation struct { diff --git a/apis/transfer/v1beta1/zz_tag_types.go b/apis/transfer/v1beta1/zz_tag_types.go index a599ff53e6..a9b951bb08 100755 --- a/apis/transfer/v1beta1/zz_tag_types.go +++ b/apis/transfer/v1beta1/zz_tag_types.go @@ -22,6 +22,19 @@ type TagInitParameters struct { // Tag name. Key *string `json:"key,omitempty" tf:"key,omitempty"` + // Amazon Resource Name (ARN) of the Transfer Family resource to tag. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/transfer/v1beta1.Server + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` + + // Reference to a Server in transfer to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"` + + // Selector for a Server in transfer to populate resourceArn. + // +kubebuilder:validation:Optional + ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"` + // Tag value. Value *string `json:"value,omitempty" tf:"value,omitempty"` } diff --git a/apis/transfer/v1beta1/zz_user_types.go b/apis/transfer/v1beta1/zz_user_types.go index 5ec630476b..8b43ff3eb0 100755 --- a/apis/transfer/v1beta1/zz_user_types.go +++ b/apis/transfer/v1beta1/zz_user_types.go @@ -105,6 +105,31 @@ type UserInitParameters struct { // Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon EFS file systems. See Posix Profile below. PosixProfile []PosixProfileInitParameters `json:"posixProfile,omitempty" tf:"posix_profile,omitempty"` + // Amazon Resource Name (ARN) of an IAM role that allows the service to control your user’s access to your Amazon S3 bucket. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // Reference to a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate role. + // +kubebuilder:validation:Optional + RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` + + // The Server ID of the Transfer Server (e.g., s-12345678) + // +crossplane:generate:reference:type=Server + ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` + + // Reference to a Server to populate serverId. + // +kubebuilder:validation:Optional + ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"` + + // Selector for a Server to populate serverId. + // +kubebuilder:validation:Optional + ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` diff --git a/apis/transfer/v1beta1/zz_workflow_types.go b/apis/transfer/v1beta1/zz_workflow_types.go index 55047d6945..0d9a50ce93 100755 --- a/apis/transfer/v1beta1/zz_workflow_types.go +++ b/apis/transfer/v1beta1/zz_workflow_types.go @@ -648,6 +648,19 @@ type StepsCustomStepDetailsInitParameters struct { // Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. Enter ${original.file} to use the originally-uploaded file location as input for this step. SourceFileLocation *string `json:"sourceFileLocation,omitempty" tf:"source_file_location,omitempty"` + // The ARN for the lambda function that is being called. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + Target *string `json:"target,omitempty" tf:"target,omitempty"` + + // Reference to a Function in lambda to populate target. + // +kubebuilder:validation:Optional + TargetRef *v1.Reference `json:"targetRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate target. + // +kubebuilder:validation:Optional + TargetSelector *v1.Selector `json:"targetSelector,omitempty" tf:"-"` + // Timeout, in seconds, for the step. TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` } diff --git a/apis/waf/v1beta1/zz_generated.deepcopy.go b/apis/waf/v1beta1/zz_generated.deepcopy.go index 0dd79af64d..da2734da69 100644 --- a/apis/waf/v1beta1/zz_generated.deepcopy.go +++ b/apis/waf/v1beta1/zz_generated.deepcopy.go @@ -1037,6 +1037,21 @@ func (in *IPSetStatus) DeepCopy() *IPSetStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LoggingConfigurationInitParameters) DeepCopyInto(out *LoggingConfigurationInitParameters) { *out = *in + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.LogDestinationRef != nil { + in, out := &in.LogDestinationRef, &out.LogDestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationSelector != nil { + in, out := &in.LogDestinationSelector, &out.LogDestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RedactedFields != nil { in, out := &in.RedactedFields, &out.RedactedFields *out = make([]RedactedFieldsInitParameters, len(*in)) @@ -1183,6 +1198,21 @@ func (in *OverrideActionParameters) DeepCopy() *OverrideActionParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PredicatesInitParameters) DeepCopyInto(out *PredicatesInitParameters) { *out = *in + if in.DataID != nil { + in, out := &in.DataID, &out.DataID + *out = new(string) + **out = **in + } + if in.DataIDRef != nil { + in, out := &in.DataIDRef, &out.DataIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataIDSelector != nil { + in, out := &in.DataIDSelector, &out.DataIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Negated != nil { in, out := &in.Negated, &out.Negated *out = new(bool) @@ -1990,6 +2020,21 @@ func (in *RegexMatchTupleInitParameters) DeepCopyInto(out *RegexMatchTupleInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RegexPatternSetID != nil { + in, out := &in.RegexPatternSetID, &out.RegexPatternSetID + *out = new(string) + **out = **in + } + if in.RegexPatternSetIDRef != nil { + in, out := &in.RegexPatternSetIDRef, &out.RegexPatternSetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RegexPatternSetIDSelector != nil { + in, out := &in.RegexPatternSetIDSelector, &out.RegexPatternSetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TextTransformation != nil { in, out := &in.TextTransformation, &out.TextTransformation *out = new(string) @@ -2520,6 +2565,21 @@ func (in *RuleParameters) DeepCopy() *RuleParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RulePredicatesInitParameters) DeepCopyInto(out *RulePredicatesInitParameters) { *out = *in + if in.DataID != nil { + in, out := &in.DataID, &out.DataID + *out = new(string) + **out = **in + } + if in.DataIDRef != nil { + in, out := &in.DataIDRef, &out.DataIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataIDSelector != nil { + in, out := &in.DataIDSelector, &out.DataIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Negated != nil { in, out := &in.Negated, &out.Negated *out = new(bool) @@ -2669,6 +2729,21 @@ func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters) { *out = new(float64) **out = **in } + if in.RuleID != nil { + in, out := &in.RuleID, &out.RuleID + *out = new(string) + **out = **in + } + if in.RuleIDRef != nil { + in, out := &in.RuleIDRef, &out.RuleIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RuleIDSelector != nil { + in, out := &in.RuleIDSelector, &out.RuleIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) diff --git a/apis/waf/v1beta1/zz_generated.resolvers.go b/apis/waf/v1beta1/zz_generated.resolvers.go index b3a7de6de2..dde886f401 100644 --- a/apis/waf/v1beta1/zz_generated.resolvers.go +++ b/apis/waf/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *RateBasedRule) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.Predicates[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Predicates[i3].DataIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicates); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicates[i3].DataID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Predicates[i3].DataIDRef, + Selector: mg.Spec.InitProvider.Predicates[i3].DataIDSelector, + To: reference.To{ + List: &IPSetList{}, + Managed: &IPSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicates[i3].DataID") + } + mg.Spec.InitProvider.Predicates[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicates[i3].DataIDRef = rsp.ResolvedReference + } return nil @@ -67,6 +85,24 @@ func (mg *RegexMatchSet) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RegexMatchTuple[i3].RegexPatternSetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RegexMatchTuple[i3].RegexPatternSetIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RegexMatchTuple); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDRef, + Selector: mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDSelector, + To: reference.To{ + List: &RegexPatternSetList{}, + Managed: &RegexPatternSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID") + } + mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDRef = rsp.ResolvedReference + } return nil @@ -96,6 +132,24 @@ func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Predicates[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Predicates[i3].DataIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicates); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicates[i3].DataID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Predicates[i3].DataIDRef, + Selector: mg.Spec.InitProvider.Predicates[i3].DataIDSelector, + To: reference.To{ + List: &IPSetList{}, + Managed: &IPSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicates[i3].DataID") + } + mg.Spec.InitProvider.Predicates[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicates[i3].DataIDRef = rsp.ResolvedReference + } return nil @@ -143,6 +197,42 @@ func (mg *WebACL) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.Rules[i3].RuleID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Rules[i3].RuleIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoggingConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationRef, + Selector: mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationSelector, + To: reference.To{ + List: &v1beta1.DeliveryStreamList{}, + Managed: &v1beta1.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination") + } + mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Rules); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rules[i3].RuleID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Rules[i3].RuleIDRef, + Selector: mg.Spec.InitProvider.Rules[i3].RuleIDSelector, + To: reference.To{ + List: &RuleList{}, + Managed: &Rule{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rules[i3].RuleID") + } + mg.Spec.InitProvider.Rules[i3].RuleID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Rules[i3].RuleIDRef = rsp.ResolvedReference + } return nil diff --git a/apis/waf/v1beta1/zz_ratebasedrule_types.go b/apis/waf/v1beta1/zz_ratebasedrule_types.go index cf99591ebe..261e68615f 100755 --- a/apis/waf/v1beta1/zz_ratebasedrule_types.go +++ b/apis/waf/v1beta1/zz_ratebasedrule_types.go @@ -19,6 +19,19 @@ import ( type PredicatesInitParameters struct { + // A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/waf/v1beta1.IPSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DataID *string `json:"dataId,omitempty" tf:"data_id,omitempty"` + + // Reference to a IPSet in waf to populate dataId. + // +kubebuilder:validation:Optional + DataIDRef *v1.Reference `json:"dataIdRef,omitempty" tf:"-"` + + // Selector for a IPSet in waf to populate dataId. + // +kubebuilder:validation:Optional + DataIDSelector *v1.Selector `json:"dataIdSelector,omitempty" tf:"-"` + // Set this to false if you want to allow, block, or count requests // based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. // For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. diff --git a/apis/waf/v1beta1/zz_regexmatchset_types.go b/apis/waf/v1beta1/zz_regexmatchset_types.go index fd120c57b4..cc09e138fd 100755 --- a/apis/waf/v1beta1/zz_regexmatchset_types.go +++ b/apis/waf/v1beta1/zz_regexmatchset_types.go @@ -103,6 +103,19 @@ type RegexMatchTupleInitParameters struct { // The part of a web request that you want to search, such as a specified header or a query string. FieldToMatch []RegexMatchTupleFieldToMatchInitParameters `json:"fieldToMatch,omitempty" tf:"field_to_match,omitempty"` + // The ID of a Regex Pattern Set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/waf/v1beta1.RegexPatternSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RegexPatternSetID *string `json:"regexPatternSetId,omitempty" tf:"regex_pattern_set_id,omitempty"` + + // Reference to a RegexPatternSet in waf to populate regexPatternSetId. + // +kubebuilder:validation:Optional + RegexPatternSetIDRef *v1.Reference `json:"regexPatternSetIdRef,omitempty" tf:"-"` + + // Selector for a RegexPatternSet in waf to populate regexPatternSetId. + // +kubebuilder:validation:Optional + RegexPatternSetIDSelector *v1.Selector `json:"regexPatternSetIdSelector,omitempty" tf:"-"` + // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // e.g., CMD_LINE, HTML_ENTITY_DECODE or NONE. // See docs diff --git a/apis/waf/v1beta1/zz_rule_types.go b/apis/waf/v1beta1/zz_rule_types.go index 5ddbfb8293..a6f84fb010 100755 --- a/apis/waf/v1beta1/zz_rule_types.go +++ b/apis/waf/v1beta1/zz_rule_types.go @@ -86,6 +86,19 @@ type RuleParameters struct { type RulePredicatesInitParameters struct { + // A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/waf/v1beta1.IPSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DataID *string `json:"dataId,omitempty" tf:"data_id,omitempty"` + + // Reference to a IPSet in waf to populate dataId. + // +kubebuilder:validation:Optional + DataIDRef *v1.Reference `json:"dataIdRef,omitempty" tf:"-"` + + // Selector for a IPSet in waf to populate dataId. + // +kubebuilder:validation:Optional + DataIDSelector *v1.Selector `json:"dataIdSelector,omitempty" tf:"-"` + // Set this to false if you want to allow, block, or count requests // based on the settings in the specified waf_byte_match_set, waf_ipset, aws_waf_size_constraint_set, aws_waf_sql_injection_match_set or aws_waf_xss_match_set. // For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. diff --git a/apis/waf/v1beta1/zz_webacl_types.go b/apis/waf/v1beta1/zz_webacl_types.go index 96deef5a62..798e64d98f 100755 --- a/apis/waf/v1beta1/zz_webacl_types.go +++ b/apis/waf/v1beta1/zz_webacl_types.go @@ -60,6 +60,19 @@ type DefaultActionParameters struct { type LoggingConfigurationInitParameters struct { + // Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"` + + // Reference to a DeliveryStream in firehose to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationRef *v1.Reference `json:"logDestinationRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationSelector *v1.Selector `json:"logDestinationSelector,omitempty" tf:"-"` + // Configuration block containing parts of the request that you want redacted from the logs. Detailed below. RedactedFields []RedactedFieldsInitParameters `json:"redactedFields,omitempty" tf:"redacted_fields,omitempty"` } @@ -173,6 +186,19 @@ type RulesInitParameters struct { // Rules with a lower value are evaluated before rules with a higher value. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + // ID of the associated WAF (Global) rule (e.g., aws_waf_rule). WAF (Regional) rules cannot be used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/waf/v1beta1.Rule + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"` + + // Reference to a Rule in waf to populate ruleId. + // +kubebuilder:validation:Optional + RuleIDRef *v1.Reference `json:"ruleIdRef,omitempty" tf:"-"` + + // Selector for a Rule in waf to populate ruleId. + // +kubebuilder:validation:Optional + RuleIDSelector *v1.Selector `json:"ruleIdSelector,omitempty" tf:"-"` + // The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to set type as RATE_BASED. If you add a GROUP rule, you need to set type as GROUP. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_generated.deepcopy.go b/apis/wafregional/v1beta1/zz_generated.deepcopy.go index 6258c7ca5e..4121fdfdac 100644 --- a/apis/wafregional/v1beta1/zz_generated.deepcopy.go +++ b/apis/wafregional/v1beta1/zz_generated.deepcopy.go @@ -1032,6 +1032,21 @@ func (in *IPSetStatus) DeepCopy() *IPSetStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LoggingConfigurationInitParameters) DeepCopyInto(out *LoggingConfigurationInitParameters) { *out = *in + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.LogDestinationRef != nil { + in, out := &in.LogDestinationRef, &out.LogDestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationSelector != nil { + in, out := &in.LogDestinationSelector, &out.LogDestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.RedactedFields != nil { in, out := &in.RedactedFields, &out.RedactedFields *out = make([]RedactedFieldsInitParameters, len(*in)) @@ -1178,6 +1193,21 @@ func (in *OverrideActionParameters) DeepCopy() *OverrideActionParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PredicateInitParameters) DeepCopyInto(out *PredicateInitParameters) { *out = *in + if in.DataID != nil { + in, out := &in.DataID, &out.DataID + *out = new(string) + **out = **in + } + if in.DataIDRef != nil { + in, out := &in.DataIDRef, &out.DataIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataIDSelector != nil { + in, out := &in.DataIDSelector, &out.DataIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Negated != nil { in, out := &in.Negated, &out.Negated *out = new(bool) @@ -1980,6 +2010,21 @@ func (in *RegexMatchTupleInitParameters) DeepCopyInto(out *RegexMatchTupleInitPa (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.RegexPatternSetID != nil { + in, out := &in.RegexPatternSetID, &out.RegexPatternSetID + *out = new(string) + **out = **in + } + if in.RegexPatternSetIDRef != nil { + in, out := &in.RegexPatternSetIDRef, &out.RegexPatternSetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RegexPatternSetIDSelector != nil { + in, out := &in.RegexPatternSetIDSelector, &out.RegexPatternSetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.TextTransformation != nil { in, out := &in.TextTransformation, &out.TextTransformation *out = new(string) @@ -2505,6 +2550,21 @@ func (in *RuleParameters) DeepCopy() *RuleParameters { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RulePredicateInitParameters) DeepCopyInto(out *RulePredicateInitParameters) { *out = *in + if in.DataID != nil { + in, out := &in.DataID, &out.DataID + *out = new(string) + **out = **in + } + if in.DataIDRef != nil { + in, out := &in.DataIDRef, &out.DataIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataIDSelector != nil { + in, out := &in.DataIDSelector, &out.DataIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Negated != nil { in, out := &in.Negated, &out.Negated *out = new(bool) @@ -3647,6 +3707,21 @@ func (in *WebACLRuleInitParameters) DeepCopyInto(out *WebACLRuleInitParameters) *out = new(float64) **out = **in } + if in.RuleID != nil { + in, out := &in.RuleID, &out.RuleID + *out = new(string) + **out = **in + } + if in.RuleIDRef != nil { + in, out := &in.RuleIDRef, &out.RuleIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RuleIDSelector != nil { + in, out := &in.RuleIDSelector, &out.RuleIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) diff --git a/apis/wafregional/v1beta1/zz_generated.resolvers.go b/apis/wafregional/v1beta1/zz_generated.resolvers.go index 2300a6c17a..d8588216ef 100644 --- a/apis/wafregional/v1beta1/zz_generated.resolvers.go +++ b/apis/wafregional/v1beta1/zz_generated.resolvers.go @@ -38,6 +38,24 @@ func (mg *RateBasedRule) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.Predicate[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Predicate[i3].DataIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicate); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicate[i3].DataID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Predicate[i3].DataIDRef, + Selector: mg.Spec.InitProvider.Predicate[i3].DataIDSelector, + To: reference.To{ + List: &IPSetList{}, + Managed: &IPSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicate[i3].DataID") + } + mg.Spec.InitProvider.Predicate[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicate[i3].DataIDRef = rsp.ResolvedReference + } return nil @@ -67,6 +85,24 @@ func (mg *RegexMatchSet) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.RegexMatchTuple[i3].RegexPatternSetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RegexMatchTuple[i3].RegexPatternSetIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.RegexMatchTuple); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDRef, + Selector: mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDSelector, + To: reference.To{ + List: &RegexPatternSetList{}, + Managed: &RegexPatternSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID") + } + mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.RegexMatchTuple[i3].RegexPatternSetIDRef = rsp.ResolvedReference + } return nil @@ -96,6 +132,24 @@ func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error { mg.Spec.ForProvider.Predicate[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Predicate[i3].DataIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Predicate); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Predicate[i3].DataID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Predicate[i3].DataIDRef, + Selector: mg.Spec.InitProvider.Predicate[i3].DataIDSelector, + To: reference.To{ + List: &IPSetList{}, + Managed: &IPSet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Predicate[i3].DataID") + } + mg.Spec.InitProvider.Predicate[i3].DataID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Predicate[i3].DataIDRef = rsp.ResolvedReference + } return nil @@ -143,6 +197,42 @@ func (mg *WebACL) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.Rule[i3].RuleID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.Rule[i3].RuleIDRef = rsp.ResolvedReference + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LoggingConfiguration); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination), + Extract: resource.ExtractParamPath("arn", false), + Reference: mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationRef, + Selector: mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationSelector, + To: reference.To{ + List: &v1beta1.DeliveryStreamList{}, + Managed: &v1beta1.DeliveryStream{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination") + } + mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestination = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LoggingConfiguration[i3].LogDestinationRef = rsp.ResolvedReference + + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Rule); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Rule[i3].RuleID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.Rule[i3].RuleIDRef, + Selector: mg.Spec.InitProvider.Rule[i3].RuleIDSelector, + To: reference.To{ + List: &RuleList{}, + Managed: &Rule{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Rule[i3].RuleID") + } + mg.Spec.InitProvider.Rule[i3].RuleID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Rule[i3].RuleIDRef = rsp.ResolvedReference + } return nil diff --git a/apis/wafregional/v1beta1/zz_ratebasedrule_types.go b/apis/wafregional/v1beta1/zz_ratebasedrule_types.go index c34b7662b5..b3bd8d8d44 100755 --- a/apis/wafregional/v1beta1/zz_ratebasedrule_types.go +++ b/apis/wafregional/v1beta1/zz_ratebasedrule_types.go @@ -19,6 +19,19 @@ import ( type PredicateInitParameters struct { + // A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/wafregional/v1beta1.IPSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DataID *string `json:"dataId,omitempty" tf:"data_id,omitempty"` + + // Reference to a IPSet in wafregional to populate dataId. + // +kubebuilder:validation:Optional + DataIDRef *v1.Reference `json:"dataIdRef,omitempty" tf:"-"` + + // Selector for a IPSet in wafregional to populate dataId. + // +kubebuilder:validation:Optional + DataIDSelector *v1.Selector `json:"dataIdSelector,omitempty" tf:"-"` + // Set this to false if you want to allow, block, or count requests // based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. // For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. diff --git a/apis/wafregional/v1beta1/zz_regexmatchset_types.go b/apis/wafregional/v1beta1/zz_regexmatchset_types.go index db1ed687a8..cb481757fd 100755 --- a/apis/wafregional/v1beta1/zz_regexmatchset_types.go +++ b/apis/wafregional/v1beta1/zz_regexmatchset_types.go @@ -100,6 +100,19 @@ type RegexMatchTupleInitParameters struct { // The part of a web request that you want to search, such as a specified header or a query string. FieldToMatch []RegexMatchTupleFieldToMatchInitParameters `json:"fieldToMatch,omitempty" tf:"field_to_match,omitempty"` + // The ID of a Regex Pattern Set. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/wafregional/v1beta1.RegexPatternSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RegexPatternSetID *string `json:"regexPatternSetId,omitempty" tf:"regex_pattern_set_id,omitempty"` + + // Reference to a RegexPatternSet in wafregional to populate regexPatternSetId. + // +kubebuilder:validation:Optional + RegexPatternSetIDRef *v1.Reference `json:"regexPatternSetIdRef,omitempty" tf:"-"` + + // Selector for a RegexPatternSet in wafregional to populate regexPatternSetId. + // +kubebuilder:validation:Optional + RegexPatternSetIDSelector *v1.Selector `json:"regexPatternSetIdSelector,omitempty" tf:"-"` + // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // e.g., CMD_LINE, HTML_ENTITY_DECODE or NONE. // See docs diff --git a/apis/wafregional/v1beta1/zz_rule_types.go b/apis/wafregional/v1beta1/zz_rule_types.go index 3af6d97852..cc01113f70 100755 --- a/apis/wafregional/v1beta1/zz_rule_types.go +++ b/apis/wafregional/v1beta1/zz_rule_types.go @@ -86,6 +86,19 @@ type RuleParameters struct { type RulePredicateInitParameters struct { + // The unique identifier of a predicate, such as the ID of a ByteMatchSet or IPSet. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/wafregional/v1beta1.IPSet + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DataID *string `json:"dataId,omitempty" tf:"data_id,omitempty"` + + // Reference to a IPSet in wafregional to populate dataId. + // +kubebuilder:validation:Optional + DataIDRef *v1.Reference `json:"dataIdRef,omitempty" tf:"-"` + + // Selector for a IPSet in wafregional to populate dataId. + // +kubebuilder:validation:Optional + DataIDSelector *v1.Selector `json:"dataIdSelector,omitempty" tf:"-"` + // Whether to use the settings or the negated settings that you specified in the objects. Negated *bool `json:"negated,omitempty" tf:"negated,omitempty"` diff --git a/apis/wafregional/v1beta1/zz_webacl_types.go b/apis/wafregional/v1beta1/zz_webacl_types.go index ef33c0b749..c90d460ada 100755 --- a/apis/wafregional/v1beta1/zz_webacl_types.go +++ b/apis/wafregional/v1beta1/zz_webacl_types.go @@ -57,6 +57,19 @@ type DefaultActionParameters struct { type LoggingConfigurationInitParameters struct { + // Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",false) + LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"` + + // Reference to a DeliveryStream in firehose to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationRef *v1.Reference `json:"logDestinationRef,omitempty" tf:"-"` + + // Selector for a DeliveryStream in firehose to populate logDestination. + // +kubebuilder:validation:Optional + LogDestinationSelector *v1.Selector `json:"logDestinationSelector,omitempty" tf:"-"` + // Configuration block containing parts of the request that you want redacted from the logs. Detailed below. RedactedFields []RedactedFieldsInitParameters `json:"redactedFields,omitempty" tf:"redacted_fields,omitempty"` } @@ -257,6 +270,19 @@ type WebACLRuleInitParameters struct { // Rules with a lower value are evaluated before rules with a higher value. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + // ID of the associated WAF (Regional) rule (e.g., aws_wafregional_rule). WAF (Global) rules cannot be used. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/wafregional/v1beta1.Rule + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + RuleID *string `json:"ruleId,omitempty" tf:"rule_id,omitempty"` + + // Reference to a Rule in wafregional to populate ruleId. + // +kubebuilder:validation:Optional + RuleIDRef *v1.Reference `json:"ruleIdRef,omitempty" tf:"-"` + + // Selector for a Rule in wafregional to populate ruleId. + // +kubebuilder:validation:Optional + RuleIDSelector *v1.Selector `json:"ruleIdSelector,omitempty" tf:"-"` + // The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to set type as RATE_BASED. If you add a GROUP rule, you need to set type as GROUP. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/workspaces/v1beta1/zz_directory_types.go b/apis/workspaces/v1beta1/zz_directory_types.go index 4c3d07e47d..0e72ba7df8 100755 --- a/apis/workspaces/v1beta1/zz_directory_types.go +++ b/apis/workspaces/v1beta1/zz_directory_types.go @@ -19,6 +19,19 @@ import ( type DirectoryInitParameters struct { + // The directory identifier for registration in WorkSpaces service. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta1.Directory + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"` + + // Reference to a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"` + + // Selector for a Directory in ds to populate directoryId. + // +kubebuilder:validation:Optional + DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,omitempty" tf:"-"` + // The identifiers of the IP access control groups associated with the directory. // +listType=set IPGroupIds []*string `json:"ipGroupIds,omitempty" tf:"ip_group_ids,omitempty"` @@ -26,6 +39,21 @@ type DirectoryInitParameters struct { // service capabilities. Defined below. SelfServicePermissions []SelfServicePermissionsInitParameters `json:"selfServicePermissions,omitempty" tf:"self_service_permissions,omitempty"` + // References to Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"` + + // Selector for a list of Subnet in ec2 to populate subnetIds. + // +kubebuilder:validation:Optional + SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` + + // The identifiers of the subnets where the directory resides. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet + // +crossplane:generate:reference:refFieldName=SubnetIDRefs + // +crossplane:generate:reference:selectorFieldName=SubnetIDSelector + // +listType=set + SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` + // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` @@ -306,6 +334,19 @@ type WorkspaceAccessPropertiesParameters struct { type WorkspaceCreationPropertiesInitParameters struct { + // – The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + CustomSecurityGroupID *string `json:"customSecurityGroupId,omitempty" tf:"custom_security_group_id,omitempty"` + + // Reference to a SecurityGroup in ec2 to populate customSecurityGroupId. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDRef *v1.Reference `json:"customSecurityGroupIdRef,omitempty" tf:"-"` + + // Selector for a SecurityGroup in ec2 to populate customSecurityGroupId. + // +kubebuilder:validation:Optional + CustomSecurityGroupIDSelector *v1.Selector `json:"customSecurityGroupIdSelector,omitempty" tf:"-"` + // – The default organizational unit (OU) for your WorkSpace directories. Should conform "OU=,DC=,...,DC=" pattern. DefaultOu *string `json:"defaultOu,omitempty" tf:"default_ou,omitempty"` diff --git a/apis/workspaces/v1beta1/zz_generated.deepcopy.go b/apis/workspaces/v1beta1/zz_generated.deepcopy.go index 53f6c941da..157e2e9706 100644 --- a/apis/workspaces/v1beta1/zz_generated.deepcopy.go +++ b/apis/workspaces/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,21 @@ func (in *Directory) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters) { *out = *in + if in.DirectoryID != nil { + in, out := &in.DirectoryID, &out.DirectoryID + *out = new(string) + **out = **in + } + if in.DirectoryIDRef != nil { + in, out := &in.DirectoryIDRef, &out.DirectoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DirectoryIDSelector != nil { + in, out := &in.DirectoryIDSelector, &out.DirectoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.IPGroupIds != nil { in, out := &in.IPGroupIds, &out.IPGroupIds *out = make([]*string, len(*in)) @@ -61,6 +76,29 @@ func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + 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)) @@ -1049,6 +1087,21 @@ func (in *WorkspaceAccessPropertiesParameters) DeepCopy() *WorkspaceAccessProper // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkspaceCreationPropertiesInitParameters) DeepCopyInto(out *WorkspaceCreationPropertiesInitParameters) { *out = *in + if in.CustomSecurityGroupID != nil { + in, out := &in.CustomSecurityGroupID, &out.CustomSecurityGroupID + *out = new(string) + **out = **in + } + if in.CustomSecurityGroupIDRef != nil { + in, out := &in.CustomSecurityGroupIDRef, &out.CustomSecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CustomSecurityGroupIDSelector != nil { + in, out := &in.CustomSecurityGroupIDSelector, &out.CustomSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.DefaultOu != nil { in, out := &in.DefaultOu, &out.DefaultOu *out = new(string) diff --git a/apis/workspaces/v1beta1/zz_generated.resolvers.go b/apis/workspaces/v1beta1/zz_generated.resolvers.go index 6aa59a38fd..5ee598d8ab 100644 --- a/apis/workspaces/v1beta1/zz_generated.resolvers.go +++ b/apis/workspaces/v1beta1/zz_generated.resolvers.go @@ -72,6 +72,56 @@ func (mg *Directory) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupIDRef = rsp.ResolvedReference + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.DirectoryID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.DirectoryIDRef, + Selector: mg.Spec.InitProvider.DirectoryIDSelector, + To: reference.To{ + List: &v1beta1.DirectoryList{}, + Managed: &v1beta1.Directory{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DirectoryID") + } + mg.Spec.InitProvider.DirectoryID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.DirectoryIDRef = rsp.ResolvedReference + + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.SubnetIds), + Extract: reference.ExternalName(), + References: mg.Spec.InitProvider.SubnetIDRefs, + Selector: mg.Spec.InitProvider.SubnetIDSelector, + To: reference.To{ + List: &v1beta11.SubnetList{}, + Managed: &v1beta11.Subnet{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.SubnetIds") + } + mg.Spec.InitProvider.SubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.SubnetIDRefs = mrsp.ResolvedReferences + + for i3 := 0; i3 < len(mg.Spec.InitProvider.WorkspaceCreationProperties); i3++ { + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupIDRef, + Selector: mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupIDSelector, + To: reference.To{ + List: &v1beta11.SecurityGroupList{}, + Managed: &v1beta11.SecurityGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupID") + } + mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.WorkspaceCreationProperties[i3].CustomSecurityGroupIDRef = rsp.ResolvedReference + } return nil diff --git a/apis/xray/v1beta1/zz_encryptionconfig_types.go b/apis/xray/v1beta1/zz_encryptionconfig_types.go index 0d66186a97..7666e28c95 100755 --- a/apis/xray/v1beta1/zz_encryptionconfig_types.go +++ b/apis/xray/v1beta1/zz_encryptionconfig_types.go @@ -19,6 +19,19 @@ import ( type EncryptionConfigInitParameters struct { + // An AWS KMS customer master key (CMK) ARN. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) + KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` + + // Reference to a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate keyId. + // +kubebuilder:validation:Optional + KeyIDSelector *v1.Selector `json:"keyIdSelector,omitempty" tf:"-"` + // The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption. Type *string `json:"type,omitempty" tf:"type,omitempty"` } diff --git a/apis/xray/v1beta1/zz_generated.deepcopy.go b/apis/xray/v1beta1/zz_generated.deepcopy.go index 451189f1bc..fc67d0f0a9 100644 --- a/apis/xray/v1beta1/zz_generated.deepcopy.go +++ b/apis/xray/v1beta1/zz_generated.deepcopy.go @@ -43,6 +43,21 @@ func (in *EncryptionConfig) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EncryptionConfigInitParameters) DeepCopyInto(out *EncryptionConfigInitParameters) { *out = *in + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.KeyIDRef != nil { + in, out := &in.KeyIDRef, &out.KeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.KeyIDSelector != nil { + in, out := &in.KeyIDSelector, &out.KeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) diff --git a/apis/xray/v1beta1/zz_generated.resolvers.go b/apis/xray/v1beta1/zz_generated.resolvers.go index 0acab885a3..b4623f5aa9 100644 --- a/apis/xray/v1beta1/zz_generated.resolvers.go +++ b/apis/xray/v1beta1/zz_generated.resolvers.go @@ -37,5 +37,21 @@ func (mg *EncryptionConfig) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyIDRef = rsp.ResolvedReference + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KeyID), + Extract: resource.ExtractParamPath("arn", true), + Reference: mg.Spec.InitProvider.KeyIDRef, + Selector: mg.Spec.InitProvider.KeyIDSelector, + To: reference.To{ + List: &v1beta1.KeyList{}, + Managed: &v1beta1.Key{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.KeyID") + } + mg.Spec.InitProvider.KeyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.KeyIDRef = rsp.ResolvedReference + return nil } diff --git a/go.mod b/go.mod index 228fc1c652..3fd47514a7 100644 --- a/go.mod +++ b/go.mod @@ -275,3 +275,5 @@ replace golang.org/x/exp => golang.org/x/exp v0.0.0-20231006140011-7918f672742d replace github.com/hashicorp/terraform-provider-aws => github.com/upbound/terraform-provider-aws v0.0.0-20231221174129-7cc0c6603869 replace github.com/hashicorp/terraform-plugin-log => github.com/gdavison/terraform-plugin-log v0.0.0-20230928191232-6c653d8ef8fb + +replace github.com/crossplane/upjet => github.com/ulucinar/upbound-upjet v0.0.0-20231227122231-f87063b2ecd9 diff --git a/go.sum b/go.sum index de37751bf8..25cdb0fd0d 100644 --- a/go.sum +++ b/go.sum @@ -312,8 +312,6 @@ github.com/crossplane/crossplane-runtime v1.14.1 h1:TCa7R1N4bDGHjsLhiRxR/mUhwmis github.com/crossplane/crossplane-runtime v1.14.1/go.mod h1:aOP+5W2wKpvthVs3pFNbVOe1jwrKYbJho0ThGNCVz9o= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 h1:HigXs5tEQxWz0fcj8hzbU2UAZgEM7wPe0XRFOsrtF8Y= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79/go.mod h1:+e4OaFlOcmr0JvINHl/yvEYBrZawzTgj6pQumOH1SS0= -github.com/crossplane/upjet v1.1.0-rc.0.0.20231225084955-81e262067d2b h1:0v5EXH6/OHqjlcGusreRorfVuHd774Wqg2k+ROZ1+mI= -github.com/crossplane/upjet v1.1.0-rc.0.0.20231225084955-81e262067d2b/go.mod h1:t9etxIdYaxgyvFPBToikm5zBHi8RIpX8N4mTH77lQFM= github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/dave/jennifer v1.4.1 h1:XyqG6cn5RQsTj3qlWQTKlRGAyrTcsk1kUmWdZBzRjDw= @@ -667,6 +665,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ= github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w= +github.com/ulucinar/upbound-upjet v0.0.0-20231227122231-f87063b2ecd9 h1:nBuK9nKXQsHeoaNEwrelUSCrTZMZ+xfdTdutH3G/A/Y= +github.com/ulucinar/upbound-upjet v0.0.0-20231227122231-f87063b2ecd9/go.mod h1:nyvdbW1znPjCFn9h7uwhTEeumNEmgFwoqbrHP7oOw3U= github.com/upbound/terraform-provider-aws v0.0.0-20231221174129-7cc0c6603869 h1:F6JOaiqx7J76/u/M8gAa99Me67/+i9wyPD7pWomES8k= github.com/upbound/terraform-provider-aws v0.0.0-20231221174129-7cc0c6603869/go.mod h1:Kb86v3lyFUggXmDTi53PPHLENdWUdD8t3IfjS7rFd+0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= diff --git a/package/crds/acm.aws.upbound.io_certificatevalidations.yaml b/package/crds/acm.aws.upbound.io_certificatevalidations.yaml index 2f65baea83..5e58f3a129 100644 --- a/package/crds/acm.aws.upbound.io_certificatevalidations.yaml +++ b/package/crds/acm.aws.upbound.io_certificatevalidations.yaml @@ -172,6 +172,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + certificateArn: + description: ARN of the certificate that is being validated. + type: string + certificateArnRef: + description: Reference to a Certificate to populate certificateArn. + 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 + certificateArnSelector: + description: Selector for a Certificate to populate certificateArn. + 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 validationRecordFqdns: description: List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is diff --git a/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml b/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml index 25a4fdc56f..2229dcb5eb 100644 --- a/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml +++ b/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml @@ -199,6 +199,83 @@ spec: 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: + certificateAuthorityArn: + description: ARN of the Certificate Authority. + type: string + certificateAuthorityArnRef: + description: Reference to a CertificateAuthority to populate certificateAuthorityArn. + 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 + certificateAuthorityArnSelector: + description: Selector for a CertificateAuthority to populate certificateAuthorityArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/acmpca.aws.upbound.io_certificates.yaml b/package/crds/acmpca.aws.upbound.io_certificates.yaml index ffbfa41de1..a41852ddea 100644 --- a/package/crds/acmpca.aws.upbound.io_certificates.yaml +++ b/package/crds/acmpca.aws.upbound.io_certificates.yaml @@ -214,6 +214,82 @@ spec: description: Specifies X.509 certificate information to be included in the issued certificate. To use with API Passthrough templates type: string + certificateAuthorityArn: + description: ARN of the certificate authority. + type: string + certificateAuthorityArnRef: + description: Reference to a CertificateAuthority to populate certificateAuthorityArn. + 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 + certificateAuthorityArnSelector: + description: Selector for a CertificateAuthority to populate certificateAuthorityArn. + 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 signingAlgorithm: description: 'Algorithm to use to sign certificate requests. Valid values: SHA256WITHRSA, SHA256WITHECDSA, SHA384WITHRSA, SHA384WITHECDSA, diff --git a/package/crds/acmpca.aws.upbound.io_permissions.yaml b/package/crds/acmpca.aws.upbound.io_permissions.yaml index a14ad0c7d4..3589fe62ee 100644 --- a/package/crds/acmpca.aws.upbound.io_permissions.yaml +++ b/package/crds/acmpca.aws.upbound.io_permissions.yaml @@ -192,6 +192,84 @@ spec: type: string type: array x-kubernetes-list-type: set + certificateAuthorityArn: + description: ARN of the CA that grants the permissions. + type: string + certificateAuthorityArnRef: + description: Reference to a CertificateAuthority in acmpca to + populate certificateAuthorityArn. + 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 + certificateAuthorityArnSelector: + description: Selector for a CertificateAuthority in acmpca to + populate certificateAuthorityArn. + 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 principal: description: AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com. diff --git a/package/crds/acmpca.aws.upbound.io_policies.yaml b/package/crds/acmpca.aws.upbound.io_policies.yaml index e327c50699..e35ebf0f21 100644 --- a/package/crds/acmpca.aws.upbound.io_policies.yaml +++ b/package/crds/acmpca.aws.upbound.io_policies.yaml @@ -173,6 +173,84 @@ spec: description: JSON-formatted IAM policy to attach to the specified private CA resource. type: string + resourceArn: + description: ARN of the private CA to associate with the policy. + type: string + resourceArnRef: + description: Reference to a CertificateAuthority in acmpca to + populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a CertificateAuthority in acmpca to + populate resourceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml b/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml index 4cc338e5dc..f30e128ab9 100644 --- a/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml +++ b/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml @@ -172,6 +172,83 @@ spec: description: the alert manager definition that you want to be applied. See more in AWS Docs. type: string + workspaceId: + description: ID of the prometheus workspace the alert manager + definition should be linked to + type: string + workspaceIdRef: + description: Reference to a Workspace in amp to populate workspaceId. + 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 + workspaceIdSelector: + description: Selector for a Workspace in amp to populate workspaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/amplify.aws.upbound.io_apps.yaml b/package/crds/amplify.aws.upbound.io_apps.yaml index 71b27b6085..b5c3e805f8 100644 --- a/package/crds/amplify.aws.upbound.io_apps.yaml +++ b/package/crds/amplify.aws.upbound.io_apps.yaml @@ -461,6 +461,83 @@ spec: description: Environment variables map for an Amplify app. type: object x-kubernetes-map-type: granular + iamServiceRoleArn: + description: AWS Identity and Access Management (IAM) service + role for an Amplify app. + type: string + iamServiceRoleArnRef: + description: Reference to a Role in iam to populate iamServiceRoleArn. + 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 + iamServiceRoleArnSelector: + description: Selector for a Role in iam to populate iamServiceRoleArn. + 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 name: description: Name for an Amplify app. type: string diff --git a/package/crds/amplify.aws.upbound.io_webhooks.yaml b/package/crds/amplify.aws.upbound.io_webhooks.yaml index d7250f166e..0cf1cacab4 100644 --- a/package/crds/amplify.aws.upbound.io_webhooks.yaml +++ b/package/crds/amplify.aws.upbound.io_webhooks.yaml @@ -241,6 +241,158 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + appId: + description: Unique ID for an Amplify app. + type: string + appIdRef: + description: Reference to a App in amplify to populate appId. + 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 + appIdSelector: + description: Selector for a App in amplify to populate appId. + 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 + branchName: + description: Name for a branch that is part of the Amplify app. + type: string + branchNameRef: + description: Reference to a Branch in amplify to populate branchName. + 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 + branchNameSelector: + description: Selector for a Branch in amplify to populate branchName. + 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 description: description: Description for a webhook. type: string diff --git a/package/crds/apigateway.aws.upbound.io_accounts.yaml b/package/crds/apigateway.aws.upbound.io_accounts.yaml index ff819495ad..d5152691b6 100644 --- a/package/crds/apigateway.aws.upbound.io_accounts.yaml +++ b/package/crds/apigateway.aws.upbound.io_accounts.yaml @@ -164,6 +164,86 @@ spec: 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: + cloudwatchRoleArn: + description: ARN of an IAM role for CloudWatch (to allow logging + & monitoring). See more in AWS Docs. Logging & monitoring can + be enabled/disabled and otherwise tuned on the API Gateway Stage + level. + type: string + cloudwatchRoleArnRef: + description: Reference to a Role in iam to populate cloudwatchRoleArn. + 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 + cloudwatchRoleArnSelector: + description: Selector for a Role in iam to populate cloudwatchRoleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_authorizers.yaml b/package/crds/apigateway.aws.upbound.io_authorizers.yaml index 3592b760ac..54e8a0ea21 100644 --- a/package/crds/apigateway.aws.upbound.io_authorizers.yaml +++ b/package/crds/apigateway.aws.upbound.io_authorizers.yaml @@ -353,10 +353,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + authorizerCredentials: + description: Credentials required for the authorizer. To specify + an IAM Role for API Gateway to assume, use the IAM Role ARN. + type: string + authorizerCredentialsRef: + description: Reference to a Role in iam to populate authorizerCredentials. + 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 + authorizerCredentialsSelector: + description: Selector for a Role in iam to populate authorizerCredentials. + 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 authorizerResultTtlInSeconds: description: TTL of cached authorizer results in seconds. Defaults to 300. type: number + authorizerUri: + description: Authorizer's Uniform Resource Identifier (URI). This + must be a well-formed Lambda function URI in the form of arn:aws:apigateway:{region}:lambda:path/{service_api}, + e.g., arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:012345678912:function:my-function/invocations + type: string + authorizerUriRef: + description: Reference to a Function in lambda to populate authorizerUri. + 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 + authorizerUriSelector: + description: Selector for a Function in lambda to populate authorizerUri. + 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 identitySource: description: Source of the identity in an incoming request. Defaults to method.request.header.Authorization. For REQUEST type, this @@ -380,6 +535,84 @@ spec: type: string type: array x-kubernetes-list-type: set + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 type: description: Type of the authorizer. Possible values are TOKEN for a Lambda function using a single authorization token submitted diff --git a/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml b/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml index 6417e6c47f..34215b1b3a 100644 --- a/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml +++ b/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml @@ -326,11 +326,246 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: ID of the API to connect. + type: string + apiIdRef: + description: Reference to a RestAPI in apigateway to populate + apiId. + 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 + apiIdSelector: + description: Selector for a RestAPI in apigateway to populate + apiId. + 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 basePath: description: Path segment that must be prepended to the path when accessing the API via this mapping. If omitted, the API is exposed at the root of the given domain. type: string + domainName: + description: Already-registered domain name to connect the API + to. + type: string + domainNameRef: + description: Reference to a DomainName in apigateway to populate + domainName. + 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 + domainNameSelector: + description: Selector for a DomainName in apigateway to populate + domainName. + 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 + stageName: + description: Name of a specific deployment stage to expose at + the given path. If omitted, callers may select any stage by + including its name as a path element after the base path. + type: string + stageNameRef: + description: Reference to a Stage in apigateway to populate stageName. + 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 + stageNameSelector: + description: Selector for a Stage in apigateway to populate stageName. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_deployments.yaml b/package/crds/apigateway.aws.upbound.io_deployments.yaml index f9c33f2137..0b93adf786 100644 --- a/package/crds/apigateway.aws.upbound.io_deployments.yaml +++ b/package/crds/apigateway.aws.upbound.io_deployments.yaml @@ -197,6 +197,84 @@ spec: description: description: Description of the deployment type: string + restApiId: + description: REST API identifier. + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 stageDescription: description: Description to set on the stage managed by the stage_name argument. diff --git a/package/crds/apigateway.aws.upbound.io_documentationparts.yaml b/package/crds/apigateway.aws.upbound.io_documentationparts.yaml index 799233f803..b7b41f7b4e 100644 --- a/package/crds/apigateway.aws.upbound.io_documentationparts.yaml +++ b/package/crds/apigateway.aws.upbound.io_documentationparts.yaml @@ -228,6 +228,84 @@ spec: e.g., "{ "description": "The API does ..." }". Only Swagger-compliant key-value pairs can be exported and, hence, published.' type: string + restApiId: + description: ID of the associated Rest API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_documentationversions.yaml b/package/crds/apigateway.aws.upbound.io_documentationversions.yaml index d544de5f3c..91a614ce86 100644 --- a/package/crds/apigateway.aws.upbound.io_documentationversions.yaml +++ b/package/crds/apigateway.aws.upbound.io_documentationversions.yaml @@ -173,6 +173,84 @@ spec: description: description: Description of the API documentation version. type: string + restApiId: + description: ID of the associated Rest API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 version: description: Version identifier of the API documentation snapshot. type: string diff --git a/package/crds/apigateway.aws.upbound.io_domainnames.yaml b/package/crds/apigateway.aws.upbound.io_domainnames.yaml index 294e4477ee..bf6869c02d 100644 --- a/package/crds/apigateway.aws.upbound.io_domainnames.yaml +++ b/package/crds/apigateway.aws.upbound.io_domainnames.yaml @@ -351,6 +351,88 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + certificateArn: + description: ARN for an AWS-managed certificate. AWS Certificate + Manager is the only supported source. Used when an edge-optimized + domain name is desired. Conflicts with certificate_name, certificate_body, + certificate_chain, certificate_private_key, regional_certificate_arn, + and regional_certificate_name. + type: string + certificateArnRef: + description: Reference to a CertificateValidation in acm to populate + certificateArn. + 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 + certificateArnSelector: + description: Selector for a CertificateValidation in acm to populate + certificateArn. + 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 certificateBody: description: Certificate issued for the domain name being registered, in PEM format. Only valid for EDGE endpoint configuration type. @@ -416,6 +498,87 @@ spec: an ACM Private CA or mutual_tls_authentication is configured with an ACM-imported certificate.) type: string + regionalCertificateArn: + description: ARN for an AWS-managed certificate. AWS Certificate + Manager is the only supported source. Used when a regional domain + name is desired. Conflicts with certificate_arn, certificate_name, + certificate_body, certificate_chain, and certificate_private_key. + type: string + regionalCertificateArnRef: + description: Reference to a CertificateValidation in acm to populate + regionalCertificateArn. + 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 + regionalCertificateArnSelector: + description: Selector for a CertificateValidation in acm to populate + regionalCertificateArn. + 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 regionalCertificateName: description: User-friendly name of the certificate that will be used by regional endpoint for this domain name. Conflicts with diff --git a/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml b/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml index 31f81ab886..ccc5eb748e 100644 --- a/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml @@ -199,6 +199,84 @@ spec: responseType: description: Response type of the associated GatewayResponse. type: string + restApiId: + description: String identifier of the associated REST API. + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 statusCode: description: HTTP status code of the Gateway Response. type: string diff --git a/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml b/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml index cbc0b082da..f4ff5f330e 100644 --- a/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml @@ -434,6 +434,161 @@ spec: passed through from the integration response to the method response without modification. type: string + httpMethod: + description: HTTP method (GET, POST, PUT, DELETE, HEAD, OPTIONS, + ANY). + type: string + httpMethodRef: + description: Reference to a Method in apigateway to populate httpMethod. + 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 + httpMethodSelector: + description: Selector for a Method in apigateway to populate httpMethod. + 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 + resourceId: + description: API resource ID. + type: string + resourceIdRef: + description: Reference to a Resource in apigateway to populate + resourceId. + 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 + resourceIdSelector: + description: Selector for a Resource in apigateway to populate + resourceId. + 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 responseParameters: additionalProperties: type: string @@ -449,6 +604,84 @@ spec: response body. type: object x-kubernetes-map-type: granular + restApiId: + description: ID of the associated REST API. + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 selectionPattern: description: Regular expression pattern used to choose an integration response based on the response from the backend. Omit configuring @@ -457,6 +690,84 @@ spec: is matched. For all other HTTP and AWS backends, the HTTP status code is matched. type: string + statusCode: + description: HTTP status code. + type: string + statusCodeRef: + description: Reference to a MethodResponse in apigateway to populate + statusCode. + 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 + statusCodeSelector: + description: Selector for a MethodResponse in apigateway to populate + statusCode. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_integrations.yaml b/package/crds/apigateway.aws.upbound.io_integrations.yaml index 091da9527f..91c64366ce 100644 --- a/package/crds/apigateway.aws.upbound.io_integrations.yaml +++ b/package/crds/apigateway.aws.upbound.io_integrations.yaml @@ -580,6 +580,85 @@ spec: cacheNamespace: description: Integration's cache namespace. type: string + connectionId: + description: ID of the VpcLink used for the integration. Required + if connection_type is VPC_LINK + type: string + connectionIdRef: + description: Reference to a VPCLink in apigateway to populate + connectionId. + 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 + connectionIdSelector: + description: Selector for a VPCLink in apigateway to populate + connectionId. + 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 connectionType: description: Integration input's connectionType. Valid values are INTERNET (default for connections through the public routable @@ -601,6 +680,83 @@ spec: that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. type: string + httpMethod: + description: HTTP method (GET, POST, PUT, DELETE, HEAD, OPTION, + ANY) when calling the associated resource. + type: string + httpMethodRef: + description: Reference to a Method in apigateway to populate httpMethod. + 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 + httpMethodSelector: + description: Selector for a Method in apigateway to populate httpMethod. + 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 integrationHttpMethod: description: Integration HTTP method (GET, POST, PUT, DELETE, HEAD, OPTIONs, ANY, PATCH) specifying how API Gateway will interact @@ -628,6 +784,162 @@ spec: description: Map of the integration's request templates. type: object x-kubernetes-map-type: granular + resourceId: + description: API resource ID. + type: string + resourceIdRef: + description: Reference to a Resource in apigateway to populate + resourceId. + 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 + resourceIdSelector: + description: Selector for a Resource in apigateway to populate + resourceId. + 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 + restApiId: + description: ID of the associated REST API. + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 timeoutMilliseconds: description: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds. @@ -659,6 +971,91 @@ spec: as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC. type: string + uri: + description: Input's URI. Required if type is AWS, AWS_PROXY, + HTTP or HTTP_PROXY. For HTTP integrations, the URI must be a + fully formed, encoded HTTP(S) URL according to the RFC-3986 + specification . For AWS integrations, the URI should be of the + form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. + region, subdomain and service are used to determine the right + endpoint. e.g., arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:012345678901:function:my-func/invocations. + For private integrations, the URI parameter is not used for + routing requests to your endpoint, but is used for setting the + Host header and for certificate validation. + type: string + uriRef: + description: Reference to a Function in lambda to populate uri. + 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 + uriSelector: + description: Selector for a Function in lambda to populate uri. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_methodresponses.yaml b/package/crds/apigateway.aws.upbound.io_methodresponses.yaml index adf7024e4b..d736471094 100644 --- a/package/crds/apigateway.aws.upbound.io_methodresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_methodresponses.yaml @@ -338,6 +338,161 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + httpMethod: + description: HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, + ANY) + type: string + httpMethodRef: + description: Reference to a Method in apigateway to populate httpMethod. + 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 + httpMethodSelector: + description: Selector for a Method in apigateway to populate httpMethod. + 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 + resourceId: + description: API resource ID + type: string + resourceIdRef: + description: Reference to a Resource in apigateway to populate + resourceId. + 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 + resourceIdSelector: + description: Selector for a Resource in apigateway to populate + resourceId. + 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 responseModels: additionalProperties: type: string @@ -354,6 +509,84 @@ spec: on the response.' type: object x-kubernetes-map-type: granular + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 statusCode: description: HTTP status code type: string diff --git a/package/crds/apigateway.aws.upbound.io_methods.yaml b/package/crds/apigateway.aws.upbound.io_methods.yaml index 6a0699cb7a..a76b38ae3a 100644 --- a/package/crds/apigateway.aws.upbound.io_methods.yaml +++ b/package/crds/apigateway.aws.upbound.io_methods.yaml @@ -383,6 +383,85 @@ spec: type: string type: array x-kubernetes-list-type: set + authorizerId: + description: Authorizer id to be used when the authorization is + CUSTOM or COGNITO_USER_POOLS + type: string + authorizerIdRef: + description: Reference to a Authorizer in apigateway to populate + authorizerId. + 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 + authorizerIdSelector: + description: Selector for a Authorizer in apigateway to populate + authorizerId. + 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 httpMethod: description: HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY) @@ -417,6 +496,162 @@ spec: requestValidatorId: description: ID of a aws_api_gateway_request_validator type: string + resourceId: + description: API resource ID + type: string + resourceIdRef: + description: Reference to a Resource in apigateway to populate + resourceId. + 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 + resourceIdSelector: + description: Selector for a Resource in apigateway to populate + resourceId. + 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 + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_methodsettings.yaml b/package/crds/apigateway.aws.upbound.io_methodsettings.yaml index b6632d3d08..8e3864e188 100644 --- a/package/crds/apigateway.aws.upbound.io_methodsettings.yaml +++ b/package/crds/apigateway.aws.upbound.io_methodsettings.yaml @@ -304,6 +304,84 @@ spec: in the path (e.g., trimprefix(aws_api_gateway_resource.example.path, "/")). type: string + restApiId: + description: ID of the REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 settings: description: Settings block, see below. items: @@ -354,6 +432,82 @@ spec: type: string type: object type: array + stageName: + description: Name of the stage + type: string + stageNameRef: + description: Reference to a Stage in apigateway to populate stageName. + 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 + stageNameSelector: + description: Selector for a Stage in apigateway to populate stageName. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_models.yaml b/package/crds/apigateway.aws.upbound.io_models.yaml index d49e2bec5f..0198229b7c 100644 --- a/package/crds/apigateway.aws.upbound.io_models.yaml +++ b/package/crds/apigateway.aws.upbound.io_models.yaml @@ -185,6 +185,84 @@ spec: name: description: Name of the model type: string + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 schema: description: Schema of the model in a JSON form type: string diff --git a/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml b/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml index 224fae322d..9e2a651c29 100644 --- a/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml +++ b/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml @@ -178,6 +178,84 @@ spec: name: description: Name of the request validator type: string + restApiId: + description: ID of the associated Rest API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 validateRequestBody: description: Boolean whether to validate request body. Defaults to false. diff --git a/package/crds/apigateway.aws.upbound.io_resources.yaml b/package/crds/apigateway.aws.upbound.io_resources.yaml index 1b5cd966f9..77f0669e8c 100644 --- a/package/crds/apigateway.aws.upbound.io_resources.yaml +++ b/package/crds/apigateway.aws.upbound.io_resources.yaml @@ -245,9 +245,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + parentId: + description: ID of the parent API resource + type: string + parentIdRef: + description: Reference to a RestAPI in apigateway to populate + parentId. + 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 + parentIdSelector: + description: Selector for a RestAPI in apigateway to populate + parentId. + 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 pathPart: description: Last path segment of this API resource. type: string + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml b/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml index 2a833af739..d6bdacc1eb 100644 --- a/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml +++ b/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml @@ -172,6 +172,84 @@ spec: description: JSON formatted policy document that controls access to the API Gateway type: string + restApiId: + description: ID of the REST API. + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_stages.yaml b/package/crds/apigateway.aws.upbound.io_stages.yaml index e7c475afef..9cc099e70c 100644 --- a/package/crds/apigateway.aws.upbound.io_stages.yaml +++ b/package/crds/apigateway.aws.upbound.io_stages.yaml @@ -371,12 +371,168 @@ spec: clientCertificateId: description: Identifier of a client certificate for the stage. type: string + deploymentId: + description: ID of the deployment that the stage points to + type: string + deploymentIdRef: + description: Reference to a Deployment in apigateway to populate + deploymentId. + 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 + deploymentIdSelector: + description: Selector for a Deployment in apigateway to populate + deploymentId. + 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 description: description: Description of the stage. type: string documentationVersion: description: Version of the associated API documentation type: string + restApiId: + description: ID of the associated REST API + type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway to populate + restApiId. + 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 + restApiIdSelector: + description: Selector for a RestAPI in apigateway to populate + restApiId. + 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 stageName: description: Name of the stage type: string diff --git a/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml b/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml index 295ff066b7..bd7d758190 100644 --- a/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml +++ b/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml @@ -245,10 +245,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + keyId: + description: Identifier of the API key resource. + type: string + keyIdRef: + description: Reference to a APIKey in apigateway to populate keyId. + 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 + keyIdSelector: + description: Selector for a APIKey in apigateway to populate keyId. + 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 keyType: description: Type of the API key resource. Currently, the valid key type is API_KEY. type: string + usagePlanId: + description: Id of the usage plan resource representing to associate + the key to. + type: string + usagePlanIdRef: + description: Reference to a UsagePlan in apigateway to populate + usagePlanId. + 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 + usagePlanIdSelector: + description: Selector for a UsagePlan in apigateway to populate + usagePlanId. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigateway.aws.upbound.io_usageplans.yaml b/package/crds/apigateway.aws.upbound.io_usageplans.yaml index a74e2f7c76..e0521651ba 100644 --- a/package/crds/apigateway.aws.upbound.io_usageplans.yaml +++ b/package/crds/apigateway.aws.upbound.io_usageplans.yaml @@ -328,6 +328,170 @@ spec: description: Associated API stages of the usage plan. items: properties: + apiId: + description: API Id of the associated API stage in a usage + plan. + type: string + apiIdRef: + description: Reference to a RestAPI in apigateway to populate + apiId. + 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 + apiIdSelector: + description: Selector for a RestAPI in apigateway to populate + apiId. + 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 + stage: + description: API stage name of the associated API stage + in a usage plan. + type: string + stageRef: + description: Reference to a Stage in apigateway to populate + stage. + 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 + stageSelector: + description: Selector for a Stage in apigateway to populate + stage. + 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 throttle: description: The throttling limits of the usage plan. items: diff --git a/package/crds/apigateway.aws.upbound.io_vpclinks.yaml b/package/crds/apigateway.aws.upbound.io_vpclinks.yaml index 3f4233de2f..8304f7a63f 100644 --- a/package/crds/apigateway.aws.upbound.io_vpclinks.yaml +++ b/package/crds/apigateway.aws.upbound.io_vpclinks.yaml @@ -192,6 +192,88 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + targetArnRefs: + description: References to LB in elbv2 to populate targetArns. + items: + description: A Reference to a named object. + 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 + type: array + targetArnSelector: + description: Selector for a list of LB in elbv2 to populate targetArns. + 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 + targetArns: + description: List of network load balancer arns in the VPC targeted + by the VPC link. Currently AWS only supports 1 target. + items: + type: string + type: array type: object managementPolicies: default: diff --git a/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml b/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml index 58cdf612a8..02e3a4c03c 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml @@ -320,10 +320,240 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 apiMappingKey: description: The API mapping key. Refer to REST API, HTTP API or WebSocket API. type: string + domainName: + description: Domain name. Use the aws_apigatewayv2_domain_name + resource to configure a domain name. + type: string + domainNameRef: + description: Reference to a DomainName to populate domainName. + 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 + domainNameSelector: + description: Selector for a DomainName to populate domainName. + 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 + stage: + description: API stage. Use the aws_apigatewayv2_stage resource + to configure an API stage. + type: string + stageRef: + description: Reference to a Stage to populate stage. + 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 + stageSelector: + description: Selector for a Stage to populate stage. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml b/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml index 84aa9d03b5..b9879fec75 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml @@ -303,6 +303,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 authorizerCredentialsArn: description: Required credentials as an IAM role for API Gateway to invoke the authorizer. Supported only for REQUEST authorizers. @@ -324,6 +400,86 @@ spec: REQUEST for a Lambda function using incoming request parameters. For HTTP APIs, specify JWT to use JSON Web Tokens.' type: string + authorizerUri: + description: Authorizer's Uniform Resource Identifier (URI). For + REQUEST authorizers this must be a well-formed Lambda function + URI, such as the invoke_arn attribute of the aws_lambda_function + resource. Supported only for REQUEST authorizers. Must be between + 1 and 2048 characters in length. + type: string + authorizerUriRef: + description: Reference to a Function in lambda to populate authorizerUri. + 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 + authorizerUriSelector: + description: Selector for a Function in lambda to populate authorizerUri. + 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 enableSimpleResponses: description: Whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return diff --git a/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml b/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml index 7dbb14cea3..ee486ba7f9 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml @@ -166,6 +166,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 description: description: Description for the deployment resource. Must be less than or equal to 1024 characters in length. diff --git a/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml b/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml index 66d9b916d6..9d569a718b 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml @@ -220,6 +220,90 @@ spec: description: Domain name configuration. See below. items: properties: + certificateArn: + description: ARN of an AWS-managed certificate that will + be used by the endpoint for the domain name. AWS Certificate + Manager is the only supported source. Use the aws_acm_certificate + resource to configure an ACM certificate. + type: string + certificateArnRef: + description: Reference to a Certificate in acm to populate + certificateArn. + 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 + certificateArnSelector: + description: Selector for a Certificate in acm to populate + certificateArn. + 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 endpointType: description: 'Endpoint type. Valid values: REGIONAL.' type: string diff --git a/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml b/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml index 8c1e841570..a3af208222 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml @@ -257,10 +257,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 contentHandlingStrategy: description: 'How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT.' type: string + integrationId: + description: Identifier of the aws_apigatewayv2_integration. + type: string + integrationIdRef: + description: Reference to a Integration to populate integrationId. + 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 + integrationIdSelector: + description: Selector for a Integration to populate integrationId. + 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 integrationResponseKey: description: Integration response key. type: string diff --git a/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml b/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml index 75c134d9d5..557e5297a6 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml @@ -501,6 +501,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 + connectionId: + description: ID of the VPC link for a private integration. Supported + only for HTTP APIs. Must be between 1 and 1024 characters in + length. + type: string + connectionIdRef: + description: Reference to a VPCLink in apigatewayv2 to populate + connectionId. + 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 + connectionIdSelector: + description: Selector for a VPCLink in apigatewayv2 to populate + connectionId. + 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 connectionType: description: 'Type of the network connection to the integration endpoint. Valid values: INTERNET, VPC_LINK. Default is INTERNET.' @@ -510,6 +666,82 @@ spec: Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. Supported only for WebSocket APIs.' type: string + credentialsArn: + description: Credentials required for the integration, if any. + type: string + credentialsArnRef: + description: Reference to a Role in iam to populate credentialsArn. + 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 + credentialsArnSelector: + description: Selector for a Role in iam to populate credentialsArn. + 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 description: description: Description of the integration. type: string @@ -529,6 +761,86 @@ spec: only for WebSocket APIs), HTTP_PROXY, MOCK (supported only for WebSocket APIs). For an HTTP API private integration, use HTTP_PROXY.' type: string + integrationUri: + description: URI of the Lambda function for a Lambda proxy integration, + when integration_type is AWS_PROXY. For an HTTP integration, + specify a fully-qualified URL. For an HTTP API private integration, + specify the ARN of an Application Load Balancer listener, Network + Load Balancer listener, or AWS Cloud Map service. + type: string + integrationUriRef: + description: Reference to a Function in lambda to populate integrationUri. + 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 + integrationUriSelector: + description: Selector for a Function in lambda to populate integrationUri. + 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 passthroughBehavior: description: 'Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available diff --git a/package/crds/apigatewayv2.aws.upbound.io_models.yaml b/package/crds/apigatewayv2.aws.upbound.io_models.yaml index 4087907a38..5ebdbaf1e9 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_models.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_models.yaml @@ -179,6 +179,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 contentType: description: The content-type for the model, for example, application/json. Must be between 1 and 256 characters in length. diff --git a/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml b/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml index 558afc4073..8f53d1755b 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml @@ -250,6 +250,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 modelSelectionExpression: description: The model selection expression for the route response. type: string @@ -259,6 +335,82 @@ spec: description: Response models for the route response. type: object x-kubernetes-map-type: granular + routeId: + description: Identifier of the aws_apigatewayv2_route. + type: string + routeIdRef: + description: Reference to a Route to populate routeId. + 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 + routeIdSelector: + description: Selector for a Route to populate routeId. + 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 routeResponseKey: description: Route response key. type: string diff --git a/package/crds/apigatewayv2.aws.upbound.io_routes.yaml b/package/crds/apigatewayv2.aws.upbound.io_routes.yaml index 975e58c15b..5e3e79d58b 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_routes.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_routes.yaml @@ -375,6 +375,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 apiKeyRequired: description: Boolean whether an API key is required for the route. Defaults to false. Supported only for WebSocket APIs. @@ -395,6 +471,83 @@ spec: JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. Defaults to NONE. type: string + authorizerId: + description: Identifier of the aws_apigatewayv2_authorizer resource + to be associated with this route. + type: string + authorizerIdRef: + description: Reference to a Authorizer to populate authorizerId. + 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 + authorizerIdSelector: + description: Selector for a Authorizer to populate authorizerId. + 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 modelSelectionExpression: description: The model selection expression for the route. Supported only for WebSocket APIs. @@ -433,6 +586,84 @@ spec: description: The route response selection expression for the route. Supported only for WebSocket APIs. type: string + target: + description: Target for the route, of the form integrations/IntegrationID, + where IntegrationID is the identifier of an aws_apigatewayv2_integration + resource. + type: string + targetRef: + description: Reference to a Integration to populate target. + 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 + targetSelector: + description: Selector for a Integration to populate target. + 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 type: object managementPolicies: default: diff --git a/package/crds/apigatewayv2.aws.upbound.io_stages.yaml b/package/crds/apigatewayv2.aws.upbound.io_stages.yaml index bfb17bebd0..8ffc2c1796 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_stages.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_stages.yaml @@ -355,6 +355,82 @@ spec: type: string type: object type: array + apiId: + description: API identifier. + type: string + apiIdRef: + description: Reference to a API to populate apiId. + 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 + apiIdSelector: + description: Selector for a API to populate apiId. + 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 autoDeploy: description: Whether updates to an API automatically trigger a new deployment. Defaults to false. Applicable for HTTP APIs. @@ -392,6 +468,83 @@ spec: type: number type: object type: array + deploymentId: + description: Deployment identifier of the stage. Use the aws_apigatewayv2_deployment + resource to configure a deployment. + type: string + deploymentIdRef: + description: Reference to a Deployment to populate deploymentId. + 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 + deploymentIdSelector: + description: Selector for a Deployment to populate deploymentId. + 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 description: description: Description for the stage. Must be less than or equal to 1024 characters in length. diff --git a/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml b/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml index f228ba7e41..95e1bf5c4d 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml @@ -266,6 +266,172 @@ spec: description: Name of the VPC Link. Must be between 1 and 128 characters in length. type: string + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: Security group IDs for the VPC Link. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Subnet IDs for the VPC Link. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml b/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml index 82e348635a..1f81b8134d 100644 --- a/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml +++ b/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml @@ -378,6 +378,166 @@ spec: name: description: Name of the scheduled action. type: string + resourceId: + description: 'Identifier of the resource associated with the scheduled + action. Documentation can be found in the ResourceId parameter + at: AWS Application Auto Scaling API Reference' + type: string + resourceIdRef: + description: Reference to a Target in appautoscaling to populate + resourceId. + 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 + resourceIdSelector: + description: Selector for a Target in appautoscaling to populate + resourceId. + 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 + scalableDimension: + description: 'Scalable dimension. Documentation can be found in + the ScalableDimension parameter at: AWS Application Auto Scaling + API Reference Example: ecs:service:DesiredCount' + type: string + scalableDimensionRef: + description: Reference to a Target in appautoscaling to populate + scalableDimension. + 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 + scalableDimensionSelector: + description: Selector for a Target in appautoscaling to populate + scalableDimension. + 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 scalableTargetAction: description: New minimum and maximum capacity. You can set both values or just one. See below @@ -402,6 +562,86 @@ spec: be found in the Timezone parameter at: AWS Application Auto Scaling API Reference' type: string + serviceNamespace: + description: 'Namespace of the AWS service. Documentation can + be found in the ServiceNamespace parameter at: AWS Application + Auto Scaling API Reference Example: ecs' + type: string + serviceNamespaceRef: + description: Reference to a Target in appautoscaling to populate + serviceNamespace. + 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 + serviceNamespaceSelector: + description: Selector for a Target in appautoscaling to populate + serviceNamespace. + 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 startTime: description: Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting diff --git a/package/crds/appautoscaling.aws.upbound.io_targets.yaml b/package/crds/appautoscaling.aws.upbound.io_targets.yaml index c060448598..b6139383d2 100644 --- a/package/crds/appautoscaling.aws.upbound.io_targets.yaml +++ b/package/crds/appautoscaling.aws.upbound.io_targets.yaml @@ -207,6 +207,87 @@ spec: be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference' type: string + roleArn: + description: ARN of the IAM role that allows Application AutoScaling + to modify your scalable target on your behalf. This defaults + to an IAM Service-Linked Role for most services and custom IAM + Roles are ignored by the API for those namespaces. See the AWS + Application Auto Scaling documentation for more information + about how this service interacts with IAM. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 scalableDimension: description: 'Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application diff --git a/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml b/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml index 9c875c6f2a..8683c386be 100644 --- a/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml +++ b/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml @@ -312,6 +312,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationId: + description: Application ID. Must be between 4 and 7 characters + in length. + type: string + applicationIdRef: + description: Reference to a Application in appconfig to populate + applicationId. + 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 + applicationIdSelector: + description: Selector for a Application in appconfig to populate + applicationId. + 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 description: description: Description of the configuration profile. Can be at most 1024 characters. @@ -339,6 +418,86 @@ spec: description: Name for the configuration profile. Must be between 1 and 64 characters in length. type: string + retrievalRoleArn: + description: ARN of an IAM role with permission to access the + configuration at the specified location_uri. A retrieval role + ARN is not required for configurations stored in the AWS AppConfig + hosted configuration store. It is required for all other sources + that store your configuration. + type: string + retrievalRoleArnRef: + description: Reference to a Role in iam to populate retrievalRoleArn. + 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 + retrievalRoleArnSelector: + description: Selector for a Role in iam to populate retrievalRoleArn. + 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 diff --git a/package/crds/appconfig.aws.upbound.io_deployments.yaml b/package/crds/appconfig.aws.upbound.io_deployments.yaml index a13fce66fc..d112f6c262 100644 --- a/package/crds/appconfig.aws.upbound.io_deployments.yaml +++ b/package/crds/appconfig.aws.upbound.io_deployments.yaml @@ -569,10 +569,483 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationId: + description: Application ID. Must be between 4 and 7 characters + in length. + type: string + applicationIdRef: + description: Reference to a Application in appconfig to populate + applicationId. + 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 + applicationIdSelector: + description: Selector for a Application in appconfig to populate + applicationId. + 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 + configurationProfileId: + description: Configuration profile ID. Must be between 4 and 7 + characters in length. + type: string + configurationProfileIdRef: + description: Reference to a ConfigurationProfile in appconfig + to populate configurationProfileId. + 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 + configurationProfileIdSelector: + description: Selector for a ConfigurationProfile in appconfig + to populate configurationProfileId. + 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 + configurationVersion: + description: Configuration version to deploy. Can be at most 1024 + characters. + type: string + configurationVersionRef: + description: Reference to a HostedConfigurationVersion in appconfig + to populate configurationVersion. + 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 + configurationVersionSelector: + description: Selector for a HostedConfigurationVersion in appconfig + to populate configurationVersion. + 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 + deploymentStrategyId: + description: Deployment strategy ID or name of a predefined deployment + strategy. See Predefined Deployment Strategies for more details. + type: string + deploymentStrategyIdRef: + description: Reference to a DeploymentStrategy in appconfig to + populate deploymentStrategyId. + 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 + deploymentStrategyIdSelector: + description: Selector for a DeploymentStrategy in appconfig to + populate deploymentStrategyId. + 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 description: description: Description of the deployment. Can be at most 1024 characters. type: string + environmentId: + description: Environment ID. Must be between 4 and 7 characters + in length. + type: string + environmentIdRef: + description: Reference to a Environment in appconfig to populate + environmentId. + 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 + environmentIdSelector: + description: Selector for a Environment in appconfig to populate + environmentId. + 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 + kmsKeyIdentifier: + description: The KMS key identifier (key ID, key alias, or key + ARN). AppConfig uses this to encrypt the configuration data + using a customer managed key. + type: string + kmsKeyIdentifierRef: + description: Reference to a Key in kms to populate kmsKeyIdentifier. + 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 + kmsKeyIdentifierSelector: + description: Selector for a Key in kms to populate kmsKeyIdentifier. + 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 diff --git a/package/crds/appconfig.aws.upbound.io_environments.yaml b/package/crds/appconfig.aws.upbound.io_environments.yaml index 1f586ecaba..dd70970996 100644 --- a/package/crds/appconfig.aws.upbound.io_environments.yaml +++ b/package/crds/appconfig.aws.upbound.io_environments.yaml @@ -348,6 +348,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationId: + description: AppConfig application ID. Must be between 4 and 7 + characters in length. + type: string + applicationIdRef: + description: Reference to a Application in appconfig to populate + applicationId. + 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 + applicationIdSelector: + description: Selector for a Application in appconfig to populate + applicationId. + 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 description: description: Description of the environment. Can be at most 1024 characters. @@ -357,6 +436,168 @@ spec: the deployment process. Maximum of 5. See Monitor below for more details. items: + properties: + alarmArn: + description: ARN of the Amazon CloudWatch alarm. + type: string + alarmArnRef: + description: Reference to a MetricAlarm in cloudwatch to + populate alarmArn. + 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 + alarmArnSelector: + description: Selector for a MetricAlarm in cloudwatch to + populate alarmArn. + 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 + alarmRoleArn: + description: ARN of an IAM role for AWS AppConfig to monitor + alarm_arn. + type: string + alarmRoleArnRef: + description: Reference to a Role in iam to populate alarmRoleArn. + 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 + alarmRoleArnSelector: + description: Selector for a Role in iam to populate alarmRoleArn. + 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 type: object type: array name: diff --git a/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml b/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml index fc25e5eb1c..f368fa5b45 100644 --- a/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml +++ b/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml @@ -249,12 +249,169 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + extensionArn: + description: The ARN of the extension defined in the association. + type: string + extensionArnRef: + description: Reference to a Extension in appconfig to populate + extensionArn. + 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 + extensionArnSelector: + description: Selector for a Extension in appconfig to populate + extensionArn. + 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 parameters: additionalProperties: type: string description: The parameter names and values defined for the association. type: object x-kubernetes-map-type: granular + resourceArn: + description: The ARN of the application, configuration profile, + or environment to associate with the extension. + type: string + resourceArnRef: + description: Reference to a Application in appconfig to populate + resourceArn. + 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 + resourceArnSelector: + description: Selector for a Application in appconfig to populate + resourceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/appconfig.aws.upbound.io_extensions.yaml b/package/crds/appconfig.aws.upbound.io_extensions.yaml index f82558b1ec..4fd12b1f12 100644 --- a/package/crds/appconfig.aws.upbound.io_extensions.yaml +++ b/package/crds/appconfig.aws.upbound.io_extensions.yaml @@ -335,6 +335,179 @@ spec: name: description: The action name. type: string + roleArn: + description: An Amazon Resource Name (ARN) for an + Identity and Access Management assume role. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 + uri: + description: 'The extension URI associated to the + action point in the extension definition. The URI + can be an Amazon Resource Name (ARN) for one of + the following: an Lambda function, an Amazon Simple + Queue Service queue, an Amazon Simple Notification + Service topic, or the Amazon EventBridge default + event bus.' + type: string + uriRef: + description: Reference to a Topic in sns to populate + uri. + 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 + uriSelector: + description: Selector for a Topic in sns to populate + uri. + 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 type: object type: array point: diff --git a/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml b/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml index 64cce1a133..b4847a5c80 100644 --- a/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml +++ b/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml @@ -268,6 +268,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationId: + description: Application ID. + type: string + applicationIdRef: + description: Reference to a Application in appconfig to populate + applicationId. + 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 + applicationIdSelector: + description: Selector for a Application in appconfig to populate + applicationId. + 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 + configurationProfileId: + description: Configuration profile ID. + type: string + configurationProfileIdRef: + description: Reference to a ConfigurationProfile in appconfig + to populate configurationProfileId. + 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 + configurationProfileIdSelector: + description: Selector for a ConfigurationProfile in appconfig + to populate configurationProfileId. + 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 contentType: description: Standard MIME type describing the format of the configuration content. For more information, see Content-Type. diff --git a/package/crds/appflow.aws.upbound.io_flows.yaml b/package/crds/appflow.aws.upbound.io_flows.yaml index bc578140ec..8fde34ad50 100644 --- a/package/crds/appflow.aws.upbound.io_flows.yaml +++ b/package/crds/appflow.aws.upbound.io_flows.yaml @@ -1605,6 +1605,94 @@ spec: details. items: properties: + bucketName: + description: Amazon S3 bucket name in which + Amazon AppFlow places the transferred data. + type: string + bucketNameRef: + description: Reference to a BucketPolicy in + s3 to populate bucketName. + 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 + bucketNameSelector: + description: Selector for a BucketPolicy in + s3 to populate bucketName. + 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 bucketPrefix: description: Object key for the bucket in which Amazon AppFlow places the destination files. @@ -2094,6 +2182,94 @@ spec: details. items: properties: + bucketName: + description: Amazon S3 bucket name in which + Amazon AppFlow places the transferred data. + type: string + bucketNameRef: + description: Reference to a BucketPolicy in + s3 to populate bucketName. + 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 + bucketNameSelector: + description: Selector for a BucketPolicy in + s3 to populate bucketName. + 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 bucketPrefix: description: Object key for the bucket in which Amazon AppFlow places the destination files. diff --git a/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml b/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml index e422f92663..2f530e8c3c 100644 --- a/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml +++ b/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml @@ -1120,6 +1120,113 @@ spec: description: Virtual service gateway route target. items: + properties: + virtualServiceName: + description: Name of the virtual + service that traffic is routed + to. Must be between 1 and 255 + characters in length. + type: string + virtualServiceNameRef: + description: Reference to a VirtualService + in appmesh to populate virtualServiceName. + 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 + virtualServiceNameSelector: + description: Selector for a VirtualService + in appmesh to populate virtualServiceName. + 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 type: object type: array type: object @@ -1266,6 +1373,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + virtualGatewayName: + description: Name of the virtual gateway to associate the gateway + route with. Must be between 1 and 255 characters in length. + type: string + virtualGatewayNameRef: + description: Reference to a VirtualGateway in appmesh to populate + virtualGatewayName. + 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 + virtualGatewayNameSelector: + description: Selector for a VirtualGateway in appmesh to populate + virtualGatewayName. + 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 type: object managementPolicies: default: diff --git a/package/crds/appmesh.aws.upbound.io_routes.yaml b/package/crds/appmesh.aws.upbound.io_routes.yaml index 4a63faedd7..7fa56e0dbd 100644 --- a/package/crds/appmesh.aws.upbound.io_routes.yaml +++ b/package/crds/appmesh.aws.upbound.io_routes.yaml @@ -1210,6 +1210,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + meshName: + description: Name of the service mesh in which to create the route. + Must be between 1 and 255 characters in length. + type: string + meshNameRef: + description: Reference to a Mesh in appmesh to populate meshName. + 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 + meshNameSelector: + description: Selector for a Mesh in appmesh to populate meshName. + 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 meshOwner: description: AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. @@ -1693,6 +1770,101 @@ spec: description: The port number to match from the request. type: number + virtualNode: + description: Virtual node to associate + with the weighted target. Must be between + 1 and 255 characters in length. + type: string + virtualNodeRef: + description: Reference to a VirtualNode + in appmesh to populate virtualNode. + 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 + virtualNodeSelector: + description: Selector for a VirtualNode + in appmesh to populate virtualNode. + 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 weight: description: Relative weight of the weighted target. An integer between 0 and 100. @@ -1937,6 +2109,101 @@ spec: description: The port number to match from the request. type: number + virtualNode: + description: Virtual node to associate + with the weighted target. Must be between + 1 and 255 characters in length. + type: string + virtualNodeRef: + description: Reference to a VirtualNode + in appmesh to populate virtualNode. + 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 + virtualNodeSelector: + description: Selector for a VirtualNode + in appmesh to populate virtualNode. + 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 weight: description: Relative weight of the weighted target. An integer between 0 and 100. @@ -1988,6 +2255,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + virtualRouterName: + description: Name of the virtual router in which to create the + route. Must be between 1 and 255 characters in length. + type: string + virtualRouterNameRef: + description: Reference to a VirtualRouter in appmesh to populate + virtualRouterName. + 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 + virtualRouterNameSelector: + description: Selector for a VirtualRouter in appmesh to populate + virtualRouterName. + 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 type: object managementPolicies: default: diff --git a/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml b/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml index 7cf869b32c..793d6f02c2 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml @@ -937,6 +937,110 @@ spec: for an AWS Certificate Manager (ACM) certificate. items: + properties: + certificateArn: + description: ARN for the certificate. + type: string + certificateArnRef: + description: Reference to a Certificate + in acm to populate certificateArn. + 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 + certificateArnSelector: + description: Selector for a Certificate + in acm to populate certificateArn. + 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 type: object type: array file: diff --git a/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml b/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml index a1bfc4efed..731842925c 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml @@ -1141,6 +1141,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + meshName: + description: Name of the service mesh in which to create the virtual + node. Must be between 1 and 255 characters in length. + type: string + meshNameRef: + description: Reference to a Mesh in appmesh to populate meshName. + 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 + meshNameSelector: + description: Selector for a Mesh in appmesh to populate meshName. + 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 meshOwner: description: AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. @@ -1993,6 +2070,96 @@ spec: pairs will be returned. type: object x-kubernetes-map-type: granular + namespaceName: + description: Name of the AWS Cloud Map namespace + to use. Use the aws_service_discovery_http_namespace + resource to configure a Cloud Map namespace. + Must be between 1 and 1024 characters in length. + type: string + namespaceNameRef: + description: Reference to a HTTPNamespace in + servicediscovery to populate namespaceName. + 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 + namespaceNameSelector: + description: Selector for a HTTPNamespace in + servicediscovery to populate namespaceName. + 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 serviceName: description: attribute of the dns object to hostname. diff --git a/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml b/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml index 735468572e..9951f3d762 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml @@ -202,6 +202,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + meshName: + description: Name of the service mesh in which to create the virtual + router. Must be between 1 and 255 characters in length. + type: string + meshNameRef: + description: Reference to a Mesh in appmesh to populate meshName. + 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 + meshNameSelector: + description: Selector for a Mesh in appmesh to populate meshName. + 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 meshOwner: description: AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. diff --git a/package/crds/appmesh.aws.upbound.io_virtualservices.yaml b/package/crds/appmesh.aws.upbound.io_virtualservices.yaml index fd0a379055..06797bbf6a 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualservices.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualservices.yaml @@ -383,6 +383,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + meshName: + description: Name of the service mesh in which to create the virtual + service. Must be between 1 and 255 characters in length. + type: string + meshNameRef: + description: Reference to a Mesh in appmesh to populate meshName. + 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 + meshNameSelector: + description: Selector for a Mesh in appmesh to populate meshName. + 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 meshOwner: description: AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to. @@ -405,12 +482,192 @@ spec: description: Virtual node associated with a virtual service. items: + properties: + virtualNodeName: + description: Name of the virtual node that is + acting as a service provider. Must be between + 1 and 255 characters in length. + type: string + virtualNodeNameRef: + description: Reference to a VirtualNode in appmesh + to populate virtualNodeName. + 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 + virtualNodeNameSelector: + description: Selector for a VirtualNode in appmesh + to populate virtualNodeName. + 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 type: object type: array virtualRouter: description: Virtual router associated with a virtual service. items: + properties: + virtualRouterName: + description: Name of the virtual router that + is acting as a service provider. Must be between + 1 and 255 characters in length. + type: string + virtualRouterNameRef: + description: Reference to a VirtualRouter in + appmesh to populate virtualRouterName. + 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 + virtualRouterNameSelector: + description: Selector for a VirtualRouter in + appmesh to populate virtualRouterName. + 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 type: object type: array type: object diff --git a/package/crds/apprunner.aws.upbound.io_services.yaml b/package/crds/apprunner.aws.upbound.io_services.yaml index 81cfd20ced..083a8eb2a6 100644 --- a/package/crds/apprunner.aws.upbound.io_services.yaml +++ b/package/crds/apprunner.aws.upbound.io_services.yaml @@ -781,6 +781,92 @@ spec: description: 'The type of egress configuration. Valid values are: DEFAULT and VPC.' type: string + vpcConnectorArn: + description: The Amazon Resource Name (ARN) of the + App Runner VPC connector that you want to associate + with your App Runner service. Only valid when EgressType + = VPC. + type: string + vpcConnectorArnRef: + description: Reference to a VPCConnector in apprunner + to populate vpcConnectorArn. + 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 + vpcConnectorArnSelector: + description: Selector for a VPCConnector in apprunner + to populate vpcConnectorArn. + 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 type: object type: array ingressConfiguration: @@ -812,6 +898,89 @@ spec: See Observability Configuration below for more details. items: properties: + observabilityConfigurationArn: + description: ARN of the observability configuration that + is associated with the service. Specified only when observability_enabled + is true. + type: string + observabilityConfigurationArnRef: + description: Reference to a ObservabilityConfiguration in + apprunner to populate observabilityConfigurationArn. + 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 + observabilityConfigurationArnSelector: + description: Selector for a ObservabilityConfiguration in + apprunner to populate observabilityConfigurationArn. + 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 observabilityEnabled: description: When true, an observability configuration resource is associated with the service. @@ -838,6 +1007,91 @@ spec: Runner service access to a source repository. Required for ECR image repositories (but not for ECR Public) type: string + connectionArn: + description: ARN of the App Runner connection that + enables the App Runner service to connect to a source + repository. Required for GitHub code repositories. + type: string + connectionArnRef: + description: Reference to a Connection in apprunner + to populate connectionArn. + 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 + connectionArnSelector: + description: Selector for a Connection in apprunner + to populate connectionArn. + 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 type: object type: array autoDeploymentsEnabled: diff --git a/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml b/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml index 4b1e59e74a..06512d6fc8 100644 --- a/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml +++ b/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml @@ -268,6 +268,179 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + securityGroupRefs: + description: References to SecurityGroup in ec2 to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroups. + 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 + securityGroups: + description: List of IDs of security groups that App Runner should + use for access to AWS resources under the specified subnets. + If not specified, App Runner uses the default security group + of the Amazon VPC. The default security group allows all outbound + traffic. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetRefs: + description: References to Subnet in ec2 to populate subnets. + items: + description: A Reference to a named object. + 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 + type: array + subnetSelector: + description: Selector for a list of Subnet in ec2 to populate + subnets. + 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 + subnets: + description: List of IDs of subnets that App Runner should use + when it associates your service with a custom Amazon VPC. Specify + IDs of subnets of a single Amazon VPC. App Runner determines + the Amazon VPC from the subnets you specify. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/appstream.aws.upbound.io_fleet.yaml b/package/crds/appstream.aws.upbound.io_fleet.yaml index f928837f3e..c3a026539d 100644 --- a/package/crds/appstream.aws.upbound.io_fleet.yaml +++ b/package/crds/appstream.aws.upbound.io_fleet.yaml @@ -383,6 +383,82 @@ spec: fleetType: description: 'Fleet type. Valid values are: ON_DEMAND, ALWAYS_ON' type: string + iamRoleArn: + description: ARN of the IAM role to apply to the fleet. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 idleDisconnectTimeoutInSeconds: description: Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and @@ -428,6 +504,94 @@ spec: items: type: string type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Identifiers of the subnets to which a network + interface is attached from the fleet instance or image + builder instance. + items: + type: string + type: array type: object type: array type: object diff --git a/package/crds/appstream.aws.upbound.io_imagebuilders.yaml b/package/crds/appstream.aws.upbound.io_imagebuilders.yaml index 24483b55fc..778379733c 100644 --- a/package/crds/appstream.aws.upbound.io_imagebuilders.yaml +++ b/package/crds/appstream.aws.upbound.io_imagebuilders.yaml @@ -366,6 +366,82 @@ spec: description: Enables or disables default internet access for the image builder. type: boolean + iamRoleArn: + description: ARN of the IAM role to apply to the image builder. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 imageArn: description: ARN of the public, private, or shared image to use. type: string @@ -390,6 +466,94 @@ spec: type: string type: array x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Identifier of the subnet to which a network + interface is attached from the image builder instance. + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array type: object diff --git a/package/crds/appsync.aws.upbound.io_apicaches.yaml b/package/crds/appsync.aws.upbound.io_apicaches.yaml index cd3ada3b92..6feaee2f6a 100644 --- a/package/crds/appsync.aws.upbound.io_apicaches.yaml +++ b/package/crds/appsync.aws.upbound.io_apicaches.yaml @@ -188,6 +188,84 @@ spec: description: Caching behavior. Valid values are FULL_REQUEST_CACHING and PER_RESOLVER_CACHING. type: string + apiId: + description: GraphQL API ID. + type: string + apiIdRef: + description: Reference to a GraphQLAPI in appsync to populate + apiId. + 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 + apiIdSelector: + description: Selector for a GraphQLAPI in appsync to populate + apiId. + 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 atRestEncryptionEnabled: description: At-rest encryption flag for cache. You cannot update this setting after creation. diff --git a/package/crds/appsync.aws.upbound.io_datasources.yaml b/package/crds/appsync.aws.upbound.io_datasources.yaml index be95f3eb00..58ce1bf324 100644 --- a/package/crds/appsync.aws.upbound.io_datasources.yaml +++ b/package/crds/appsync.aws.upbound.io_datasources.yaml @@ -506,6 +506,87 @@ spec: type: number type: object type: array + tableName: + description: Name of the DynamoDB table. + type: string + tableNameRef: + description: Reference to a Table in dynamodb to populate + tableName. + 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 + tableNameSelector: + description: Selector for a Table in dynamodb to populate + tableName. + 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 useCallerCredentials: description: Set to true to use Amazon Cognito credentials with this data source. @@ -617,6 +698,84 @@ spec: type: string type: object type: array + serviceRoleArn: + description: IAM service role ARN for the data source. Required + if type is specified as AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, + AMAZON_EVENTBRIDGE, or AMAZON_OPENSEARCH_SERVICE. + type: string + serviceRoleArnRef: + description: Reference to a Role in iam to populate serviceRoleArn. + 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 + serviceRoleArnSelector: + description: Selector for a Role in iam to populate serviceRoleArn. + 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 type: description: 'Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE, diff --git a/package/crds/appsync.aws.upbound.io_functions.yaml b/package/crds/appsync.aws.upbound.io_functions.yaml index 586edb464f..8249ecd32a 100644 --- a/package/crds/appsync.aws.upbound.io_functions.yaml +++ b/package/crds/appsync.aws.upbound.io_functions.yaml @@ -315,11 +315,167 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + apiId: + description: ID of the associated AppSync API. + type: string + apiIdRef: + description: Reference to a GraphQLAPI in appsync to populate + apiId. + 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 + apiIdSelector: + description: Selector for a GraphQLAPI in appsync to populate + apiId. + 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 code: description: The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS. type: string + dataSource: + description: Function data source name. + type: string + dataSourceRef: + description: Reference to a Datasource in appsync to populate + dataSource. + 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 + dataSourceSelector: + description: Selector for a Datasource in appsync to populate + dataSource. + 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 description: description: Function description. type: string diff --git a/package/crds/appsync.aws.upbound.io_graphqlapis.yaml b/package/crds/appsync.aws.upbound.io_graphqlapis.yaml index 66d381aaa0..91e9969d6a 100644 --- a/package/crds/appsync.aws.upbound.io_graphqlapis.yaml +++ b/package/crds/appsync.aws.upbound.io_graphqlapis.yaml @@ -563,6 +563,87 @@ spec: Defined below. items: properties: + cloudwatchLogsRoleArn: + description: Amazon Resource Name of the service role that + AWS AppSync will assume to publish to Amazon CloudWatch + logs in your account. + type: string + cloudwatchLogsRoleArnRef: + description: Reference to a Role in iam to populate cloudwatchLogsRoleArn. + 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 + cloudwatchLogsRoleArnSelector: + description: Selector for a Role in iam to populate cloudwatchLogsRoleArn. + 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 excludeVerboseContent: description: 'Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping @@ -632,6 +713,87 @@ spec: doesn''t match the Amazon Cognito User Pool configuration. Valid: ALLOW and DENY' type: string + userPoolId: + description: User pool ID. + type: string + userPoolIdRef: + description: Reference to a UserPool in cognitoidp to populate + userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool in cognitoidp to populate + userPoolId. + 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 type: object type: array visibility: diff --git a/package/crds/appsync.aws.upbound.io_resolvers.yaml b/package/crds/appsync.aws.upbound.io_resolvers.yaml index 52816b474d..fd7b24e003 100644 --- a/package/crds/appsync.aws.upbound.io_resolvers.yaml +++ b/package/crds/appsync.aws.upbound.io_resolvers.yaml @@ -374,6 +374,84 @@ spec: functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS. type: string + dataSource: + description: Data source name. + type: string + dataSourceRef: + description: Reference to a Datasource in appsync to populate + dataSource. + 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 + dataSourceSelector: + description: Selector for a Datasource in appsync to populate + dataSource. + 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 kind: description: Resolver type. Valid values are UNIT and PIPELINE. type: string diff --git a/package/crds/athena.aws.upbound.io_databases.yaml b/package/crds/athena.aws.upbound.io_databases.yaml index ae2019a295..ab4dfb5efd 100644 --- a/package/crds/athena.aws.upbound.io_databases.yaml +++ b/package/crds/athena.aws.upbound.io_databases.yaml @@ -219,6 +219,83 @@ spec: type: string type: object type: array + bucket: + description: Name of S3 bucket to save the results of the query + execution. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 comment: description: Description of the database. type: string diff --git a/package/crds/athena.aws.upbound.io_namedqueries.yaml b/package/crds/athena.aws.upbound.io_namedqueries.yaml index f69f6fa4f1..a38e5efd51 100644 --- a/package/crds/athena.aws.upbound.io_namedqueries.yaml +++ b/package/crds/athena.aws.upbound.io_namedqueries.yaml @@ -251,6 +251,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + database: + description: Database to which the query belongs. + type: string + databaseRef: + description: Reference to a Database in athena to populate database. + 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 + databaseSelector: + description: Selector for a Database in athena to populate database. + 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 description: description: Brief explanation of the query. Maximum length of 1024. @@ -263,6 +339,83 @@ spec: description: Text of the query itself. In other words, all query statements. Maximum length of 262144. type: string + workgroup: + description: Workgroup to which the query belongs. Defaults to + primary + type: string + workgroupRef: + description: Reference to a Workgroup in athena to populate workgroup. + 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 + workgroupSelector: + description: Selector for a Workgroup in athena to populate workgroup. + 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 type: object managementPolicies: default: diff --git a/package/crds/athena.aws.upbound.io_workgroups.yaml b/package/crds/athena.aws.upbound.io_workgroups.yaml index eebf065ba9..864a0413cc 100644 --- a/package/crds/athena.aws.upbound.io_workgroups.yaml +++ b/package/crds/athena.aws.upbound.io_workgroups.yaml @@ -369,6 +369,94 @@ spec: results must be encrypted, for all queries that run in this workgroup. type: string + kmsKeyArn: + description: For SSE_KMS and CSE_KMS, this is + the KMS key ARN. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate + kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate + kmsKeyArn. + 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 type: object type: array expectedBucketOwner: diff --git a/package/crds/autoscaling.aws.upbound.io_attachments.yaml b/package/crds/autoscaling.aws.upbound.io_attachments.yaml index 6360ff470c..afa96df9a7 100644 --- a/package/crds/autoscaling.aws.upbound.io_attachments.yaml +++ b/package/crds/autoscaling.aws.upbound.io_attachments.yaml @@ -314,6 +314,237 @@ spec: 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: + autoscalingGroupName: + description: Name of ASG to associate with the ELB. + type: string + autoscalingGroupNameRef: + description: Reference to a AutoscalingGroup to populate autoscalingGroupName. + 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 + autoscalingGroupNameSelector: + description: Selector for a AutoscalingGroup to populate autoscalingGroupName. + 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 + elb: + description: Name of the ELB. + type: string + elbRef: + description: Reference to a ELB in elb to populate elb. + 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 + elbSelector: + description: Selector for a ELB in elb to populate elb. + 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 + lbTargetGroupArn: + description: ARN of a load balancer target group. + type: string + lbTargetGroupArnRef: + description: Reference to a LBTargetGroup in elbv2 to populate + lbTargetGroupArn. + 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 + lbTargetGroupArnSelector: + description: Selector for a LBTargetGroup in elbv2 to populate + lbTargetGroupArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml b/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml index 47ebffbd38..d5bedab7bb 100644 --- a/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml +++ b/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml @@ -1589,12 +1589,171 @@ spec: x-kubernetes-list-type: set type: object type: array + launchConfiguration: + description: Name of the launch configuration to use. + type: string + launchConfigurationRef: + description: Reference to a LaunchConfiguration in autoscaling + to populate launchConfiguration. + 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 + launchConfigurationSelector: + description: Selector for a LaunchConfiguration in autoscaling + to populate launchConfiguration. + 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 launchTemplate: description: Nested argument with Launch template specification to use to launch instances. See Launch Template below for more details. items: properties: + id: + description: ID of the launch template. Conflicts with name. + type: string + idRef: + description: Reference to a LaunchTemplate in ec2 to populate + id. + 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 + idSelector: + description: Selector for a LaunchTemplate in ec2 to populate + id. + 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 name: description: Name of the launch template. Conflicts with id. @@ -1685,6 +1844,94 @@ spec: Defined below. items: properties: + launchTemplateId: + description: ID of the launch template. Conflicts + with launch_template_name. + type: string + launchTemplateIdRef: + description: Reference to a LaunchTemplate in + ec2 to populate launchTemplateId. + 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 + launchTemplateIdSelector: + description: Selector for a LaunchTemplate in + ec2 to populate launchTemplateId. + 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 launchTemplateName: description: Name of the launch template. Conflicts with launch_template_id. @@ -1991,13 +2238,107 @@ spec: Template. Defined below. items: properties: - launchTemplateName: - description: Name of the launch template. - Conflicts with launch_template_id. + launchTemplateId: + description: ID of the launch template. + Conflicts with launch_template_name. type: string - version: - description: 'Template version. Can be - version number, $Latest, or $Default. + launchTemplateIdRef: + description: Reference to a LaunchTemplate + in ec2 to populate launchTemplateId. + 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 + launchTemplateIdSelector: + description: Selector for a LaunchTemplate + in ec2 to populate launchTemplateId. + 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 + launchTemplateName: + description: Name of the launch template. + Conflicts with launch_template_id. + type: string + version: + description: 'Template version. Can be + version number, $Latest, or $Default. (Default: $Default).' type: string type: object @@ -2013,6 +2354,85 @@ spec: type: array type: object type: array + placementGroup: + description: Name of the placement group into which you'll launch + your instances, if any. + type: string + placementGroupRef: + description: Reference to a PlacementGroup in ec2 to populate + placementGroup. + 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 + placementGroupSelector: + description: Selector for a PlacementGroup in ec2 to populate + placementGroup. + 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 protectFromScaleIn: description: Whether newly launched instances are automatically protected from termination by Amazon EC2 Auto Scaling when scaling @@ -2020,6 +2440,83 @@ spec: on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. type: boolean + serviceLinkedRoleArn: + description: ARN of the service-linked role that the ASG will + use to call other AWS services + type: string + serviceLinkedRoleArnRef: + description: Reference to a Role in iam to populate serviceLinkedRoleArn. + 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 + serviceLinkedRoleArnSelector: + description: Selector for a Role in iam to populate serviceLinkedRoleArn. + 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 suspendedProcesses: description: List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, @@ -2082,6 +2579,91 @@ spec: type: string type: object type: array + vpcZoneIdentifier: + description: List of subnet IDs to launch resources in. Subnets + automatically determine which availability zones the group will + reside. Conflicts with availability_zones. + items: + type: string + type: array + x-kubernetes-list-type: set + vpcZoneIdentifierRefs: + description: References to Subnet in ec2 to populate vpcZoneIdentifier. + items: + description: A Reference to a named object. + 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 + type: array + vpcZoneIdentifierSelector: + description: Selector for a list of Subnet in ec2 to populate + vpcZoneIdentifier. + 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 waitForCapacityTimeout: description: (See also Waiting for Capacity below. type: string diff --git a/package/crds/autoscaling.aws.upbound.io_grouptags.yaml b/package/crds/autoscaling.aws.upbound.io_grouptags.yaml index 1952f2686f..b3e272970a 100644 --- a/package/crds/autoscaling.aws.upbound.io_grouptags.yaml +++ b/package/crds/autoscaling.aws.upbound.io_grouptags.yaml @@ -180,6 +180,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + autoscalingGroupName: + description: Name of the Autoscaling Group to apply the tag to. + type: string + autoscalingGroupNameRef: + description: Reference to a AutoscalingGroup in autoscaling to + populate autoscalingGroupName. + 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 + autoscalingGroupNameSelector: + description: Selector for a AutoscalingGroup in autoscaling to + populate autoscalingGroupName. + 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 tag: description: Tag to create. The tag block is documented below. items: diff --git a/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml b/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml index f8803ff37c..6203be392e 100644 --- a/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml +++ b/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml @@ -296,6 +296,83 @@ spec: state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. type: string + roleArn: + description: ARN of the IAM role that allows the Auto Scaling + group to publish to the specified notification target. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/autoscaling.aws.upbound.io_notifications.yaml b/package/crds/autoscaling.aws.upbound.io_notifications.yaml index a9ca57fe83..b366d078b7 100644 --- a/package/crds/autoscaling.aws.upbound.io_notifications.yaml +++ b/package/crds/autoscaling.aws.upbound.io_notifications.yaml @@ -188,6 +188,82 @@ spec: type: string type: array x-kubernetes-list-type: set + topicArn: + description: Topic ARN for notifications to be sent through + type: string + topicArnRef: + description: Reference to a Topic in sns to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate topicArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/backup.aws.upbound.io_plans.yaml b/package/crds/backup.aws.upbound.io_plans.yaml index de7fcbc572..80d321d109 100644 --- a/package/crds/backup.aws.upbound.io_plans.yaml +++ b/package/crds/backup.aws.upbound.io_plans.yaml @@ -378,6 +378,88 @@ spec: description: The amount of time in minutes before beginning a backup. type: number + targetVaultName: + description: The name of a logical container where backups + are stored. + type: string + targetVaultNameRef: + description: Reference to a Vault in backup to populate + targetVaultName. + 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 + targetVaultNameSelector: + description: Selector for a Vault in backup to populate + targetVaultName. + 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 type: object type: array tags: diff --git a/package/crds/backup.aws.upbound.io_selections.yaml b/package/crds/backup.aws.upbound.io_selections.yaml index a039dde6e3..a2129fccb9 100644 --- a/package/crds/backup.aws.upbound.io_selections.yaml +++ b/package/crds/backup.aws.upbound.io_selections.yaml @@ -382,6 +382,86 @@ spec: type: array type: object type: array + iamRoleArn: + description: The ARN of the IAM role that AWS Backup uses to authenticate + when restoring and backing up the target resource. See the AWS + Backup Developer Guide for additional information about using + AWS managed policies or creating custom policies attached to + the IAM role. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 name: description: The display name of a resource selection document. type: string @@ -393,6 +473,83 @@ spec: type: string type: array x-kubernetes-list-type: set + planId: + description: The backup plan ID to be associated with the selection + of resources. + type: string + planIdRef: + description: Reference to a Plan to populate planId. + 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 + planIdSelector: + description: Selector for a Plan to populate planId. + 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 resources: description: An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup diff --git a/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml b/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml index 83fa84c539..4182e0f791 100644 --- a/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml +++ b/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml @@ -176,6 +176,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + backupVaultName: + description: Name of the backup vault to add a lock configuration + for. + type: string + backupVaultNameRef: + description: Reference to a Vault to populate backupVaultName. + 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 + backupVaultNameSelector: + description: Selector for a Vault to populate backupVaultName. + 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 changeableForDays: description: The number of days before the lock date. If omitted creates a vault lock in governance mode, otherwise it will create diff --git a/package/crds/backup.aws.upbound.io_vaultnotifications.yaml b/package/crds/backup.aws.upbound.io_vaultnotifications.yaml index defa2bce23..bf06c25c26 100644 --- a/package/crds/backup.aws.upbound.io_vaultnotifications.yaml +++ b/package/crds/backup.aws.upbound.io_vaultnotifications.yaml @@ -253,6 +253,159 @@ spec: type: string type: array x-kubernetes-list-type: set + backupVaultName: + description: Name of the backup vault to add notifications for. + type: string + backupVaultNameRef: + description: Reference to a Vault to populate backupVaultName. + 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 + backupVaultNameSelector: + description: Selector for a Vault to populate backupVaultName. + 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 + snsTopicArn: + description: The Amazon Resource Name (ARN) that specifies the + topic for a backup vault’s events + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/backup.aws.upbound.io_vaultpolicies.yaml b/package/crds/backup.aws.upbound.io_vaultpolicies.yaml index 4bc4a395ea..c4542f39c1 100644 --- a/package/crds/backup.aws.upbound.io_vaultpolicies.yaml +++ b/package/crds/backup.aws.upbound.io_vaultpolicies.yaml @@ -165,6 +165,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + backupVaultName: + description: Name of the backup vault to add policy for. + type: string + backupVaultNameRef: + description: Reference to a Vault in backup to populate backupVaultName. + 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 + backupVaultNameSelector: + description: Selector for a Vault in backup to populate backupVaultName. + 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 policy: description: The backup vault access policy document in JSON format. type: string diff --git a/package/crds/backup.aws.upbound.io_vaults.yaml b/package/crds/backup.aws.upbound.io_vaults.yaml index 422781cf2c..e653b501de 100644 --- a/package/crds/backup.aws.upbound.io_vaults.yaml +++ b/package/crds/backup.aws.upbound.io_vaults.yaml @@ -179,6 +179,83 @@ spec: stored in the vault are deleted so that the vault can be destroyed without error. type: boolean + kmsKeyArn: + description: The server-side encryption key that is used to protect + your backups. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 diff --git a/package/crds/budgets.aws.upbound.io_budgetactions.yaml b/package/crds/budgets.aws.upbound.io_budgetactions.yaml index 459bdb33c2..71e972b020 100644 --- a/package/crds/budgets.aws.upbound.io_budgetactions.yaml +++ b/package/crds/budgets.aws.upbound.io_budgetactions.yaml @@ -468,6 +468,82 @@ spec: description: This specifies if the action needs manual or automatic approval. Valid values are AUTOMATIC and MANUAL. type: string + budgetName: + description: The name of a budget. + type: string + budgetNameRef: + description: Reference to a Budget in budgets to populate budgetName. + 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 + budgetNameSelector: + description: Selector for a Budget in budgets to populate budgetName. + 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 definition: description: Specifies all of the type-specific parameters. See Definition. @@ -485,6 +561,90 @@ spec: type: string type: array x-kubernetes-list-type: set + policyArn: + description: The Amazon Resource Name (ARN) of the + policy to be attached. + type: string + policyArnRef: + description: Reference to a Policy in iam to populate + policyArn. + 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 + policyArnSelector: + description: Selector for a Policy in iam to populate + policyArn. + 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 roles: description: A list of roles to be attached. There must be at least one role. @@ -536,6 +696,83 @@ spec: type: array type: object type: array + executionRoleArn: + description: The role passed for action execution and reversion. + Roles and actions must be in the same account. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + 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 + executionRoleArnSelector: + description: Selector for a Role in iam to populate executionRoleArn. + 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 notificationType: description: The type of a notification. Valid values are ACTUAL or FORECASTED. diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml index 354b9ffb36..857956fc27 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml @@ -190,6 +190,87 @@ spec: Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first. type: number + voiceConnectorId: + description: The Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object type: array type: object diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml index 97896487ff..91a95b1c0f 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml @@ -182,6 +182,84 @@ spec: description: When true, enables SIP message logs for sending to Amazon CloudWatch Logs. type: boolean + voiceConnectorId: + description: The Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object managementPolicies: default: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml b/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml index 0e8ff87ead..b2256c7bcd 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml @@ -236,6 +236,84 @@ spec: type: number type: object type: array + voiceConnectorId: + description: The Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object managementPolicies: default: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml index fb8e1966ef..1ba7414099 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml @@ -225,6 +225,84 @@ spec: type: string type: array x-kubernetes-list-type: set + voiceConnectorId: + description: The Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object managementPolicies: default: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml index d374b4169f..03b5b739d3 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml @@ -206,6 +206,84 @@ spec: type: string type: object type: array + voiceConnectorId: + description: Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object managementPolicies: default: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml index 9a8f094c77..7f06d764e3 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml @@ -214,6 +214,84 @@ spec: description: When termination settings are disabled, outbound calls can not be made. type: boolean + voiceConnectorId: + description: The Amazon Chime Voice Connector ID. + type: string + voiceConnectorIdRef: + description: Reference to a VoiceConnector in chime to populate + voiceConnectorId. + 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 + voiceConnectorIdSelector: + description: Selector for a VoiceConnector in chime to populate + voiceConnectorId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml b/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml index db0cb7cff6..cdd5ef865c 100644 --- a/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml +++ b/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml @@ -223,6 +223,83 @@ spec: description: The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment's creator. type: string + subnetId: + description: The ID of the subnet in Amazon VPC that AWS Cloud9 + will use to communicate with the Amazon EC2 instance. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 diff --git a/package/crds/cloudcontrol.aws.upbound.io_resources.yaml b/package/crds/cloudcontrol.aws.upbound.io_resources.yaml index 4385611dd1..cb47935917 100644 --- a/package/crds/cloudcontrol.aws.upbound.io_resources.yaml +++ b/package/crds/cloudcontrol.aws.upbound.io_resources.yaml @@ -201,6 +201,83 @@ spec: description: JSON string matching the CloudFormation resource type schema with desired configuration. type: string + roleArn: + description: Amazon Resource Name (ARN) of the IAM Role to assume + for operations. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 typeName: description: CloudFormation resource type name. For example, AWS::EC2::VPC. type: string diff --git a/package/crds/cloudformation.aws.upbound.io_stacks.yaml b/package/crds/cloudformation.aws.upbound.io_stacks.yaml index 9d3101333d..eb87b60a7e 100644 --- a/package/crds/cloudformation.aws.upbound.io_stacks.yaml +++ b/package/crds/cloudformation.aws.upbound.io_stacks.yaml @@ -237,6 +237,86 @@ spec: description: Set to true to disable rollback of the stack if stack creation failed. Conflicts with on_failure. type: boolean + iamRoleArn: + description: The ARN of an IAM role that AWS CloudFormation assumes + to create the stack. If you don't specify a value, AWS CloudFormation + uses the role that was previously associated with the stack. + If no role is available, AWS CloudFormation uses a temporary + session that is generated from your user credentials. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 notificationArns: description: A list of SNS topic ARNs to publish stack related events. diff --git a/package/crds/cloudformation.aws.upbound.io_stacksets.yaml b/package/crds/cloudformation.aws.upbound.io_stacksets.yaml index 23dc7ecf19..410aca4e73 100644 --- a/package/crds/cloudformation.aws.upbound.io_stacksets.yaml +++ b/package/crds/cloudformation.aws.upbound.io_stacksets.yaml @@ -282,6 +282,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + administrationRoleArn: + description: Amazon Resource Number (ARN) of the IAM Role in the + administrator account. This must be defined when using the SELF_MANAGED + permission model. + type: string + administrationRoleArnRef: + description: Reference to a Role in iam to populate administrationRoleArn. + 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 + administrationRoleArnSelector: + description: Selector for a Role in iam to populate administrationRoleArn. + 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 autoDeployment: description: Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using diff --git a/package/crds/cloudfront.aws.upbound.io_distributions.yaml b/package/crds/cloudfront.aws.upbound.io_distributions.yaml index a0eb1579db..9b30b890d9 100644 --- a/package/crds/cloudfront.aws.upbound.io_distributions.yaml +++ b/package/crds/cloudfront.aws.upbound.io_distributions.yaml @@ -1473,6 +1473,89 @@ spec: Valid values: viewer-request, origin-request, viewer-response, origin-response.' type: string + functionArn: + description: ARN of the CloudFront function. + type: string + functionArnRef: + description: Reference to a Function in cloudfront + to populate functionArn. + 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 + functionArnSelector: + description: Selector for a Function in cloudfront + to populate functionArn. + 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 type: object type: array lambdaFunctionAssociation: @@ -1490,6 +1573,89 @@ spec: body to the lambda function. Defaults to false. Valid values: true, false.' type: boolean + lambdaArn: + description: ARN of the Lambda function. + type: string + lambdaArnRef: + description: Reference to a Function in lambda to + populate lambdaArn. + 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 + lambdaArnSelector: + description: Selector for a Function in lambda to + populate lambdaArn. + 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 type: object type: array maxTtl: @@ -1623,6 +1789,88 @@ spec: description: DNS domain name of either the S3 bucket, or web site of your custom origin. type: string + originAccessControlId: + description: Unique identifier of a CloudFront origin access + control for this origin. + type: string + originAccessControlIdRef: + description: Reference to a OriginAccessControl in cloudfront + to populate originAccessControlId. + 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 + originAccessControlIdSelector: + description: Selector for a OriginAccessControl in cloudfront + to populate originAccessControlId. + 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 originId: description: Unique identifier for the origin. type: string @@ -1655,6 +1903,91 @@ spec: If a custom origin is required, use custom_origin_config instead. items: + properties: + originAccessIdentity: + description: The CloudFront origin access identity + to associate with the origin. + type: string + originAccessIdentityRef: + description: Reference to a OriginAccessIdentity in + cloudfront to populate originAccessIdentity. + 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 + originAccessIdentitySelector: + description: Selector for a OriginAccessIdentity in + cloudfront to populate originAccessIdentity. + 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 type: object type: array type: object diff --git a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml index 32df776c82..8d1d868590 100644 --- a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml +++ b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml @@ -319,6 +319,94 @@ spec: items: items: properties: + profileId: + description: The profile ID for a field-level + encryption content type-profile mapping. + type: string + profileIdRef: + description: Reference to a FieldLevelEncryptionProfile + in cloudfront to populate profileId. + 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 + profileIdSelector: + description: Selector for a FieldLevelEncryptionProfile + in cloudfront to populate profileId. + 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 queryArg: description: Query argument for field-level encryption query argument-profile mapping. diff --git a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml index e7dae10680..4b4ba63fc9 100644 --- a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml +++ b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml @@ -241,6 +241,91 @@ spec: description: The provider associated with the public key being used for encryption. type: string + publicKeyId: + description: The public key associated with a set + of field-level encryption patterns, to be used when + encrypting the fields that match the patterns. + type: string + publicKeyIdRef: + description: Reference to a PublicKey in cloudfront + to populate publicKeyId. + 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 + publicKeyIdSelector: + description: Selector for a PublicKey in cloudfront + to populate publicKeyId. + 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 type: object type: array type: object diff --git a/package/crds/cloudfront.aws.upbound.io_keygroups.yaml b/package/crds/cloudfront.aws.upbound.io_keygroups.yaml index 34c45c3981..d41e897a12 100644 --- a/package/crds/cloudfront.aws.upbound.io_keygroups.yaml +++ b/package/crds/cloudfront.aws.upbound.io_keygroups.yaml @@ -178,6 +178,89 @@ spec: comment: description: A comment to describe the key group.. type: string + itemRefs: + description: References to PublicKey to populate items. + items: + description: A Reference to a named object. + 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 + type: array + itemSelector: + description: Selector for a list of PublicKey to populate items. + 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 + items: + description: A list of the identifiers of the public keys in the + key group. + items: + type: string + type: array + x-kubernetes-list-type: set name: description: A name to identify the key group. type: string diff --git a/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml b/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml index 6bc8763335..b57f891c2f 100644 --- a/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml +++ b/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml @@ -186,6 +186,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + distributionId: + description: The ID of the distribution that you are enabling + metrics for. + type: string + distributionIdRef: + description: Reference to a Distribution in cloudfront to populate + distributionId. + 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 + distributionIdSelector: + description: Selector for a Distribution in cloudfront to populate + distributionId. + 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 monitoringSubscription: description: A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are diff --git a/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml b/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml index 08d1f7f637..44b06df82e 100644 --- a/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml +++ b/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml @@ -296,6 +296,176 @@ spec: kinesisStreamConfig: description: The Amazon Kinesis data stream configuration. items: + properties: + roleArn: + description: The ARN of an IAM role that CloudFront + can use to send real-time log data to the Kinesis + data stream. See the AWS documentation for more + information. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 + streamArn: + description: The ARN of the Kinesis data stream. + type: string + streamArnRef: + description: Reference to a Stream in kinesis to populate + streamArn. + 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 + streamArnSelector: + description: Selector for a Stream in kinesis to populate + streamArn. + 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 type: object type: array streamType: diff --git a/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml b/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml index 4837b07fcd..ee49092a6c 100644 --- a/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml +++ b/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml @@ -173,6 +173,84 @@ spec: description: The access rules you want to configure. These rules replace any existing rules. See the AWS documentation for details. type: string + domainName: + description: The CloudSearch domain name the policy applies to. + type: string + domainNameRef: + description: Reference to a Domain in cloudsearch to populate + domainName. + 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 + domainNameSelector: + description: Selector for a Domain in cloudsearch to populate + domainName. + 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 type: object managementPolicies: default: diff --git a/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml b/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml index 226bc23476..b4f607e0f4 100644 --- a/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml +++ b/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml @@ -332,6 +332,85 @@ spec: type: string type: object type: array + kmsKeyId: + description: Specifies the AWS KMS key ID to use to encrypt the + events delivered by CloudTrail. The value can be an alias name + prefixed by alias/, a fully specified ARN to an alias, a fully + specified ARN to a key, or a globally unique identifier. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 multiRegionEnabled: description: 'Specifies whether the event data store includes events from all regions, or only from the region in which the diff --git a/package/crds/cloudtrail.aws.upbound.io_trails.yaml b/package/crds/cloudtrail.aws.upbound.io_trails.yaml index 436d5f9d66..57135ca7a2 100644 --- a/package/crds/cloudtrail.aws.upbound.io_trails.yaml +++ b/package/crds/cloudtrail.aws.upbound.io_trails.yaml @@ -564,6 +564,83 @@ spec: group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard. type: string + cloudWatchLogsRoleArn: + description: Role for the CloudWatch Logs endpoint to assume to + write to a user’s log group. + type: string + cloudWatchLogsRoleArnRef: + description: Reference to a Role in iam to populate cloudWatchLogsRoleArn. + 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 + cloudWatchLogsRoleArnSelector: + description: Selector for a Role in iam to populate cloudWatchLogsRoleArn. + 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 enableLogFileValidation: description: Whether log file integrity validation is enabled. Defaults to false. @@ -651,6 +728,160 @@ spec: member accounts. Can only be created in the organization master account. Defaults to false. type: boolean + kmsKeyId: + description: KMS key ARN to use to encrypt the logs delivered + by CloudTrail. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 + s3BucketName: + description: Name of the S3 bucket designated for publishing log + files. + type: string + s3BucketNameRef: + description: Reference to a Bucket in s3 to populate s3BucketName. + 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 + s3BucketNameSelector: + description: Selector for a Bucket in s3 to populate s3BucketName. + 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 s3KeyPrefix: description: S3 key prefix that follows the name of the bucket you have designated for log file delivery. diff --git a/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml b/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml index b99194debd..870be33ea0 100644 --- a/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml @@ -333,6 +333,90 @@ spec: type: number type: object type: array + alarmActions: + description: The set of actions to execute when this alarm transitions + to the ALARM state from any other state. Each action is specified + as an ARN. Up to 5 actions are allowed. + items: + type: string + type: array + x-kubernetes-list-type: set + alarmActionsRefs: + description: References to Topic in sns to populate alarmActions. + items: + description: A Reference to a named object. + 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 + type: array + alarmActionsSelector: + description: Selector for a list of Topic in sns to populate alarmActions. + 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 alarmDescription: description: The description for the composite alarm. type: string @@ -350,6 +434,90 @@ spec: type: string type: array x-kubernetes-list-type: set + okActions: + description: The set of actions to execute when this alarm transitions + to an OK state from any other state. Each action is specified + as an ARN. Up to 5 actions are allowed. + items: + type: string + type: array + x-kubernetes-list-type: set + okActionsRefs: + description: References to Topic in sns to populate okActions. + items: + description: A Reference to a named object. + 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 + type: array + okActionsSelector: + description: Selector for a list of Topic in sns to populate okActions. + 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 diff --git a/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml b/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml index f210416bea..531ffd20b0 100644 --- a/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml @@ -358,6 +358,85 @@ spec: type: string type: object type: array + firehoseArn: + description: ARN of the Amazon Kinesis Firehose delivery stream + to use for this metric stream. + type: string + firehoseArnRef: + description: Reference to a DeliveryStream in firehose to populate + firehoseArn. + 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 + firehoseArnSelector: + description: Selector for a DeliveryStream in firehose to populate + firehoseArn. + 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 includeFilter: description: List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric @@ -390,6 +469,85 @@ spec: json, opentelemetry0.7, and opentelemetry1.0. For more information about output formats, see Metric streams output formats. type: string + roleArn: + description: ARN of the IAM role that this metric stream will + use to access Amazon Kinesis Firehose resources. For more information + about role permissions, see Trust between CloudWatch and Kinesis + Data Firehose. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 statisticsConfiguration: description: For each entry in this array, you specify one or more metrics and the list of additional statistics to stream diff --git a/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml b/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml index b0b0a9b76e..61eb8f4f5c 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml @@ -183,6 +183,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + connectionArn: + description: ARN of the EventBridge Connection to use for the + API Destination. + type: string + connectionArnRef: + description: Reference to a Connection in cloudwatchevents to + populate connectionArn. + 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 + connectionArnSelector: + description: Selector for a Connection in cloudwatchevents to + populate connectionArn. + 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 description: description: The description of the new API Destination. Maximum of 512 characters. diff --git a/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml b/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml index 47f02a8bfc..e6031aa86e 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml @@ -185,6 +185,85 @@ spec: matched by this pattern. By default, it attempts to archive every event received in the event_source_arn. type: string + eventSourceArn: + description: Event bus source ARN from where these events should + be archived. + type: string + eventSourceArnRef: + description: Reference to a Bus in cloudwatchevents to populate + eventSourceArn. + 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 + eventSourceArnSelector: + description: Selector for a Bus in cloudwatchevents to populate + eventSourceArn. + 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 retentionDays: description: The maximum number of days to retain events in the new event archive. By default, it archives indefinitely. diff --git a/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml b/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml index a20199f7c1..5dc36388d6 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml @@ -169,6 +169,86 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + eventBusName: + description: The name of the event bus to set the permissions + on. If you omit this, the permissions are set on the default + event bus. + type: string + eventBusNameRef: + description: Reference to a Bus in cloudwatchevents to populate + eventBusName. + 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 + eventBusNameSelector: + description: Selector for a Bus in cloudwatchevents to populate + eventBusName. + 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 policy: description: The text of the policy. type: string diff --git a/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml b/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml index 5b29792c34..0947539d9a 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml @@ -290,8 +290,167 @@ spec: type: description: 'Type of condition. Value values: StringEquals.' type: string + value: + description: Value for the key. + type: string + valueRef: + description: Reference to a Organization in organizations + to populate value. + 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 + valueSelector: + description: Selector for a Organization in organizations + to populate value. + 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 type: object type: array + eventBusName: + description: The name of the event bus to set the permissions + on. If you omit this, the permissions are set on the default + event bus. + type: string + eventBusNameRef: + description: Reference to a Bus to populate eventBusName. + 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 + eventBusNameSelector: + description: Selector for a Bus to populate eventBusName. + 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 principal: description: The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify * to permit diff --git a/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml b/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml index ae650e8a2d..e538c5f981 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml @@ -279,6 +279,83 @@ spec: description: description: The description of the rule. type: string + eventBusName: + description: The name or ARN of the event bus to associate with + this rule. If you omit this, the default event bus is used. + type: string + eventBusNameRef: + description: Reference to a Bus to populate eventBusName. + 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 + eventBusNameSelector: + description: Selector for a Bus to populate eventBusName. + 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 eventPattern: description: 'The event pattern described a JSON object. At least one of schedule_expression or event_pattern is required. See @@ -291,6 +368,83 @@ spec: description: Whether the rule should be enabled. Defaults to true. Conflicts with state. type: boolean + roleArn: + description: The Amazon Resource Name (ARN) associated with the + role that is used for target invocation. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 scheduleExpression: description: The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes). At least one of schedule_expression diff --git a/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml b/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml index 5921db0682..b30b0a3b76 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml @@ -952,8 +952,167 @@ spec: description: The number of tasks to create based on the TaskDefinition. Defaults to 1. type: number + taskDefinitionArn: + description: The ARN of the task definition to use if the + event target is an Amazon ECS cluster. + type: string + taskDefinitionArnRef: + description: Reference to a TaskDefinition in ecs to populate + taskDefinitionArn. + 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 + taskDefinitionArnSelector: + description: Selector for a TaskDefinition in ecs to populate + taskDefinitionArn. + 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 type: object type: array + eventBusName: + description: The name or ARN of the event bus to associate with + the rule. If you omit this, the default event bus is used. + type: string + eventBusNameRef: + description: Reference to a Bus to populate eventBusName. + 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 + eventBusNameSelector: + description: Selector for a Bus to populate eventBusName. + 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 httpTarget: description: Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of @@ -1068,6 +1227,164 @@ spec: type: number type: object type: array + roleArn: + description: The Amazon Resource Name (ARN) of the IAM role to + be used for this target when the rule is triggered. Required + if ecs_target is used or target in arn is EC2 instance, Kinesis + data stream, Step Functions state machine, or Event Bus in different + account or region. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 + rule: + description: The name of the rule you want to add targets to. + type: string + ruleRef: + description: Reference to a Rule in cloudwatchevents to populate + rule. + 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 + ruleSelector: + description: Selector for a Rule in cloudwatchevents to populate + rule. + 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 runCommandTargets: description: Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml index fdfc3b20f0..c7b82080ff 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml @@ -246,12 +246,166 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + roleArn: + description: The ARN of an IAM role that grants Amazon CloudWatch + Logs permissions to put data into the target. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 x-kubernetes-map-type: granular + targetArn: + description: The ARN of the target Amazon Kinesis stream resource + for the destination. + type: string + targetArnRef: + description: Reference to a Stream in kinesis to populate targetArn. + 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 + targetArnSelector: + description: Selector for a Stream in kinesis to populate targetArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml index e22564ebf5..6f624d85fc 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml @@ -187,6 +187,87 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + kmsKeyId: + description: The ARN of the KMS Key to use when encrypting log + data. Please note, after the AWS KMS CMK is disassociated from + the log group, AWS CloudWatch Logs stops encrypting newly ingested + data for the log group. All previously ingested data remains + encrypted, and AWS CloudWatch Logs requires permissions for + the CMK whenever the encrypted data is requested. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 logGroupClass: description: 'Specified the log class of the log group. Possible values are: STANDARD or INFREQUENT_ACCESS.' diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml index 340a27761c..7aeaba3045 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml @@ -208,6 +208,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + logGroupName: + description: The name of the log group to associate the metric + filter with. + type: string + logGroupNameRef: + description: Reference to a Group in cloudwatchlogs to populate + logGroupName. + 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 + logGroupNameSelector: + description: Selector for a Group in cloudwatchlogs to populate + logGroupName. + 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 metricTransformation: description: A block defining collection of information needed to define how metric data gets emitted. See below. diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml index ed3eb08ae7..6b2aed6fd8 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml @@ -169,6 +169,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + logGroupName: + description: The name of the log group under which the log stream + is to be created. + type: string + logGroupNameRef: + description: Reference to a Group in cloudwatchlogs to populate + logGroupName. + 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 + logGroupNameSelector: + description: Selector for a Group in cloudwatchlogs to populate + logGroupName. + 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 name: description: 'The name of the log stream. Must not be longer than 512 characters and must not contain :' diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml index 96886fa12f..87c7b0d752 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml @@ -263,6 +263,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + destinationArn: + description: The ARN of the destination to deliver matching log + events to. Kinesis stream or Lambda function ARN. + type: string + destinationArnRef: + description: Reference to a Stream in kinesis to populate destinationArn. + 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 + destinationArnSelector: + description: Selector for a Stream in kinesis to populate destinationArn. + 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 distribution: description: The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping @@ -283,6 +360,86 @@ spec: name: description: A name for the subscription filter type: string + roleArn: + description: The ARN of an IAM role that grants Amazon CloudWatch + Logs permissions to deliver ingested log events to the destination. + If you use Lambda as a destination, you should skip this argument + and use aws_lambda_permission resource for granting access from + CloudWatch logs to the destination Lambda function. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/codecommit.aws.upbound.io_triggers.yaml b/package/crds/codecommit.aws.upbound.io_triggers.yaml index c91f5d65fa..459530b794 100644 --- a/package/crds/codecommit.aws.upbound.io_triggers.yaml +++ b/package/crds/codecommit.aws.upbound.io_triggers.yaml @@ -277,6 +277,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + repositoryName: + description: The name for the repository. This needs to be less + than 100 characters. + type: string + repositoryNameRef: + description: Reference to a Repository in codecommit to populate + repositoryName. + 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 + repositoryNameSelector: + description: Selector for a Repository in codecommit to populate + repositoryName. + 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 trigger: description: The name of the trigger. items: @@ -293,6 +372,87 @@ spec: that will be included in the information sent to the target of the trigger. type: string + destinationArn: + description: The ARN of the resource that is the target + for a trigger. For example, the ARN of a topic in Amazon + Simple Notification Service (SNS). + type: string + destinationArnRef: + description: Reference to a Topic in sns to populate destinationArn. + 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 + destinationArnSelector: + description: Selector for a Topic in sns to populate destinationArn. + 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 events: description: 'The repository events that will cause the trigger to run actions in another service, such as sending diff --git a/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml b/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml index 0110db1fd6..320b8ac5a2 100644 --- a/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml +++ b/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml @@ -382,12 +382,170 @@ spec: type: string type: object type: array + location: + description: The location where AWS CodePipeline stores + artifacts for a pipeline; currently only S3 is supported. + type: string + locationRef: + description: Reference to a Bucket in s3 to populate location. + 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 + locationSelector: + description: Selector for a Bucket in s3 to populate location. + 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 type: description: The type of the artifact store, such as Amazon S3 type: string type: object type: array + roleArn: + description: A service role Amazon Resource Name (ARN) that grants + AWS CodePipeline permission to make calls to AWS services on + your behalf. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 stage: description: (Minimum of at least two stage blocks is required) A stage block. Stages are documented below. diff --git a/package/crds/codepipeline.aws.upbound.io_webhooks.yaml b/package/crds/codepipeline.aws.upbound.io_webhooks.yaml index fbfad63347..a4b10bec83 100644 --- a/package/crds/codepipeline.aws.upbound.io_webhooks.yaml +++ b/package/crds/codepipeline.aws.upbound.io_webhooks.yaml @@ -263,6 +263,84 @@ spec: connect to the webhook. The action must be from the source (first) stage of the pipeline. type: string + targetPipeline: + description: The name of the pipeline. + type: string + targetPipelineRef: + description: Reference to a Codepipeline in codepipeline to populate + targetPipeline. + 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 + targetPipelineSelector: + description: Selector for a Codepipeline in codepipeline to populate + targetPipeline. + 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 type: object managementPolicies: default: diff --git a/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml b/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml index d9b5960c3c..eef8acc5ac 100644 --- a/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml +++ b/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml @@ -295,6 +295,85 @@ spec: name: description: The name of notification rule. type: string + resource: + description: The ARN of the resource to associate with the notification + rule. + type: string + resourceRef: + description: Reference to a Repository in codecommit to populate + resource. + 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 + resourceSelector: + description: Selector for a Repository in codecommit to populate + resource. + 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 status: description: The status of the notification rule. Possible values are ENABLED and DISABLED, default is ENABLED. @@ -311,6 +390,86 @@ spec: must be specified on creation. items: properties: + address: + description: The ARN of notification rule target. For example, + a SNS Topic ARN. + type: string + addressRef: + description: Reference to a Topic in sns to populate address. + 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 + addressSelector: + description: Selector for a Topic in sns to populate address. + 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 type: description: The type of the notification target. Default value is SNS. diff --git a/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml b/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml index 6da95d0b9a..6882307591 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml @@ -254,6 +254,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + identityPoolId: + description: An identity pool ID. + type: string + identityPoolIdRef: + description: Reference to a Pool in cognitoidentity to populate + identityPoolId. + 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 + identityPoolIdSelector: + description: Selector for a Pool in cognitoidentity to populate + identityPoolId. + 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 + identityProviderName: + description: The name of the identity provider. + type: string + identityProviderNameRef: + description: Reference to a UserPool in cognitoidp to populate + identityProviderName. + 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 + identityProviderNameSelector: + description: Selector for a UserPool in cognitoidp to populate + identityProviderName. + 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 principalTags: additionalProperties: type: string diff --git a/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml b/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml index a26abe7425..88ff044d49 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml @@ -299,6 +299,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + identityPoolId: + description: An identity pool ID in the format REGION_GUID. + type: string + identityPoolIdRef: + description: Reference to a Pool in cognitoidentity to populate + identityPoolId. + 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 + identityPoolIdSelector: + description: Selector for a Pool in cognitoidentity to populate + identityPoolId. + 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 roleMapping: description: A List of Role Mapping. items: @@ -332,6 +410,89 @@ spec: closely the claim value in the IdP token must match Value. type: string + roleArn: + description: The role ARN. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 value: description: A brief string that the claim must match, for example, "paid" or "yes". diff --git a/package/crds/cognitoidentity.aws.upbound.io_pools.yaml b/package/crds/cognitoidentity.aws.upbound.io_pools.yaml index f3e4574b2b..f98b16b122 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_pools.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_pools.yaml @@ -314,6 +314,88 @@ spec: their client IDs. items: properties: + clientId: + description: The client ID for the Amazon Cognito Identity + User Pool. + type: string + clientIdRef: + description: Reference to a UserPoolClient in cognitoidp + to populate clientId. + 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 + clientIdSelector: + description: Selector for a UserPoolClient in cognitoidp + to populate clientId. + 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 providerName: description: The provider name for an Amazon Cognito Identity User Pool. @@ -338,6 +420,89 @@ spec: type: string type: array x-kubernetes-list-type: set + samlProviderArns: + description: An array of Amazon Resource Names (ARNs) of the SAML + provider for your identity. + items: + type: string + type: array + samlProviderArnsRefs: + description: References to SAMLProvider in iam to populate samlProviderArns. + items: + description: A Reference to a named object. + 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 + type: array + samlProviderArnsSelector: + description: Selector for a list of SAMLProvider in iam to populate + samlProviderArns. + 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 supportedLoginProviders: additionalProperties: type: string diff --git a/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml b/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml index e4995cf6ea..c9e7b42619 100644 --- a/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml @@ -210,6 +210,82 @@ spec: providerType: description: The provider type. See AWS API for valid values type: string + userPoolId: + description: The user pool id + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml b/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml index fcbadf5487..ce1a0fdd4b 100644 --- a/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml @@ -197,6 +197,81 @@ spec: type: string type: object type: array + userPoolId: + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml b/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml index e7716c565c..680c4e91fd 100644 --- a/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml @@ -546,6 +546,84 @@ spec: x-kubernetes-list-type: set type: object type: array + userPoolId: + description: The user pool ID. + type: string + userPoolIdRef: + description: Reference to a UserPool in cognitoidp to populate + userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool in cognitoidp to populate + userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml b/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml index 510339c76d..85cce52b5c 100644 --- a/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml @@ -257,6 +257,159 @@ spec: precedence: description: The precedence of the user group. type: number + roleArn: + description: The ARN of the IAM role to be associated with the + user group. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 + userPoolId: + description: The user pool ID. + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml b/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml index 466c604a07..293b68eccc 100644 --- a/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml @@ -318,6 +318,240 @@ spec: 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: + groupName: + description: The name of the group to which the user is to be + added. + type: string + groupNameRef: + description: Reference to a UserGroup in cognitoidp to populate + groupName. + 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 + groupNameSelector: + description: Selector for a UserGroup in cognitoidp to populate + groupName. + 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 + userPoolId: + description: The user pool ID of the user and group. + type: string + userPoolIdRef: + description: Reference to a UserPool in cognitoidp to populate + userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool in cognitoidp to populate + userPoolId. + 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 + username: + description: The username of the user to be added to the group. + type: string + usernameRef: + description: Reference to a User in cognitoidp to populate username. + 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 + usernameSelector: + description: Selector for a User in cognitoidp to populate username. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml b/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml index 49540c5d60..8164914090 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml @@ -510,10 +510,172 @@ spec: description: Application ARN for an Amazon Pinpoint application. Conflicts with external_id and role_arn. type: string + applicationId: + description: Application ID for an Amazon Pinpoint application. + type: string + applicationIdRef: + description: Reference to a App in pinpoint to populate + applicationId. + 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 + applicationIdSelector: + description: Selector for a App in pinpoint to populate + applicationId. + 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 externalId: description: ID for the Analytics Configuration. Conflicts with application_arn. type: string + roleArn: + description: ARN of an IAM role that authorizes Amazon Cognito + to publish events to Amazon Pinpoint analytics. Conflicts + with application_arn. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 userDataShared: description: If set to true, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint @@ -625,6 +787,82 @@ spec: type: string type: object type: array + userPoolId: + description: User pool the client belongs to. + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 writeAttributes: description: List of user pool attributes the application client can write to. diff --git a/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml b/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml index bfc81732c1..118c4e381f 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml @@ -244,11 +244,164 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + certificateArn: + description: The ARN of an ISSUED ACM certificate in us-east-1 + for a custom domain. + type: string + certificateArnRef: + description: Reference to a Certificate in acm to populate certificateArn. + 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 + certificateArnSelector: + description: Selector for a Certificate in acm to populate certificateArn. + 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 domain: description: For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. type: string + userPoolId: + description: The user pool ID. + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/cognitoidp.aws.upbound.io_userpools.yaml b/package/crds/cognitoidp.aws.upbound.io_userpools.yaml index 213ea06e18..0f651e3fa5 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpools.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpools.yaml @@ -1778,32 +1778,1096 @@ spec: with the user pool. Detailed below. items: properties: + createAuthChallenge: + description: ARN of the lambda creating an authentication + challenge. + type: string + createAuthChallengeRef: + description: Reference to a Function in lambda to populate + createAuthChallenge. + 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 + createAuthChallengeSelector: + description: Selector for a Function in lambda to populate + createAuthChallenge. + 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 customEmailSender: description: A custom email sender AWS Lambda trigger. See custom_email_sender Below. items: properties: + lambdaArn: + description: The Lambda Amazon Resource Name of the + Lambda function that Amazon Cognito triggers to + send email notifications to users. + type: string + lambdaArnRef: + description: Reference to a Function in lambda to + populate lambdaArn. + 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 + lambdaArnSelector: + description: Selector for a Function in lambda to + populate lambdaArn. + 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 lambdaVersion: description: The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0. type: string - type: object - type: array - customSmsSender: - description: A custom SMS sender AWS Lambda trigger. See - custom_sms_sender Below. - items: - properties: - lambdaVersion: - description: The Lambda version represents the signature - of the "request" attribute in the "event" information - Amazon Cognito passes to your custom SMS Lambda - function. The only supported value is V1_0. + type: object + type: array + customMessage: + description: Custom Message AWS Lambda trigger. + type: string + customMessageRef: + description: Reference to a Function in lambda to populate + customMessage. + 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 + customMessageSelector: + description: Selector for a Function in lambda to populate + customMessage. + 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 + customSmsSender: + description: A custom SMS sender AWS Lambda trigger. See + custom_sms_sender Below. + items: + properties: + lambdaArn: + description: The Lambda Amazon Resource Name of the + Lambda function that Amazon Cognito triggers to + send SMS notifications to users. + type: string + lambdaArnRef: + description: Reference to a Function in lambda to + populate lambdaArn. + 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 + lambdaArnSelector: + description: Selector for a Function in lambda to + populate lambdaArn. + 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 + lambdaVersion: + description: The Lambda version represents the signature + of the "request" attribute in the "event" information + Amazon Cognito passes to your custom SMS Lambda + function. The only supported value is V1_0. + type: string + type: object + type: array + defineAuthChallenge: + description: Defines the authentication challenge. + type: string + defineAuthChallengeRef: + description: Reference to a Function in lambda to populate + defineAuthChallenge. + 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 + defineAuthChallengeSelector: + description: Selector for a Function in lambda to populate + defineAuthChallenge. + 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 + kmsKeyId: + description: The Amazon Resource Name of Key Management + Service Customer master keys. Amazon Cognito uses the + key to encrypt codes and temporary passwords sent to CustomEmailSender + and CustomSMSSender. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 + postAuthentication: + description: Post-authentication AWS Lambda trigger. + type: string + postAuthenticationRef: + description: Reference to a Function in lambda to populate + postAuthentication. + 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 + postAuthenticationSelector: + description: Selector for a Function in lambda to populate + postAuthentication. + 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 + postConfirmation: + description: Post-confirmation AWS Lambda trigger. + type: string + postConfirmationRef: + description: Reference to a Function in lambda to populate + postConfirmation. + 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 + postConfirmationSelector: + description: Selector for a Function in lambda to populate + postConfirmation. + 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 + preAuthentication: + description: Pre-authentication AWS Lambda trigger. + type: string + preAuthenticationRef: + description: Reference to a Function in lambda to populate + preAuthentication. + 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 + preAuthenticationSelector: + description: Selector for a Function in lambda to populate + preAuthentication. + 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 + preSignUp: + description: Pre-registration AWS Lambda trigger. + type: string + preSignUpRef: + description: Reference to a Function in lambda to populate + preSignUp. + 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 + preSignUpSelector: + description: Selector for a Function in lambda to populate + preSignUp. + 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 + preTokenGeneration: + description: Allow to customize identity token claims before + token generation. + type: string + preTokenGenerationRef: + description: Reference to a Function in lambda to populate + preTokenGeneration. + 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 + preTokenGenerationSelector: + description: Selector for a Function in lambda to populate + preTokenGeneration. + 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 + userMigration: + description: User migration Lambda config type. + type: string + userMigrationRef: + description: Reference to a Function in lambda to populate + userMigration. + 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 + userMigrationSelector: + description: Selector for a Function in lambda to populate + userMigration. + 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 + verifyAuthChallengeResponse: + description: Verifies the authentication challenge response. + type: string + verifyAuthChallengeResponseRef: + description: Reference to a Function in lambda to populate + verifyAuthChallengeResponse. + 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 + verifyAuthChallengeResponseSelector: + description: Selector for a Function in lambda to populate + verifyAuthChallengeResponse. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with + the same controller reference as the selecting object + is selected. + type: boolean + matchLabels: + additionalProperties: type: string - type: object - type: array + 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 type: object type: array mfaConfiguration: @@ -1933,6 +2997,86 @@ spec: to Use an External ID When Granting Access to Your AWS Resources to a Third Party. type: string + snsCallerArn: + description: ARN of the Amazon SNS caller. This is usually + the IAM role that you've given Cognito permission to assume. + type: string + snsCallerArnRef: + description: Reference to a Role in iam to populate snsCallerArn. + 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 + snsCallerArnSelector: + description: Selector for a Role in iam to populate snsCallerArn. + 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 snsRegion: description: The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a diff --git a/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml b/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml index 77f7fc033d..4a8c69a08c 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml @@ -251,6 +251,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clientId: + description: The client ID for the client app. Defaults to ALL. + If ALL is specified, the css and/or image_file settings will + be used for every client that has no UI customization set previously. + type: string + clientIdRef: + description: Reference to a UserPoolClient to populate clientId. + 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 + clientIdSelector: + description: Selector for a UserPoolClient to populate clientId. + 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 css: description: The CSS values in the UI customization, provided as a String. At least one of css or image_file is required. @@ -261,6 +339,82 @@ spec: possible for this argument. At least one of css or image_file is required. type: string + userPoolId: + description: The user pool ID for the user pool. + type: string + userPoolIdRef: + description: Reference to a UserPool to populate userPoolId. + 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 + userPoolIdSelector: + description: Selector for a UserPool to populate userPoolId. + 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 type: object managementPolicies: default: diff --git a/package/crds/configservice.aws.upbound.io_configrules.yaml b/package/crds/configservice.aws.upbound.io_configrules.yaml index a41c363889..a4fe87fa4a 100644 --- a/package/crds/configservice.aws.upbound.io_configrules.yaml +++ b/package/crds/configservice.aws.upbound.io_configrules.yaml @@ -413,6 +413,91 @@ spec: type: string type: object type: array + sourceIdentifier: + description: For AWS Config managed rules, a predefined + identifier, e.g IAM_PASSWORD_POLICY. For custom Lambda + rules, the identifier is the ARN of the Lambda Function, + such as arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name + or the arn attribute of the aws_lambda_function resource. + type: string + sourceIdentifierRef: + description: Reference to a Function in lambda to populate + sourceIdentifier. + 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 + sourceIdentifierSelector: + description: Selector for a Function in lambda to populate + sourceIdentifier. + 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 type: object type: array tags: diff --git a/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml b/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml index d3e258f2e9..b52f993da3 100644 --- a/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml +++ b/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml @@ -247,6 +247,86 @@ spec: items: type: string type: array + roleArn: + description: ARN of the IAM role used to retrieve AWS Organization + details associated with the aggregator account. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object type: array tags: diff --git a/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml b/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml index 842539fa3e..21d21bdea7 100644 --- a/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml +++ b/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml @@ -277,6 +277,85 @@ spec: x-kubernetes-list-type: set type: object type: array + roleArn: + description: Amazon Resource Name (ARN) of the IAM role. Used + to make read or write requests to the delivery channel and to + describe the AWS resources associated with the account. See + AWS Docs for more details. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/configservice.aws.upbound.io_deliverychannels.yaml b/package/crds/configservice.aws.upbound.io_deliverychannels.yaml index f568f08e6f..0cdfbda4fd 100644 --- a/package/crds/configservice.aws.upbound.io_deliverychannels.yaml +++ b/package/crds/configservice.aws.upbound.io_deliverychannels.yaml @@ -187,6 +187,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + s3BucketName: + description: The name of the S3 bucket used to store the configuration + history. + type: string + s3BucketNameRef: + description: Reference to a Bucket in s3 to populate s3BucketName. + 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 + s3BucketNameSelector: + description: Selector for a Bucket in s3 to populate s3BucketName. + 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 s3KeyPrefix: description: The prefix for the specified S3 bucket. type: string diff --git a/package/crds/connect.aws.upbound.io_botassociations.yaml b/package/crds/connect.aws.upbound.io_botassociations.yaml index 97dfa7458a..0766a2b756 100644 --- a/package/crds/connect.aws.upbound.io_botassociations.yaml +++ b/package/crds/connect.aws.upbound.io_botassociations.yaml @@ -264,6 +264,87 @@ spec: description: The Region that the Amazon Lex (V1) bot was created in. Defaults to current region. type: string + name: + description: The name of the Amazon Lex (V1) bot. + type: string + nameRef: + description: Reference to a Bot in lexmodels to populate + name. + 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 + nameSelector: + description: Selector for a Bot in lexmodels to populate + name. + 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 type: object type: array type: object diff --git a/package/crds/connect.aws.upbound.io_contactflowmodules.yaml b/package/crds/connect.aws.upbound.io_contactflowmodules.yaml index 611365244a..5c58153613 100644 --- a/package/crds/connect.aws.upbound.io_contactflowmodules.yaml +++ b/package/crds/connect.aws.upbound.io_contactflowmodules.yaml @@ -212,6 +212,83 @@ spec: description: The path to the Contact Flow Module source within the local filesystem. Conflicts with content. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: Specifies the name of the Contact Flow Module. type: string diff --git a/package/crds/connect.aws.upbound.io_contactflows.yaml b/package/crds/connect.aws.upbound.io_contactflows.yaml index 48e4fcbaea..daa448398f 100644 --- a/package/crds/connect.aws.upbound.io_contactflows.yaml +++ b/package/crds/connect.aws.upbound.io_contactflows.yaml @@ -218,6 +218,83 @@ spec: description: The path to the Contact Flow source within the local filesystem. Conflicts with content. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: Specifies the name of the Contact Flow. type: string diff --git a/package/crds/connect.aws.upbound.io_hoursofoperations.yaml b/package/crds/connect.aws.upbound.io_hoursofoperations.yaml index b343deedb6..cb469bbaff 100644 --- a/package/crds/connect.aws.upbound.io_hoursofoperations.yaml +++ b/package/crds/connect.aws.upbound.io_hoursofoperations.yaml @@ -259,6 +259,83 @@ spec: description: description: Specifies the description of the Hours of Operation. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: Specifies the name of the Hours of Operation. type: string diff --git a/package/crds/connect.aws.upbound.io_instances.yaml b/package/crds/connect.aws.upbound.io_instances.yaml index 46377c7511..3a3869917f 100644 --- a/package/crds/connect.aws.upbound.io_instances.yaml +++ b/package/crds/connect.aws.upbound.io_instances.yaml @@ -210,6 +210,83 @@ spec: description: Specifies whether contact lens is enabled. Defaults to true. type: boolean + directoryId: + description: The identifier for the directory if identity_management_type + is EXISTING_DIRECTORY. + type: string + directoryIdRef: + description: Reference to a Directory in ds to populate directoryId. + 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 + directoryIdSelector: + description: Selector for a Directory in ds to populate directoryId. + 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 earlyMediaEnabled: description: Specifies whether early media for outbound calls is enabled . Defaults to true if outbound calls is enabled. diff --git a/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml b/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml index e580586300..992b14f6a1 100644 --- a/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml +++ b/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml @@ -677,6 +677,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 resourceType: description: 'A valid resource type. Valid Values: AGENT_EVENTS | ATTACHMENTS | CALL_RECORDINGS | CHAT_TRANSCRIPTS | CONTACT_EVALUATIONS @@ -692,12 +769,182 @@ spec: description: A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below. items: + properties: + firehoseArn: + description: The Amazon Resource Name (ARN) of the + delivery stream. + type: string + firehoseArnRef: + description: Reference to a DeliveryStream in firehose + to populate firehoseArn. + 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 + firehoseArnSelector: + description: Selector for a DeliveryStream in firehose + to populate firehoseArn. + 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 type: object type: array kinesisStreamConfig: description: A block that specifies the configuration of the Kinesis data stream. Documented below. items: + properties: + streamArn: + description: The Amazon Resource Name (ARN) of the + data stream. + type: string + streamArnRef: + description: Reference to a Stream in kinesis to populate + streamArn. + 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 + streamArnSelector: + description: Selector for a Stream in kinesis to populate + streamArn. + 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 type: object type: array kinesisVideoStreamConfig: @@ -714,6 +961,95 @@ spec: description: 'The type of encryption. Valid Values: KMS.' type: string + keyId: + description: The full ARN of the encryption + key. Be sure to provide the full ARN of the + encryption key, not just the ID. + type: string + keyIdRef: + description: Reference to a Key in kms to populate + keyId. + 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 + keyIdSelector: + description: Selector for a Key in kms to populate + keyId. + 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 type: object type: array prefix: @@ -738,6 +1074,89 @@ spec: S3 Bucket. Documented below. items: properties: + bucketName: + description: The S3 bucket name. + type: string + bucketNameRef: + description: Reference to a Bucket in s3 to populate + bucketName. + 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 + bucketNameSelector: + description: Selector for a Bucket in s3 to populate + bucketName. + 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 bucketPrefix: description: The S3 bucket prefix. type: string @@ -750,6 +1169,95 @@ spec: description: 'The type of encryption. Valid Values: KMS.' type: string + keyId: + description: The full ARN of the encryption + key. Be sure to provide the full ARN of the + encryption key, not just the ID. + type: string + keyIdRef: + description: Reference to a Key in kms to populate + keyId. + 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 + keyIdSelector: + description: Selector for a Key in kms to populate + keyId. + 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 type: object type: array type: object diff --git a/package/crds/connect.aws.upbound.io_phonenumbers.yaml b/package/crds/connect.aws.upbound.io_phonenumbers.yaml index 4d91e9efeb..ffd3465520 100644 --- a/package/crds/connect.aws.upbound.io_phonenumbers.yaml +++ b/package/crds/connect.aws.upbound.io_phonenumbers.yaml @@ -205,6 +205,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + targetArn: + description: The Amazon Resource Name (ARN) for Amazon Connect + instances that phone numbers are claimed to. + type: string + targetArnRef: + description: Reference to a Instance in connect to populate targetArn. + 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 + targetArnSelector: + description: Selector for a Instance in connect to populate targetArn. + 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 type: description: 'The type of phone number. Valid Values: TOLL_FREE | DID.' diff --git a/package/crds/connect.aws.upbound.io_queues.yaml b/package/crds/connect.aws.upbound.io_queues.yaml index 8fe8fb1974..7e588918d1 100644 --- a/package/crds/connect.aws.upbound.io_queues.yaml +++ b/package/crds/connect.aws.upbound.io_queues.yaml @@ -290,6 +290,161 @@ spec: description: description: Specifies the description of the Queue. type: string + hoursOfOperationId: + description: Specifies the identifier of the Hours of Operation. + type: string + hoursOfOperationIdRef: + description: Reference to a HoursOfOperation in connect to populate + hoursOfOperationId. + 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 + hoursOfOperationIdSelector: + description: Selector for a HoursOfOperation in connect to populate + hoursOfOperationId. + 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 + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 maxContacts: description: Specifies the maximum number of contacts that can be in the queue before it is considered full. Minimum value diff --git a/package/crds/connect.aws.upbound.io_quickconnects.yaml b/package/crds/connect.aws.upbound.io_quickconnects.yaml index 23ef200f7e..ff7c6d216f 100644 --- a/package/crds/connect.aws.upbound.io_quickconnects.yaml +++ b/package/crds/connect.aws.upbound.io_quickconnects.yaml @@ -233,6 +233,83 @@ spec: description: description: Specifies the description of the Quick Connect. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: Specifies the name of the Quick Connect. type: string diff --git a/package/crds/connect.aws.upbound.io_routingprofiles.yaml b/package/crds/connect.aws.upbound.io_routingprofiles.yaml index 842ed9d421..e2abf80fe5 100644 --- a/package/crds/connect.aws.upbound.io_routingprofiles.yaml +++ b/package/crds/connect.aws.upbound.io_routingprofiles.yaml @@ -299,9 +299,163 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + defaultOutboundQueueId: + description: Specifies the default outbound queue for the Routing + Profile. + type: string + defaultOutboundQueueIdRef: + description: Reference to a Queue in connect to populate defaultOutboundQueueId. + 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 + defaultOutboundQueueIdSelector: + description: Selector for a Queue in connect to populate defaultOutboundQueueId. + 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 description: description: Specifies the description of the Routing Profile. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 mediaConcurrencies: description: One or more media_concurrencies blocks that specify the channels that agents can handle in the Contact Control Panel diff --git a/package/crds/connect.aws.upbound.io_securityprofiles.yaml b/package/crds/connect.aws.upbound.io_securityprofiles.yaml index e09632ba9a..7fb4985d10 100644 --- a/package/crds/connect.aws.upbound.io_securityprofiles.yaml +++ b/package/crds/connect.aws.upbound.io_securityprofiles.yaml @@ -185,6 +185,83 @@ spec: description: description: Specifies the description of the Security Profile. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: Specifies the name of the Security Profile. type: string diff --git a/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml b/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml index 67c4248c5b..8398eecd2f 100644 --- a/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml +++ b/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml @@ -287,6 +287,83 @@ spec: type: array type: object type: array + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/connect.aws.upbound.io_users.yaml b/package/crds/connect.aws.upbound.io_users.yaml index 7fc95932b8..a5acbc39b8 100644 --- a/package/crds/connect.aws.upbound.io_users.yaml +++ b/package/crds/connect.aws.upbound.io_users.yaml @@ -400,6 +400,83 @@ spec: type: string type: object type: array + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 name: description: The user name for the account. For instances not using SAML for identity management, the user name can include @@ -429,6 +506,84 @@ spec: type: string type: object type: array + routingProfileId: + description: The identifier of the routing profile for the user. + type: string + routingProfileIdRef: + description: Reference to a RoutingProfile in connect to populate + routingProfileId. + 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 + routingProfileIdSelector: + description: Selector for a RoutingProfile in connect to populate + routingProfileId. + 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 securityProfileIds: description: A list of identifiers for the security profiles for the user. Specify a minimum of 1 and maximum of 10 security diff --git a/package/crds/connect.aws.upbound.io_vocabularies.yaml b/package/crds/connect.aws.upbound.io_vocabularies.yaml index 906ae2a00f..f9df640856 100644 --- a/package/crds/connect.aws.upbound.io_vocabularies.yaml +++ b/package/crds/connect.aws.upbound.io_vocabularies.yaml @@ -197,6 +197,83 @@ spec: For more information, see Create a custom vocabulary using a table. Minimum length of 1. Maximum length of 60000. type: string + instanceId: + description: Specifies the identifier of the hosting Amazon Connect + Instance. + type: string + instanceIdRef: + description: Reference to a Instance in connect to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in connect to populate instanceId. + 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 languageCode: description: The language code of the vocabulary entries. For a list of languages and their corresponding language codes, diff --git a/package/crds/cur.aws.upbound.io_reportdefinitions.yaml b/package/crds/cur.aws.upbound.io_reportdefinitions.yaml index 0aadfba892..98438ed4a7 100644 --- a/package/crds/cur.aws.upbound.io_reportdefinitions.yaml +++ b/package/crds/cur.aws.upbound.io_reportdefinitions.yaml @@ -242,6 +242,83 @@ spec: to deliver the report in addition to the previous versions. Valid values are: CREATE_NEW_REPORT and OVERWRITE_REPORT.' type: string + s3Bucket: + description: Name of the existing S3 bucket to hold generated + reports. + type: string + s3BucketRef: + description: Reference to a Bucket in s3 to populate s3Bucket. + 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 + s3BucketSelector: + description: Selector for a Bucket in s3 to populate s3Bucket. + 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 s3Prefix: description: Report path prefix. Limited to 256 characters. type: string diff --git a/package/crds/dataexchange.aws.upbound.io_revisions.yaml b/package/crds/dataexchange.aws.upbound.io_revisions.yaml index f62670a812..cc2dee1823 100644 --- a/package/crds/dataexchange.aws.upbound.io_revisions.yaml +++ b/package/crds/dataexchange.aws.upbound.io_revisions.yaml @@ -176,6 +176,84 @@ spec: comment: description: An optional comment about the revision. type: string + dataSetId: + description: The dataset id. + type: string + dataSetIdRef: + description: Reference to a DataSet in dataexchange to populate + dataSetId. + 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 + dataSetIdSelector: + description: Selector for a DataSet in dataexchange to populate + dataSetId. + 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 diff --git a/package/crds/datasync.aws.upbound.io_locations3s.yaml b/package/crds/datasync.aws.upbound.io_locations3s.yaml index 5d30a5deb4..83a0c55dcf 100644 --- a/package/crds/datasync.aws.upbound.io_locations3s.yaml +++ b/package/crds/datasync.aws.upbound.io_locations3s.yaml @@ -277,10 +277,167 @@ spec: type: string type: array x-kubernetes-list-type: set + s3BucketArn: + description: Amazon Resource Name (ARN) of the S3 Bucket. + type: string + s3BucketArnRef: + description: Reference to a Bucket in s3 to populate s3BucketArn. + 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 + s3BucketArnSelector: + description: Selector for a Bucket in s3 to populate s3BucketArn. + 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 s3Config: description: Configuration block containing information for connecting to S3. items: + properties: + bucketAccessRoleArn: + description: ARN of the IAM Role used to connect to the + S3 Bucket. + type: string + bucketAccessRoleArnRef: + description: Reference to a Role in iam to populate bucketAccessRoleArn. + 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 + bucketAccessRoleArnSelector: + description: Selector for a Role in iam to populate bucketAccessRoleArn. + 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 type: object type: array s3StorageClass: diff --git a/package/crds/datasync.aws.upbound.io_tasks.yaml b/package/crds/datasync.aws.upbound.io_tasks.yaml index a549e3c114..5dc746fdf9 100644 --- a/package/crds/datasync.aws.upbound.io_tasks.yaml +++ b/package/crds/datasync.aws.upbound.io_tasks.yaml @@ -554,6 +554,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + cloudwatchLogGroupArn: + description: Amazon Resource Name (ARN) of the CloudWatch Log + Group that is used to monitor and log events in the sync task. + type: string + cloudwatchLogGroupArnRef: + description: Reference to a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 + cloudwatchLogGroupArnSelector: + description: Selector for a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 + destinationLocationArn: + description: Amazon Resource Name (ARN) of destination DataSync + Location. + type: string + destinationLocationArnRef: + description: Reference to a LocationS3 to populate destinationLocationArn. + 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 + destinationLocationArnSelector: + description: Selector for a LocationS3 to populate destinationLocationArn. + 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 excludes: description: Filter rules that determines which files to exclude from a task. @@ -705,6 +861,82 @@ spec: type: string type: object type: array + sourceLocationArn: + description: Amazon Resource Name (ARN) of source DataSync Location. + type: string + sourceLocationArnRef: + description: Reference to a LocationS3 to populate sourceLocationArn. + 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 + sourceLocationArnSelector: + description: Selector for a LocationS3 to populate sourceLocationArn. + 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 diff --git a/package/crds/dax.aws.upbound.io_clusters.yaml b/package/crds/dax.aws.upbound.io_clusters.yaml index 95534d0b08..8b0b4f5d4e 100644 --- a/package/crds/dax.aws.upbound.io_clusters.yaml +++ b/package/crds/dax.aws.upbound.io_clusters.yaml @@ -315,6 +315,84 @@ spec: description: description: – Description for the cluster type: string + iamRoleArn: + description: A valid Amazon Resource Name (ARN) that identifies + an IAM role. At runtime, DAX will assume this role and use the + role's permissions to access DynamoDB on your behalf + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 maintenanceWindow: description: 'ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: sun:05:00-sun:09:00' @@ -333,6 +411,90 @@ spec: replicationFactor: description: node cluster, without any read replicas type: number + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: – One or more VPC security groups associated with + the cluster + items: + type: string + type: array + x-kubernetes-list-type: set serverSideEncryption: description: Encrypt at rest options items: diff --git a/package/crds/dax.aws.upbound.io_subnetgroups.yaml b/package/crds/dax.aws.upbound.io_subnetgroups.yaml index a52295ebf1..d625a3bdc3 100644 --- a/package/crds/dax.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/dax.aws.upbound.io_subnetgroups.yaml @@ -175,6 +175,89 @@ spec: description: description: A description of the subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: – A list of VPC subnet IDs for the subnet group. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml b/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml index b44c78b696..c012b15d44 100644 --- a/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml +++ b/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml @@ -1142,6 +1142,165 @@ spec: description: Configuration block(s) of the ECS services for a deployment group (documented below). items: + properties: + clusterName: + description: The name of the ECS cluster. + type: string + clusterNameRef: + description: Reference to a Cluster in ecs to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster in ecs to populate clusterName. + 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 + serviceName: + description: The name of the ECS service. + type: string + serviceNameRef: + description: Reference to a Service in ecs to populate serviceName. + 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 + serviceNameSelector: + description: Selector for a Service in ecs to populate serviceName. + 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 type: object type: array loadBalancerInfo: @@ -1153,6 +1312,97 @@ spec: description: The Classic Elastic Load Balancer to use in a deployment. Conflicts with target_group_info and target_group_pair_info. items: + properties: + name: + description: The name of the target group that instances + in the original environment are deregistered from, + and instances in the replacement environment registered + with. For in-place deployments, the name of the + target group that instances are deregistered from, + so they are not serving traffic during a deployment, + and then re-registered with after the deployment + completes. + type: string + nameRef: + description: Reference to a ELB in elb to populate + name. + 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 + nameSelector: + description: Selector for a ELB in elb to populate + name. + 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 type: object type: array targetGroupInfo: @@ -1197,6 +1447,102 @@ spec: description: Configuration blocks for a target group within a target group pair (documented below). items: + properties: + name: + description: The name of the target group that + instances in the original environment are + deregistered from, and instances in the replacement + environment registered with. For in-place + deployments, the name of the target group + that instances are deregistered from, so they + are not serving traffic during a deployment, + and then re-registered with after the deployment + completes. + type: string + nameRef: + description: Reference to a LBTargetGroup in + elbv2 to populate name. + 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 + nameSelector: + description: Selector for a LBTargetGroup in + elbv2 to populate name. + 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 type: object type: array testTrafficRoute: @@ -1240,6 +1586,82 @@ spec: not receive the deployed application revision. Valid values are UPDATE and IGNORE. Defaults to UPDATE. type: string + serviceRoleArn: + description: The service role ARN that allows deployments. + type: string + serviceRoleArnRef: + description: Reference to a Role in iam to populate serviceRoleArn. + 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 + serviceRoleArnSelector: + description: Selector for a Role in iam to populate serviceRoleArn. + 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 @@ -1264,6 +1686,86 @@ spec: triggerName: description: The name of the notification trigger. type: string + triggerTargetArn: + description: The ARN of the SNS topic through which notifications + are sent. + type: string + triggerTargetArnRef: + description: Reference to a Topic in sns to populate triggerTargetArn. + 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 + triggerTargetArnSelector: + description: Selector for a Topic in sns to populate triggerTargetArn. + 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 type: object type: array type: object diff --git a/package/crds/detective.aws.upbound.io_invitationaccepters.yaml b/package/crds/detective.aws.upbound.io_invitationaccepters.yaml index c1a1858927..78d2dd136d 100644 --- a/package/crds/detective.aws.upbound.io_invitationaccepters.yaml +++ b/package/crds/detective.aws.upbound.io_invitationaccepters.yaml @@ -163,6 +163,84 @@ spec: 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: + graphArn: + description: ARN of the behavior graph that the member account + is accepting the invitation for. + type: string + graphArnRef: + description: Reference to a Graph in detective to populate graphArn. + 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 + graphArnSelector: + description: Selector for a Graph in detective to populate graphArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/detective.aws.upbound.io_members.yaml b/package/crds/detective.aws.upbound.io_members.yaml index 37877d4d36..88e057da37 100644 --- a/package/crds/detective.aws.upbound.io_members.yaml +++ b/package/crds/detective.aws.upbound.io_members.yaml @@ -192,6 +192,83 @@ spec: emailAddress: description: Email address for the account. type: string + graphArn: + description: ARN of the behavior graph to invite the member accounts + to contribute their data to. + type: string + graphArnRef: + description: Reference to a Graph in detective to populate graphArn. + 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 + graphArnSelector: + description: Selector for a Graph in detective to populate graphArn. + 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 message: description: A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it diff --git a/package/crds/devicefarm.aws.upbound.io_devicepools.yaml b/package/crds/devicefarm.aws.upbound.io_devicepools.yaml index 12fc7a4dc6..6f1171c3ba 100644 --- a/package/crds/devicefarm.aws.upbound.io_devicepools.yaml +++ b/package/crds/devicefarm.aws.upbound.io_devicepools.yaml @@ -212,6 +212,84 @@ spec: name: description: The name of the Device Pool type: string + projectArn: + description: The ARN of the project for the device pool. + type: string + projectArnRef: + description: Reference to a Project in devicefarm to populate + projectArn. + 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 + projectArnSelector: + description: Selector for a Project in devicefarm to populate + projectArn. + 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 rule: description: The device pool's rules. See Rule. items: diff --git a/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml b/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml index a4f54aa78b..a0b09b741e 100644 --- a/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml +++ b/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml @@ -234,6 +234,84 @@ spec: name: description: The name for the network profile. type: string + projectArn: + description: The ARN of the project for the network profile. + type: string + projectArnRef: + description: Reference to a Project in devicefarm to populate + projectArn. + 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 + projectArnSelector: + description: Selector for a Project in devicefarm to populate + projectArn. + 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 diff --git a/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml b/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml index 9ce9564db5..bcd78b625c 100644 --- a/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml +++ b/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml @@ -376,6 +376,262 @@ spec: description: The VPC security groups and subnets that are attached to a project. See VPC Config below. items: + properties: + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate + securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroupIds. + 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 + securityGroupIds: + description: A list of VPC security group IDs in your Amazon + VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of VPC subnet IDs in your Amazon VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + vpcId: + description: The ID of the Amazon VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array type: object diff --git a/package/crds/devicefarm.aws.upbound.io_uploads.yaml b/package/crds/devicefarm.aws.upbound.io_uploads.yaml index 5a8b91d06e..bc8ad530e3 100644 --- a/package/crds/devicefarm.aws.upbound.io_uploads.yaml +++ b/package/crds/devicefarm.aws.upbound.io_uploads.yaml @@ -188,6 +188,84 @@ spec: an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension. type: string + projectArn: + description: The ARN of the project for the upload. + type: string + projectArnRef: + description: Reference to a Project in devicefarm to populate + projectArn. + 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 + projectArnSelector: + description: Selector for a Project in devicefarm to populate + projectArn. + 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 type: description: The upload's upload type. See AWS Docs for valid list of values. diff --git a/package/crds/directconnect.aws.upbound.io_bgppeers.yaml b/package/crds/directconnect.aws.upbound.io_bgppeers.yaml index 04b38203a7..7f762e40a0 100644 --- a/package/crds/directconnect.aws.upbound.io_bgppeers.yaml +++ b/package/crds/directconnect.aws.upbound.io_bgppeers.yaml @@ -203,6 +203,85 @@ spec: should send traffic. Required for IPv4 BGP peers on public virtual interfaces. type: string + virtualInterfaceId: + description: The ID of the Direct Connect virtual interface on + which to create the BGP peer. + type: string + virtualInterfaceIdRef: + description: Reference to a PrivateVirtualInterface in directconnect + to populate virtualInterfaceId. + 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 + virtualInterfaceIdSelector: + description: Selector for a PrivateVirtualInterface in directconnect + to populate virtualInterfaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml b/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml index 138323ad8b..3132f5f216 100644 --- a/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml +++ b/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml @@ -239,6 +239,161 @@ spec: 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: + connectionId: + description: The ID of the connection. + type: string + connectionIdRef: + description: Reference to a Connection in directconnect to populate + connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection in directconnect to populate + connectionId. + 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 + lagId: + description: The ID of the LAG with which to associate the connection. + type: string + lagIdRef: + description: Reference to a Lag in directconnect to populate lagId. + 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 + lagIdSelector: + description: Selector for a Lag in directconnect to populate lagId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml b/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml index abfd1e704c..d6c3ed7358 100644 --- a/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml +++ b/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml @@ -337,6 +337,240 @@ spec: type: string type: array x-kubernetes-list-type: set + associatedGatewayId: + description: The ID of the VGW or transit gateway with which to + associate the Direct Connect gateway. + type: string + associatedGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate associatedGatewayId. + 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 + associatedGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate associatedGatewayId. + 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 + dxGatewayId: + description: Direct Connect Gateway identifier. + type: string + dxGatewayIdRef: + description: Reference to a Gateway in directconnect to populate + dxGatewayId. + 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 + dxGatewayIdSelector: + description: Selector for a Gateway in directconnect to populate + dxGatewayId. + 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 + dxGatewayOwnerAccountId: + description: AWS Account identifier of the Direct Connect Gateway's + owner. + type: string + dxGatewayOwnerAccountIdRef: + description: Reference to a Gateway in directconnect to populate + dxGatewayOwnerAccountId. + 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 + dxGatewayOwnerAccountIdSelector: + description: Selector for a Gateway in directconnect to populate + dxGatewayOwnerAccountId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml b/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml index 29e18b3f83..190d0110cf 100644 --- a/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml +++ b/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml @@ -271,11 +271,167 @@ spec: type: string type: array x-kubernetes-list-type: set + associatedGatewayId: + description: The ID of the VGW or transit gateway with which to + associate the Direct Connect gateway. Used for single account + Direct Connect gateway associations. + type: string + associatedGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate associatedGatewayId. + 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 + associatedGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate associatedGatewayId. + 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 associatedGatewayOwnerAccountId: description: The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations. type: string + dxGatewayId: + description: The ID of the Direct Connect gateway. + type: string + dxGatewayIdRef: + description: Reference to a Gateway in directconnect to populate + dxGatewayId. + 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 + dxGatewayIdSelector: + description: Selector for a Gateway in directconnect to populate + dxGatewayId. + 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 proposalId: description: The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations. diff --git a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml index 923c4c08b6..d51d384cc7 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml @@ -264,6 +264,162 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + virtualInterfaceId: + description: The ID of the Direct Connect virtual interface to + accept. + type: string + virtualInterfaceIdRef: + description: Reference to a HostedPrivateVirtualInterface to populate + virtualInterfaceId. + 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 + virtualInterfaceIdSelector: + description: Selector for a HostedPrivateVirtualInterface to populate + virtualInterfaceId. + 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 + vpnGatewayId: + description: The ID of the virtual private gateway to which to + connect the virtual interface. + type: string + vpnGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate vpnGatewayId. + 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 + vpnGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate vpnGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml index b8ac341e64..b5a847cef9 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml @@ -211,6 +211,83 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection to populate connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection to populate connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. diff --git a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml index 51329e91fe..69d1a7a3fd 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml @@ -179,6 +179,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + virtualInterfaceId: + description: The ID of the Direct Connect virtual interface to + accept. + type: string + virtualInterfaceIdRef: + description: Reference to a HostedPublicVirtualInterface to populate + virtualInterfaceId. + 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 + virtualInterfaceIdSelector: + description: Selector for a HostedPublicVirtualInterface to populate + virtualInterfaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml index df79237d2c..6b2ffbb732 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml @@ -212,6 +212,83 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection to populate connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection to populate connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. diff --git a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml index e857b9d061..8c2bb88cda 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml @@ -252,12 +252,170 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dxGatewayId: + description: The ID of the Direct Connect gateway to which to + connect the virtual interface. + type: string + dxGatewayIdRef: + description: Reference to a Gateway in directconnect to populate + dxGatewayId. + 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 + dxGatewayIdSelector: + description: Selector for a Gateway in directconnect to populate + dxGatewayId. + 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 x-kubernetes-map-type: granular + virtualInterfaceId: + description: The ID of the Direct Connect virtual interface to + accept. + type: string + virtualInterfaceIdRef: + description: Reference to a HostedTransitVirtualInterface to populate + virtualInterfaceId. + 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 + virtualInterfaceIdSelector: + description: Selector for a HostedTransitVirtualInterface to populate + virtualInterfaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml index e6ba434fb4..0fb6d585ce 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml @@ -211,6 +211,83 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection to populate connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection to populate connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. diff --git a/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml index 74cda6b9ef..45e9dd8763 100644 --- a/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml @@ -298,6 +298,83 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection to populate connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection to populate connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. @@ -327,6 +404,83 @@ spec: vlan: description: The VLAN ID. type: number + vpnGatewayId: + description: The ID of the virtual private gateway to which to + connect the virtual interface. + type: string + vpnGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate vpnGatewayId. + 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 + vpnGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate vpnGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml index 79d37eb79f..28b0e3485d 100644 --- a/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml @@ -214,6 +214,83 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection to populate connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection to populate connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. diff --git a/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml index fd5d1e3b6b..5583fece4b 100644 --- a/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml @@ -298,10 +298,168 @@ spec: bgpAuthKey: description: The authentication key for BGP configuration. type: string + connectionId: + description: The ID of the Direct Connect connection (or LAG) + on which to create the virtual interface. + type: string + connectionIdRef: + description: Reference to a Connection in directconnect to populate + connectionId. + 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 + connectionIdSelector: + description: Selector for a Connection in directconnect to populate + connectionId. + 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 customerAddress: description: The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. type: string + dxGatewayId: + description: The ID of the Direct Connect gateway to which to + connect the virtual interface. + type: string + dxGatewayIdRef: + description: Reference to a Gateway in directconnect to populate + dxGatewayId. + 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 + dxGatewayIdSelector: + description: Selector for a Gateway in directconnect to populate + dxGatewayId. + 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 mtu: description: The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed diff --git a/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml b/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml index b48f2be067..1e0faf3c42 100644 --- a/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml +++ b/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml @@ -721,6 +721,83 @@ spec: description: description: A description for the DLM lifecycle policy. type: string + executionRoleArn: + description: The ARN of an IAM role that is able to be assumed + by the DLM service. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + 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 + executionRoleArnSelector: + description: Selector for a Role in iam to populate executionRoleArn. + 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 policyDetails: description: See the policy_details configuration block. Max of 1. @@ -959,6 +1036,96 @@ spec: Max of 3 per schedule. items: properties: + cmkArn: + description: The Amazon Resource Name (ARN) + of the AWS KMS key to use for EBS encryption. + If this parameter is not specified, the default + KMS key for the account is used. + type: string + cmkArnRef: + description: Reference to a Key in kms to populate + cmkArn. + 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 + cmkArnSelector: + description: Selector for a Key in kms to populate + cmkArn. + 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 copyTags: description: Copy all user-defined tags on a source volume to snapshots of the volume created diff --git a/package/crds/dms.aws.upbound.io_endpoints.yaml b/package/crds/dms.aws.upbound.io_endpoints.yaml index a33ed6b426..cd9d4ab3e0 100644 --- a/package/crds/dms.aws.upbound.io_endpoints.yaml +++ b/package/crds/dms.aws.upbound.io_endpoints.yaml @@ -1169,6 +1169,91 @@ spec: type: string type: object type: array + kmsKeyArn: + description: ARN for the KMS key that will be used to encrypt + the connection parameters. If you do not specify a value for + kms_key_arn, then AWS DMS will use your default encryption key. + AWS KMS creates the default encryption key for your AWS account. + Your AWS account has a different default encryption key for + each AWS region. To encrypt an S3 target with a KMS Key, use + the parameter s3_settings.server_side_encryption_kms_key_id. + When engine_name is redshift, kms_key_arn is the KMS Key for + the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id + encrypts the S3 intermediate storage. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 mongodbSettings: description: Configuration block for MongoDB settings. See below. items: @@ -1532,6 +1617,84 @@ spec: type: boolean type: object type: array + secretsManagerAccessRoleArn: + description: ARN of the IAM role that specifies AWS DMS as the + trusted entity and has the required permissions to access the + value in SecretsManagerSecret. + type: string + secretsManagerAccessRoleArnRef: + description: Reference to a Role in iam to populate secretsManagerAccessRoleArn. + 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 + secretsManagerAccessRoleArnSelector: + description: Selector for a Role in iam to populate secretsManagerAccessRoleArn. + 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 secretsManagerArn: description: Full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the endpoint connection details. Supported only @@ -1541,6 +1704,83 @@ spec: serverName: description: Host name of the server. type: string + serviceAccessRole: + description: ARN used by the service access IAM role for dynamodb + endpoints. + type: string + serviceAccessRoleRef: + description: Reference to a Role in iam to populate serviceAccessRole. + 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 + serviceAccessRoleSelector: + description: Selector for a Role in iam to populate serviceAccessRole. + 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 sslMode: description: SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full diff --git a/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml b/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml index ebcb8298b6..efc40f317b 100644 --- a/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml @@ -198,6 +198,82 @@ spec: type: string type: array x-kubernetes-list-type: set + snsTopicArn: + description: SNS topic arn to send events on. + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 sourceIds: description: Ids of sources to listen to. items: diff --git a/package/crds/dms.aws.upbound.io_replicationinstances.yaml b/package/crds/dms.aws.upbound.io_replicationinstances.yaml index 7fd44c7b58..7c45b66623 100644 --- a/package/crds/dms.aws.upbound.io_replicationinstances.yaml +++ b/package/crds/dms.aws.upbound.io_replicationinstances.yaml @@ -410,6 +410,87 @@ spec: engineVersion: description: The engine version number of the replication instance. type: string + kmsKeyArn: + description: The Amazon Resource Name (ARN) for the KMS key that + will be used to encrypt the connection parameters. If you do + not specify a value for kms_key_arn, then AWS DMS will use your + default encryption key. AWS KMS creates the default encryption + key for your AWS account. Your AWS account has a different default + encryption key for each AWS region. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 multiAz: description: Specifies if the replication instance is a multi-az deployment. You cannot set the availability_zone parameter if @@ -435,12 +516,176 @@ spec: AWS DMS User Guide for available instance sizes and advice on which one to choose. type: string + replicationSubnetGroupId: + description: A subnet group to associate with the replication + instance. + type: string + replicationSubnetGroupIdRef: + description: Reference to a ReplicationSubnetGroup in dms to populate + replicationSubnetGroupId. + 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 + replicationSubnetGroupIdSelector: + description: Selector for a ReplicationSubnetGroup in dms to populate + replicationSubnetGroupId. + 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 x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: A list of VPC security group IDs to be used with + the replication instance. The VPC security groups must work + with the VPC containing the replication instance. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml b/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml index 29a4d0d32e..5bae363f33 100644 --- a/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml +++ b/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml @@ -182,6 +182,90 @@ spec: replicationSubnetGroupDescription: description: Description for the subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: List of at least 2 EC2 subnet IDs for the subnet + group. The subnets must cover at least 2 availability zones. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/dms.aws.upbound.io_replicationtasks.yaml b/package/crds/dms.aws.upbound.io_replicationtasks.yaml index 3cd0a0292b..c700f04386 100644 --- a/package/crds/dms.aws.upbound.io_replicationtasks.yaml +++ b/package/crds/dms.aws.upbound.io_replicationtasks.yaml @@ -367,11 +367,167 @@ spec: description: The migration type. Can be one of full-load | cdc | full-load-and-cdc. type: string + replicationInstanceArn: + description: The Amazon Resource Name (ARN) of the replication + instance. + type: string + replicationInstanceArnRef: + description: Reference to a ReplicationInstance in dms to populate + replicationInstanceArn. + 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 + replicationInstanceArnSelector: + description: Selector for a ReplicationInstance in dms to populate + replicationInstanceArn. + 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 replicationTaskSettings: description: An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks. type: string + sourceEndpointArn: + description: The Amazon Resource Name (ARN) string that uniquely + identifies the source endpoint. + type: string + sourceEndpointArnRef: + description: Reference to a Endpoint in dms to populate sourceEndpointArn. + 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 + sourceEndpointArnSelector: + description: Selector for a Endpoint in dms to populate sourceEndpointArn. + 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 startReplicationTask: description: Whether to run or stop the replication task. type: boolean @@ -387,6 +543,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + targetEndpointArn: + description: The Amazon Resource Name (ARN) string that uniquely + identifies the target endpoint. + type: string + targetEndpointArnRef: + description: Reference to a Endpoint in dms to populate targetEndpointArn. + 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 + targetEndpointArnSelector: + description: Selector for a Endpoint in dms to populate targetEndpointArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/dms.aws.upbound.io_s3endpoints.yaml b/package/crds/dms.aws.upbound.io_s3endpoints.yaml index 3bab5dc96a..1f4a334346 100644 --- a/package/crds/dms.aws.upbound.io_s3endpoints.yaml +++ b/package/crds/dms.aws.upbound.io_s3endpoints.yaml @@ -673,6 +673,87 @@ spec: to the .csv output files only to indicate how the rows were added to the source database. Default is false. type: boolean + kmsKeyArn: + description: ARN for the KMS key that will be used to encrypt + the connection parameters. If you do not specify a value for + kms_key_arn, then AWS DMS will use your default encryption key. + AWS KMS creates the default encryption key for your AWS account. + Your AWS account has a different default encryption key for + each AWS region. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 maxFileSize: description: Maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load. Valid values @@ -701,6 +782,160 @@ spec: rowGroupLength: description: Number of rows in a row group. (AWS default is 10000.) type: number + serverSideEncryptionKmsKeyId: + description: When encryption_mode is SSE_KMS, ARN for the AWS + KMS key. (Ignored for source endpoints -- only SSE_S3 encryption_mode + is valid.) + type: string + serverSideEncryptionKmsKeyIdRef: + description: Reference to a Key in kms to populate serverSideEncryptionKmsKeyId. + 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 + serverSideEncryptionKmsKeyIdSelector: + description: Selector for a Key in kms to populate serverSideEncryptionKmsKeyId. + 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 + serviceAccessRoleArn: + description: ARN of the IAM role with permissions to the S3 Bucket. + type: string + serviceAccessRoleArnRef: + description: Reference to a Role in iam to populate serviceAccessRoleArn. + 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 + serviceAccessRoleArnSelector: + description: Selector for a Role in iam to populate serviceAccessRoleArn. + 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 sslMode: description: SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full. (AWS default is none.) diff --git a/package/crds/docdb.aws.upbound.io_clusterinstances.yaml b/package/crds/docdb.aws.upbound.io_clusterinstances.yaml index da82f941b6..a2c8f7f48f 100644 --- a/package/crds/docdb.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/docdb.aws.upbound.io_clusterinstances.yaml @@ -237,6 +237,83 @@ spec: caCertIdentifier: description: The identifier of the CA certificate for the DB instance. type: string + clusterIdentifier: + description: The identifier of the aws_docdb_cluster in which + to launch this instance. + type: string + clusterIdentifierRef: + description: Reference to a Cluster to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster to populate clusterIdentifier. + 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 copyTagsToSnapshot: description: – Copy all DB instance tags to snapshots. Default is false. diff --git a/package/crds/docdb.aws.upbound.io_clusters.yaml b/package/crds/docdb.aws.upbound.io_clusters.yaml index 88677b08e5..d2d4047b0e 100644 --- a/package/crds/docdb.aws.upbound.io_clusters.yaml +++ b/package/crds/docdb.aws.upbound.io_clusters.yaml @@ -423,6 +423,83 @@ spec: globalClusterIdentifier: description: The global cluster identifier specified on aws_docdb_global_cluster. type: string + kmsKeyId: + description: The ARN for the KMS encryption key. When specifying + kms_key_id, storage_encrypted needs to be set to true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 masterUsername: description: Username for the master DB user. type: string @@ -468,6 +545,90 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: List of VPC security groups to associate with the + Cluster + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml b/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml index 44068c4898..5b2f8fa882 100644 --- a/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml @@ -162,6 +162,84 @@ spec: 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: + dbClusterIdentifier: + description: The DocumentDB Cluster Identifier from which to take + the snapshot. + type: string + dbClusterIdentifierRef: + description: Reference to a Cluster in docdb to populate dbClusterIdentifier. + 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 + dbClusterIdentifierSelector: + description: Selector for a Cluster in docdb to populate dbClusterIdentifier. + 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 type: object managementPolicies: default: diff --git a/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml b/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml index d2e7f34f61..070f9a3836 100644 --- a/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml @@ -208,6 +208,83 @@ spec: type: string type: array x-kubernetes-list-type: set + snsTopicArn: + description: The Amazon Resource Name of the DocumentDB event + notification subscription + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 sourceIds: description: A list of identifiers of the event sources for which events will be returned. If not specified, then all sources diff --git a/package/crds/docdb.aws.upbound.io_globalclusters.yaml b/package/crds/docdb.aws.upbound.io_globalclusters.yaml index a23c6043c1..d87db22b16 100644 --- a/package/crds/docdb.aws.upbound.io_globalclusters.yaml +++ b/package/crds/docdb.aws.upbound.io_globalclusters.yaml @@ -212,6 +212,83 @@ spec: globalClusterIdentifier: description: The global cluster identifier. type: string + sourceDbClusterIdentifier: + description: Amazon Resource Name (ARN) to use as the primary + DB Cluster of the Global Cluster on creation. + type: string + sourceDbClusterIdentifierRef: + description: Reference to a Cluster in docdb to populate sourceDbClusterIdentifier. + 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 + sourceDbClusterIdentifierSelector: + description: Selector for a Cluster in docdb to populate sourceDbClusterIdentifier. + 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 storageEncrypted: description: Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified diff --git a/package/crds/docdb.aws.upbound.io_subnetgroups.yaml b/package/crds/docdb.aws.upbound.io_subnetgroups.yaml index e58cf7aca0..46dadb7138 100644 --- a/package/crds/docdb.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/docdb.aws.upbound.io_subnetgroups.yaml @@ -181,6 +181,89 @@ spec: description: description: The description of the docDB subnet group. type: string + subnetIds: + description: A list of VPC subnet IDs. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdsRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdsSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 diff --git a/package/crds/ds.aws.upbound.io_directories.yaml b/package/crds/ds.aws.upbound.io_directories.yaml index 3f558d45e3..813a45b5ac 100644 --- a/package/crds/ds.aws.upbound.io_directories.yaml +++ b/package/crds/ds.aws.upbound.io_directories.yaml @@ -527,6 +527,174 @@ spec: description: The username corresponding to the password provided. type: string + subnetIds: + description: The identifiers of the subnets for the directory + servers (2 subnets in 2 different AZs). + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdsRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdsSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + vpcId: + description: The identifier of the VPC that the directory + is in. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array description: @@ -571,6 +739,175 @@ spec: description: VPC related information about the directory. Fields documented below. items: + properties: + subnetIds: + description: The identifiers of the subnets for the directory + servers (2 subnets in 2 different AZs). + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdsRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdsSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + vpcId: + description: The identifier of the VPC that the directory + is in. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array type: object diff --git a/package/crds/ds.aws.upbound.io_shareddirectories.yaml b/package/crds/ds.aws.upbound.io_shareddirectories.yaml index fe38459350..ba10df8232 100644 --- a/package/crds/ds.aws.upbound.io_shareddirectories.yaml +++ b/package/crds/ds.aws.upbound.io_shareddirectories.yaml @@ -201,6 +201,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + directoryId: + description: Identifier of the Managed Microsoft AD directory + that you want to share with other accounts. + type: string + directoryIdRef: + description: Reference to a Directory in ds to populate directoryId. + 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 + directoryIdSelector: + description: Selector for a Directory in ds to populate directoryId. + 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 method: description: Method used when sharing a directory. Valid values are ORGANIZATIONS and HANDSHAKE. Default is HANDSHAKE. diff --git a/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml b/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml index aada31bd95..100afb7bef 100644 --- a/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml +++ b/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml @@ -168,6 +168,82 @@ spec: indexName: description: The global secondary index name type: string + tableName: + description: The name of the table to enable contributor insights + type: string + tableNameRef: + description: Reference to a Table to populate tableName. + 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 + tableNameSelector: + description: Selector for a Table to populate tableName. + 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 type: object managementPolicies: default: diff --git a/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml b/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml index cd911ea0d0..bd2aee3287 100644 --- a/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml +++ b/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml @@ -240,6 +240,161 @@ spec: 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: + streamArn: + description: The ARN for a Kinesis data stream. This must exist + in the same account and region as the DynamoDB table. + type: string + streamArnRef: + description: Reference to a Stream in kinesis to populate streamArn. + 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 + streamArnSelector: + description: Selector for a Stream in kinesis to populate streamArn. + 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 + tableName: + description: The name of the DynamoDB table. There can only be + one Kinesis streaming destination for a given DynamoDB table. + type: string + tableNameRef: + description: Reference to a Table to populate tableName. + 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 + tableNameSelector: + description: Selector for a Table to populate tableName. + 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 type: object managementPolicies: default: diff --git a/package/crds/dynamodb.aws.upbound.io_tableitems.yaml b/package/crds/dynamodb.aws.upbound.io_tableitems.yaml index 4d0c730249..9e9e69491a 100644 --- a/package/crds/dynamodb.aws.upbound.io_tableitems.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tableitems.yaml @@ -190,6 +190,82 @@ spec: description: Range key to use for lookups and identification of the item. Required if there is range key defined in the table. type: string + tableName: + description: Name of the table to contain the item. + type: string + tableNameRef: + description: Reference to a Table to populate tableName. + 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 + tableNameSelector: + description: Selector for a Table to populate tableName. + 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 type: object managementPolicies: default: diff --git a/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml b/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml index dfa4e8f518..b75045893e 100644 --- a/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml @@ -258,6 +258,163 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + globalTableArn: + description: ARN of the main or global table which this resource + will replicate. + type: string + globalTableArnRef: + description: Reference to a Table in dynamodb to populate globalTableArn. + 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 + globalTableArnSelector: + description: Selector for a Table in dynamodb to populate globalTableArn. + 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 + kmsKeyArn: + description: 'ARN of the CMK that should be used for the AWS KMS + encryption. This argument should only be used if the key is + different from the default KMS-managed DynamoDB key, alias/aws/dynamodb. + Note: This attribute will not be populated with the ARN of default + keys.' + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 pointInTimeRecovery: description: Whether to enable Point In Time Recovery for the replica. Default is false. diff --git a/package/crds/ec2.aws.upbound.io_amicopies.yaml b/package/crds/ec2.aws.upbound.io_amicopies.yaml index 80caf4bb67..4091b2e1f6 100644 --- a/package/crds/ec2.aws.upbound.io_amicopies.yaml +++ b/package/crds/ec2.aws.upbound.io_amicopies.yaml @@ -299,9 +299,164 @@ spec: items: type: object type: array + kmsKeyId: + description: Full ARN of the KMS Key to use when encrypting the + snapshots of an image during a copy operation. If not specified, + then the default AWS KMS Key will be used + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 name: description: Region-unique name for the AMI. type: string + sourceAmiId: + description: Id of the AMI to copy. This id must be valid in the + region given by source_ami_region. + type: string + sourceAmiIdRef: + description: Reference to a AMI to populate sourceAmiId. + 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 + sourceAmiIdSelector: + description: Selector for a AMI to populate sourceAmiId. + 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 sourceAmiRegion: description: Region from which the AMI will be copied. This may be the same as the AWS provider region in order to create a diff --git a/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml b/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml index 374c6e30fd..e26c268301 100644 --- a/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml +++ b/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml @@ -182,6 +182,82 @@ spec: description: 'Name of the group for the launch permission. Valid values: "all".' type: string + imageId: + description: ID of the AMI. + type: string + imageIdRef: + description: Reference to a AMI to populate imageId. + 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 + imageIdSelector: + description: Selector for a AMI to populate imageId. + 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 organizationArn: description: ARN of an organization for the launch permission. type: string diff --git a/package/crds/ec2.aws.upbound.io_amis.yaml b/package/crds/ec2.aws.upbound.io_amis.yaml index d801fc59d2..8241ea3679 100644 --- a/package/crds/ec2.aws.upbound.io_amis.yaml +++ b/package/crds/ec2.aws.upbound.io_amis.yaml @@ -338,6 +338,88 @@ spec: description: ARN of the Outpost on which the snapshot is stored. type: string + snapshotId: + description: ID of an EBS snapshot that will be used to + initialize the created EBS volumes. If set, the volume_size + attribute must be at least as large as the referenced + snapshot. + type: string + snapshotIdRef: + description: Reference to a EBSSnapshot to populate snapshotId. + 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 + snapshotIdSelector: + description: Selector for a EBSSnapshot to populate snapshotId. + 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 throughput: description: Throughput that the EBS volume supports, in MiB/s. Only valid for volume_type of gp3. diff --git a/package/crds/ec2.aws.upbound.io_carriergateways.yaml b/package/crds/ec2.aws.upbound.io_carriergateways.yaml index 8055c23d6a..b0526fe1a4 100644 --- a/package/crds/ec2.aws.upbound.io_carriergateways.yaml +++ b/package/crds/ec2.aws.upbound.io_carriergateways.yaml @@ -174,6 +174,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The ID of the VPC to associate with the carrier gateway. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml b/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml index 159c89bdf0..1f2c058420 100644 --- a/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml @@ -403,6 +403,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + defaultNetworkAclId: + description: Network ACL ID to manage. This attribute is exported + from aws_vpc, or manually found via the AWS Console. + type: string + defaultNetworkAclIdRef: + description: Reference to a VPC in ec2 to populate defaultNetworkAclId. + 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 + defaultNetworkAclIdSelector: + description: Selector for a VPC in ec2 to populate defaultNetworkAclId. + 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 egress: description: Configuration block for an egress rule. Detailed below. @@ -447,6 +524,88 @@ spec: action: description: The action to take. type: string + cidrBlock: + description: The CIDR block to match. This must be a valid + network mask. + type: string + cidrBlockRef: + description: Reference to a DefaultVPC in ec2 to populate + cidrBlock. + 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 + cidrBlockSelector: + description: Selector for a DefaultVPC in ec2 to populate + cidrBlock. + 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 fromPort: description: The from port to match. type: number @@ -471,6 +630,90 @@ spec: type: number type: object type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: List of Subnet IDs to apply the ACL to. See the notes + above on Managing Subnets in the Default Network ACL + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml b/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml index ac03285ee7..32b68f5e62 100644 --- a/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml @@ -379,6 +379,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + defaultRouteTableId: + description: ID of the default route table. + type: string + defaultRouteTableIdRef: + description: Reference to a VPC in ec2 to populate defaultRouteTableId. + 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 + defaultRouteTableIdSelector: + description: Selector for a VPC in ec2 to populate defaultRouteTableId. + 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 propagatingVgws: description: List of virtual gateways for propagation. items: @@ -403,6 +479,169 @@ spec: description: The ID of a managed prefix list destination of the route. type: string + egressOnlyGatewayId: + description: Identifier of a VPC Egress Only Internet Gateway. + type: string + egressOnlyGatewayIdRef: + description: Reference to a EgressOnlyInternetGateway in + ec2 to populate egressOnlyGatewayId. + 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 + egressOnlyGatewayIdSelector: + description: Selector for a EgressOnlyInternetGateway in + ec2 to populate egressOnlyGatewayId. + 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 + gatewayId: + description: Identifier of a VPC internet gateway or a virtual + private gateway. + type: string + gatewayIdRef: + description: Reference to a InternetGateway in ec2 to populate + gatewayId. + 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 + gatewayIdSelector: + description: Selector for a InternetGateway in ec2 to populate + gatewayId. + 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 instanceId: description: Identifier of an EC2 instance. type: string diff --git a/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml b/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml index 254a651a75..fb99f84d7d 100644 --- a/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml @@ -383,6 +383,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: VPC ID. Note that changing the It will be left in + its current state. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml b/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml index 4a4fea7220..6f3fa56467 100644 --- a/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml +++ b/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml @@ -163,6 +163,84 @@ spec: 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: + keyArn: + description: The ARN of the AWS Key Management Service (AWS KMS) + customer master key (CMK) to use to encrypt the EBS volume. + type: string + keyArnRef: + description: Reference to a Key in kms to populate keyArn. + 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 + keyArnSelector: + description: Selector for a Key in kms to populate keyArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml index b8d1f897e8..21c5170a2f 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml @@ -273,6 +273,82 @@ spec: encrypted: description: Whether the snapshot is encrypted. type: boolean + kmsKeyId: + description: The ARN for the KMS encryption key. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 permanentRestore: description: Indicates whether to permanently restore an archived snapshot. @@ -280,6 +356,82 @@ spec: sourceRegion: description: The region of the source snapshot. type: string + sourceSnapshotId: + description: The ARN for the snapshot to be copied. + type: string + sourceSnapshotIdRef: + description: Reference to a EBSSnapshot in ec2 to populate sourceSnapshotId. + 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 + sourceSnapshotIdSelector: + description: Selector for a EBSSnapshot in ec2 to populate sourceSnapshotId. + 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 storageTier: description: The name of the storage tier. Valid values are archive and standard. Default value is standard. diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml index bf6a2c01b4..a43c1b927f 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml @@ -309,6 +309,86 @@ spec: imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId. type: boolean + kmsKeyId: + description: An identifier for the symmetric KMS key to use when + creating the encrypted snapshot. This parameter is only required + if you want to use a non-default KMS key; if this parameter + is not specified, the default KMS key for EBS is used. If a + KmsKeyId is specified, the Encrypted flag must also be set. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 permanentRestore: description: Indicates whether to permanently restore an archived snapshot. diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml index c7ca63e2aa..b240a0173c 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml @@ -216,6 +216,82 @@ spec: only. The snapshot will be automatically re-archived after this period. type: number + volumeId: + description: The Volume ID of which to make a snapshot. + type: string + volumeIdRef: + description: Reference to a EBSVolume in ec2 to populate volumeId. + 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 + volumeIdSelector: + description: Selector for a EBSVolume in ec2 to populate volumeId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml b/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml index ae10a3df71..1fab427d31 100644 --- a/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml +++ b/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml @@ -220,6 +220,83 @@ spec: description: The amount of IOPS to provision for the disk. Only valid for type of io1, io2 or gp3. type: number + kmsKeyId: + description: The ARN for the KMS encryption key. When specifying + kms_key_id, encrypted needs to be set to true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 multiAttachEnabled: description: Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on io1 and io2 volumes. diff --git a/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml b/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml index 5edf28feea..2fd02d16e7 100644 --- a/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml @@ -175,6 +175,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The VPC ID to create in. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_eipassociations.yaml b/package/crds/ec2.aws.upbound.io_eipassociations.yaml index 5d3037adb0..44c57f9445 100644 --- a/package/crds/ec2.aws.upbound.io_eipassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_eipassociations.yaml @@ -259,10 +259,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + allocationId: + description: The allocation ID. This is required for EC2-VPC. + type: string + allocationIdRef: + description: Reference to a EIP in ec2 to populate allocationId. + 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 + allocationIdSelector: + description: Selector for a EIP in ec2 to populate allocationId. + 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 allowReassociation: description: Whether to allow an Elastic IP to be re-associated. Defaults to true in VPC. type: boolean + instanceId: + description: The ID of the instance. This is required for EC2-Classic. + For EC2-VPC, you can specify either the instance ID or the network + interface ID, but not both. The operation fails if you specify + an instance ID unless exactly one network interface is attached. + type: string + instanceIdRef: + description: Reference to a Instance in ec2 to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in ec2 to populate instanceId. + 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 networkInterfaceId: description: The ID of the network interface. If the instance has more than one network interface, you must specify a network diff --git a/package/crds/ec2.aws.upbound.io_eips.yaml b/package/crds/ec2.aws.upbound.io_eips.yaml index d2a9360eda..1413020608 100644 --- a/package/crds/ec2.aws.upbound.io_eips.yaml +++ b/package/crds/ec2.aws.upbound.io_eips.yaml @@ -291,10 +291,162 @@ spec: domain: description: Indicates if this EIP is for use in VPC (vpc). type: string + instance: + description: EC2 instance ID. + type: string + instanceRef: + description: Reference to a Instance to populate instance. + 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 + instanceSelector: + description: Selector for a Instance to populate instance. + 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 networkBorderGroup: description: Location from which the IP address is advertised. Use this parameter to limit the address to this location. type: string + networkInterface: + description: Network interface ID to associate with. + type: string + networkInterfaceRef: + description: Reference to a NetworkInterface to populate networkInterface. + 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 + networkInterfaceSelector: + description: Selector for a NetworkInterface to populate networkInterface. + 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 publicIpv4Pool: description: EC2 IPv4 address pool identifier or amazon. This option is only available for VPC EIPs. diff --git a/package/crds/ec2.aws.upbound.io_flowlogs.yaml b/package/crds/ec2.aws.upbound.io_flowlogs.yaml index 2eee230f36..dd68ba69ae 100644 --- a/package/crds/ec2.aws.upbound.io_flowlogs.yaml +++ b/package/crds/ec2.aws.upbound.io_flowlogs.yaml @@ -485,6 +485,162 @@ spec: eniId: description: Elastic Network Interface ID to attach to type: string + iamRoleArn: + description: The ARN for the IAM role that's used to post flow + logs to a CloudWatch Logs log group + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 + logDestination: + description: The ARN of the logging destination. Either log_destination + or log_group_name must be set. + type: string + logDestinationRef: + description: Reference to a Group in cloudwatchlogs to populate + logDestination. + 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 + logDestinationSelector: + description: Selector for a Group in cloudwatchlogs to populate + logDestination. + 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 logDestinationType: description: 'The type of the logging destination. Valid values: cloud-watch-logs, s3, kinesis-data-firehose. Default: cloud-watch-logs.' @@ -506,6 +662,82 @@ spec: is specified, max_aggregation_interval must be 60 seconds (1 minute).' type: number + subnetId: + description: Subnet ID to attach to + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 @@ -522,6 +754,82 @@ spec: transitGatewayId: description: Transit Gateway ID to attach to type: string + vpcId: + description: VPC ID to attach to + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_instances.yaml b/package/crds/ec2.aws.upbound.io_instances.yaml index 3113a2ed33..a760376f14 100644 --- a/package/crds/ec2.aws.upbound.io_instances.yaml +++ b/package/crds/ec2.aws.upbound.io_instances.yaml @@ -1116,6 +1116,87 @@ spec: description: Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3. type: number + kmsKeyId: + description: Amazon Resource Name (ARN) of the KMS Key to + use when encrypting the volume. Must be configured to + perform drift detection. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 snapshotId: description: Snapshot ID to mount. type: string @@ -1360,6 +1441,87 @@ spec: description: Integer index of the network card. Limited by instance type. The default index is 0. type: number + networkInterfaceId: + description: ID of the network interface to attach. + type: string + networkInterfaceIdRef: + description: Reference to a NetworkInterface to populate + networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface to populate + networkInterfaceId. + 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 type: object type: array placementGroup: @@ -1417,6 +1579,87 @@ spec: description: Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3. type: number + kmsKeyId: + description: Amazon Resource Name (ARN) of the KMS Key to + use when encrypting the volume. Must be configured to + perform drift detection. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 @@ -1455,6 +1698,82 @@ spec: the destination address does not match the instance. Used for NAT or VPNs. Defaults true. type: boolean + subnetId: + description: VPC Subnet ID to launch in. + type: string + subnetIdRef: + description: Reference to a Subnet to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet to populate subnetId. + 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 @@ -1497,6 +1816,89 @@ spec: to root and EBS volumes. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: List of security group IDs to associate with. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_instancestates.yaml b/package/crds/ec2.aws.upbound.io_instancestates.yaml index 07588dda79..5c92afc055 100644 --- a/package/crds/ec2.aws.upbound.io_instancestates.yaml +++ b/package/crds/ec2.aws.upbound.io_instancestates.yaml @@ -182,6 +182,82 @@ spec: check and repair. Not recommended for Windows instances. Defaults to false. type: boolean + instanceId: + description: ID of the instance. + type: string + instanceIdRef: + description: Reference to a Instance in ec2 to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in ec2 to populate instanceId. + 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 state: description: '- State of the instance. Valid values are stopped, running.' diff --git a/package/crds/ec2.aws.upbound.io_internetgateways.yaml b/package/crds/ec2.aws.upbound.io_internetgateways.yaml index cfb2e57288..960c56dfd6 100644 --- a/package/crds/ec2.aws.upbound.io_internetgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_internetgateways.yaml @@ -176,6 +176,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The VPC ID to create in. See the aws_internet_gateway_attachment + resource for an alternate way to attach an Internet Gateway + to a VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_launchtemplates.yaml b/package/crds/ec2.aws.upbound.io_launchtemplates.yaml index 1e62ceac0f..89ce9c0fb7 100644 --- a/package/crds/ec2.aws.upbound.io_launchtemplates.yaml +++ b/package/crds/ec2.aws.upbound.io_launchtemplates.yaml @@ -1498,6 +1498,92 @@ spec: description: The amount of provisioned IOPS. This must be set with a volume_type of "io1/io2/gp3". type: number + kmsKeyId: + description: The ARN of the AWS Key Management Service + (AWS KMS) customer master key (CMK) to use when + creating the encrypted volume. encrypted must be + set to true when this is set. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate + kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate + kmsKeyId. + 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 snapshotId: description: The Snapshot ID to mount. type: string @@ -1645,6 +1731,170 @@ spec: description: The IAM Instance Profile to launch the instance with. See Instance Profile below for more details. items: + properties: + arn: + description: The Amazon Resource Name (ARN) of the instance + profile. Conflicts with name. + type: string + arnRef: + description: Reference to a InstanceProfile in iam to populate + arn. + 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 + arnSelector: + description: Selector for a InstanceProfile in iam to populate + arn. + 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 + name: + description: The name of the instance profile. + type: string + nameRef: + description: Reference to a InstanceProfile in iam to populate + name. + 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 + nameSelector: + description: Selector for a InstanceProfile in iam to populate + name. + 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 type: object type: array imageId: @@ -2092,11 +2342,258 @@ spec: interface must be assigned to network card index 0. The default is network card index 0. type: number - privateIpAddress: - description: The primary private IPv4 address. + networkInterfaceId: + description: The ID of the network interface to attach. type: string - type: object - type: array + networkInterfaceIdRef: + description: Reference to a NetworkInterface to populate + networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface to populate + networkInterfaceId. + 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 + privateIpAddress: + description: The primary private IPv4 address. + type: string + securityGroupRefs: + description: References to SecurityGroup to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup to populate + securityGroups. + 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 + securityGroups: + description: A list of security group IDs to associate. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetId: + description: The VPC Subnet ID to associate. + type: string + subnetIdRef: + description: Reference to a Subnet to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet to populate subnetId. + 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 + type: object + type: array placement: description: The placement of the instance. See Placement below for more details. @@ -2161,6 +2658,91 @@ spec: ramDiskId: description: The ID of the RAM disk. type: string + securityGroupNameRefs: + description: References to SecurityGroup to populate securityGroupNames. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupNameSelector: + description: Selector for a list of SecurityGroup to populate + securityGroupNames. + 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 + securityGroupNames: + description: A list of security group names to associate with. + If you are creating Instances in a VPC, use vpc_security_group_ids + instead. + items: + type: string + type: array + x-kubernetes-list-type: set tagSpecifications: description: The tags to apply to the resources during launch. See Tag Specifications below for more details. @@ -2191,6 +2773,90 @@ spec: description: The base64-encoded user data to provide when launching the instance. type: string + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: A list of security group IDs to associate with. Conflicts + with network_interfaces.security_groups + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml index 77ee22ba20..7296d1c7ac 100644 --- a/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml @@ -240,6 +240,161 @@ spec: 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: + routeTableId: + description: The ID of the Route Table to set as the new main + route table for the target VPC + type: string + routeTableIdRef: + description: Reference to a RouteTable to populate routeTableId. + 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 + routeTableIdSelector: + description: Selector for a RouteTable to populate routeTableId. + 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 + vpcId: + description: The ID of the VPC whose main route table should be + set + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml b/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml index 50b34f4d61..fafd51526f 100644 --- a/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml +++ b/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml @@ -245,11 +245,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + cidr: + description: CIDR block of this entry. + type: string + cidrRef: + description: Reference to a VPC in ec2 to populate cidr. + 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 + cidrSelector: + description: Selector for a VPC in ec2 to populate cidr. + 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 description: description: Description of this entry. Please note that due to API limitations, updating only the description of an entry will require recreating the entry. type: string + prefixListId: + description: CIDR block of this entry. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml b/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml index e8b7911cee..a72a7d1c73 100644 --- a/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml +++ b/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml @@ -206,6 +206,87 @@ spec: a particular CIDR should not be duplicated. items: properties: + cidr: + description: CIDR block of this entry. + type: string + cidrRef: + description: Reference to a VPCIPv4CidrBlockAssociation + in ec2 to populate cidr. + 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 + cidrSelector: + description: Selector for a VPCIPv4CidrBlockAssociation + in ec2 to populate cidr. + 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 description: description: Description of this entry. Due to API limitations, updating only the description of an existing entry requires diff --git a/package/crds/ec2.aws.upbound.io_natgateways.yaml b/package/crds/ec2.aws.upbound.io_natgateways.yaml index 97969286b4..04da5bc068 100644 --- a/package/crds/ec2.aws.upbound.io_natgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_natgateways.yaml @@ -273,6 +273,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + allocationId: + description: The Allocation ID of the Elastic IP address for the + NAT Gateway. Required for connectivity_type of public. + type: string + allocationIdRef: + description: Reference to a EIP in ec2 to populate allocationId. + 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 + allocationIdSelector: + description: Selector for a EIP in ec2 to populate allocationId. + 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 connectivityType: description: Connectivity type for the NAT Gateway. Valid values are private and public. Defaults to public. @@ -300,6 +377,83 @@ spec: type: string type: array x-kubernetes-list-type: set + subnetId: + description: The Subnet ID of the subnet in which to place the + NAT Gateway. + type: string + subnetIdRef: + description: Reference to a Subnet to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet to populate subnetId. + 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 diff --git a/package/crds/ec2.aws.upbound.io_networkaclrules.yaml b/package/crds/ec2.aws.upbound.io_networkaclrules.yaml index 50d0cb5e13..fc58befac5 100644 --- a/package/crds/ec2.aws.upbound.io_networkaclrules.yaml +++ b/package/crds/ec2.aws.upbound.io_networkaclrules.yaml @@ -220,6 +220,82 @@ spec: ipv6CidrBlock: description: The IPv6 CIDR block to allow or deny. type: string + networkAclId: + description: The ID of the network ACL. + type: string + networkAclIdRef: + description: Reference to a NetworkACL in ec2 to populate networkAclId. + 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 + networkAclIdSelector: + description: Selector for a NetworkACL in ec2 to populate networkAclId. + 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 protocol: description: The protocol. A value of -1 means all protocols. type: string diff --git a/package/crds/ec2.aws.upbound.io_networkacls.yaml b/package/crds/ec2.aws.upbound.io_networkacls.yaml index 161598a88f..843ac164b1 100644 --- a/package/crds/ec2.aws.upbound.io_networkacls.yaml +++ b/package/crds/ec2.aws.upbound.io_networkacls.yaml @@ -251,12 +251,171 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of Subnet IDs to apply the ACL to + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The ID of the associated VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml b/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml index 741e621db6..061d14e01f 100644 --- a/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml @@ -189,6 +189,85 @@ spec: type: string type: array x-kubernetes-list-type: set + networkInsightsPathId: + description: ID of the Network Insights Path to run an analysis + on. + type: string + networkInsightsPathIdRef: + description: Reference to a NetworkInsightsPath in ec2 to populate + networkInsightsPathId. + 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 + networkInsightsPathIdSelector: + description: Selector for a NetworkInsightsPath in ec2 to populate + networkInsightsPathId. + 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 diff --git a/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml b/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml index 663e4b46c6..ff6cf3fd52 100644 --- a/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml @@ -269,19 +269,183 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + destination: + description: ID or ARN of the resource which is the destination + of the path. Can be an Instance, Internet Gateway, Network Interface, + Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN + Gateway. If the resource is in another account, you must specify + an ARN. + type: string destinationIp: description: IP address of the destination resource. type: string destinationPort: description: Destination port to analyze access to. type: number + destinationRef: + description: Reference to a NetworkInterface in ec2 to populate + destination. + 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 + destinationSelector: + description: Selector for a NetworkInterface in ec2 to populate + destination. + 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 protocol: description: Protocol to use for analysis. Valid options are tcp or udp. type: string + source: + description: ID or ARN of the resource which is the source of + the path. Can be an Instance, Internet Gateway, Network Interface, + Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN + Gateway. If the resource is in another account, you must specify + an ARN. + type: string sourceIp: description: IP address of the source resource. type: string + sourceRef: + description: Reference to a NetworkInterface in ec2 to populate + source. + 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 + sourceSelector: + description: Selector for a NetworkInterface in ec2 to populate + source. + 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 diff --git a/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml b/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml index 49872d8ae4..8cad54d306 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml @@ -247,6 +247,160 @@ spec: deviceIndex: description: Network interface index (int). type: number + instanceId: + description: Instance ID to attach. + type: string + instanceIdRef: + description: Reference to a Instance in ec2 to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in ec2 to populate instanceId. + 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 + networkInterfaceId: + description: ENI ID to attach. + type: string + networkInterfaceIdRef: + description: Reference to a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml b/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml index 50b459cdb7..4065213f84 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml @@ -417,10 +417,169 @@ spec: ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default. type: number + securityGroupRefs: + description: References to SecurityGroup to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup to populate + securityGroups. + 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 + securityGroups: + description: List of security group IDs to assign to the ENI. + items: + type: string + type: array + x-kubernetes-list-type: set sourceDestCheck: description: Whether to enable source destination checking for the ENI. Default true. type: boolean + subnetId: + description: Subnet ID to create the ENI in. + type: string + subnetIdRef: + description: Reference to a Subnet to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet to populate subnetId. + 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 diff --git a/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml b/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml index e8cd411057..038a910960 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml @@ -238,6 +238,159 @@ spec: 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: + networkInterfaceId: + description: The ID of the network interface to attach to. + type: string + networkInterfaceIdRef: + description: Reference to a Instance in ec2 to populate networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a Instance in ec2 to populate networkInterfaceId. + 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 + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_routes.yaml b/package/crds/ec2.aws.upbound.io_routes.yaml index cbb1b9e0ec..3c97a36992 100644 --- a/package/crds/ec2.aws.upbound.io_routes.yaml +++ b/package/crds/ec2.aws.upbound.io_routes.yaml @@ -807,9 +807,699 @@ spec: destinationIpv6CidrBlock: description: The destination IPv6 CIDR block. type: string + destinationPrefixListId: + description: The ID of a managed prefix list destination. + type: string + destinationPrefixListIdRef: + description: Reference to a ManagedPrefixList in ec2 to populate + destinationPrefixListId. + 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 + destinationPrefixListIdSelector: + description: Selector for a ManagedPrefixList in ec2 to populate + destinationPrefixListId. + 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 + egressOnlyGatewayId: + description: Identifier of a VPC Egress Only Internet Gateway. + type: string + egressOnlyGatewayIdRef: + description: Reference to a EgressOnlyInternetGateway in ec2 to + populate egressOnlyGatewayId. + 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 + egressOnlyGatewayIdSelector: + description: Selector for a EgressOnlyInternetGateway in ec2 to + populate egressOnlyGatewayId. + 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 + gatewayId: + description: Identifier of a VPC internet gateway or a virtual + private gateway. Specify local when updating a previously imported + local route. + type: string + gatewayIdRef: + description: Reference to a InternetGateway to populate gatewayId. + 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 + gatewayIdSelector: + description: Selector for a InternetGateway to populate gatewayId. + 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 localGatewayId: description: Identifier of a Outpost local gateway. type: string + natGatewayId: + description: Identifier of a VPC NAT gateway. + type: string + natGatewayIdRef: + description: Reference to a NATGateway to populate natGatewayId. + 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 + natGatewayIdSelector: + description: Selector for a NATGateway to populate natGatewayId. + 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 + networkInterfaceId: + description: Identifier of an EC2 network interface. + type: string + networkInterfaceIdRef: + description: Reference to a NetworkInterface to populate networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface to populate networkInterfaceId. + 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 + routeTableId: + description: The ID of the routing table. + type: string + routeTableIdRef: + description: Reference to a RouteTable to populate routeTableId. + 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 + routeTableIdSelector: + description: Selector for a RouteTable to populate routeTableId. + 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 + transitGatewayId: + description: Identifier of an EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway to populate transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway to populate transitGatewayId. + 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 + vpcEndpointId: + description: Identifier of a VPC Endpoint. + type: string + vpcEndpointIdRef: + description: Reference to a VPCEndpoint to populate vpcEndpointId. + 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 + vpcEndpointIdSelector: + description: Selector for a VPCEndpoint to populate vpcEndpointId. + 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 + vpcPeeringConnectionId: + description: Identifier of a VPC peering connection. + type: string + vpcPeeringConnectionIdRef: + description: Reference to a VPCPeeringConnection to populate vpcPeeringConnectionId. + 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 + vpcPeeringConnectionIdSelector: + description: Selector for a VPCPeeringConnection to populate vpcPeeringConnectionId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_routetableassociations.yaml b/package/crds/ec2.aws.upbound.io_routetableassociations.yaml index 7477c850a6..e123164554 100644 --- a/package/crds/ec2.aws.upbound.io_routetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_routetableassociations.yaml @@ -319,6 +319,239 @@ spec: 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: + gatewayId: + description: The gateway ID to create an association. Conflicts + with subnet_id. + type: string + gatewayIdRef: + description: Reference to a InternetGateway in ec2 to populate + gatewayId. + 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 + gatewayIdSelector: + description: Selector for a InternetGateway in ec2 to populate + gatewayId. + 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 + routeTableId: + description: The ID of the routing table to associate with. + type: string + routeTableIdRef: + description: Reference to a RouteTable to populate routeTableId. + 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 + routeTableIdSelector: + description: Selector for a RouteTable to populate routeTableId. + 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 + subnetId: + description: The subnet ID to create an association. Conflicts + with gateway_id. + type: string + subnetIdRef: + description: Reference to a Subnet to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet to populate subnetId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_routetables.yaml b/package/crds/ec2.aws.upbound.io_routetables.yaml index 0f1b5752c0..beaa8c1737 100644 --- a/package/crds/ec2.aws.upbound.io_routetables.yaml +++ b/package/crds/ec2.aws.upbound.io_routetables.yaml @@ -174,6 +174,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The VPC ID. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml index 7a89367235..c1bc72ebe2 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupegressrules.yaml @@ -366,6 +366,237 @@ spec: to all protocols, all port ranges, and from_port and to_port values should not be defined. 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 + 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 diff --git a/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml index cb3d542d5d..9b15b37441 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroupingressrules.yaml @@ -366,6 +366,237 @@ spec: to all protocols, all port ranges, and from_port and to_port values should not be defined. 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 + 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 diff --git a/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml b/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml index d80b871146..ab0b76148d 100644 --- a/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml @@ -377,15 +377,252 @@ spec: items: type: string type: array + prefixListIdRefs: + description: References to ManagedPrefixList in ec2 to populate + prefixListIds. + items: + description: A Reference to a named object. + 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 + type: array + prefixListIdSelector: + description: Selector for a list of ManagedPrefixList in ec2 to + populate prefixListIds. + 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 + prefixListIds: + description: List of Prefix List IDs. + items: + type: string + type: array protocol: description: Protocol. If not icmp, icmpv6, tcp, udp, or all use the protocol number type: string + securityGroupId: + description: Security group to apply this rule to. + type: string + securityGroupIdRef: + description: Reference to a SecurityGroup 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 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 self: description: Whether the security group itself will be added as a source to this ingress rule. Cannot be specified with cidr_blocks, ipv6_cidr_blocks, or source_security_group_id. type: boolean + sourceSecurityGroupId: + description: Security group id to allow access to/from, depending + on the type. Cannot be specified with cidr_blocks, ipv6_cidr_blocks, + or self. + type: string + sourceSecurityGroupIdRef: + description: Reference to a SecurityGroup to populate sourceSecurityGroupId. + 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 + sourceSecurityGroupIdSelector: + description: Selector for a SecurityGroup to populate sourceSecurityGroupId. + 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 toPort: description: End port (or ICMP code if protocol is "icmp"). type: number diff --git a/package/crds/ec2.aws.upbound.io_securitygroups.yaml b/package/crds/ec2.aws.upbound.io_securitygroups.yaml index 992857d311..79c90d7a8f 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroups.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroups.yaml @@ -208,6 +208,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: VPC ID. Defaults to the region's default VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml b/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml index 9ad36b820b..6bfeac36e4 100644 --- a/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml +++ b/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml @@ -171,6 +171,82 @@ spec: description: An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapshot's owner type: string + snapshotId: + description: A snapshot ID + type: string + snapshotIdRef: + description: Reference to a EBSSnapshot in ec2 to populate snapshotId. + 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 + snapshotIdSelector: + description: Selector for a EBSSnapshot in ec2 to populate snapshotId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml b/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml index c047cbb62b..a2961020b8 100644 --- a/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml +++ b/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml @@ -1005,6 +1005,88 @@ spec: type: array iamInstanceProfile: type: string + iamInstanceProfileArn: + description: takes aws_iam_instance_profile attribute arn + as input. + type: string + iamInstanceProfileArnRef: + description: Reference to a InstanceProfile in iam to populate + iamInstanceProfileArn. + 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 + iamInstanceProfileArnSelector: + description: Selector for a InstanceProfile in iam to populate + iamInstanceProfileArn. + 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 instanceType: description: The type of instance to request. type: string @@ -1077,10 +1159,181 @@ spec: Specification below for more details. items: properties: + id: + description: The ID of the launch template. Conflicts + with name. + type: string + idRef: + description: Reference to a LaunchTemplate in ec2 + to populate id. + 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 + idSelector: + description: Selector for a LaunchTemplate in ec2 + to populate id. + 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 name: description: The name of the launch template. Conflicts with id. type: string + version: + description: Template version. Unlike the autoscaling + equivalent, does not support $Latest or $Default, + so use the launch_template resource's attribute, + e.g., "${aws_launch_template.foo.latest_version}". + It will use the default version if omitted. + type: string + versionRef: + description: Reference to a LaunchTemplate in ec2 + to populate version. + 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 + versionSelector: + description: Selector for a LaunchTemplate in ec2 + to populate version. + 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 type: object type: array overrides: diff --git a/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml b/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml index d8d1ac379e..5f860e27b9 100644 --- a/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml +++ b/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml @@ -794,6 +794,82 @@ spec: description: If set to one-time, after the instance is terminated, the spot request will be closed. type: string + subnetId: + description: The Spot Instance Request ID. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 @@ -826,6 +902,88 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + items: + type: string + type: array + x-kubernetes-list-type: set waitForFulfillment: type: boolean type: object diff --git a/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml b/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml index 21fe13f034..6463cfbaed 100644 --- a/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml +++ b/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml @@ -182,6 +182,82 @@ spec: description: 'The type of reservation to create. Valid values: explicit, prefix' type: string + subnetId: + description: The ID of the subnet to create the reservation for. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_subnets.yaml b/package/crds/ec2.aws.upbound.io_subnets.yaml index 8791fac558..8a6985fe58 100644 --- a/package/crds/ec2.aws.upbound.io_subnets.yaml +++ b/package/crds/ec2.aws.upbound.io_subnets.yaml @@ -314,6 +314,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The VPC ID. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml b/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml index b4c07fee12..caaaf80b15 100644 --- a/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml +++ b/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml @@ -282,6 +282,85 @@ spec: description: Direction of traffic to be captured. Valid values are ingress and egress type: string + trafficMirrorFilterId: + description: ID of the traffic mirror filter to which this rule + should be added + type: string + trafficMirrorFilterIdRef: + description: Reference to a TrafficMirrorFilter in ec2 to populate + trafficMirrorFilterId. + 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 + trafficMirrorFilterIdSelector: + description: Selector for a TrafficMirrorFilter in ec2 to populate + trafficMirrorFilterId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml index 02f27ebce5..5b607cbbe8 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml @@ -243,6 +243,84 @@ spec: address family as peer_address. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks type: string + transitGatewayAttachmentId: + description: The Transit Gateway Connect + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayConnect in ec2 to populate + transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayConnect in ec2 to populate + transitGatewayAttachmentId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml index 71db19cee0..f38de4c1b1 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml @@ -286,6 +286,162 @@ spec: This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.' type: boolean + transitGatewayId: + description: Identifier of EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway in ec2 to populate + transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway in ec2 to populate + transitGatewayId. + 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 + transportAttachmentId: + description: The underlaying VPC attachment + type: string + transportAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment in ec2 + to populate transportAttachmentId. + 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 + transportAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment in ec2 + to populate transportAttachmentId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml index e41a59be5f..b0d8d66e39 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml @@ -320,6 +320,240 @@ spec: 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: + subnetId: + description: The ID of the subnet to associate with the transit + gateway multicast domain. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 + transitGatewayAttachmentId: + description: The ID of the transit gateway attachment. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment in ec2 + to populate transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment in ec2 + to populate transitGatewayAttachmentId. + 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 + transitGatewayMulticastDomainId: + description: The ID of the transit gateway multicast domain. + type: string + transitGatewayMulticastDomainIdRef: + description: Reference to a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 + transitGatewayMulticastDomainIdSelector: + description: Selector for a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml index f484db1b04..1fee40c8f8 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml @@ -208,6 +208,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayId: + description: EC2 Transit Gateway identifier. The EC2 Transit Gateway + must have multicast_support enabled. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway to populate transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway to populate transitGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml index 54c3f35d3e..0dd09649a2 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml @@ -252,6 +252,163 @@ spec: description: The IP address assigned to the transit gateway multicast group. type: string + networkInterfaceId: + description: The group members' network interface ID to register + with the transit gateway multicast group. + type: string + networkInterfaceIdRef: + description: Reference to a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 + transitGatewayMulticastDomainId: + description: The ID of the transit gateway multicast domain. + type: string + transitGatewayMulticastDomainIdRef: + description: Reference to a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 + transitGatewayMulticastDomainIdSelector: + description: Selector for a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml index a92e0eadbd..87a6ada97e 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml @@ -252,6 +252,163 @@ spec: description: The IP address assigned to the transit gateway multicast group. type: string + networkInterfaceId: + description: The group members' network interface ID to register + with the transit gateway multicast group. + type: string + networkInterfaceIdRef: + description: Reference to a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 + networkInterfaceIdSelector: + description: Selector for a NetworkInterface in ec2 to populate + networkInterfaceId. + 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 + transitGatewayMulticastDomainId: + description: The ID of the transit gateway multicast domain. + type: string + transitGatewayMulticastDomainIdRef: + description: Reference to a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 + transitGatewayMulticastDomainIdSelector: + description: Selector for a TransitGatewayMulticastDomain in ec2 + to populate transitGatewayMulticastDomainId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml index a054efe5c4..808de05d82 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml @@ -179,6 +179,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayAttachmentId: + description: The ID of the EC2 Transit Gateway Peering Attachment + to manage. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayPeeringAttachment in + ec2 to populate transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayPeeringAttachment in + ec2 to populate transitGatewayAttachmentId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml index f6120edbb7..6e391160c4 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml @@ -263,12 +263,168 @@ spec: peerRegion: description: Region of EC2 Transit Gateway to peer with. type: string + peerTransitGatewayId: + description: Identifier of EC2 Transit Gateway to peer with. + type: string + peerTransitGatewayIdRef: + description: Reference to a TransitGateway in ec2 to populate + peerTransitGatewayId. + 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 + peerTransitGatewayIdSelector: + description: Selector for a TransitGateway in ec2 to populate + peerTransitGatewayId. + 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 x-kubernetes-map-type: granular + transitGatewayId: + description: Identifier of EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway in ec2 to populate + transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway in ec2 to populate + transitGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml index 25c916fcc9..a23d039834 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml @@ -177,6 +177,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayId: + description: EC2 Transit Gateway identifier. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway in ec2 to populate + transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway in ec2 to populate + transitGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml index be566257f8..42b0167af4 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml @@ -329,6 +329,240 @@ spec: description: Indicates whether to drop traffic that matches the Prefix List. Defaults to false. type: boolean + prefixListId: + description: Identifier of EC2 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 + transitGatewayAttachmentId: + description: Identifier of EC2 Transit Gateway Attachment. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment in ec2 + to populate transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment in ec2 + to populate transitGatewayAttachmentId. + 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 + transitGatewayRouteTableId: + description: Identifier of EC2 Transit Gateway Route Table. + type: string + transitGatewayRouteTableIdRef: + description: Reference to a TransitGateway in ec2 to populate + transitGatewayRouteTableId. + 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 + transitGatewayRouteTableIdSelector: + description: Selector for a TransitGateway in ec2 to populate + transitGatewayRouteTableId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml index 53c1a38484..47730f464a 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml @@ -258,6 +258,162 @@ spec: description: IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match. type: string + transitGatewayAttachmentId: + description: Identifier of EC2 Transit Gateway Attachment . + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayRouteTableId: + description: Identifier of EC2 Transit Gateway Route Table. + type: string + transitGatewayRouteTableIdRef: + description: Reference to a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 + transitGatewayRouteTableIdSelector: + description: Selector for a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml index 3cb24231d8..bf318e8727 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml @@ -261,6 +261,162 @@ spec: argument of the aws_ec2_transit_gateway_vpc_attachment resource should be used.' type: boolean + transitGatewayAttachmentId: + description: Identifier of EC2 Transit Gateway Attachment. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayRouteTableId: + description: Identifier of EC2 Transit Gateway Route Table. + type: string + transitGatewayRouteTableIdRef: + description: Reference to a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 + transitGatewayRouteTableIdSelector: + description: Selector for a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml index 1dfd0a8aa3..f8725df11c 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml @@ -242,6 +242,163 @@ spec: 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: + transitGatewayAttachmentId: + description: Identifier of EC2 Transit Gateway Attachment. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayRouteTableId: + description: Identifier of EC2 Transit Gateway Route Table. + type: string + transitGatewayRouteTableIdRef: + description: Reference to a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 + transitGatewayRouteTableIdSelector: + description: Selector for a TransitGatewayRouteTable to populate + transitGatewayRouteTableId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml index 295fd5b2b2..773c584753 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml @@ -175,6 +175,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayId: + description: Identifier of EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway to populate transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway to populate transitGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml index 8a7560f72c..3188868047 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml @@ -187,6 +187,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayAttachmentId: + description: The ID of the EC2 Transit Gateway Attachment to manage. + type: string + transitGatewayAttachmentIdRef: + description: Reference to a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 + transitGatewayAttachmentIdSelector: + description: Selector for a TransitGatewayVPCAttachment to populate + transitGatewayAttachmentId. + 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 transitGatewayDefaultRouteTableAssociation: description: 'Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml index 6ac6eca635..3eb07a9301 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml @@ -369,6 +369,89 @@ spec: description: 'Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.' type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Identifiers of EC2 Subnets. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string @@ -388,6 +471,158 @@ spec: with Resource Access Manager shared EC2 Transit Gateways. Default value: true.' type: boolean + transitGatewayId: + description: Identifier of EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway to populate transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway to populate transitGatewayId. + 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 + vpcId: + description: Identifier of EC2 VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_volumeattachments.yaml b/package/crds/ec2.aws.upbound.io_volumeattachments.yaml index c4c8f70baa..26dee9417a 100644 --- a/package/crds/ec2.aws.upbound.io_volumeattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_volumeattachments.yaml @@ -269,6 +269,82 @@ spec: as a last resort, as this can result in data loss. See Detaching an Amazon EBS Volume from an Instance for more information. type: boolean + instanceId: + description: ID of the Instance to attach to + type: string + instanceIdRef: + description: Reference to a Instance in ec2 to populate instanceId. + 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 + instanceIdSelector: + description: Selector for a Instance in ec2 to populate instanceId. + 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 skipDestroy: description: This is useful when destroying an instance which has volumes created by some other means attached. @@ -278,6 +354,82 @@ spec: is stopped before trying to detach the volume. Stops the instance, if it is not already stopped. type: boolean + volumeId: + description: ID of the Volume to be attached + type: string + volumeIdRef: + description: Reference to a EBSVolume in ec2 to populate volumeId. + 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 + volumeIdSelector: + description: Selector for a EBSVolume in ec2 to populate volumeId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml index e1a24f4e46..8d0d23a035 100644 --- a/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml @@ -242,6 +242,163 @@ spec: 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: + dhcpOptionsId: + description: The ID of the DHCP Options Set to associate to the + VPC. + type: string + dhcpOptionsIdRef: + description: Reference to a VPCDHCPOptions in ec2 to populate + dhcpOptionsId. + 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 + dhcpOptionsIdSelector: + description: Selector for a VPCDHCPOptions in ec2 to populate + dhcpOptionsId. + 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 + vpcId: + description: The ID of the VPC to which we would like to associate + a DHCP Options Set. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml index 68266bfff2..916f651f64 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml @@ -260,10 +260,165 @@ spec: type: string type: array x-kubernetes-list-type: set + connectionNotificationArn: + description: The ARN of the SNS topic for the notifications. + type: string + connectionNotificationArnRef: + description: Reference to a Topic in sns to populate connectionNotificationArn. + 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 + connectionNotificationArnSelector: + description: Selector for a Topic in sns to populate connectionNotificationArn. + 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 vpcEndpointId: description: The ID of the VPC Endpoint to receive notifications for. type: string + vpcEndpointServiceId: + description: The ID of the VPC Endpoint Service to receive notifications + for. + type: string + vpcEndpointServiceIdRef: + description: Reference to a VPCEndpointService in ec2 to populate + vpcEndpointServiceId. + 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 + vpcEndpointServiceIdSelector: + description: Selector for a VPCEndpointService in ec2 to populate + vpcEndpointServiceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml index cd4a0fb482..d88a6c4de5 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml @@ -240,6 +240,161 @@ spec: 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: + routeTableId: + description: Identifier of the EC2 Route Table to be associated + with the VPC Endpoint. + type: string + routeTableIdRef: + description: Reference to a RouteTable in ec2 to populate routeTableId. + 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 + routeTableIdSelector: + description: Selector for a RouteTable in ec2 to populate routeTableId. + 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 + vpcEndpointId: + description: Identifier of the VPC Endpoint with which the EC2 + Route Table will be associated. + type: string + vpcEndpointIdRef: + description: Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 + vpcEndpointIdSelector: + description: Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml b/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml index d2da633287..7699910712 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml @@ -333,6 +333,87 @@ spec: Most users will want this enabled to allow services within the VPC to automatically use the endpoint. Defaults to false. type: boolean + serviceName: + description: The service name. For AWS services the service name + is usually in the form com.amazonaws.. (the + SageMaker Notebook service is an exception to this rule, the + service name is in the form aws.sagemaker..notebook). + type: string + serviceNameRef: + description: Reference to a VPCEndpointService in ec2 to populate + serviceName. + 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 + serviceNameSelector: + description: Selector for a VPCEndpointService in ec2 to populate + serviceName. + 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 @@ -343,6 +424,82 @@ spec: description: The VPC endpoint type, Gateway, GatewayLoadBalancer, or Interface. Defaults to Gateway. type: string + vpcId: + description: The ID of the VPC in which the endpoint will be used. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml index fbc76df7e8..cf54b77ae6 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml @@ -256,6 +256,160 @@ spec: At most 1 association per-VPC endpoint should be configured with replace_default_association = true. type: boolean + securityGroupId: + description: The ID of the security group to be associated with + the VPC endpoint. + 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 + vpcEndpointId: + description: The ID of the VPC endpoint with which the security + group will be associated. + type: string + vpcEndpointIdRef: + description: Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 + vpcEndpointIdSelector: + description: Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml index 93525ac453..a87467dd16 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml @@ -172,6 +172,84 @@ spec: principalArn: description: The ARN of the principal to allow permissions. type: string + vpcEndpointServiceId: + description: The ID of the VPC endpoint service to allow permission. + type: string + vpcEndpointServiceIdRef: + description: Reference to a VPCEndpointService in ec2 to populate + vpcEndpointServiceId. + 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 + vpcEndpointServiceIdSelector: + description: Selector for a VPCEndpointService in ec2 to populate + vpcEndpointServiceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml index c6ccf398c1..0cffe30ad3 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml @@ -241,6 +241,161 @@ spec: 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: + subnetId: + description: The ID of the subnet to be associated with the VPC + endpoint. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 + vpcEndpointId: + description: The ID of the VPC endpoint with which the subnet + will be associated. + type: string + vpcEndpointIdRef: + description: Reference to a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 + vpcEndpointIdSelector: + description: Selector for a VPCEndpoint in ec2 to populate vpcEndpointId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml index 19696a4b3a..9a689a5cb7 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml @@ -195,6 +195,83 @@ spec: type: string type: array x-kubernetes-list-type: set + ipamPoolId: + description: The ID of the pool to which you want to assign a + CIDR. + type: string + ipamPoolIdRef: + description: Reference to a VPCIpamPool in ec2 to populate ipamPoolId. + 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 + ipamPoolIdSelector: + description: Selector for a VPCIpamPool in ec2 to populate ipamPoolId. + 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 netmaskLength: description: 'The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: 0-128.' diff --git a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml index d8e399ac06..6f17512643 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml @@ -210,6 +210,83 @@ spec: type: string type: object type: array + ipamPoolId: + description: The ID of the pool to which you want to assign a + CIDR. + type: string + ipamPoolIdRef: + description: Reference to a VPCIpamPool in ec2 to populate ipamPoolId. + 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 + ipamPoolIdSelector: + description: Selector for a VPCIpamPool in ec2 to populate ipamPoolId. + 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 netmaskLength: description: If provided, the cidr provisioned into the specified pool will be the next available cidr given this declared netmask diff --git a/package/crds/ec2.aws.upbound.io_vpcipampools.yaml b/package/crds/ec2.aws.upbound.io_vpcipampools.yaml index 746bf630c8..afb6abd2d3 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampools.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampools.yaml @@ -350,6 +350,83 @@ spec: description: description: A description for the IPAM pool. type: string + ipamScopeId: + description: The ID of the scope in which you would like to create + the IPAM pool. + type: string + ipamScopeIdRef: + description: Reference to a VPCIpamScope to populate ipamScopeId. + 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 + ipamScopeIdSelector: + description: Selector for a VPCIpamScope to populate ipamScopeId. + 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 locale: description: 'The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM @@ -370,6 +447,83 @@ spec: is false. This option is not available for IPv4 pool space or if public_ip_source = "amazon". type: boolean + sourceIpamPoolId: + description: The ID of the source IPAM pool. Use this argument + to create a child pool within an existing pool. + type: string + sourceIpamPoolIdRef: + description: Reference to a VPCIpamPool in ec2 to populate sourceIpamPoolId. + 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 + sourceIpamPoolIdSelector: + description: Selector for a VPCIpamPool in ec2 to populate sourceIpamPoolId. + 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 diff --git a/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml b/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml index 283cef93f2..790e7c17f5 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml @@ -175,6 +175,83 @@ spec: description: description: A description for the scope you're creating. type: string + ipamId: + description: The ID of the IPAM for which you're creating this + scope. + type: string + ipamIdRef: + description: Reference to a VPCIpam to populate ipamId. + 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 + ipamIdSelector: + description: Selector for a VPCIpam to populate ipamId. + 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 diff --git a/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml index 346a41cb61..c609929c65 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml @@ -195,6 +195,82 @@ spec: description: The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id. type: number + vpcId: + description: The ID of the VPC to make the association with. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml index e023e7213d..e48510b9f6 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml @@ -237,6 +237,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcPeeringConnectionId: + description: The VPC Peering Connection ID to manage. + type: string + vpcPeeringConnectionIdRef: + description: Reference to a VPCPeeringConnection in ec2 to populate + vpcPeeringConnectionId. + 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 + vpcPeeringConnectionIdSelector: + description: Selector for a VPCPeeringConnection in ec2 to populate + vpcPeeringConnectionId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml index 0b916afe14..6eab2c4526 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml @@ -217,6 +217,84 @@ spec: type: boolean type: object type: array + vpcPeeringConnectionId: + description: The ID of the requester VPC peering connection. + type: string + vpcPeeringConnectionIdRef: + description: Reference to a VPCPeeringConnection in ec2 to populate + vpcPeeringConnectionId. + 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 + vpcPeeringConnectionIdSelector: + description: Selector for a VPCPeeringConnection in ec2 to populate + vpcPeeringConnectionId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml index db6986af9b..98339b1c95 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml @@ -273,12 +273,165 @@ spec: Connection. auto_accept must be false, and use the aws_vpc_peering_connection_accepter to manage the accepter side. type: string + peerVpcId: + description: The ID of the VPC with which you are creating the + VPC Peering Connection. + type: string + peerVpcIdRef: + description: Reference to a VPC to populate peerVpcId. + 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 + peerVpcIdSelector: + description: Selector for a VPC to populate peerVpcId. + 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 x-kubernetes-map-type: granular + vpcId: + description: The ID of the requester VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpcs.yaml b/package/crds/ec2.aws.upbound.io_vpcs.yaml index 4b1446f1e8..df7729f36d 100644 --- a/package/crds/ec2.aws.upbound.io_vpcs.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcs.yaml @@ -261,6 +261,87 @@ spec: per region fee of $2 per hour, plus an hourly per instance usage fee. type: string + ipv4IpamPoolId: + description: The ID of an IPv4 IPAM pool you want to use for allocating + this VPC's CIDR. IPAM is a VPC feature that you can use to automate + your IP address management workflows including assigning, tracking, + troubleshooting, and auditing IP addresses across AWS Regions + and accounts. Using IPAM you can monitor IP address usage throughout + your AWS Organization. + type: string + ipv4IpamPoolIdRef: + description: Reference to a VPCIpamPool in ec2 to populate ipv4IpamPoolId. + 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 + ipv4IpamPoolIdSelector: + description: Selector for a VPCIpamPool in ec2 to populate ipv4IpamPoolId. + 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 ipv4NetmaskLength: description: The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id. diff --git a/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml b/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml index 7990dc6a50..020e109d3a 100644 --- a/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml +++ b/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml @@ -170,6 +170,82 @@ spec: description: The CIDR block associated with the local subnet of the customer network. type: string + vpnConnectionId: + description: The ID of the VPN connection. + type: string + vpnConnectionIdRef: + description: Reference to a VPNConnection in ec2 to populate vpnConnectionId. + 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 + vpnConnectionIdSelector: + description: Selector for a VPNConnection in ec2 to populate vpnConnectionId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpnconnections.yaml b/package/crds/ec2.aws.upbound.io_vpnconnections.yaml index 2d787ba848..342aa61d50 100644 --- a/package/crds/ec2.aws.upbound.io_vpnconnections.yaml +++ b/package/crds/ec2.aws.upbound.io_vpnconnections.yaml @@ -768,6 +768,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + customerGatewayId: + description: The ID of the customer gateway. + type: string + customerGatewayIdRef: + description: Reference to a CustomerGateway in ec2 to populate + customerGatewayId. + 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 + customerGatewayIdSelector: + description: Selector for a CustomerGateway in ec2 to populate + customerGatewayId. + 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 enableAcceleration: description: Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway. @@ -801,6 +879,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transitGatewayId: + description: The ID of the EC2 Transit Gateway. + type: string + transitGatewayIdRef: + description: Reference to a TransitGateway in ec2 to populate + transitGatewayId. + 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 + transitGatewayIdSelector: + description: Selector for a TransitGateway in ec2 to populate + transitGatewayId. + 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 transportTransitGatewayAttachmentId: description: . The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data @@ -1097,6 +1253,161 @@ spec: IPv6 traffic. Valid values are ipv4 | ipv6. ipv6 Supports only EC2 Transit Gateway. type: string + type: + description: The type of VPN connection. The only type AWS supports + at this time is "ipsec.1". + type: string + typeRef: + description: Reference to a CustomerGateway in ec2 to populate + type. + 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 + typeSelector: + description: Selector for a CustomerGateway in ec2 to populate + type. + 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 + vpnGatewayId: + description: The ID of the Virtual Private Gateway. + type: string + vpnGatewayIdRef: + description: Reference to a VPNGateway to populate vpnGatewayId. + 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 + vpnGatewayIdSelector: + description: Selector for a VPNGateway to populate vpnGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml b/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml index b096bcf376..76d0a40905 100644 --- a/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml @@ -237,6 +237,159 @@ spec: 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: + vpcId: + description: The ID of the VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 + vpnGatewayId: + description: The ID of the Virtual Private Gateway. + type: string + vpnGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate vpnGatewayId. + 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 + vpnGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate vpnGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml b/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml index 268c0f5075..5fe8a37674 100644 --- a/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml @@ -241,6 +241,161 @@ spec: 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: + routeTableId: + description: The id of the aws_route_table to propagate routes + into. + type: string + routeTableIdRef: + description: Reference to a RouteTable in ec2 to populate routeTableId. + 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 + routeTableIdSelector: + description: Selector for a RouteTable in ec2 to populate routeTableId. + 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 + vpnGatewayId: + description: The id of the aws_vpn_gateway to propagate routes + from. + type: string + vpnGatewayIdRef: + description: Reference to a VPNGateway in ec2 to populate vpnGatewayId. + 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 + vpnGatewayIdSelector: + description: Selector for a VPNGateway in ec2 to populate vpnGatewayId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ec2.aws.upbound.io_vpngateways.yaml b/package/crds/ec2.aws.upbound.io_vpngateways.yaml index d231c5de43..be3aa36def 100644 --- a/package/crds/ec2.aws.upbound.io_vpngateways.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngateways.yaml @@ -190,6 +190,82 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The VPC ID to create in. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml b/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml index 47b805d69e..2c63af9b9a 100644 --- a/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml +++ b/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml @@ -172,6 +172,82 @@ spec: See more details about Policy Parameters in the official AWS docs. type: string + repository: + description: Name of the repository to apply the policy. + type: string + repositoryRef: + description: Reference to a Repository in ecr to populate repository. + 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 + repositorySelector: + description: Selector for a Repository in ecr to populate repository. + 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 type: object managementPolicies: default: diff --git a/package/crds/ecr.aws.upbound.io_repositories.yaml b/package/crds/ecr.aws.upbound.io_repositories.yaml index b7b554e709..e9a178e5a9 100644 --- a/package/crds/ecr.aws.upbound.io_repositories.yaml +++ b/package/crds/ecr.aws.upbound.io_repositories.yaml @@ -214,6 +214,87 @@ spec: description: The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256. type: string + kmsKey: + description: The ARN of the KMS key to use when encryption_type + is KMS. If not specified, uses the default AWS managed + key for ECR. + type: string + kmsKeyRef: + description: Reference to a Key in kms to populate kmsKey. + 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 + kmsKeySelector: + description: Selector for a Key in kms to populate kmsKey. + 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 type: object type: array forceDelete: diff --git a/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml b/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml index 7f90f79077..1825fb6947 100644 --- a/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml +++ b/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml @@ -168,6 +168,82 @@ spec: policy: description: The policy document. This is a JSON formatted string type: string + repository: + description: Name of the repository to apply the policy. + type: string + repositoryRef: + description: Reference to a Repository in ecr to populate repository. + 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 + repositorySelector: + description: Selector for a Repository in ecr to populate repository. + 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 type: object managementPolicies: default: diff --git a/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml b/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml index 02ba15da3e..823f016490 100644 --- a/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml +++ b/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml @@ -170,6 +170,84 @@ spec: policy: description: The policy document. This is a JSON formatted string type: string + repositoryName: + description: Name of the repository to apply the policy. + type: string + repositoryNameRef: + description: Reference to a Repository in ecrpublic to populate + repositoryName. + 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 + repositoryNameSelector: + description: Selector for a Repository in ecrpublic to populate + repositoryName. + 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 type: object managementPolicies: default: diff --git a/package/crds/ecs.aws.upbound.io_capacityproviders.yaml b/package/crds/ecs.aws.upbound.io_capacityproviders.yaml index baa5264de3..e8eb9f01e9 100644 --- a/package/crds/ecs.aws.upbound.io_capacityproviders.yaml +++ b/package/crds/ecs.aws.upbound.io_capacityproviders.yaml @@ -220,6 +220,87 @@ spec: auto scaling group. Detailed below. items: properties: + autoScalingGroupArn: + description: '- ARN of the associated auto scaling group.' + type: string + autoScalingGroupArnRef: + description: Reference to a AutoscalingGroup in autoscaling + to populate autoScalingGroupArn. + 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 + autoScalingGroupArnSelector: + description: Selector for a AutoscalingGroup in autoscaling + to populate autoScalingGroupArn. + 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 managedScaling: description: '- Configuration block defining the parameters of the auto scaling. Detailed below.' diff --git a/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml b/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml index c0111019d3..81671644da 100644 --- a/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml +++ b/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml @@ -203,6 +203,83 @@ spec: type: string type: array x-kubernetes-list-type: set + clusterName: + description: Name of the ECS cluster to manage capacity providers + for. + type: string + clusterNameRef: + description: Reference to a Cluster in ecs to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster in ecs to populate clusterName. + 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 defaultCapacityProviderStrategy: description: Set of capacity provider strategies to use by default for the cluster. Detailed below. diff --git a/package/crds/ecs.aws.upbound.io_services.yaml b/package/crds/ecs.aws.upbound.io_services.yaml index e5095f0218..ead6880833 100644 --- a/package/crds/ecs.aws.upbound.io_services.yaml +++ b/package/crds/ecs.aws.upbound.io_services.yaml @@ -968,6 +968,82 @@ spec: type: number type: object type: array + cluster: + description: Name of an ECS cluster. + type: string + clusterRef: + description: Reference to a Cluster to populate cluster. + 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 + clusterSelector: + description: Selector for a Cluster to populate cluster. + 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 deploymentCircuitBreaker: description: Configuration block for deployment circuit breaker. See below. @@ -1034,6 +1110,89 @@ spec: to 2147483647. Only valid for services configured to use load balancers. type: number + iamRole: + description: ARN of the IAM role that allows Amazon ECS to make + calls to your load balancer on your behalf. This parameter is + required if you are using a load balancer with your service, + but only if your task definition does not use the awsvpc network + mode. If using awsvpc network mode, do not specify this role. + If your account has already created the Amazon ECS service-linked + role, that role is used by default for your service unless you + specify a role here. + type: string + iamRoleRef: + description: Reference to a Role in iam to populate iamRole. + 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 + iamRoleSelector: + description: Selector for a Role in iam to populate iamRole. + 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 launchType: description: Launch type on which to run your service. The valid values are EC2, FARGATE, and EXTERNAL. Defaults to EC2. @@ -1054,6 +1213,88 @@ spec: description: Name of the ELB (Classic) to associate with the service. type: string + targetGroupArn: + description: ARN of the Load Balancer target group to associate + with the service. + type: string + targetGroupArnRef: + description: Reference to a LBTargetGroup in elbv2 to populate + targetGroupArn. + 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 + targetGroupArnSelector: + description: Selector for a LBTargetGroup in elbv2 to populate + targetGroupArn. + 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 type: object type: array networkConfiguration: @@ -1068,6 +1309,183 @@ spec: launch type only). Valid values are true or false. Default false. type: boolean + securityGroupRefs: + description: References to SecurityGroup in ec2 to populate + securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroups. + 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 + securityGroups: + description: Security groups associated with the task or + service. If you do not specify a security group, the default + security group for the VPC is used. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetRefs: + description: References to Subnet in ec2 to populate subnets. + items: + description: A Reference to a named object. + 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 + type: array + subnetSelector: + description: Selector for a list of Subnet in ec2 to populate + subnets. + 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 + subnets: + description: Subnets associated with the task or service. + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array orderedPlacementStrategy: @@ -1251,6 +1669,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + taskDefinition: + description: Family and revision (family:revision) or full ARN + of the task definition that you want to run in your service. + Required unless using the EXTERNAL deployment controller. If + a revision is not specified, the latest ACTIVE revision is used. + type: string + taskDefinitionRef: + description: Reference to a TaskDefinition to populate taskDefinition. + 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 + taskDefinitionSelector: + description: Selector for a TaskDefinition to populate taskDefinition. + 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 triggers: additionalProperties: type: string diff --git a/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml b/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml index 18b560afdd..3dcbeee224 100644 --- a/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml +++ b/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml @@ -479,6 +479,83 @@ spec: type: number type: object type: array + executionRoleArn: + description: ARN of the task execution role that the Amazon ECS + container agent and the Docker daemon can assume. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + 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 + executionRoleArnSelector: + description: Selector for a Role in iam to populate executionRoleArn. + 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 family: description: A unique name for your task definition. type: string diff --git a/package/crds/efs.aws.upbound.io_accesspoints.yaml b/package/crds/efs.aws.upbound.io_accesspoints.yaml index 1bc1cb87b7..8db78764e4 100644 --- a/package/crds/efs.aws.upbound.io_accesspoints.yaml +++ b/package/crds/efs.aws.upbound.io_accesspoints.yaml @@ -223,6 +223,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + fileSystemId: + description: ID of the file system for which the access point + is intended. + type: string + fileSystemIdRef: + description: Reference to a FileSystem to populate fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a FileSystem to populate fileSystemId. + 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 posixUser: description: Operating system user and group applied to all file system requests made using the access point. Detailed below. diff --git a/package/crds/efs.aws.upbound.io_backuppolicies.yaml b/package/crds/efs.aws.upbound.io_backuppolicies.yaml index d4970eb2cd..de74133460 100644 --- a/package/crds/efs.aws.upbound.io_backuppolicies.yaml +++ b/package/crds/efs.aws.upbound.io_backuppolicies.yaml @@ -182,6 +182,82 @@ spec: type: string type: object type: array + fileSystemId: + description: The ID of the EFS file system. + type: string + fileSystemIdRef: + description: Reference to a FileSystem to populate fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a FileSystem to populate fileSystemId. + 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 type: object managementPolicies: default: diff --git a/package/crds/efs.aws.upbound.io_filesystempolicies.yaml b/package/crds/efs.aws.upbound.io_filesystempolicies.yaml index 54bf2a18f1..524bcb0cb6 100644 --- a/package/crds/efs.aws.upbound.io_filesystempolicies.yaml +++ b/package/crds/efs.aws.upbound.io_filesystempolicies.yaml @@ -186,6 +186,82 @@ spec: making the request from making a subsequent PutFileSystemPolicy request on the file system. The default value is false. type: boolean + fileSystemId: + description: The ID of the EFS file system. + type: string + fileSystemIdRef: + description: Reference to a FileSystem to populate fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a FileSystem to populate fileSystemId. + 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 policy: description: The JSON formatted file system policy for the EFS file system. see Docs for more info. diff --git a/package/crds/efs.aws.upbound.io_filesystems.yaml b/package/crds/efs.aws.upbound.io_filesystems.yaml index 0b2b9c895b..004b76ef65 100644 --- a/package/crds/efs.aws.upbound.io_filesystems.yaml +++ b/package/crds/efs.aws.upbound.io_filesystems.yaml @@ -229,6 +229,83 @@ spec: encrypted: description: If true, the disk will be encrypted. type: boolean + kmsKeyId: + description: The ARN for the KMS encryption key. When specifying + kms_key_id, encrypted needs to be set to true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 lifecyclePolicy: description: A file system lifecycle policy object (documented below). diff --git a/package/crds/efs.aws.upbound.io_mounttargets.yaml b/package/crds/efs.aws.upbound.io_mounttargets.yaml index e68a222589..3cdf7bf6c9 100644 --- a/package/crds/efs.aws.upbound.io_mounttargets.yaml +++ b/package/crds/efs.aws.upbound.io_mounttargets.yaml @@ -329,11 +329,249 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + fileSystemId: + description: The ID of the file system for which the mount target + is intended. + type: string + fileSystemIdRef: + description: Reference to a FileSystem to populate fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a FileSystem to populate fileSystemId. + 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 ipAddress: description: The address (within the address range of the specified subnet) at which the file system may be mounted via the mount target. type: string + securityGroups: + description: A list of up to 5 VPC security group IDs (that must + be for the same VPC as subnet specified) in effect for the mount + target. + items: + type: string + type: array + x-kubernetes-list-type: set + securityGroupsRefs: + description: References to SecurityGroup in ec2 to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupsSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroups. + 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 + subnetId: + description: The ID of the subnet to add the mount target in. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object managementPolicies: default: diff --git a/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml b/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml index 3655e7ebac..362a0b9053 100644 --- a/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml +++ b/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml @@ -203,6 +203,82 @@ spec: type: string type: object type: array + sourceFileSystemId: + description: The ID of the file system that is to be replicated. + type: string + sourceFileSystemIdRef: + description: Reference to a FileSystem in efs to populate sourceFileSystemId. + 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 + sourceFileSystemIdSelector: + description: Selector for a FileSystem in efs to populate sourceFileSystemId. + 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 type: object managementPolicies: default: diff --git a/package/crds/eks.aws.upbound.io_addons.yaml b/package/crds/eks.aws.upbound.io_addons.yaml index de6f017584..98e03e94ce 100644 --- a/package/crds/eks.aws.upbound.io_addons.yaml +++ b/package/crds/eks.aws.upbound.io_addons.yaml @@ -298,6 +298,84 @@ spec: description: on. The version must match one of the versions returned by describe-addon-versions. type: string + clusterName: + description: 100 characters in length. Must begin with an alphanumeric + character, and must only contain alphanumeric characters, dashes + and underscores (^[0-9A-Za-z][A-Za-z0-9\-_]+$). + type: string + clusterNameRef: + description: Reference to a Cluster to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster to populate clusterName. + 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 configurationValues: description: custom configuration values for addons with single JSON string. This JSON string value must match the JSON schema @@ -330,6 +408,87 @@ spec: value. Valid values are NONE, OVERWRITE, and PRESERVE. For more details see the UpdateAddon API Docs. type: string + serviceAccountRoleArn: + description: The Amazon Resource Name (ARN) of an existing IAM + role to bind to the add-on's service account. The role must + be assigned the IAM permissions required by the add-on. If you + don't specify an existing IAM role, then the add-on uses the + permissions assigned to the node IAM role. For more information, + see Amazon EKS node IAM role in the Amazon EKS User Guide. + type: string + serviceAccountRoleArnRef: + description: Reference to a Role in iam to populate serviceAccountRoleArn. + 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 + serviceAccountRoleArnSelector: + description: Selector for a Role in iam to populate serviceAccountRoleArn. + 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 diff --git a/package/crds/eks.aws.upbound.io_clusters.yaml b/package/crds/eks.aws.upbound.io_clusters.yaml index bf056b5c09..647a821076 100644 --- a/package/crds/eks.aws.upbound.io_clusters.yaml +++ b/package/crds/eks.aws.upbound.io_clusters.yaml @@ -595,6 +595,88 @@ spec: x-kubernetes-list-type: set type: object type: array + roleArn: + description: ARN of the IAM role that provides permissions for + the Kubernetes control plane to make calls to AWS API operations + on your behalf. Ensure the resource configuration includes explicit + dependencies on the IAM Role permissions by adding depends_on + if using the aws_iam_role_policy resource or aws_iam_role_policy_attachment + resource, otherwise EKS cannot delete EKS managed EC2 infrastructure + such as Security Groups on EKS Cluster deletion. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 @@ -634,6 +716,185 @@ spec: type: string type: array x-kubernetes-list-type: set + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate + securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroupIds. + 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 + securityGroupIds: + description: account elastic network interfaces that Amazon + EKS creates to use to allow communication between your + worker nodes and the Kubernetes control plane. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: account elastic network interfaces in these + subnets to allow communication between your worker nodes + and the Kubernetes control plane. + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array type: object diff --git a/package/crds/eks.aws.upbound.io_fargateprofiles.yaml b/package/crds/eks.aws.upbound.io_fargateprofiles.yaml index cdab2571ec..6a0f36f57f 100644 --- a/package/crds/eks.aws.upbound.io_fargateprofiles.yaml +++ b/package/crds/eks.aws.upbound.io_fargateprofiles.yaml @@ -349,6 +349,161 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterName: + description: 100 characters in length. Must begin with an alphanumeric + character, and must only contain alphanumeric characters, dashes + and underscores (^[0-9A-Za-z][A-Za-z0-9\-_]+$). + type: string + clusterNameRef: + description: Reference to a Cluster to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster to populate clusterName. + 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 + podExecutionRoleArn: + description: – Amazon Resource Name (ARN) of the IAM Role that + provides permissions for the EKS Fargate Profile. + type: string + podExecutionRoleArnRef: + description: Reference to a Role in iam to populate podExecutionRoleArn. + 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 + podExecutionRoleArnSelector: + description: Selector for a Role in iam to populate podExecutionRoleArn. + 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 selector: description: Configuration block(s) for selecting Kubernetes Pods to execute with this EKS Fargate Profile. Detailed below. @@ -365,6 +520,92 @@ spec: type: string type: object type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: '– Identifiers of private EC2 Subnets to associate + with the EKS Fargate Profile. These subnets must have the following + resource tag: kubernetes.io/cluster/CLUSTER_NAME (where CLUSTER_NAME + is replaced with the name of the EKS Cluster).' + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml b/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml index d723d4e12c..bd5970ae9b 100644 --- a/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml +++ b/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml @@ -205,6 +205,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterName: + description: – Name of the EKS Cluster. + type: string + clusterNameRef: + description: Reference to a Cluster to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster to populate clusterName. + 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 oidc: description: Nested attribute containing OpenID Connect identity provider information for the cluster. Detailed below. diff --git a/package/crds/eks.aws.upbound.io_nodegroups.yaml b/package/crds/eks.aws.upbound.io_nodegroups.yaml index bcbfbae53e..26a59b716e 100644 --- a/package/crds/eks.aws.upbound.io_nodegroups.yaml +++ b/package/crds/eks.aws.upbound.io_nodegroups.yaml @@ -682,6 +682,83 @@ spec: type: string type: object type: array + nodeRoleArn: + description: – Amazon Resource Name (ARN) of the IAM Role that + provides permissions for the EKS Node Group. + type: string + nodeRoleArnRef: + description: Reference to a Role in iam to populate nodeRoleArn. + 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 + nodeRoleArnSelector: + description: Selector for a Role in iam to populate nodeRoleArn. + 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 releaseVersion: description: – AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version. @@ -702,6 +779,98 @@ spec: this will allow you to use RDP, for all others this allows you to SSH into the worker nodes. type: string + sourceSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate + sourceSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + sourceSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate sourceSecurityGroupIds. + 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 + sourceSecurityGroupIds: + description: Set of EC2 Security Group IDs to allow SSH + access (port 22) from on the worker nodes. If you specify + ec2_ssh_key, but do not specify this configuration when + you create an EKS Node Group, port 22 on the worker nodes + is opened to the Internet (0.0.0.0/0). + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array scalingConfig: @@ -720,6 +889,93 @@ spec: type: number type: object type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Identifiers of EC2 Subnets to associate with the + EKS Node Group. Amazon EKS managed node groups can be launched + in both public and private subnets. If you plan to deploy load + balancers to a subnet, the private subnet must have tag kubernetes.io/role/internal-elb, + the public subnet must have tag kubernetes.io/role/elb. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string @@ -759,6 +1015,83 @@ spec: type: number type: object type: array + version: + description: – Kubernetes version. Defaults to EKS Cluster Kubernetes + version. + type: string + versionRef: + description: Reference to a Cluster in eks to populate version. + 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 + versionSelector: + description: Selector for a Cluster in eks to populate version. + 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 type: object managementPolicies: default: diff --git a/package/crds/elasticache.aws.upbound.io_clusters.yaml b/package/crds/elasticache.aws.upbound.io_clusters.yaml index 805bca0d60..584b530a19 100644 --- a/package/crds/elasticache.aws.upbound.io_clusters.yaml +++ b/package/crds/elasticache.aws.upbound.io_clusters.yaml @@ -671,6 +671,85 @@ spec: cluster creation. Valid values are "single-outpost" and "cross-outpost", however AWS currently only supports "single-outpost" mode. type: string + parameterGroupName: + description: – The name of the parameter group to associate with + this cache cluster. + type: string + parameterGroupNameRef: + description: Reference to a ParameterGroup in elasticache to populate + parameterGroupName. + 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 + parameterGroupNameSelector: + description: Selector for a ParameterGroup in elasticache to populate + parameterGroupName. + 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 port: description: create the resource. type: number @@ -694,6 +773,172 @@ spec: description: The outpost ARN in which the cache cluster will be created. type: string + replicationGroupId: + description: ID of the replication group to which this cluster + should belong. If this parameter is specified, the cluster is + added to the specified replication group as a read replica; + otherwise, the cluster is a standalone primary that is not part + of any replication group. + type: string + replicationGroupIdRef: + description: Reference to a ReplicationGroup in elasticache to + populate replicationGroupId. + 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 + replicationGroupIdSelector: + description: Selector for a ReplicationGroup in elasticache to + populate replicationGroupId. + 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 + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: – One or more VPC security groups associated with + the cache cluster. Cannot be provided with replication_group_id. + items: + type: string + type: array + x-kubernetes-list-type: set snapshotArns: description: element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. @@ -720,6 +965,84 @@ spec: will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00' type: string + subnetGroupName: + description: create the resource. Cannot be provided with replication_group_id. + type: string + subnetGroupNameRef: + description: Reference to a SubnetGroup in elasticache to populate + subnetGroupName. + 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 + subnetGroupNameSelector: + description: Selector for a SubnetGroup in elasticache to populate + subnetGroupName. + 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 diff --git a/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml b/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml index 877655a619..169645f127 100644 --- a/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml @@ -611,6 +611,84 @@ spec: description: The IP version to advertise in the discovery protocol. Valid values are ipv4 or ipv6. type: string + kmsKeyId: + description: The ARN of the key that you wish to use if encrypting + at rest. If not supplied, uses service managed encryption. Can + be specified only if at_rest_encryption_enabled = true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 logDeliveryConfiguration: description: Specifies the destination and format of Redis SLOWLOG or Redis Engine Log. See the documentation on Amazon ElastiCache. @@ -689,6 +767,92 @@ spec: this number will trigger a resizing operation before other settings modifications. Valid values are 0 to 5. type: number + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: IDs of one or more Amazon VPC security groups associated + with this replication group. Use this parameter only when you + are creating a replication group in an Amazon Virtual Private + Cloud. + items: + type: string + type: array + x-kubernetes-list-type: set securityGroupNames: description: Names of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you @@ -726,6 +890,83 @@ spec: will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: 05:00-09:00' type: string + subnetGroupName: + description: Name of the cache subnet group to be used for the + replication group. + type: string + subnetGroupNameRef: + description: Reference to a SubnetGroup to populate subnetGroupName. + 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 + subnetGroupNameSelector: + description: Selector for a SubnetGroup to populate subnetGroupName. + 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 diff --git a/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml b/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml index 4b43809ee2..f5ea5d7192 100644 --- a/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml @@ -181,6 +181,89 @@ spec: description: description: – Description for the cache subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: – List of VPC Subnet IDs for the cache subnet group + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/elasticache.aws.upbound.io_usergroups.yaml b/package/crds/elasticache.aws.upbound.io_usergroups.yaml index a777c78eac..9bba9c5085 100644 --- a/package/crds/elasticache.aws.upbound.io_usergroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_usergroups.yaml @@ -186,6 +186,88 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + userIdRefs: + description: References to User to populate userIds. + items: + description: A Reference to a named object. + 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 + type: array + userIdSelector: + description: Selector for a list of User to populate userIds. + 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 + userIds: + description: The list of user IDs that belong to the user group. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml index e8ab162f59..d38d35df1e 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml @@ -212,6 +212,87 @@ spec: to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). type: number + serviceRole: + description: The ARN of an IAM service role under which + the application version is deleted. Elastic Beanstalk + must have permission to assume this role. + type: string + serviceRoleRef: + description: Reference to a Role in iam to populate serviceRole. + 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 + serviceRoleSelector: + description: Selector for a Role in iam to populate serviceRole. + 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 type: object type: array description: diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml index fabd718b67..0a51021149 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml @@ -261,6 +261,83 @@ spec: description: Name of the Beanstalk Application the version is associated with. type: string + bucket: + description: S3 bucket that contains the Application Version source + bundle. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 description: description: Short description of the Application Version. type: string @@ -268,6 +345,83 @@ spec: description: On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments. type: boolean + key: + description: S3 object that is the Application Version source + bundle. + type: string + keyRef: + description: Reference to a Object in s3 to populate key. + 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 + keySelector: + description: Selector for a Object in s3 to populate key. + 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 diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml index 558ae51762..5ed5b87c61 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml @@ -197,6 +197,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + application: + description: – name of the application to associate with this + configuration template + type: string + applicationRef: + description: Reference to a Application in elasticbeanstalk to + populate application. + 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 + applicationSelector: + description: Selector for a Application in elasticbeanstalk to + populate application. + 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 description: description: Short description of the Template type: string diff --git a/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml b/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml index 94356d466e..4da40212d3 100644 --- a/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml +++ b/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml @@ -172,6 +172,84 @@ spec: description: IAM policy document specifying the access policies for the domain type: string + domainName: + description: Name of the domain. + type: string + domainNameRef: + description: Reference to a Domain in elasticsearch to populate + domainName. + 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 + domainNameSelector: + description: Selector for a Domain in elasticsearch to populate + domainName. + 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 type: object managementPolicies: default: diff --git a/package/crds/elasticsearch.aws.upbound.io_domains.yaml b/package/crds/elasticsearch.aws.upbound.io_domains.yaml index 8a60469f4c..15f287092e 100644 --- a/package/crds/elasticsearch.aws.upbound.io_domains.yaml +++ b/package/crds/elasticsearch.aws.upbound.io_domains.yaml @@ -784,6 +784,88 @@ spec: below. items: properties: + cloudwatchLogGroupArn: + description: ARN of the Cloudwatch log group to which log + needs to be published. + type: string + cloudwatchLogGroupArnRef: + description: Reference to a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 + cloudwatchLogGroupArnSelector: + description: Selector for a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 enabled: description: Whether given log publishing option is enabled or not. diff --git a/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml b/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml index ca53461650..8e62313023 100644 --- a/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml +++ b/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml @@ -524,6 +524,86 @@ spec: save transcoded files and playlists. (documented below) items: properties: + bucket: + description: The Amazon S3 bucket in which you want Elastic + Transcoder to save transcoded files and playlists. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 storageClass: description: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files @@ -554,6 +634,84 @@ spec: type: string type: object type: array + inputBucket: + description: The Amazon S3 bucket in which you saved the media + files that you want to transcode and the graphics that you want + to use as watermarks. + type: string + inputBucketRef: + description: Reference to a Bucket in s3 to populate inputBucket. + 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 + inputBucketSelector: + description: Selector for a Bucket in s3 to populate inputBucket. + 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 name: description: The name of the pipeline. Maximum 40 characters type: string @@ -590,12 +748,170 @@ spec: description: The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. type: string + role: + description: The IAM Amazon Resource Name (ARN) for the role that + you want Elastic Transcoder to use to transcode jobs for this + pipeline. + type: string + roleRef: + description: Reference to a Role in iam to populate role. + 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 + roleSelector: + description: Selector for a Role in iam to populate role. + 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 thumbnailConfig: description: The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below) items: properties: + bucket: + description: The Amazon S3 bucket in which you want Elastic + Transcoder to save transcoded files and playlists. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 storageClass: description: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files diff --git a/package/crds/elb.aws.upbound.io_attachments.yaml b/package/crds/elb.aws.upbound.io_attachments.yaml index 336170731c..0304f37bbd 100644 --- a/package/crds/elb.aws.upbound.io_attachments.yaml +++ b/package/crds/elb.aws.upbound.io_attachments.yaml @@ -237,6 +237,159 @@ spec: 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: + elb: + description: The name of the ELB. + type: string + elbRef: + description: Reference to a ELB to populate elb. + 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 + elbSelector: + description: Selector for a ELB to populate elb. + 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 + instance: + description: Instance ID to place in the ELB pool. + type: string + instanceRef: + description: Reference to a Instance in ec2 to populate instance. + 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 + instanceSelector: + description: Selector for a Instance in ec2 to populate instance. + 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 type: object managementPolicies: default: diff --git a/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml b/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml index 802097d4fe..c04a1b65c2 100644 --- a/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml @@ -174,6 +174,82 @@ spec: instancePort: description: The instance port to apply the policy to. type: number + loadBalancerName: + description: The load balancer to attach the policy to. + type: string + loadBalancerNameRef: + description: Reference to a ELB in elb to populate loadBalancerName. + 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 + loadBalancerNameSelector: + description: Selector for a ELB in elb to populate loadBalancerName. + 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 policyNames: description: List of Policy Names to apply to the backend server. items: diff --git a/package/crds/elb.aws.upbound.io_elbs.yaml b/package/crds/elb.aws.upbound.io_elbs.yaml index 690501f2d5..a13b9739f5 100644 --- a/package/crds/elb.aws.upbound.io_elbs.yaml +++ b/package/crds/elb.aws.upbound.io_elbs.yaml @@ -444,6 +444,89 @@ spec: description: 'The time in seconds that the connection is allowed to be idle. Default: 60' type: number + instances: + description: A list of instance ids to place in the ELB pool. + items: + type: string + type: array + x-kubernetes-list-type: set + instancesRefs: + description: References to Instance in ec2 to populate instances. + items: + description: A Reference to a named object. + 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 + type: array + instancesSelector: + description: Selector for a list of Instance in ec2 to populate + instances. + 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 internal: description: If true, ELB will be an internal ELB. type: boolean @@ -484,6 +567,91 @@ spec: part of your inbound rules for your load balancer's back-end application instances. Use this for Classic or Default VPC only. type: string + subnets: + description: A list of subnet IDs to attach to the ELB. When an + update to subnets will remove all current subnets, this will + force a new resource. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetsRefs: + description: References to Subnet in ec2 to populate subnets. + items: + description: A Reference to a named object. + 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 + type: array + subnetsSelector: + description: Selector for a list of Subnet in ec2 to populate + subnets. + 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 diff --git a/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml b/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml index a96f118ba2..e0c67119cf 100644 --- a/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml +++ b/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml @@ -183,6 +183,82 @@ spec: description: The load balancer port to which the policy should be applied. This must be an active listener on the load balancer. type: number + loadBalancer: + description: The load balancer to which the policy should be attached. + type: string + loadBalancerRef: + description: Reference to a ELB in elb to populate loadBalancer. + 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 + loadBalancerSelector: + description: Selector for a ELB in elb to populate loadBalancer. + 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 name: description: The name of the stickiness policy. type: string diff --git a/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml b/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml index 0f869037d6..30ca8d710e 100644 --- a/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml @@ -208,6 +208,82 @@ spec: description: The load balancer port to which the policy should be applied. This must be an active listener on the load balancer. type: number + loadBalancer: + description: The load balancer to which the policy should be attached. + type: string + loadBalancerRef: + description: Reference to a ELB in elb to populate loadBalancer. + 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 + loadBalancerSelector: + description: Selector for a ELB in elb to populate loadBalancer. + 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 name: description: The name of the SSL negotiation policy. type: string diff --git a/package/crds/elb.aws.upbound.io_listenerpolicies.yaml b/package/crds/elb.aws.upbound.io_listenerpolicies.yaml index 33fc9654e6..9c1d851c3c 100644 --- a/package/crds/elb.aws.upbound.io_listenerpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_listenerpolicies.yaml @@ -179,6 +179,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + loadBalancerName: + description: The load balancer to attach the policy to. + type: string + loadBalancerNameRef: + description: Reference to a ELB in elb to populate loadBalancerName. + 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 + loadBalancerNameSelector: + description: Selector for a ELB in elb to populate loadBalancerName. + 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 loadBalancerPort: description: The load balancer listener port to apply the policy to. diff --git a/package/crds/elb.aws.upbound.io_policies.yaml b/package/crds/elb.aws.upbound.io_policies.yaml index 9544d3d6c3..143a98b7e0 100644 --- a/package/crds/elb.aws.upbound.io_policies.yaml +++ b/package/crds/elb.aws.upbound.io_policies.yaml @@ -254,12 +254,166 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + loadBalancerName: + description: The load balancer on which the policy is defined. + type: string + loadBalancerNameRef: + description: Reference to a ELB in elb to populate loadBalancerName. + 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 + loadBalancerNameSelector: + description: Selector for a ELB in elb to populate loadBalancerName. + 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 policyAttribute: description: Policy attribute to apply to the policy. items: properties: name: type: string + value: + type: string + valueRef: + description: Reference to a Policy in elb to populate value. + 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 + valueSelector: + description: Selector for a Policy in elb to populate value. + 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 type: object type: array policyName: diff --git a/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml b/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml index bd5780898d..d53e6ee5d6 100644 --- a/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml @@ -179,6 +179,82 @@ spec: type: string type: array x-kubernetes-list-type: set + loadBalancer: + description: The load balancer to which the policy should be attached. + type: string + loadBalancerRef: + description: Reference to a ELB in elb to populate loadBalancer. + 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 + loadBalancerSelector: + description: Selector for a ELB in elb to populate loadBalancer. + 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 type: object managementPolicies: default: diff --git a/package/crds/elbv2.aws.upbound.io_lblistenercertificates.yaml b/package/crds/elbv2.aws.upbound.io_lblistenercertificates.yaml index b281411fad..36b5899b1e 100644 --- a/package/crds/elbv2.aws.upbound.io_lblistenercertificates.yaml +++ b/package/crds/elbv2.aws.upbound.io_lblistenercertificates.yaml @@ -237,6 +237,159 @@ spec: 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: + certificateArn: + description: The ARN of the certificate to attach to the listener. + type: string + certificateArnRef: + description: Reference to a Certificate in acm to populate certificateArn. + 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 + certificateArnSelector: + description: Selector for a Certificate in acm to populate certificateArn. + 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 + listenerArn: + description: The ARN of the listener to which to attach the certificate. + type: string + listenerArnRef: + description: Reference to a LBListener in elbv2 to populate listenerArn. + 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 + listenerArnSelector: + description: Selector for a LBListener in elbv2 to populate listenerArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml b/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml index d5abdc4879..5bfeeccecb 100644 --- a/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml +++ b/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml @@ -989,6 +989,256 @@ spec: description: The maximum duration of the authentication session, in seconds. type: number + userPoolArn: + description: The ARN of the Cognito user pool. + type: string + userPoolArnRef: + description: Reference to a UserPool in cognitoidp + to populate userPoolArn. + 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 + userPoolArnSelector: + description: Selector for a UserPool in cognitoidp + to populate userPoolArn. + 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 + userPoolClientId: + description: The ID of the Cognito user pool client. + type: string + userPoolClientIdRef: + description: Reference to a UserPoolClient in cognitoidp + to populate userPoolClientId. + 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 + userPoolClientIdSelector: + description: Selector for a UserPoolClient in cognitoidp + to populate userPoolClientId. + 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 + userPoolDomain: + description: The domain prefix or fully-qualified + domain name of the Cognito user pool. + type: string + userPoolDomainRef: + description: Reference to a UserPoolDomain in cognitoidp + to populate userPoolDomain. + 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 + userPoolDomainSelector: + description: Selector for a UserPoolDomain in cognitoidp + to populate userPoolDomain. + 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 type: object type: array authenticateOidc: @@ -1085,6 +1335,94 @@ spec: description: One or more target groups block. items: properties: + arn: + description: The Amazon Resource Name (ARN) + of the target group. + type: string + arnRef: + description: Reference to a LBTargetGroup in + elbv2 to populate arn. + 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 + arnSelector: + description: Selector for a LBTargetGroup in + elbv2 to populate arn. + 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 weight: description: The weight. The range is 0 to 999. type: number @@ -1129,6 +1467,90 @@ spec: type: string type: object type: array + targetGroupArn: + description: The ARN of the Target Group to which to route + traffic. Specify only if type is forward and you want + to route to a single target group. To route to one or + more target groups, use a forward block instead. + type: string + targetGroupArnRef: + description: Reference to a LBTargetGroup in elbv2 to populate + targetGroupArn. + 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 + targetGroupArnSelector: + description: Selector for a LBTargetGroup in elbv2 to populate + targetGroupArn. + 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 type: description: The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito @@ -1297,6 +1719,82 @@ spec: type: array type: object type: array + listenerArn: + description: The ARN of the listener to which to attach the rule. + type: string + listenerArnRef: + description: Reference to a LBListener in elbv2 to populate listenerArn. + 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 + listenerArnSelector: + description: Selector for a LBListener in elbv2 to populate listenerArn. + 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 priority: description: The priority for the rule between 1 and 50000. Leaving it unset will automatically set the rule with next available diff --git a/package/crds/elbv2.aws.upbound.io_lblisteners.yaml b/package/crds/elbv2.aws.upbound.io_lblisteners.yaml index 0e54d850e1..82b7dd56a5 100644 --- a/package/crds/elbv2.aws.upbound.io_lblisteners.yaml +++ b/package/crds/elbv2.aws.upbound.io_lblisteners.yaml @@ -752,6 +752,93 @@ spec: below. items: properties: + arn: + description: ARN of the target group. + type: string + arnRef: + description: Reference to a LBTargetGroup to + populate arn. + 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 + arnSelector: + description: Selector for a LBTargetGroup to + populate arn. + 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 weight: description: Weight. The range is 0 to 999. type: number @@ -799,12 +886,170 @@ spec: type: string type: object type: array + targetGroupArn: + description: ARN of the Target Group to which to route traffic. + Specify only if type is forward and you want to route + to a single target group. To route to one or more target + groups, use a forward block instead. + type: string + targetGroupArnRef: + description: Reference to a LBTargetGroup to populate targetGroupArn. + 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 + targetGroupArnSelector: + description: Selector for a LBTargetGroup to populate targetGroupArn. + 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 type: description: Type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc. type: string type: object type: array + loadBalancerArn: + description: ARN of the load balancer. + type: string + loadBalancerArnRef: + description: Reference to a LB to populate loadBalancerArn. + 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 + loadBalancerArnSelector: + description: Selector for a LB to populate loadBalancerArn. + 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 mutualAuthentication: description: The mutual authentication configuration information. Detailed below. diff --git a/package/crds/elbv2.aws.upbound.io_lbs.yaml b/package/crds/elbv2.aws.upbound.io_lbs.yaml index 1cefb2181b..8c7fcac4d2 100644 --- a/package/crds/elbv2.aws.upbound.io_lbs.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbs.yaml @@ -579,6 +579,85 @@ spec: description: An Access Logs block. Access Logs documented below. items: properties: + bucket: + description: The S3 bucket name to store the logs in. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 enabled: description: Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified. @@ -697,6 +776,94 @@ spec: preserve the Host header in the HTTP request and send it to the target without any change. Defaults to false. type: boolean + securityGroupRefs: + description: References to SecurityGroup in ec2 to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroups. + 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 + securityGroups: + description: A list of security group IDs to assign to the LB. + Only valid for Load Balancers of type application or network. + For load balancers of type network security groups cannot be + added if none are currently present, and cannot all be removed + once added. If either of these conditions are met, this will + force a recreation of the resource. + items: + type: string + type: array + x-kubernetes-list-type: set subnetMapping: description: A subnet mapping block as documented below. For Load Balancers of type network subnet mappings can only be added. @@ -716,8 +883,175 @@ spec: description: The private IPv4 address for an internal load balancer. type: string + subnetId: + description: ID of the subnet of which to attach to the + load balancer. You can specify only one subnet per Availability + Zone. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object type: array + subnetRefs: + description: References to Subnet in ec2 to populate subnets. + items: + description: A Reference to a named object. + 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 + type: array + subnetSelector: + description: Selector for a list of Subnet in ec2 to populate + subnets. + 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 + subnets: + description: A list of subnet IDs to attach to the LB. For Load + Balancers of type network subnets can only be added (see Availability + Zones), deleting a subnet for load balancers of type network + will force a recreation of the resource. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml b/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml index f1bd5ae410..1b5e3833c2 100644 --- a/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml @@ -188,6 +188,83 @@ spec: port: description: The port on which targets receive traffic. type: number + targetGroupArn: + description: The ARN of the target group with which to register + targets. + type: string + targetGroupArnRef: + description: Reference to a LBTargetGroup to populate targetGroupArn. + 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 + targetGroupArnSelector: + description: Selector for a LBTargetGroup to populate targetGroupArn. + 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 targetId: description: The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the diff --git a/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml b/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml index dc8ae28eef..7da7488cc0 100644 --- a/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml @@ -572,6 +572,84 @@ spec: targets with this target group. See doc for supported values. The default is instance. type: string + vpcId: + description: Identifier of the VPC in which to create the target + group. Required when target_type is instance, ip or alb. Does + not apply when target_type is lambda. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/firehose.aws.upbound.io_deliverystreams.yaml b/package/crds/firehose.aws.upbound.io_deliverystreams.yaml index be08414a44..4796695e4d 100644 --- a/package/crds/firehose.aws.upbound.io_deliverystreams.yaml +++ b/package/crds/firehose.aws.upbound.io_deliverystreams.yaml @@ -4221,6 +4221,88 @@ spec: description: The endpoint to use when communicating with the cluster. Conflicts with domain_arn. type: string + domainArn: + description: The ARN of the Amazon ES domain. The pattern + needs to be arn:.*. Conflicts with cluster_endpoint. + type: string + domainArnRef: + description: Reference to a Domain in elasticsearch to populate + domainArn. + 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 + domainArnSelector: + description: Selector for a Domain in elasticsearch to populate + domainArn. + 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 indexName: description: The Elasticsearch index name. type: string @@ -4286,6 +4368,86 @@ spec: the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. type: number + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupMode: description: The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. @@ -4295,6 +4457,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -4352,18 +4597,186 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string - type: object - type: array - typeName: - description: The Elasticsearch type name with maximum length - of 100 characters. - type: string - vpcConfig: - description: The VPC configuration for the delivery stream - to connect to Elastic Search associated with the VPC. - More details are given below - items: + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 + type: object + type: array + typeName: + description: The Elasticsearch type name with maximum length + of 100 characters. + type: string + vpcConfig: + description: The VPC configuration for the delivery stream + to connect to Elastic Search associated with the VPC. + More details are given below + items: properties: + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 securityGroupIds: description: A list of security group IDs to associate with Kinesis Firehose. @@ -4387,6 +4800,85 @@ spec: More details are given below. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering @@ -4712,6 +5204,183 @@ spec: database that contains the schema for the output data. type: string + roleArn: + description: The ARN of the role that provides + access to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 + tableName: + description: Specifies the AWS Glue table that + contains the column information that constitutes + your data schema. + type: string + tableNameRef: + description: Reference to a CatalogTable in + glue to populate tableName. + 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 + tableNameSelector: + description: Selector for a CatalogTable in + glue to populate tableName. + 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 versionId: description: Specifies the table version for the output data schema. Defaults to LATEST. @@ -4806,6 +5475,86 @@ spec: type: array type: object type: array + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupConfiguration: description: The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same @@ -5011,6 +5760,86 @@ spec: the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. type: number + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupMode: description: The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. @@ -5020,6 +5849,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5077,6 +5989,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array url: @@ -5174,6 +6170,88 @@ spec: description: The endpoint to use when communicating with the cluster. Conflicts with domain_arn. type: string + domainArn: + description: The ARN of the Amazon ES domain. The pattern + needs to be arn:.*. Conflicts with cluster_endpoint. + type: string + domainArnRef: + description: Reference to a Domain in opensearch to populate + domainArn. + 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 + domainArnSelector: + description: Selector for a Domain in opensearch to populate + domainArn. + 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 indexName: description: The Elasticsearch index name. type: string @@ -5239,6 +6317,86 @@ spec: the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. type: number + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupMode: description: The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. @@ -5248,6 +6406,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5305,6 +6546,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array typeName: @@ -5317,6 +6642,90 @@ spec: More details are given below items: properties: + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 securityGroupIds: description: A list of security group IDs to associate with Kinesis Firehose. @@ -5432,6 +6841,86 @@ spec: the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. type: number + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupMode: description: The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. @@ -5441,6 +6930,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5498,6 +7070,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array vpcConfig: @@ -5624,12 +7280,175 @@ spec: the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. type: number + roleArn: + description: The ARN of the role that provides access to + the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 s3BackupConfiguration: description: The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5687,6 +7506,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array s3BackupMode: @@ -5698,6 +7601,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5755,6 +7741,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array username: @@ -5887,6 +7957,89 @@ spec: for more details. items: properties: + bucketArn: + description: The ARN of the S3 bucket + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 bufferingInterval: description: Buffer incoming data for the specified period of time, in seconds between 60 to 900, before @@ -5944,6 +8097,90 @@ spec: ends with a slash, it appears as a folder in the S3 bucket type: string + roleArn: + description: The ARN of the role that provides access + to the source Kinesis stream. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array type: object diff --git a/package/crds/fis.aws.upbound.io_experimenttemplates.yaml b/package/crds/fis.aws.upbound.io_experimenttemplates.yaml index 59d4e1c733..72067d36d6 100644 --- a/package/crds/fis.aws.upbound.io_experimenttemplates.yaml +++ b/package/crds/fis.aws.upbound.io_experimenttemplates.yaml @@ -422,6 +422,83 @@ spec: type: array type: object type: array + roleArn: + description: ARN of an IAM role that grants the AWS FIS service + permission to perform service actions on your behalf. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 stopCondition: description: When an ongoing experiment should be stopped. See below. diff --git a/package/crds/fsx.aws.upbound.io_backups.yaml b/package/crds/fsx.aws.upbound.io_backups.yaml index 8acc5c3757..78a6b53ad8 100644 --- a/package/crds/fsx.aws.upbound.io_backups.yaml +++ b/package/crds/fsx.aws.upbound.io_backups.yaml @@ -174,6 +174,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + fileSystemId: + description: The ID of the file system to back up. Required if + backing up Lustre or Windows file systems. + type: string + fileSystemIdRef: + description: Reference to a LustreFileSystem in fsx to populate + fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a LustreFileSystem in fsx to populate + fileSystemId. + 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 diff --git a/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml b/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml index 31e4b2affa..4a2227c3c0 100644 --- a/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml +++ b/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml @@ -274,6 +274,85 @@ spec: upon deleting this data repository association. Defaults to false. type: boolean + fileSystemId: + description: The ID of the Amazon FSx file system to on which + to create a data repository association. + type: string + fileSystemIdRef: + description: Reference to a LustreFileSystem in fsx to populate + fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a LustreFileSystem in fsx to populate + fileSystemId. + 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 fileSystemPath: description: A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) diff --git a/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml b/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml index 97d25b9e6f..74612e6e25 100644 --- a/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml @@ -559,6 +559,84 @@ spec: maximum of 512000. Only supported on PERSISTENT_1 deployment types. type: number + kmsKeyId: + description: ARN for the KMS Key to encrypt the file system at + rest, applicable for PERSISTENT_1 and PERSISTENT_2 deployment_type. + Defaults to an AWS managed KMS Key. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 logConfiguration: description: The Lustre logging configuration used when creating an Amazon FSx for Lustre file system. When logging is enabled, @@ -621,6 +699,91 @@ spec: type: string type: object type: array + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: A list of IDs for the security groups that apply + to the specified network interfaces created for file system + access. These security groups will apply to all network interfaces. + items: + type: string + type: array + x-kubernetes-list-type: set storageCapacity: description: The storage capacity (GiB) of the file system. Minimum of 1200. See more details at Allowed values for Fsx storage @@ -634,6 +797,91 @@ spec: defaults to SSD. HDD is only supported on PERSISTENT_1 deployment types.' type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of IDs for the subnets that the file system + will be accessible from. File systems currently support only + one subnet. The file server is also launched in that subnet's + Availability Zone. + items: + type: string + type: array tags: additionalProperties: type: string diff --git a/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml b/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml index 2bafaa61c0..d4b6c8072f 100644 --- a/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml @@ -533,6 +533,160 @@ spec: FSx selects an unused IP address range for you from the 198.19.* range. type: string + kmsKeyId: + description: ARN for the KMS Key to encrypt the file system at + rest, Defaults to an AWS managed KMS Key. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 + preferredSubnetId: + description: The ID for a subnet. A subnet is a range of IP addresses + in your virtual private cloud (VPC). + type: string + preferredSubnetIdRef: + description: Reference to a Subnet in ec2 to populate preferredSubnetId. + 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 + preferredSubnetIdSelector: + description: Selector for a Subnet in ec2 to populate preferredSubnetId. + 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 routeTableIds: description: Specifies the VPC route tables in which your file system's endpoints will be created. You should specify all VPC @@ -543,6 +697,91 @@ spec: type: string type: array x-kubernetes-list-type: set + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: A list of IDs for the security groups that apply + to the specified network interfaces created for file system + access. These security groups will apply to all network interfaces. + items: + type: string + type: array + x-kubernetes-list-type: set storageCapacity: description: The storage capacity (GiB) of the file system. Valid values between 1024 and 196608. @@ -550,6 +789,89 @@ spec: storageType: description: '- The filesystem storage type. defaults to SSD.' type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of IDs for the subnets that the file system + will be accessible from. Upto 2 subnets can be provided. + items: + type: string + type: array tags: additionalProperties: type: string diff --git a/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml b/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml index 546d580c49..744462926d 100644 --- a/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml +++ b/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml @@ -331,6 +331,85 @@ spec: type: array type: object type: array + fileSystemId: + description: The ID of the Amazon FSx ONTAP File System that this + SVM will be created on. + type: string + fileSystemIdRef: + description: Reference to a OntapFileSystem in fsx to populate + fileSystemId. + 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 + fileSystemIdSelector: + description: Selector for a OntapFileSystem in fsx to populate + fileSystemId. + 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 name: description: The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character. diff --git a/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml b/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml index a83aca2f60..f96ef041e6 100644 --- a/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml @@ -595,6 +595,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + activeDirectoryId: + description: The ID for an existing Microsoft Active Directory + instance that the file system should join when it's created. + Cannot be specified with self_managed_active_directory. + type: string + activeDirectoryIdRef: + description: Reference to a Directory in ds to populate activeDirectoryId. + 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 + activeDirectoryIdSelector: + description: Selector for a Directory in ds to populate activeDirectoryId. + 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 aliases: description: An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see @@ -676,11 +754,173 @@ spec: type: string type: object type: array + kmsKeyId: + description: ARN for the KMS Key to encrypt the file system at + rest. Defaults to an AWS managed KMS Key. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 preferredSubnetId: description: Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is MULTI_AZ_1. type: string + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: A list of IDs for the security groups that apply + to the specified network interfaces created for file system + access. These security groups will apply to all network interfaces. + items: + type: string + type: array + x-kubernetes-list-type: set selfManagedActiveDirectory: description: Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including @@ -745,6 +985,90 @@ spec: and HDD. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types. Default value is SSD. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of IDs for the subnets that the file system + will be accessible from. To specify more than a single subnet + set deployment_type to MULTI_AZ_1. + items: + type: string + type: array tags: additionalProperties: type: string diff --git a/package/crds/gamelift.aws.upbound.io_builds.yaml b/package/crds/gamelift.aws.upbound.io_builds.yaml index 8a6ff3f1e6..ae0789b59f 100644 --- a/package/crds/gamelift.aws.upbound.io_builds.yaml +++ b/package/crds/gamelift.aws.upbound.io_builds.yaml @@ -366,10 +366,249 @@ spec: are stored. See below. items: properties: + bucket: + description: Name of your S3 bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 + key: + description: Name of the zip file containing your build + files. + type: string + keyRef: + description: Reference to a Object in s3 to populate key. + 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 + keySelector: + description: Selector for a Object in s3 to populate key. + 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 objectVersion: description: A specific version of the file. If not set, the latest version of the file is retrieved. type: string + roleArn: + description: ARN of the access role that allows Amazon GameLift + to access your S3 bucket. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object type: array tags: diff --git a/package/crds/gamelift.aws.upbound.io_fleet.yaml b/package/crds/gamelift.aws.upbound.io_fleet.yaml index 22aef46867..5f367bfb12 100644 --- a/package/crds/gamelift.aws.upbound.io_fleet.yaml +++ b/package/crds/gamelift.aws.upbound.io_fleet.yaml @@ -363,6 +363,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + buildId: + description: ID of the GameLift Build to be deployed on the fleet. + type: string + buildIdRef: + description: Reference to a Build to populate buildId. + 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 + buildIdSelector: + description: Selector for a Build to populate buildId. + 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 certificateConfiguration: description: Prompts GameLift to generate a TLS/SSL certificate for the fleet. See certificate_configuration. @@ -411,6 +487,83 @@ spec: description: Type of fleet. This value must be ON_DEMAND or SPOT. Defaults to ON_DEMAND. type: string + instanceRoleArn: + description: ARN of an IAM role that instances in the fleet can + assume. + type: string + instanceRoleArnRef: + description: Reference to a Role in iam to populate instanceRoleArn. + 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 + instanceRoleArnSelector: + description: Selector for a Role in iam to populate instanceRoleArn. + 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 metricGroups: description: List of names of metric groups to add this fleet to. A metric group tracks metrics across all fleets in the group. diff --git a/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml b/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml index e82401d0a8..e4c9f7127d 100644 --- a/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml +++ b/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml @@ -210,6 +210,83 @@ spec: items: type: string type: array + notificationTarget: + description: An SNS topic ARN that is set up to receive game session + placement notifications. + type: string + notificationTargetRef: + description: Reference to a Topic in sns to populate notificationTarget. + 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 + notificationTargetSelector: + description: Selector for a Topic in sns to populate notificationTarget. + 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 playerLatencyPolicy: description: One or more policies used to choose fleet based on player latency. See below. diff --git a/package/crds/gamelift.aws.upbound.io_scripts.yaml b/package/crds/gamelift.aws.upbound.io_scripts.yaml index c025ab3a01..29adbcf755 100644 --- a/package/crds/gamelift.aws.upbound.io_scripts.yaml +++ b/package/crds/gamelift.aws.upbound.io_scripts.yaml @@ -361,10 +361,249 @@ spec: are stored. See below. items: properties: + bucket: + description: Name of your S3 bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 + key: + description: Name of the zip file containing your script + files. + type: string + keyRef: + description: Reference to a Object in s3 to populate key. + 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 + keySelector: + description: Selector for a Object in s3 to populate key. + 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 objectVersion: description: A specific version of the file. If not set, the latest version of the file is retrieved. type: string + roleArn: + description: ARN of the access role that allows Amazon GameLift + to access your S3 bucket. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object type: array tags: diff --git a/package/crds/glacier.aws.upbound.io_vaultlocks.yaml b/package/crds/glacier.aws.upbound.io_vaultlocks.yaml index 89ca76659c..ec24cb64e8 100644 --- a/package/crds/glacier.aws.upbound.io_vaultlocks.yaml +++ b/package/crds/glacier.aws.upbound.io_vaultlocks.yaml @@ -196,6 +196,82 @@ spec: description: JSON string containing the IAM policy to apply as the Glacier Vault Lock policy. type: string + vaultName: + description: The name of the Glacier Vault. + type: string + vaultNameRef: + description: Reference to a Vault in glacier to populate vaultName. + 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 + vaultNameSelector: + description: Selector for a Vault in glacier to populate vaultName. + 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 type: object managementPolicies: default: diff --git a/package/crds/glacier.aws.upbound.io_vaults.yaml b/package/crds/glacier.aws.upbound.io_vaults.yaml index 3945cd1754..2fef9f6806 100644 --- a/package/crds/glacier.aws.upbound.io_vaults.yaml +++ b/package/crds/glacier.aws.upbound.io_vaults.yaml @@ -210,6 +210,85 @@ spec: type: string type: array x-kubernetes-list-type: set + snsTopic: + description: The SNS Topic ARN. + type: string + snsTopicRef: + description: Reference to a Topic in sns to populate snsTopic. + 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 + snsTopicSelector: + description: Selector for a Topic in sns to populate snsTopic. + 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 type: object type: array tags: diff --git a/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml b/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml index b03fbc3259..87b37f44d4 100644 --- a/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml +++ b/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml @@ -290,6 +290,82 @@ spec: check the health of endpoints that are part of this endpoint group. The default value is TCP. type: string + listenerArn: + description: The Amazon Resource Name (ARN) of the listener. + type: string + listenerArnRef: + description: Reference to a Listener to populate listenerArn. + 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 + listenerArnSelector: + description: Selector for a Listener to populate listenerArn. + 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 portOverride: description: Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented diff --git a/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml b/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml index 3a2b8a41e1..dea0e05bae 100644 --- a/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml +++ b/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml @@ -188,6 +188,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + acceleratorArn: + description: The Amazon Resource Name (ARN) of your accelerator. + type: string + acceleratorArnRef: + description: Reference to a Accelerator to populate acceleratorArn. + 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 + acceleratorArnSelector: + description: Selector for a Accelerator to populate acceleratorArn. + 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 clientAffinity: description: 'Direct all requests from a user to the same endpoint. Valid values are NONE, SOURCE_IP. Default: NONE. If NONE, Global diff --git a/package/crds/glue.aws.upbound.io_connections.yaml b/package/crds/glue.aws.upbound.io_connections.yaml index bfc15aaecb..4ef9195109 100644 --- a/package/crds/glue.aws.upbound.io_connections.yaml +++ b/package/crds/glue.aws.upbound.io_connections.yaml @@ -317,12 +317,172 @@ spec: VPC and SecurityGroup. Defined below. items: properties: + availabilityZone: + description: The availability zone of the connection. This + field is redundant and implied by subnet_id, but is currently + an api requirement. + type: string + availabilityZoneRef: + description: Reference to a Subnet in ec2 to populate availabilityZone. + 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 + availabilityZoneSelector: + description: Selector for a Subnet in ec2 to populate availabilityZone. + 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 securityGroupIdList: description: The security group ID list used by the connection. items: type: string type: array x-kubernetes-list-type: set + subnetId: + description: The subnet ID used by the connection. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object type: array tags: diff --git a/package/crds/glue.aws.upbound.io_crawlers.yaml b/package/crds/glue.aws.upbound.io_crawlers.yaml index a58c552ace..2b3d149987 100644 --- a/package/crds/glue.aws.upbound.io_crawlers.yaml +++ b/package/crds/glue.aws.upbound.io_crawlers.yaml @@ -791,6 +791,87 @@ spec: description: The name of the connection to use to connect to the JDBC target. type: string + databaseName: + description: Glue database where results are written. + type: string + databaseNameRef: + description: Reference to a CatalogDatabase in glue to populate + databaseName. + 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 + databaseNameSelector: + description: Selector for a CatalogDatabase in glue to populate + databaseName. + 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 dlqEventQueueArn: description: The ARN of the dead-letter SQS queue. type: string @@ -816,6 +897,84 @@ spec: description: JSON string of configuration information. For more details see Setting Crawler Configuration Options. type: string + databaseName: + description: Glue database where results are written. + type: string + databaseNameRef: + description: Reference to a CatalogDatabase in glue to populate + databaseName. + 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 + databaseNameSelector: + description: Selector for a CatalogDatabase in glue to populate + databaseName. + 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 deltaTarget: description: List of nested Delta Lake target arguments. See Delta Target below. @@ -932,6 +1091,88 @@ spec: below. items: properties: + connectionName: + description: The name of the connection to use to connect + to the JDBC target. + type: string + connectionNameRef: + description: Reference to a Connection in glue to populate + connectionName. + 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 + connectionNameSelector: + description: Selector for a Connection in glue to populate + connectionName. + 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 enableAdditionalMetadata: description: Specify a value of RAWTYPES or COMMENTS to enable additional metadata intable responses. RAWTYPES @@ -983,6 +1224,88 @@ spec: Target below. items: properties: + connectionName: + description: The name of the connection to use to connect + to the JDBC target. + type: string + connectionNameRef: + description: Reference to a Connection in glue to populate + connectionName. + 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 + connectionNameSelector: + description: Selector for a Connection in glue to populate + connectionName. + 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 path: description: The name of the DynamoDB table to crawl. type: string @@ -1009,6 +1332,84 @@ spec: type: string type: object type: array + role: + description: The IAM role friendly name (including path without + leading slash), or ARN of an IAM role, used by the crawler to + access other resources. + type: string + roleRef: + description: Reference to a Role in iam to populate role. + 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 + roleSelector: + description: Selector for a Role in iam to populate role. + 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 s3Target: description: List of nested Amazon S3 target arguments. See S3 Target below. diff --git a/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml b/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml index 840e3e3cc0..ef4a19d9da 100644 --- a/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml +++ b/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml @@ -319,6 +319,94 @@ spec: password encryption. see Connection Password Encryption. items: properties: + awsKmsKeyId: + description: A KMS key ARN that is used to encrypt + the connection password. If connection password + protection is enabled, the caller of CreateConnection + and UpdateConnection needs at least kms:Encrypt + permission on the specified AWS KMS key, to encrypt + passwords before storing them in the Data Catalog. + type: string + awsKmsKeyIdRef: + description: Reference to a Key in kms to populate + awsKmsKeyId. + 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 + awsKmsKeyIdSelector: + description: Selector for a Key in kms to populate + awsKmsKeyId. + 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 returnConnectionPasswordEncrypted: description: When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. @@ -337,6 +425,90 @@ spec: Data Catalog data. Valid values are DISABLED and SSE-KMS. type: string + sseAwsKmsKeyId: + description: The ARN of the AWS KMS key to use for + encryption at rest. + type: string + sseAwsKmsKeyIdRef: + description: Reference to a Key in kms to populate + sseAwsKmsKeyId. + 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 + sseAwsKmsKeyIdSelector: + description: Selector for a Key in kms to populate + sseAwsKmsKeyId. + 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 type: object type: array type: object diff --git a/package/crds/glue.aws.upbound.io_jobs.yaml b/package/crds/glue.aws.upbound.io_jobs.yaml index 4543aae498..d567f3a3b6 100644 --- a/package/crds/glue.aws.upbound.io_jobs.yaml +++ b/package/crds/glue.aws.upbound.io_jobs.yaml @@ -379,6 +379,82 @@ spec: description: The number of workers of a defined workerType that are allocated when a job runs. type: number + roleArn: + description: – The ARN of the IAM role associated with this job. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 securityConfiguration: description: The name of the Security Configuration to be associated with the job. diff --git a/package/crds/glue.aws.upbound.io_schemas.yaml b/package/crds/glue.aws.upbound.io_schemas.yaml index edac24480d..7695f81c56 100644 --- a/package/crds/glue.aws.upbound.io_schemas.yaml +++ b/package/crds/glue.aws.upbound.io_schemas.yaml @@ -200,6 +200,83 @@ spec: description: description: – A description of the schema. type: string + registryArn: + description: The ARN of the Glue Registry to create the schema + in. + type: string + registryArnRef: + description: Reference to a Registry in glue to populate registryArn. + 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 + registryArnSelector: + description: Selector for a Registry in glue to populate registryArn. + 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 schemaDefinition: description: The schema definition using the data_format setting for schema_name. diff --git a/package/crds/glue.aws.upbound.io_securityconfigurations.yaml b/package/crds/glue.aws.upbound.io_securityconfigurations.yaml index 70662e849c..1f5ff4d6dc 100644 --- a/package/crds/glue.aws.upbound.io_securityconfigurations.yaml +++ b/package/crds/glue.aws.upbound.io_securityconfigurations.yaml @@ -390,6 +390,90 @@ spec: data. Valid values: DISABLED, SSE-KMS. Default value: DISABLED.' type: string + kmsKeyArn: + description: Amazon Resource Name (ARN) of the KMS + key to be used to encrypt the data. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate + kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate + kmsKeyArn. + 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 type: object type: array jobBookmarksEncryption: @@ -400,6 +484,90 @@ spec: data. Valid values: CSE-KMS, DISABLED. Default value: DISABLED.' type: string + kmsKeyArn: + description: Amazon Resource Name (ARN) of the KMS + key to be used to encrypt the data. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate + kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate + kmsKeyArn. + 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 type: object type: array s3Encryption: @@ -407,6 +575,90 @@ spec: which contains encryption configuration for S3 data. items: properties: + kmsKeyArn: + description: Amazon Resource Name (ARN) of the KMS + key to be used to encrypt the data. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate + kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate + kmsKeyArn. + 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 s3EncryptionMode: description: 'Encryption mode to use for S3 data. Valid values: DISABLED, SSE-KMS, SSE-S3. Default diff --git a/package/crds/glue.aws.upbound.io_triggers.yaml b/package/crds/glue.aws.upbound.io_triggers.yaml index e6cb984923..b7fe6ee6f5 100644 --- a/package/crds/glue.aws.upbound.io_triggers.yaml +++ b/package/crds/glue.aws.upbound.io_triggers.yaml @@ -543,6 +543,168 @@ spec: consumes, as well as arguments that AWS Glue itself consumes. type: object x-kubernetes-map-type: granular + crawlerName: + description: The name of the crawler to be executed. Conflicts + with job_name. + type: string + crawlerNameRef: + description: Reference to a Crawler in glue to populate + crawlerName. + 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 + crawlerNameSelector: + description: Selector for a Crawler in glue to populate + crawlerName. + 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 + jobName: + description: The name of a job to be executed. Conflicts + with crawler_name. + type: string + jobNameRef: + description: Reference to a Job in glue to populate jobName. + 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 + jobNameSelector: + description: Selector for a Job in glue to populate jobName. + 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 notificationProperty: description: Specifies configuration properties of a job run notification. See Notification Property details below. @@ -604,6 +766,174 @@ spec: and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state. type: string + crawlerName: + description: The name of the crawler to be executed. + Conflicts with job_name. + type: string + crawlerNameRef: + description: Reference to a Crawler in glue to populate + crawlerName. + 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 + crawlerNameSelector: + description: Selector for a Crawler in glue to populate + crawlerName. + 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 + jobName: + description: The name of a job to be executed. Conflicts + with crawler_name. + type: string + jobNameRef: + description: Reference to a Job in glue to populate + jobName. + 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 + jobNameSelector: + description: Selector for a Job in glue to populate + jobName. + 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 logicalOperator: description: A logical operator. Defaults to EQUALS. type: string diff --git a/package/crds/grafana.aws.upbound.io_licenseassociations.yaml b/package/crds/grafana.aws.upbound.io_licenseassociations.yaml index d616561864..7a07120f1a 100644 --- a/package/crds/grafana.aws.upbound.io_licenseassociations.yaml +++ b/package/crds/grafana.aws.upbound.io_licenseassociations.yaml @@ -170,6 +170,82 @@ spec: description: The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL. type: string + workspaceId: + description: The workspace id. + type: string + workspaceIdRef: + description: Reference to a Workspace in grafana to populate workspaceId. + 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 + workspaceIdSelector: + description: Selector for a Workspace in grafana to populate workspaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/grafana.aws.upbound.io_roleassociations.yaml b/package/crds/grafana.aws.upbound.io_roleassociations.yaml index 6cd1a0715e..d5c8603df7 100644 --- a/package/crds/grafana.aws.upbound.io_roleassociations.yaml +++ b/package/crds/grafana.aws.upbound.io_roleassociations.yaml @@ -196,6 +196,82 @@ spec: type: string type: array x-kubernetes-list-type: set + workspaceId: + description: The workspace id. + type: string + workspaceIdRef: + description: Reference to a Workspace to populate workspaceId. + 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 + workspaceIdSelector: + description: Selector for a Workspace to populate workspaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml b/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml index afcd50b5b9..d8a2a9359a 100644 --- a/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml +++ b/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml @@ -188,6 +188,83 @@ spec: description: Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days. type: number + workspaceId: + description: The ID of the workspace that the API key is valid + for. + type: string + workspaceIdRef: + description: Reference to a Workspace in grafana to populate workspaceId. + 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 + workspaceIdSelector: + description: Selector for a Workspace in grafana to populate workspaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/grafana.aws.upbound.io_workspaces.yaml b/package/crds/grafana.aws.upbound.io_workspaces.yaml index 9c23723b91..fab786ec7b 100644 --- a/package/crds/grafana.aws.upbound.io_workspaces.yaml +++ b/package/crds/grafana.aws.upbound.io_workspaces.yaml @@ -357,6 +357,82 @@ spec: automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created. type: string + roleArn: + description: The IAM role ARN that the workspace assumes. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 stackSetName: description: The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace. diff --git a/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml b/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml index 9d26ee3dfa..e052a52ebe 100644 --- a/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml +++ b/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml @@ -251,6 +251,82 @@ spec: roleAssertion: description: The role assertion. type: string + workspaceId: + description: The workspace id. + type: string + workspaceIdRef: + description: Reference to a Workspace to populate workspaceId. + 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 + workspaceIdSelector: + description: Selector for a Workspace to populate workspaceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/guardduty.aws.upbound.io_members.yaml b/package/crds/guardduty.aws.upbound.io_members.yaml index 0f0e8f9b25..aa9a330b3f 100644 --- a/package/crds/guardduty.aws.upbound.io_members.yaml +++ b/package/crds/guardduty.aws.upbound.io_members.yaml @@ -257,6 +257,163 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + accountId: + description: AWS account ID for member account. + type: string + accountIdRef: + description: Reference to a Detector in guardduty to populate + accountId. + 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 + accountIdSelector: + description: Selector for a Detector in guardduty to populate + accountId. + 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 + detectorId: + description: The detector ID of the GuardDuty account where you + want to create member accounts. + type: string + detectorIdRef: + description: Reference to a Detector in guardduty to populate + detectorId. + 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 + detectorIdSelector: + description: Selector for a Detector in guardduty to populate + detectorId. + 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 disableEmailNotification: description: Boolean whether an email notification is sent to the accounts. Defaults to false. diff --git a/package/crds/iam.aws.upbound.io_accesskeys.yaml b/package/crds/iam.aws.upbound.io_accesskeys.yaml index 00cd30564d..17a8551c4e 100644 --- a/package/crds/iam.aws.upbound.io_accesskeys.yaml +++ b/package/crds/iam.aws.upbound.io_accesskeys.yaml @@ -181,6 +181,82 @@ spec: description: Access key status to apply. Defaults to Active. Valid values are Active and Inactive. type: string + user: + description: IAM user to associate with this access key. + type: string + userRef: + description: Reference to a User to populate user. + 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 + userSelector: + description: Selector for a User to populate user. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_groupmemberships.yaml b/package/crds/iam.aws.upbound.io_groupmemberships.yaml index 81cb32085c..6f1171efc9 100644 --- a/package/crds/iam.aws.upbound.io_groupmemberships.yaml +++ b/package/crds/iam.aws.upbound.io_groupmemberships.yaml @@ -242,9 +242,168 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + group: + description: – The IAM Group name to attach the list of users + to + type: string + groupRef: + description: Reference to a Group to populate group. + 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 + groupSelector: + description: Selector for a Group to populate group. + 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 name: description: The name to identify the Group Membership type: string + userRefs: + description: References to User to populate users. + items: + description: A Reference to a named object. + 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 + type: array + userSelector: + description: Selector for a list of User to populate users. + 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 + users: + description: A list of IAM User names to associate with the Group + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml b/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml index cd7f120239..6cdbda94d1 100644 --- a/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml @@ -231,6 +231,159 @@ spec: 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: + group: + description: The group the policy should be applied to + type: string + groupRef: + description: Reference to a Group to populate group. + 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 + groupSelector: + description: Selector for a Group to populate group. + 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 + policyArn: + description: The ARN of the policy you want to apply + type: string + policyArnRef: + description: Reference to a Policy to populate policyArn. + 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 + policyArnSelector: + description: Selector for a Policy to populate policyArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_instanceprofiles.yaml b/package/crds/iam.aws.upbound.io_instanceprofiles.yaml index 822f81493c..7cf56d79c4 100644 --- a/package/crds/iam.aws.upbound.io_instanceprofiles.yaml +++ b/package/crds/iam.aws.upbound.io_instanceprofiles.yaml @@ -180,6 +180,82 @@ spec: through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercase letters. type: string + role: + description: Name of the role to add to the profile. + type: string + roleRef: + description: Reference to a Role to populate role. + 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 + roleSelector: + description: Selector for a Role to populate role. + 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 diff --git a/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml b/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml index 075c2d71ac..e7ef523d34 100644 --- a/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml @@ -232,6 +232,160 @@ spec: 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: + policyArn: + description: The ARN of the policy you want to apply + type: string + policyArnRef: + description: Reference to a Policy to populate policyArn. + 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 + policyArnSelector: + description: Selector for a Policy to populate policyArn. + 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 + role: + description: The name of the IAM role to which the policy should + be applied + type: string + roleRef: + description: Reference to a Role to populate role. + 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 + roleSelector: + description: Selector for a Role to populate role. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml b/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml index 542a92a2f9..614bf7ecc9 100644 --- a/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml +++ b/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml @@ -180,6 +180,85 @@ spec: credential. Valid values are Active and Inactive. Default value is Active. type: string + userName: + description: The name of the IAM user that is to be associated + with the credentials. The new service-specific credentials have + the same permissions as the associated user except that they + can be used only to access the specified service. + type: string + userNameRef: + description: Reference to a User to populate userName. + 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 + userNameSelector: + description: Selector for a User to populate userName. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml b/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml index a595ec41e8..ee1f615c22 100644 --- a/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml +++ b/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml @@ -238,6 +238,165 @@ spec: 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: + groupRefs: + description: References to Group to populate groups. + items: + description: A Reference to a named object. + 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 + type: array + groupSelector: + description: Selector for a list of Group to populate groups. + 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 + groups: + description: A list of IAM Groups to add the user to + items: + type: string + type: array + x-kubernetes-list-type: set + user: + description: The name of the IAM User to add to groups + type: string + userRef: + description: Reference to a User to populate user. + 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 + userSelector: + description: Selector for a User to populate user. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_userloginprofiles.yaml b/package/crds/iam.aws.upbound.io_userloginprofiles.yaml index d4a312acdc..98061efe16 100644 --- a/package/crds/iam.aws.upbound.io_userloginprofiles.yaml +++ b/package/crds/iam.aws.upbound.io_userloginprofiles.yaml @@ -184,6 +184,82 @@ spec: username in the form keybase:username. Only applies on resource creation. Drift detection is not possible with this argument. type: string + user: + description: The IAM user's name. + type: string + userRef: + description: Reference to a User to populate user. + 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 + userSelector: + description: Selector for a User to populate user. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml b/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml index 2835f118af..c40d2f4562 100644 --- a/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml @@ -231,6 +231,159 @@ spec: 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: + policyArn: + description: The ARN of the policy you want to apply + type: string + policyArnRef: + description: Reference to a Policy to populate policyArn. + 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 + policyArnSelector: + description: Selector for a Policy to populate policyArn. + 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 + user: + description: The user the policy should be applied to + type: string + userRef: + description: Reference to a User to populate user. + 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 + userSelector: + description: Selector for a User to populate user. + 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 type: object managementPolicies: default: diff --git a/package/crds/iam.aws.upbound.io_usersshkeys.yaml b/package/crds/iam.aws.upbound.io_usersshkeys.yaml index d6829aab77..404a199f83 100644 --- a/package/crds/iam.aws.upbound.io_usersshkeys.yaml +++ b/package/crds/iam.aws.upbound.io_usersshkeys.yaml @@ -187,6 +187,83 @@ spec: repository. Inactive means the key cannot be used. Default is active. type: string + username: + description: The name of the IAM user to associate the SSH public + key with. + type: string + usernameRef: + description: Reference to a User to populate username. + 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 + usernameSelector: + description: Selector for a User to populate username. + 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 type: object managementPolicies: default: diff --git a/package/crds/identitystore.aws.upbound.io_groupmemberships.yaml b/package/crds/identitystore.aws.upbound.io_groupmemberships.yaml index 657a03591a..cb4b30c655 100644 --- a/package/crds/identitystore.aws.upbound.io_groupmemberships.yaml +++ b/package/crds/identitystore.aws.upbound.io_groupmemberships.yaml @@ -245,6 +245,163 @@ spec: 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: + groupId: + description: The identifier for a group in the Identity Store. + type: string + groupIdRef: + description: Reference to a Group in identitystore to populate + groupId. + 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 + groupIdSelector: + description: Selector for a Group in identitystore to populate + groupId. + 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 + memberId: + description: The identifier for a user in the Identity Store. + type: string + memberIdRef: + description: Reference to a User in identitystore to populate + memberId. + 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 + memberIdSelector: + description: Selector for a User in identitystore to populate + memberId. + 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 type: object managementPolicies: default: diff --git a/package/crds/imagebuilder.aws.upbound.io_components.yaml b/package/crds/imagebuilder.aws.upbound.io_components.yaml index 13ef78c23a..fd3ac10d60 100644 --- a/package/crds/imagebuilder.aws.upbound.io_components.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_components.yaml @@ -212,6 +212,83 @@ spec: description: description: Description of the component. type: string + kmsKeyId: + description: Amazon Resource Name (ARN) of the Key Management + Service (KMS) Key used to encrypt the component. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 name: description: Name of the component. type: string diff --git a/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml b/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml index b565a2f9ef..dfacb3f2e4 100644 --- a/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml @@ -474,6 +474,88 @@ spec: the container recipe. Detailed below. items: properties: + componentArn: + description: Amazon Resource Name (ARN) of the Image Builder + Component to associate. + type: string + componentArnRef: + description: Reference to a Component in imagebuilder to + populate componentArn. + 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 + componentArnSelector: + description: Selector for a Component in imagebuilder to + populate componentArn. + 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 parameter: description: Configuration block(s) for parameters to configure the component. Detailed below. @@ -577,6 +659,82 @@ spec: type: string type: object type: array + kmsKeyId: + description: The KMS key used to encrypt the container image. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 name: description: The name of the container recipe. type: string @@ -598,6 +756,89 @@ spec: Detailed below. items: properties: + repositoryName: + description: The name of the container repository where + the output container image is stored. This name is prefixed + by the repository location. + type: string + repositoryNameRef: + description: Reference to a Repository in ecr to populate + repositoryName. + 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 + repositoryNameSelector: + description: Selector for a Repository in ecr to populate + repositoryName. + 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 service: description: 'The service in which this image is registered. Valid values: ECR.' diff --git a/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml b/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml index d31f215420..6bff9d544e 100644 --- a/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml @@ -353,6 +353,84 @@ spec: description: Whether additional information about the image being created is collected. Defaults to true. type: boolean + imageRecipeArn: + description: Amazon Resource Name (ARN) of the image recipe. + type: string + imageRecipeArnRef: + description: Reference to a ImageRecipe in imagebuilder to populate + imageRecipeArn. + 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 + imageRecipeArnSelector: + description: Selector for a ImageRecipe in imagebuilder to populate + imageRecipeArn. + 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 imageScanningConfiguration: description: Configuration block with image scanning configuration. Detailed below. @@ -395,6 +473,85 @@ spec: type: number type: object type: array + infrastructureConfigurationArn: + description: Amazon Resource Name (ARN) of the Image Builder Infrastructure + Configuration. + type: string + infrastructureConfigurationArnRef: + description: Reference to a InfrastructureConfiguration in imagebuilder + to populate infrastructureConfigurationArn. + 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 + infrastructureConfigurationArnSelector: + description: Selector for a InfrastructureConfiguration in imagebuilder + to populate infrastructureConfigurationArn. + 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 name: description: Name of the image pipeline. type: string diff --git a/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml b/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml index 0ca998aa2b..348137b773 100644 --- a/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml @@ -351,6 +351,88 @@ spec: the image recipe. Detailed below. items: properties: + componentArn: + description: Amazon Resource Name (ARN) of the Image Builder + Component to associate. + type: string + componentArnRef: + description: Reference to a Component in imagebuilder to + populate componentArn. + 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 + componentArnSelector: + description: Selector for a Component in imagebuilder to + populate componentArn. + 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 parameter: description: Configuration block(s) for parameters to configure the component. Detailed below. diff --git a/package/crds/imagebuilder.aws.upbound.io_images.yaml b/package/crds/imagebuilder.aws.upbound.io_images.yaml index 45a2de65f3..60ae501dba 100644 --- a/package/crds/imagebuilder.aws.upbound.io_images.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_images.yaml @@ -386,10 +386,167 @@ spec: containerRecipeArn: description: '- Amazon Resource Name (ARN) of the container recipe.' type: string + distributionConfigurationArn: + description: Amazon Resource Name (ARN) of the Image Builder Distribution + Configuration. + type: string + distributionConfigurationArnRef: + description: Reference to a DistributionConfiguration in imagebuilder + to populate distributionConfigurationArn. + 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 + distributionConfigurationArnSelector: + description: Selector for a DistributionConfiguration in imagebuilder + to populate distributionConfigurationArn. + 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 enhancedImageMetadataEnabled: description: Whether additional information about the image being created is collected. Defaults to true. type: boolean + imageRecipeArn: + description: Amazon Resource Name (ARN) of the image recipe. + type: string + imageRecipeArnRef: + description: Reference to a ImageRecipe in imagebuilder to populate + imageRecipeArn. + 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 + imageRecipeArnSelector: + description: Selector for a ImageRecipe in imagebuilder to populate + imageRecipeArn. + 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 imageScanningConfiguration: description: Configuration block with image scanning configuration. Detailed below. @@ -438,6 +595,85 @@ spec: type: number type: object type: array + infrastructureConfigurationArn: + description: Amazon Resource Name (ARN) of the Image Builder Infrastructure + Configuration. + type: string + infrastructureConfigurationArnRef: + description: Reference to a InfrastructureConfiguration in imagebuilder + to populate infrastructureConfigurationArn. + 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 + infrastructureConfigurationArnSelector: + description: Selector for a InfrastructureConfiguration in imagebuilder + to populate infrastructureConfigurationArn. + 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 diff --git a/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml b/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml index 022527dc5b..def4781268 100644 --- a/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml @@ -642,12 +642,166 @@ spec: type: string type: object type: array + instanceProfileName: + description: Name of IAM Instance Profile. + type: string + instanceProfileNameRef: + description: Reference to a InstanceProfile in iam to populate + instanceProfileName. + 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 + instanceProfileNameSelector: + description: Selector for a InstanceProfile in iam to populate + instanceProfileName. + 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 instanceTypes: description: Set of EC2 Instance Types. items: type: string type: array x-kubernetes-list-type: set + keyPair: + description: Name of EC2 Key Pair. + type: string + keyPairRef: + description: Reference to a KeyPair in ec2 to populate keyPair. + 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 + keyPairSelector: + description: Selector for a KeyPair in ec2 to populate keyPair. + 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 logging: description: Configuration block with logging settings. Detailed below. @@ -658,6 +812,89 @@ spec: Detailed below. items: properties: + s3BucketName: + description: Name of the S3 Bucket. + type: string + s3BucketNameRef: + description: Reference to a Bucket in s3 to populate + s3BucketName. + 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 + s3BucketNameSelector: + description: Selector for a Bucket in s3 to populate + s3BucketName. + 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 s3KeyPrefix: description: Prefix to use for S3 logs. Defaults to /. @@ -676,6 +913,242 @@ spec: created by the configuration. type: object x-kubernetes-map-type: granular + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: Set of EC2 Security Group identifiers. + items: + type: string + type: array + x-kubernetes-list-type: set + snsTopicArn: + description: Amazon Resource Name (ARN) of SNS Topic. + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 + subnetId: + description: EC2 Subnet identifier. Also requires security_group_ids + argument. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 diff --git a/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml b/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml index 644fa6d5bb..be37d9454d 100644 --- a/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml +++ b/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml @@ -173,6 +173,87 @@ spec: name: description: The name of the assessment target. type: string + resourceGroupArn: + description: Inspector Resource Group Amazon Resource Name (ARN) + stating tags for instance matching. If not specified, all EC2 + instances in the current AWS account and region are included + in the assessment target. + type: string + resourceGroupArnRef: + description: Reference to a ResourceGroup in inspector to populate + resourceGroupArn. + 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 + resourceGroupArnSelector: + description: Selector for a ResourceGroup in inspector to populate + resourceGroupArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml b/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml index c57c89d0cf..5bf22e9d90 100644 --- a/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml +++ b/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml @@ -292,6 +292,86 @@ spec: ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, and FINDING_REPORTED. type: string + topicArn: + description: The ARN of the SNS topic to which notifications + are sent. + type: string + topicArnRef: + description: Reference to a Topic in sns to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate topicArn. + 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 type: object type: array name: @@ -309,6 +389,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + targetArn: + description: The assessment target ARN to attach the template + to. + type: string + targetArnRef: + description: Reference to a AssessmentTarget in inspector to populate + targetArn. + 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 + targetArnSelector: + description: Selector for a AssessmentTarget in inspector to populate + targetArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/iot.aws.upbound.io_loggingoptions.yaml b/package/crds/iot.aws.upbound.io_loggingoptions.yaml index d034f6b5ec..65dde1021e 100644 --- a/package/crds/iot.aws.upbound.io_loggingoptions.yaml +++ b/package/crds/iot.aws.upbound.io_loggingoptions.yaml @@ -177,6 +177,83 @@ spec: disableAllLogs: description: If true all logs are disabled. The default is false. type: boolean + roleArn: + description: The ARN of the role that allows IoT to write to Cloudwatch + logs. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/iot.aws.upbound.io_policyattachments.yaml b/package/crds/iot.aws.upbound.io_policyattachments.yaml index af6809771f..5ddbd866b6 100644 --- a/package/crds/iot.aws.upbound.io_policyattachments.yaml +++ b/package/crds/iot.aws.upbound.io_policyattachments.yaml @@ -237,6 +237,159 @@ spec: 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: + policy: + description: The name of the policy to attach. + type: string + policyRef: + description: Reference to a Policy in iot to populate policy. + 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 + policySelector: + description: Selector for a Policy in iot to populate policy. + 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 + target: + description: The identity to which the policy is attached. + type: string + targetRef: + description: Reference to a Certificate in iot to populate target. + 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 + targetSelector: + description: Selector for a Certificate in iot to populate target. + 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 type: object managementPolicies: default: diff --git a/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml b/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml index aac26f4223..11bafe4abb 100644 --- a/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml +++ b/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml @@ -221,6 +221,84 @@ spec: type: string type: object type: array + provisioningRoleArn: + description: The role ARN for the role associated with the fleet + provisioning template. This IoT role grants permission to provision + a device. + type: string + provisioningRoleArnRef: + description: Reference to a Role in iam to populate provisioningRoleArn. + 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 + provisioningRoleArnSelector: + description: Selector for a Role in iam to populate provisioningRoleArn. + 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 diff --git a/package/crds/iot.aws.upbound.io_rolealiases.yaml b/package/crds/iot.aws.upbound.io_rolealiases.yaml index c0ed46b4d5..b50097d2fc 100644 --- a/package/crds/iot.aws.upbound.io_rolealiases.yaml +++ b/package/crds/iot.aws.upbound.io_rolealiases.yaml @@ -180,6 +180,82 @@ spec: of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 43200 seconds (12 hours). type: number + roleArn: + description: The identity of the role to which the alias refers. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/iot.aws.upbound.io_thinggroups.yaml b/package/crds/iot.aws.upbound.io_thinggroups.yaml index a38063ae9a..fc1f42b56f 100644 --- a/package/crds/iot.aws.upbound.io_thinggroups.yaml +++ b/package/crds/iot.aws.upbound.io_thinggroups.yaml @@ -189,6 +189,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + parentGroupName: + description: The name of the parent Thing Group. + type: string + parentGroupNameRef: + description: Reference to a ThingGroup in iot to populate parentGroupName. + 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 + parentGroupNameSelector: + description: Selector for a ThingGroup in iot to populate parentGroupName. + 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 properties: description: The Thing Group properties. Defined below. items: diff --git a/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml b/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml index c48642d498..7faf3da1d8 100644 --- a/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml +++ b/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml @@ -239,6 +239,160 @@ spec: 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: + principal: + description: The AWS IoT Certificate ARN or Amazon Cognito Identity + ID. + type: string + principalRef: + description: Reference to a Certificate in iot to populate principal. + 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 + principalSelector: + description: Selector for a Certificate in iot to populate principal. + 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 + thing: + description: The name of the thing. + type: string + thingRef: + description: Reference to a Thing in iot to populate thing. + 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 + thingSelector: + description: Selector for a Thing in iot to populate thing. + 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 type: object managementPolicies: default: diff --git a/package/crds/iot.aws.upbound.io_topicruledestinations.yaml b/package/crds/iot.aws.upbound.io_topicruledestinations.yaml index af2121bc0d..ce4b61fba4 100644 --- a/package/crds/iot.aws.upbound.io_topicruledestinations.yaml +++ b/package/crds/iot.aws.upbound.io_topicruledestinations.yaml @@ -439,6 +439,341 @@ spec: description: Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation. items: + properties: + roleArn: + description: The ARN of a role that has permission to create + and attach to elastic network interfaces (ENIs). + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 + securityGroupRefs: + description: References to SecurityGroup in ec2 to populate + securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroups. + 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 + securityGroups: + description: The security groups of the VPC destination. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: The subnet IDs of the VPC destination. + items: + type: string + type: array + x-kubernetes-list-type: set + vpcId: + description: The ID of the VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array type: object diff --git a/package/crds/iot.aws.upbound.io_topicrules.yaml b/package/crds/iot.aws.upbound.io_topicrules.yaml index dcfe063172..77f4391cd0 100644 --- a/package/crds/iot.aws.upbound.io_topicrules.yaml +++ b/package/crds/iot.aws.upbound.io_topicrules.yaml @@ -1745,6 +1745,173 @@ spec: description: The message format of the message to publish. Accepted values are "JSON" and "RAW". type: string + roleArn: + description: The IAM role ARN that allows access to + the CloudWatch alarm. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 + targetArn: + description: The ARN of the SNS topic. + type: string + targetArnRef: + description: Reference to a Topic in sns to populate + targetArn. + 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 + targetArnSelector: + description: Selector for a Topic in sns to populate + targetArn. + 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 type: object type: array sqs: @@ -2016,6 +2183,165 @@ spec: description: The message format of the message to publish. Accepted values are "JSON" and "RAW". type: string + roleArn: + description: The IAM role ARN that allows access to the + CloudWatch alarm. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 + targetArn: + description: The ARN of the SNS topic. + type: string + targetArnRef: + description: Reference to a Topic in sns to populate targetArn. + 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 + targetArnSelector: + description: Selector for a Topic in sns to populate targetArn. + 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 type: object type: array sql: diff --git a/package/crds/kafka.aws.upbound.io_clusters.yaml b/package/crds/kafka.aws.upbound.io_clusters.yaml index bf8b428a1f..73a1bed318 100644 --- a/package/crds/kafka.aws.upbound.io_clusters.yaml +++ b/package/crds/kafka.aws.upbound.io_clusters.yaml @@ -989,6 +989,94 @@ spec: zones (documentation). Currently the only valid value is DEFAULT. type: string + clientSubnets: + description: A list of subnets to connect to in client VPC + (documentation). + items: + type: string + type: array + x-kubernetes-list-type: set + clientSubnetsRefs: + description: References to Subnet in ec2 to populate clientSubnets. + items: + description: A Reference to a named object. + 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 + type: array + clientSubnetsSelector: + description: Selector for a list of Subnet in ec2 to populate + clientSubnets. + 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 connectivityInfo: description: Information about the cluster access configuration. See below. For security reasons, you can't turn on public @@ -1048,6 +1136,96 @@ spec: description: Specify the instance type to use for the kafka brokersE.g., kafka.m5.large. (Pricing info) type: string + securityGroups: + description: A list of the security groups to associate + with the elastic network interfaces to control who can + communicate with the cluster. + items: + type: string + type: array + x-kubernetes-list-type: set + securityGroupsRefs: + description: References to SecurityGroup in ec2 to populate + securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupsSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroups. + 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 storageInfo: description: A block that contains information about storage volumes attached to MSK broker nodes. See below. @@ -1139,36 +1317,196 @@ spec: to attach to Kafka brokers. See below. items: properties: - revision: - description: Revision of the MSK Configuration to use in - the cluster. - type: number - type: object - type: array - encryptionInfo: - description: Configuration block for specifying encryption. See - below. - items: - properties: - encryptionInTransit: - description: Configuration block to specify encryption in - transit. See below. - items: - properties: - clientBroker: - description: 'Encryption setting for data in transit - between clients and brokers. Valid values: TLS, - TLS_PLAINTEXT, and PLAINTEXT. Default value is TLS.' + arn: + description: Amazon Resource Name (ARN) of the MSK Configuration + to use in the cluster. + type: string + arnRef: + description: Reference to a Configuration to populate arn. + 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 + arnSelector: + description: Selector for a Configuration to populate arn. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with + the same controller reference as the selecting object + is selected. + type: boolean + matchLabels: + additionalProperties: type: string - inCluster: - description: 'Whether data communication among broker - nodes is encrypted. Default value: true.' - type: boolean - type: object - type: array - type: object - type: array - enhancedMonitoring: + 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 + revision: + description: Revision of the MSK Configuration to use in + the cluster. + type: number + type: object + type: array + encryptionInfo: + description: Configuration block for specifying encryption. See + below. + items: + properties: + encryptionAtRestKmsKeyArn: + description: The ARN of the KMS key used for encryption + at rest of the broker data volumes. + type: string + encryptionAtRestKmsKeyArnRef: + description: Reference to a Key in kms to populate encryptionAtRestKmsKeyArn. + 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 + encryptionAtRestKmsKeyArnSelector: + description: Selector for a Key in kms to populate encryptionAtRestKmsKeyArn. + 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 + encryptionInTransit: + description: Configuration block to specify encryption in + transit. See below. + items: + properties: + clientBroker: + description: 'Encryption setting for data in transit + between clients and brokers. Valid values: TLS, + TLS_PLAINTEXT, and PLAINTEXT. Default value is TLS.' + type: string + inCluster: + description: 'Whether data communication among broker + nodes is encrypted. Default value: true.' + type: boolean + type: object + type: array + type: object + type: array + enhancedMonitoring: description: Specify the desired enhanced MSK CloudWatch monitoring level. See Monitoring Amazon MSK with Amazon CloudWatch type: string @@ -1192,11 +1530,187 @@ spec: description: 'Controls whether provisioned throughput is enabled or not. Default value: false.' type: boolean + logGroup: + description: Name of the Cloudwatch Log Group + to deliver logs to. + type: string + logGroupRef: + description: Reference to a Group in cloudwatchlogs + to populate logGroup. + 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 + logGroupSelector: + description: Selector for a Group in cloudwatchlogs + to populate logGroup. + 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 type: object type: array firehose: items: properties: + deliveryStream: + description: Name of the Kinesis Data Firehose + delivery stream to deliver logs to. + type: string + deliveryStreamRef: + description: Reference to a DeliveryStream in + firehose to populate deliveryStream. + 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 + deliveryStreamSelector: + description: Selector for a DeliveryStream in + firehose to populate deliveryStream. + 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 enabled: description: 'Controls whether provisioned throughput is enabled or not. Default value: false.' @@ -1206,6 +1720,94 @@ spec: s3: items: properties: + bucket: + description: Name of the S3 bucket to deliver + logs to. + type: string + bucketRef: + description: Reference to a Bucket in s3 to + populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to + populate bucket. + 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 enabled: description: 'Controls whether provisioned throughput is enabled or not. Default value: false.' diff --git a/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml b/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml index c4104f3890..b1725c730f 100644 --- a/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml +++ b/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml @@ -247,6 +247,169 @@ spec: 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: + clusterArn: + description: Amazon Resource Name (ARN) of the MSK cluster. + type: string + clusterArnRef: + description: Reference to a Cluster in kafka to populate clusterArn. + 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 + clusterArnSelector: + description: Selector for a Cluster in kafka to populate clusterArn. + 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 + secretArnList: + description: List of all AWS Secrets Manager secret ARNs to associate + with the cluster. Secrets not referenced, selected or listed + here will be disassociated from the cluster. + items: + type: string + type: array + x-kubernetes-list-type: set + secretArnRefs: + description: References to Secret in secretsmanager to populate + secretArnList. + items: + description: A Reference to a named object. + 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 + type: array + secretArnSelector: + description: Selector for a list of Secret in secretsmanager to + populate secretArnList. + 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 type: object managementPolicies: default: diff --git a/package/crds/kafka.aws.upbound.io_serverlessclusters.yaml b/package/crds/kafka.aws.upbound.io_serverlessclusters.yaml index 349d6d0b67..363a956eb7 100644 --- a/package/crds/kafka.aws.upbound.io_serverlessclusters.yaml +++ b/package/crds/kafka.aws.upbound.io_serverlessclusters.yaml @@ -339,6 +339,184 @@ spec: vpcConfig: description: VPC configuration information. See below. items: + properties: + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate + securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroupIds. + 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 + securityGroupIds: + description: Specifies up to five security groups that control + inbound and outbound traffic for the serverless cluster. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of subnets in at least two different + Availability Zones that host your client applications. + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array type: object diff --git a/package/crds/kendra.aws.upbound.io_datasources.yaml b/package/crds/kendra.aws.upbound.io_datasources.yaml index 7cc13f7254..116bf5cff7 100644 --- a/package/crds/kendra.aws.upbound.io_datasources.yaml +++ b/package/crds/kendra.aws.upbound.io_datasources.yaml @@ -1148,6 +1148,90 @@ spec: type: string type: object type: array + bucketName: + description: The name of the bucket that contains + the documents. + type: string + bucketNameRef: + description: Reference to a Bucket in s3 to populate + bucketName. + 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 + bucketNameSelector: + description: Selector for a Bucket in s3 to populate + bucketName. + 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 documentsMetadataConfiguration: description: A block that defines the Document metadata files that contain information such as the document @@ -1220,6 +1304,104 @@ spec: of the website host. Detailed below. items: properties: + credentials: + description: Your secret ARN, which you + can create in AWS Secrets Manager. You + use a secret if basic authentication + credentials are required to connect + to a website. The secret stores your + credentials of user name and password. + type: string + credentialsRef: + description: Reference to a Secret in + secretsmanager to populate credentials. + 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 + credentialsSelector: + description: Selector for a Secret in + secretsmanager to populate credentials. + 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 host: description: The name of the website host you want to connect to using authentication @@ -1285,6 +1467,97 @@ spec: Manager. Detailed below. items: properties: + credentials: + description: Your secret ARN, which you can + create in AWS Secrets Manager. You use a secret + if basic authentication credentials are required + to connect to a website. The secret stores + your credentials of user name and password. + type: string + credentialsRef: + description: Reference to a Secret in secretsmanager + to populate credentials. + 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 + credentialsSelector: + description: Selector for a Secret in secretsmanager + to populate credentials. + 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 host: description: The name of the website host you want to connect to using authentication credentials. @@ -1702,6 +1975,83 @@ spec: description: description: A description for the Data Source connector. type: string + indexId: + description: The identifier of the index for your Amazon Kendra + data source. + type: string + indexIdRef: + description: Reference to a Index in kendra to populate indexId. + 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 + indexIdSelector: + description: Selector for a Index in kendra to populate indexId. + 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 languageCode: description: The code for a language. This allows you to support a language for all documents when creating the Data Source connector. @@ -1712,6 +2062,86 @@ spec: name: description: A name for your data source connector. type: string + roleArn: + description: The Amazon Resource Name (ARN) of a role with permission + to access the data source connector. For more information, see + IAM roles for Amazon Kendra. You can't specify the role_arn + parameter when the type parameter is set to CUSTOM. The role_arn + parameter is required for all other data sources. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 schedule: description: Sets the frequency for Amazon Kendra to check the documents in your Data Source repository and update the index. diff --git a/package/crds/kendra.aws.upbound.io_experiences.yaml b/package/crds/kendra.aws.upbound.io_experiences.yaml index 88e2e83dd9..409c4e9230 100644 --- a/package/crds/kendra.aws.upbound.io_experiences.yaml +++ b/package/crds/kendra.aws.upbound.io_experiences.yaml @@ -344,9 +344,165 @@ spec: description: description: A description for your Amazon Kendra experience. type: string + indexId: + description: The identifier of the index for your Amazon Kendra + experience. + type: string + indexIdRef: + description: Reference to a Index in kendra to populate indexId. + 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 + indexIdSelector: + description: Selector for a Index in kendra to populate indexId. + 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 name: description: A name for your Amazon Kendra experience. type: string + roleArn: + description: The Amazon Resource Name (ARN) of a role with permission + to access Query API, QuerySuggestions API, SubmitFeedback API, + and AWS SSO that stores your user and group information. For + more information, see IAM roles for Amazon Kendra. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/kendra.aws.upbound.io_indices.yaml b/package/crds/kendra.aws.upbound.io_indices.yaml index 3cd74fcd8d..9c25449278 100644 --- a/package/crds/kendra.aws.upbound.io_indices.yaml +++ b/package/crds/kendra.aws.upbound.io_indices.yaml @@ -510,6 +510,86 @@ spec: name: description: Specifies the name of the Index. type: string + roleArn: + description: An AWS Identity and Access Management (IAM) role + that gives Amazon Kendra permissions to access your Amazon CloudWatch + logs and metrics. This is also the role you use when you call + the BatchPutDocument API to index documents from an Amazon S3 + bucket. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 serverSideEncryptionConfiguration: description: A block that specifies the identifier of the AWS KMS customer managed key (CMK) that's used to encrypt data indexed diff --git a/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml b/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml index 296cb7e5f9..d99dd3382a 100644 --- a/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml +++ b/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml @@ -347,14 +347,246 @@ spec: description: description: Description for a block list. type: string + indexId: + description: Identifier of the index for a block list. + type: string + indexIdRef: + description: Reference to a Index in kendra to populate indexId. + 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 + indexIdSelector: + description: Selector for a Index in kendra to populate indexId. + 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 name: description: Name for the block list. type: string + roleArn: + description: IAM (Identity and Access Management) role used to + access the block list text file in S3. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 sourceS3Path: description: S3 path where your block list text file is located. See details below. items: properties: + bucket: + description: Name of the S3 bucket that contains the file. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 key: description: Name of the file. type: string diff --git a/package/crds/kendra.aws.upbound.io_thesaurus.yaml b/package/crds/kendra.aws.upbound.io_thesaurus.yaml index 91225b22e7..9a66c62277 100644 --- a/package/crds/kendra.aws.upbound.io_thesaurus.yaml +++ b/package/crds/kendra.aws.upbound.io_thesaurus.yaml @@ -421,13 +421,326 @@ spec: description: description: The description for a thesaurus. type: string + indexId: + description: The identifier of the index for a thesaurus. + type: string + indexIdRef: + description: Reference to a Index in kendra to populate indexId. + 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 + indexIdSelector: + description: Selector for a Index in kendra to populate indexId. + 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 name: description: The name for the thesaurus. type: string + roleArn: + description: The IAM (Identity and Access Management) role used + to access the thesaurus file in S3. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 sourceS3Path: description: The S3 path where your thesaurus file sits in S3. Detailed below. items: + properties: + bucket: + description: The name of the S3 bucket that contains the + file. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 + key: + description: The name of the file. + type: string + keyRef: + description: Reference to a Object in s3 to populate key. + 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 + keySelector: + description: Selector for a Object in s3 to populate key. + 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 type: object type: array tags: diff --git a/package/crds/keyspaces.aws.upbound.io_tables.yaml b/package/crds/keyspaces.aws.upbound.io_tables.yaml index f9cf43e4e7..b8a098ce51 100644 --- a/package/crds/keyspaces.aws.upbound.io_tables.yaml +++ b/package/crds/keyspaces.aws.upbound.io_tables.yaml @@ -374,6 +374,85 @@ spec: type: string type: object type: array + keyspaceName: + description: The name of the keyspace that the table is going + to be created in. + type: string + keyspaceNameRef: + description: Reference to a Keyspace in keyspaces to populate + keyspaceName. + 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 + keyspaceNameSelector: + description: Selector for a Keyspace in keyspaces to populate + keyspaceName. + 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 pointInTimeRecovery: description: Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the diff --git a/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml b/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml index 560dcd704a..87de6610e9 100644 --- a/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml +++ b/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml @@ -169,6 +169,83 @@ spec: name: description: Name of the stream consumer. type: string + streamArn: + description: – Amazon Resource Name (ARN) of the data stream + the consumer is registered with. + type: string + streamArnRef: + description: Reference to a Stream in kinesis to populate streamArn. + 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 + streamArnSelector: + description: Selector for a Stream in kinesis to populate streamArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/kinesis.aws.upbound.io_streams.yaml b/package/crds/kinesis.aws.upbound.io_streams.yaml index 8ab8437734..f46b8d0fde 100644 --- a/package/crds/kinesis.aws.upbound.io_streams.yaml +++ b/package/crds/kinesis.aws.upbound.io_streams.yaml @@ -221,6 +221,84 @@ spec: should be deregistered from the stream so that the stream can be destroyed without error. The default value is false. type: boolean + kmsKeyId: + description: The GUID for the customer-managed KMS key to use + for encryption. You can also use a Kinesis-owned master key + by specifying the alias alias/aws/kinesis. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 retentionPeriod: description: Length of time data records are accessible after they are added to the stream. The maximum value of a stream's diff --git a/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml b/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml index e657d3c1cd..670a573f5f 100644 --- a/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml +++ b/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml @@ -914,6 +914,168 @@ spec: description: The CloudWatch log stream options to monitor application errors. See CloudWatch Logging Options below for more details. items: + properties: + logStreamArn: + description: The ARN of the CloudWatch Log Stream. + type: string + logStreamArnRef: + description: Reference to a Stream in cloudwatchlogs to + populate logStreamArn. + 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 + logStreamArnSelector: + description: Selector for a Stream in cloudwatchlogs to + populate logStreamArn. + 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 + roleArn: + description: The ARN of the IAM Role used to send application + messages. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object type: array code: @@ -946,6 +1108,173 @@ spec: source. Conflicts with kinesis_firehose. See Kinesis Stream below for more details. items: + properties: + resourceArn: + description: The ARN of the Lambda function. + type: string + resourceArnRef: + description: Reference to a Stream in kinesis to populate + resourceArn. + 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 + resourceArnSelector: + description: Selector for a Stream in kinesis to populate + resourceArn. + 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 + roleArn: + description: The IAM Role ARN to read the data. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array namePrefix: @@ -1080,6 +1409,173 @@ spec: destination stream. Conflicts with kinesis_stream. See Kinesis Firehose below for more details. items: + properties: + resourceArn: + description: The ARN of the Lambda function. + type: string + resourceArnRef: + description: Reference to a DeliveryStream in firehose + to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a DeliveryStream in firehose + to populate resourceArn. + 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 + roleArn: + description: The IAM Role ARN to read the data. + type: string + roleArnRef: + description: Reference to a Role in iam to populate + roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate + roleArn. + 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 type: object type: array kinesisStream: diff --git a/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml b/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml index af65f82cfb..ee74d1e784 100644 --- a/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml +++ b/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml @@ -1433,6 +1433,194 @@ spec: bucket containing the application code. items: properties: + bucketArn: + description: The ARN for the S3 bucket + containing the application code. + type: string + bucketArnRef: + description: Reference to a Bucket in + s3 to populate bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in + s3 to populate bucketArn. + 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 + fileKey: + description: The file key for the object + containing the application code. + type: string + fileKeyRef: + description: Reference to a Object in + s3 to populate fileKey. + 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 + fileKeySelector: + description: Selector for a Object in + s3 to populate fileKey. + 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 objectVersion: description: The version of the object containing the application code. @@ -1794,80 +1982,365 @@ spec: description: If the streaming source is a Kinesis data stream, identifies the stream's Amazon Resource Name (ARN). - items: - type: object - type: array - namePrefix: - description: The name prefix to use when creating - an in-application stream. - type: string - type: object - type: array - output: - description: The destination streams used by the application. - items: - properties: - destinationSchema: - description: Describes the data format when - records are written to the destination. - items: - properties: - recordFormatType: - description: 'The type of record format. - Valid values: CSV, JSON.' - type: string - type: object - type: array - kinesisFirehoseOutput: - description: Identifies a Kinesis Data Firehose - delivery stream as the destination. - items: - type: object - type: array - kinesisStreamsOutput: - description: Identifies a Kinesis data stream - as the destination. items: properties: resourceArn: description: The ARN of the Lambda function that operates on records in the stream. type: string - type: object - type: array - lambdaOutput: - description: Identifies a Lambda function as - the destination. - items: - type: object - type: array - name: - description: The name of the application. - type: string - type: object - type: array - referenceDataSource: - description: The reference data source used by the - application. - items: - properties: - referenceSchema: - description: Describes the format of the data - in the streaming source, and how each data - element maps to corresponding columns created - in the in-application stream. - items: - properties: - recordColumn: - description: Describes the mapping of - each data element in the streaming source - to the corresponding column in the in-application - stream. - items: - properties: - mapping: - description: A reference to the - data element in the streaming + resourceArnRef: + description: Reference to a Stream in + kinesis to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Stream in + kinesis to populate resourceArn. + 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 + type: object + type: array + namePrefix: + description: The name prefix to use when creating + an in-application stream. + type: string + type: object + type: array + output: + description: The destination streams used by the application. + items: + properties: + destinationSchema: + description: Describes the data format when + records are written to the destination. + items: + properties: + recordFormatType: + description: 'The type of record format. + Valid values: CSV, JSON.' + type: string + type: object + type: array + kinesisFirehoseOutput: + description: Identifies a Kinesis Data Firehose + delivery stream as the destination. + items: + properties: + resourceArn: + description: The ARN of the Lambda function + that operates on records in the stream. + type: string + resourceArnRef: + description: Reference to a DeliveryStream + in firehose to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a DeliveryStream + in firehose to populate resourceArn. + 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 + type: object + type: array + kinesisStreamsOutput: + description: Identifies a Kinesis data stream + as the destination. + items: + properties: + resourceArn: + description: The ARN of the Lambda function + that operates on records in the stream. + type: string + type: object + type: array + lambdaOutput: + description: Identifies a Lambda function as + the destination. + items: + properties: + resourceArn: + description: The ARN of the Lambda function + that operates on records in the stream. + type: string + resourceArnRef: + description: Reference to a Function in + lambda to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Function in + lambda to populate resourceArn. + 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 + type: object + type: array + name: + description: The name of the application. + type: string + type: object + type: array + referenceDataSource: + description: The reference data source used by the + application. + items: + properties: + referenceSchema: + description: Describes the format of the data + in the streaming source, and how each data + element maps to corresponding columns created + in the in-application stream. + items: + properties: + recordColumn: + description: Describes the mapping of + each data element in the streaming source + to the corresponding column in the in-application + stream. + items: + properties: + mapping: + description: A reference to the + data element in the streaming input or the reference data source. type: string name: @@ -1952,6 +2425,100 @@ spec: that contains the reference data. items: properties: + bucketArn: + description: The ARN for the S3 bucket + containing the application code. + type: string + bucketArnRef: + description: Reference to a Bucket in + s3 to populate bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in + s3 to populate bucketArn. + 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 fileKey: description: The file key for the object containing the application code. @@ -1991,6 +2558,89 @@ spec: description: A CloudWatch log stream to monitor application configuration errors. items: + properties: + logStreamArn: + description: The ARN of the CloudWatch log stream to receive + application messages. + type: string + logStreamArnRef: + description: Reference to a Stream in cloudwatchlogs to + populate logStreamArn. + 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 + logStreamArnSelector: + description: Selector for a Stream in cloudwatchlogs to + populate logStreamArn. + 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 type: object type: array description: @@ -2005,6 +2655,84 @@ spec: values: SQL-1_0, FLINK-1_6, FLINK-1_8, FLINK-1_11, FLINK-1_13, FLINK-1_15.' type: string + serviceExecutionRole: + description: The ARN of the IAM role used by the application to + access Kinesis data streams, Kinesis Data Firehose delivery + streams, Amazon S3 objects, and other external resources. + type: string + serviceExecutionRoleRef: + description: Reference to a Role in iam to populate serviceExecutionRole. + 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 + serviceExecutionRoleSelector: + description: Selector for a Role in iam to populate serviceExecutionRole. + 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 startApplication: description: Whether to start or stop the application. type: boolean diff --git a/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml b/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml index 429013efac..51846ce0a9 100644 --- a/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml +++ b/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml @@ -165,6 +165,87 @@ spec: 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: + applicationName: + description: The name of an existing Kinesis Analytics v2 Application. + Note that the application must be running for a snapshot to + be created. + type: string + applicationNameRef: + description: Reference to a Application in kinesisanalyticsv2 + to populate applicationName. + 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 + applicationNameSelector: + description: Selector for a Application in kinesisanalyticsv2 + to populate applicationName. + 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 type: object managementPolicies: default: diff --git a/package/crds/kinesisvideo.aws.upbound.io_streams.yaml b/package/crds/kinesisvideo.aws.upbound.io_streams.yaml index f3e5d07094..4b50071729 100644 --- a/package/crds/kinesisvideo.aws.upbound.io_streams.yaml +++ b/package/crds/kinesisvideo.aws.upbound.io_streams.yaml @@ -203,6 +203,85 @@ spec: In the current implementation, Kinesis Video Streams does not use this name. type: string + kmsKeyId: + description: The ID of the AWS Key Management Service (AWS KMS) + key that you want Kinesis Video Streams to use to encrypt stream + data. If no key ID is specified, the default, Kinesis Video-managed + key (aws/kinesisvideo) is used. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 mediaType: description: The media type of the stream. Consumers of the stream can use this information when processing the stream. For more diff --git a/package/crds/kms.aws.upbound.io_aliases.yaml b/package/crds/kms.aws.upbound.io_aliases.yaml index 419497d650..aa85a6a93f 100644 --- a/package/crds/kms.aws.upbound.io_aliases.yaml +++ b/package/crds/kms.aws.upbound.io_aliases.yaml @@ -162,6 +162,84 @@ spec: 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: + targetKeyId: + description: Identifier for the key for which the alias is for, + can be either an ARN or key_id. + type: string + targetKeyIdRef: + description: Reference to a Key to populate targetKeyId. + 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 + targetKeyIdSelector: + description: Selector for a Key to populate targetKeyId. + 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 type: object managementPolicies: default: diff --git a/package/crds/kms.aws.upbound.io_ciphertexts.yaml b/package/crds/kms.aws.upbound.io_ciphertexts.yaml index 17d47df379..291e87b92d 100644 --- a/package/crds/kms.aws.upbound.io_ciphertexts.yaml +++ b/package/crds/kms.aws.upbound.io_ciphertexts.yaml @@ -194,6 +194,82 @@ spec: context. type: object x-kubernetes-map-type: granular + keyId: + description: Globally unique key ID for the customer master key. + type: string + keyIdRef: + description: Reference to a Key to populate keyId. + 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 + keyIdSelector: + description: Selector for a Key to populate keyId. + 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 type: object managementPolicies: default: diff --git a/package/crds/kms.aws.upbound.io_grants.yaml b/package/crds/kms.aws.upbound.io_grants.yaml index dcb9f19e90..89dd7730fe 100644 --- a/package/crds/kms.aws.upbound.io_grants.yaml +++ b/package/crds/kms.aws.upbound.io_grants.yaml @@ -342,6 +342,162 @@ spec: type: string type: array x-kubernetes-list-type: set + granteePrincipal: + description: The principal that is given permission to perform + the operations that the grant permits in ARN format. + type: string + granteePrincipalRef: + description: Reference to a Role in iam to populate granteePrincipal. + 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 + granteePrincipalSelector: + description: Selector for a Role in iam to populate granteePrincipal. + 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 + keyId: + description: The unique identifier for the customer master key + (CMK) that the grant applies to. Specify the key ID or the Amazon + Resource Name (ARN) of the CMK. To specify a CMK in a different + AWS account, you must use the key ARN. + type: string + keyIdRef: + description: Reference to a Key to populate keyId. + 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 + keyIdSelector: + description: Selector for a Key to populate keyId. + 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 name: description: A friendly name for identifying the grant. type: string diff --git a/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml b/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml index e000354653..d626478661 100644 --- a/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml +++ b/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml @@ -255,6 +255,85 @@ spec: not specify a key policy, AWS KMS attaches the default key policy to the KMS key. type: string + primaryKeyArn: + description: The ARN of the multi-Region primary key to replicate. + The primary key must be in a different AWS Region of the same + AWS Partition. You can create only one replica of a given primary + key in each AWS Region. + type: string + primaryKeyArnRef: + description: Reference to a ExternalKey to populate primaryKeyArn. + 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 + primaryKeyArnSelector: + description: Selector for a ExternalKey to populate primaryKeyArn. + 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 diff --git a/package/crds/kms.aws.upbound.io_replicakeys.yaml b/package/crds/kms.aws.upbound.io_replicakeys.yaml index 48279f814c..4cb247413c 100644 --- a/package/crds/kms.aws.upbound.io_replicakeys.yaml +++ b/package/crds/kms.aws.upbound.io_replicakeys.yaml @@ -227,6 +227,85 @@ spec: not specify a key policy, AWS KMS attaches the default key policy to the KMS key. type: string + primaryKeyArn: + description: The ARN of the multi-Region primary key to replicate. + The primary key must be in a different AWS Region of the same + AWS Partition. You can create only one replica of a given primary + key in each AWS Region. + type: string + primaryKeyArnRef: + description: Reference to a Key to populate primaryKeyArn. + 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 + primaryKeyArnSelector: + description: Selector for a Key to populate primaryKeyArn. + 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 diff --git a/package/crds/lakeformation.aws.upbound.io_permissions.yaml b/package/crds/lakeformation.aws.upbound.io_permissions.yaml index 97352eefa3..c3ac197ee6 100644 --- a/package/crds/lakeformation.aws.upbound.io_permissions.yaml +++ b/package/crds/lakeformation.aws.upbound.io_permissions.yaml @@ -503,6 +503,88 @@ spec: Detailed below. items: properties: + arn: + description: – Amazon Resource Name (ARN) that uniquely + identifies the data location resource. + type: string + arnRef: + description: Reference to a Resource in lakeformation to + populate arn. + 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 + arnSelector: + description: Selector for a Resource in lakeformation to + populate arn. + 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 catalogId: description: Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the @@ -519,6 +601,88 @@ spec: description: Identifier for the Data Catalog. By default, it is the account ID of the caller. type: string + name: + description: – Name of the database resource. Unique to + the Data Catalog. + type: string + nameRef: + description: Reference to a CatalogDatabase in glue to populate + name. + 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 + nameSelector: + description: Selector for a CatalogDatabase in glue to populate + name. + 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 type: object type: array lfTag: @@ -639,6 +803,87 @@ spec: type: string type: array x-kubernetes-list-type: set + name: + description: – Name of the table resource. + type: string + nameRef: + description: Reference to a CatalogTable in glue to populate + name. + 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 + nameSelector: + description: Selector for a CatalogTable in glue to populate + name. + 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 wildcard: description: Whether to use a column wildcard. type: boolean diff --git a/package/crds/lakeformation.aws.upbound.io_resources.yaml b/package/crds/lakeformation.aws.upbound.io_resources.yaml index f910ca2d3b..2077234862 100644 --- a/package/crds/lakeformation.aws.upbound.io_resources.yaml +++ b/package/crds/lakeformation.aws.upbound.io_resources.yaml @@ -170,6 +170,82 @@ spec: description: – Amazon Resource Name (ARN) of the resource, an S3 path. type: string + roleArn: + description: linked role must exist and is used. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml b/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml index 44062fb8a0..d9feec9be9 100644 --- a/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml +++ b/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml @@ -206,6 +206,97 @@ spec: description: A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below. items: + properties: + signingProfileVersionArns: + description: The Amazon Resource Name (ARN) for each of + the signing profiles. A signing profile defines a trusted + user who can sign a code package. + items: + type: string + type: array + x-kubernetes-list-type: set + signingProfileVersionArnsRefs: + description: References to SigningProfile in signer to populate + signingProfileVersionArns. + items: + description: A Reference to a named object. + 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 + type: array + signingProfileVersionArnsSelector: + description: Selector for a list of SigningProfile in signer + to populate signingProfileVersionArns. + 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 type: object type: array description: diff --git a/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml b/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml index bfbabfa100..516ebfe2cd 100644 --- a/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml +++ b/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml @@ -496,6 +496,83 @@ spec: type: array type: object type: array + functionName: + description: The name or the ARN of the Lambda function that will + be subscribing to events. + type: string + functionNameRef: + description: Reference to a Function to populate functionName. + 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 + functionNameSelector: + description: Selector for a Function to populate functionName. + 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 functionResponseTypes: description: 'A list of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only diff --git a/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml b/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml index 7c9327e628..dafb33e46b 100644 --- a/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml +++ b/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml @@ -306,6 +306,92 @@ spec: description: Configuration block with destination configuration for failed asynchronous invocations. See below for details. items: + properties: + destination: + description: Amazon Resource Name (ARN) of the destination + resource. See the Lambda Developer Guide for acceptable + resource types and associated IAM permissions. + type: string + destinationRef: + description: Reference to a Queue in sqs to populate + destination. + 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 + destinationSelector: + description: Selector for a Queue in sqs to populate + destination. + 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 type: object type: array onSuccess: @@ -313,6 +399,92 @@ spec: for successful asynchronous invocations. See below for details. items: + properties: + destination: + description: Amazon Resource Name (ARN) of the destination + resource. See the Lambda Developer Guide for acceptable + resource types and associated IAM permissions. + type: string + destinationRef: + description: Reference to a Topic in sns to populate + destination. + 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 + destinationSelector: + description: Selector for a Topic in sns to populate + destination. + 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 type: object type: array type: object diff --git a/package/crds/lambda.aws.upbound.io_functions.yaml b/package/crds/lambda.aws.upbound.io_functions.yaml index 13e6ac3c5b..6a223645f6 100644 --- a/package/crds/lambda.aws.upbound.io_functions.yaml +++ b/package/crds/lambda.aws.upbound.io_functions.yaml @@ -934,6 +934,88 @@ spec: description: Configuration block. Detailed below. items: properties: + arn: + description: Amazon Resource Name (ARN) of the Amazon EFS + Access Point that provides access to the file system. + type: string + arnRef: + description: Reference to a AccessPoint in efs to populate + arn. + 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 + arnSelector: + description: Selector for a AccessPoint in efs to populate + arn. + 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 localMountPath: description: Path where the function can access the file system, starting with /mnt/. @@ -968,6 +1050,86 @@ spec: package. Exactly one of filename, image_uri, or s3_bucket must be specified. type: string + kmsKeyArn: + description: Amazon Resource Name (ARN) of the AWS Key Management + Service (KMS) key that is used to encrypt environment variables. + If this configuration is not provided when environment variables + are in use, AWS Lambda uses a default service key. To fix the + perpetual difference, remove this configuration. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 layers: description: List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See Lambda Layers @@ -998,18 +1160,261 @@ spec: VPC. Set the replacement_security_group_ids attribute to use a custom list of security groups for replacement. type: boolean + replacementSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate replacementSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + replacementSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + replacementSecurityGroupIds. + 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 + replacementSecurityGroupIds: + description: List of security group IDs to assign to orphaned + Lambda function network interfaces upon destruction. replace_security_groups_on_destroy + must be set to true to use this attribute. + items: + type: string + type: array + x-kubernetes-list-type: set reservedConcurrentExecutions: description: Amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. See Managing Concurrency type: number - runtime: - description: Identifier of the function's runtime. See Runtimes - for valid values. + role: + description: Amazon Resource Name (ARN) of the function's execution + role. The role provides the function's identity and access to + AWS services and resources. type: string - s3Key: - description: S3 key of an object containing the function's deployment + roleRef: + description: Reference to a Role in iam to populate role. + 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 + roleSelector: + description: Selector for a Role in iam to populate role. + 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 + runtime: + description: Identifier of the function's runtime. See Runtimes + for valid values. + type: string + s3Bucket: + description: S3 bucket location containing the function's deployment + package. This bucket must reside in the same AWS region where + you are creating the Lambda function. Exactly one of filename, + image_uri, or s3_bucket must be specified. When s3_bucket is + set, s3_key is required. + type: string + s3BucketRef: + description: Reference to a Bucket in s3 to populate s3Bucket. + 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 + s3BucketSelector: + description: Selector for a Bucket in s3 to populate s3Bucket. + 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 + s3Key: + description: S3 key of an object containing the function's deployment package. When s3_bucket is set, s3_key is required. type: string s3ObjectVersion: @@ -1070,6 +1475,183 @@ spec: description: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Default is false. type: boolean + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate + securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 + to populate securityGroupIds. + 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 + securityGroupIds: + description: List of security group IDs associated with + the Lambda function. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: List of subnet IDs associated with the Lambda + function. + items: + type: string + type: array + x-kubernetes-list-type: set type: object type: array type: object diff --git a/package/crds/lambda.aws.upbound.io_functionurls.yaml b/package/crds/lambda.aws.upbound.io_functionurls.yaml index 71393aa772..5b355b4cdb 100644 --- a/package/crds/lambda.aws.upbound.io_functionurls.yaml +++ b/package/crds/lambda.aws.upbound.io_functionurls.yaml @@ -282,6 +282,82 @@ spec: type: number type: object type: array + functionName: + description: The name (or ARN) of the Lambda function. + type: string + functionNameRef: + description: Reference to a Function to populate functionName. + 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 + functionNameSelector: + description: Selector for a Function to populate functionName. + 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 invokeMode: description: Determines how the Lambda function responds to an invocation. Valid values are BUFFERED (default) and RESPONSE_STREAM. diff --git a/package/crds/lambda.aws.upbound.io_invocations.yaml b/package/crds/lambda.aws.upbound.io_invocations.yaml index 6b49431246..e09d017d14 100644 --- a/package/crds/lambda.aws.upbound.io_invocations.yaml +++ b/package/crds/lambda.aws.upbound.io_invocations.yaml @@ -188,6 +188,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + functionName: + description: Name of the lambda function. + type: string + functionNameRef: + description: Reference to a Function to populate functionName. + 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 + functionNameSelector: + description: Selector for a Function to populate functionName. + 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 input: description: JSON payload to the lambda function. type: string diff --git a/package/crds/lambda.aws.upbound.io_permissions.yaml b/package/crds/lambda.aws.upbound.io_permissions.yaml index 5734c0ad04..41ead460aa 100644 --- a/package/crds/lambda.aws.upbound.io_permissions.yaml +++ b/package/crds/lambda.aws.upbound.io_permissions.yaml @@ -293,6 +293,83 @@ spec: description: The Event Source Token to validate. Used with Alexa Skills. type: string + functionName: + description: Name of the Lambda function whose resource policy + you are updating + type: string + functionNameRef: + description: Reference to a Function to populate functionName. + 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 + functionNameSelector: + description: Selector for a Function to populate functionName. + 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 functionUrlAuthType: description: 'Lambda Function URLs authentication type. Valid values are: AWS_IAM or NONE. Only supported for lambda:InvokeFunctionUrl @@ -308,6 +385,84 @@ spec: Use this to grant permissions to all the AWS accounts under this organization. type: string + qualifier: + description: Query parameter to specify function version or alias + name. The permission will then apply to the specific qualified + ARN e.g., arn:aws:lambda:aws-region:acct-id:function:function-name:2 + type: string + qualifierRef: + description: Reference to a Alias to populate qualifier. + 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 + qualifierSelector: + description: Selector for a Alias to populate qualifier. + 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 sourceAccount: description: This parameter is used when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) diff --git a/package/crds/licensemanager.aws.upbound.io_associations.yaml b/package/crds/licensemanager.aws.upbound.io_associations.yaml index 29c5f34b27..d883942d0a 100644 --- a/package/crds/licensemanager.aws.upbound.io_associations.yaml +++ b/package/crds/licensemanager.aws.upbound.io_associations.yaml @@ -237,6 +237,159 @@ spec: 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: + licenseConfigurationArn: + description: ARN of the license configuration. + type: string + licenseConfigurationArnRef: + description: Reference to a LicenseConfiguration to populate licenseConfigurationArn. + 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 + licenseConfigurationArnSelector: + description: Selector for a LicenseConfiguration to populate licenseConfigurationArn. + 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 + resourceArn: + description: ARN of the resource associated with the license configuration. + type: string + resourceArnRef: + description: Reference to a Instance in ec2 to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Instance in ec2 to populate resourceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/lightsail.aws.upbound.io_diskattachments.yaml b/package/crds/lightsail.aws.upbound.io_diskattachments.yaml index 4173cb1f28..e7038dc43f 100644 --- a/package/crds/lightsail.aws.upbound.io_diskattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_diskattachments.yaml @@ -243,9 +243,163 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + diskName: + description: The name of the Lightsail Disk. + type: string + diskNameRef: + description: Reference to a Disk in lightsail to populate diskName. + 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 + diskNameSelector: + description: Selector for a Disk in lightsail to populate diskName. + 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 diskPath: description: The disk path to expose to the instance. type: string + instanceName: + description: The name of the Lightsail Instance to attach to. + type: string + instanceNameRef: + description: Reference to a Instance in lightsail to populate + instanceName. + 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 + instanceNameSelector: + description: Selector for a Instance in lightsail to populate + instanceName. + 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 type: object managementPolicies: default: diff --git a/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml b/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml index 3ae536591e..323b8d80ce 100644 --- a/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml +++ b/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml @@ -200,6 +200,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + instanceName: + description: Name of the Lightsail Instance. + type: string + instanceNameRef: + description: Reference to a Instance in lightsail to populate + instanceName. + 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 + instanceNameSelector: + description: Selector for a Instance in lightsail to populate + instanceName. + 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 portInfo: description: Configuration block with port information. AWS closes all currently open ports that are not included in the port_info. diff --git a/package/crds/lightsail.aws.upbound.io_lbattachments.yaml b/package/crds/lightsail.aws.upbound.io_lbattachments.yaml index 3185a2c60b..a592e46437 100644 --- a/package/crds/lightsail.aws.upbound.io_lbattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_lbattachments.yaml @@ -239,6 +239,161 @@ spec: 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: + instanceName: + description: The name of the instance to attach to the load balancer. + type: string + instanceNameRef: + description: Reference to a Instance in lightsail to populate + instanceName. + 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 + instanceNameSelector: + description: Selector for a Instance in lightsail to populate + instanceName. + 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 + lbName: + description: The name of the Lightsail load balancer. + type: string + lbNameRef: + description: Reference to a LB in lightsail to populate lbName. + 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 + lbNameSelector: + description: Selector for a LB in lightsail to populate lbName. + 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 type: object managementPolicies: default: diff --git a/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml b/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml index 4a23cd1ab5..9487109ae5 100644 --- a/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml @@ -242,6 +242,164 @@ spec: 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: + instanceName: + description: The name of the Lightsail instance to attach the + IP to + type: string + instanceNameRef: + description: Reference to a Instance in lightsail to populate + instanceName. + 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 + instanceNameSelector: + description: Selector for a Instance in lightsail to populate + instanceName. + 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 + staticIpName: + description: The name of the allocated static IP + type: string + staticIpNameRef: + description: Reference to a StaticIP in lightsail to populate + staticIpName. + 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 + staticIpNameSelector: + description: Selector for a StaticIP in lightsail to populate + staticIpName. + 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 type: object managementPolicies: default: diff --git a/package/crds/location.aws.upbound.io_geofencecollections.yaml b/package/crds/location.aws.upbound.io_geofencecollections.yaml index ad43235290..f13f69498a 100644 --- a/package/crds/location.aws.upbound.io_geofencecollections.yaml +++ b/package/crds/location.aws.upbound.io_geofencecollections.yaml @@ -175,6 +175,83 @@ spec: description: description: The optional description for the geofence collection. type: string + kmsKeyId: + description: A key identifier for an AWS KMS customer managed + key assigned to the Amazon Location resource. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 diff --git a/package/crds/location.aws.upbound.io_trackerassociations.yaml b/package/crds/location.aws.upbound.io_trackerassociations.yaml index 814b80e155..26f5a0e4e4 100644 --- a/package/crds/location.aws.upbound.io_trackerassociations.yaml +++ b/package/crds/location.aws.upbound.io_trackerassociations.yaml @@ -242,6 +242,164 @@ spec: 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: + consumerArn: + description: The Amazon Resource Name (ARN) for the geofence collection + to be associated to tracker resource. Used when you need to + specify a resource across all AWS. + type: string + consumerArnRef: + description: Reference to a GeofenceCollection in location to + populate consumerArn. + 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 + consumerArnSelector: + description: Selector for a GeofenceCollection in location to + populate consumerArn. + 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 + trackerName: + description: The name of the tracker resource to be associated + with a geofence collection. + type: string + trackerNameRef: + description: Reference to a Tracker in location to populate trackerName. + 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 + trackerNameSelector: + description: Selector for a Tracker in location to populate trackerName. + 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 type: object managementPolicies: default: diff --git a/package/crds/location.aws.upbound.io_trackers.yaml b/package/crds/location.aws.upbound.io_trackers.yaml index 37f0c929c6..db456b25a8 100644 --- a/package/crds/location.aws.upbound.io_trackers.yaml +++ b/package/crds/location.aws.upbound.io_trackers.yaml @@ -180,6 +180,83 @@ spec: description: description: The optional description for the tracker resource. type: string + kmsKeyId: + description: A key identifier for an AWS KMS customer managed + key assigned to the Amazon Location resource. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 positionFiltering: description: 'The position filtering method of the tracker resource. Valid values: TimeBased, DistanceBased, AccuracyBased. Default: diff --git a/package/crds/medialive.aws.upbound.io_channels.yaml b/package/crds/medialive.aws.upbound.io_channels.yaml index 77deb5cd98..cee8964aa1 100644 --- a/package/crds/medialive.aws.upbound.io_channels.yaml +++ b/package/crds/medialive.aws.upbound.io_channels.yaml @@ -6539,6 +6539,87 @@ spec: inputAttachmentName: description: User-specified name for the attachment. type: string + inputId: + description: The ID of the input. + type: string + inputIdRef: + description: Reference to a Input in medialive to populate + inputId. + 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 + inputIdSelector: + description: Selector for a Input in medialive to populate + inputId. + 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 inputSettings: description: Settings of an input. See Input Settings for more details. @@ -7029,6 +7110,82 @@ spec: name: description: Name of the Channel. type: string + roleArn: + description: Concise argument description. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 startChannel: description: 'Whether to start/stop channel. Default: false' type: boolean diff --git a/package/crds/medialive.aws.upbound.io_inputs.yaml b/package/crds/medialive.aws.upbound.io_inputs.yaml index 17d75e7412..73624e4e36 100644 --- a/package/crds/medialive.aws.upbound.io_inputs.yaml +++ b/package/crds/medialive.aws.upbound.io_inputs.yaml @@ -285,6 +285,83 @@ spec: name: description: Name of the input. type: string + roleArn: + description: The ARN of the role this input assumes during and + after creation. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 sources: description: The source URLs for a PULL-type input. See Sources for more details. diff --git a/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml b/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml index d28671fc4d..9ac4af7c78 100644 --- a/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml +++ b/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml @@ -167,6 +167,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + containerName: + description: The name of the container. + type: string + containerNameRef: + description: Reference to a Container in mediastore to populate + containerName. + 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 + containerNameSelector: + description: Selector for a Container in mediastore to populate + containerName. + 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 policy: description: The contents of the policy. type: string diff --git a/package/crds/memorydb.aws.upbound.io_clusters.yaml b/package/crds/memorydb.aws.upbound.io_clusters.yaml index ac53b79987..3391b570be 100644 --- a/package/crds/memorydb.aws.upbound.io_clusters.yaml +++ b/package/crds/memorydb.aws.upbound.io_clusters.yaml @@ -439,6 +439,83 @@ spec: when this resource is deleted. If omitted, no final snapshot will be made. type: string + kmsKeyArn: + description: ARN of the KMS key used to encrypt the cluster at + rest. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 maintenanceWindow: description: 'Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format @@ -466,6 +543,90 @@ spec: description: The port number on which each of the nodes accepts connections. Defaults to 6379. type: number + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: Set of VPC Security Group ID-s to associate with + this cluster. + items: + type: string + type: array + x-kubernetes-list-type: set snapshotArns: description: List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate @@ -491,6 +652,85 @@ spec: description: ARN of the SNS topic to which cluster notifications are sent. type: string + subnetGroupName: + description: The name of the subnet group to be used for the cluster. + Defaults to a subnet group consisting of default VPC subnets. + type: string + subnetGroupNameRef: + description: Reference to a SubnetGroup in memorydb to populate + subnetGroupName. + 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 + subnetGroupNameSelector: + description: Selector for a SubnetGroup in memorydb to populate + subnetGroupName. + 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 diff --git a/package/crds/memorydb.aws.upbound.io_snapshots.yaml b/package/crds/memorydb.aws.upbound.io_snapshots.yaml index 2477daaa85..6cc99e8500 100644 --- a/package/crds/memorydb.aws.upbound.io_snapshots.yaml +++ b/package/crds/memorydb.aws.upbound.io_snapshots.yaml @@ -245,6 +245,159 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterName: + description: Name of the MemoryDB cluster to take a snapshot of. + type: string + clusterNameRef: + description: Reference to a Cluster in memorydb to populate clusterName. + 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 + clusterNameSelector: + description: Selector for a Cluster in memorydb to populate clusterName. + 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 + kmsKeyArn: + description: ARN of the KMS key used to encrypt the snapshot at + rest. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 diff --git a/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml b/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml index 4647636090..4e93a0dfda 100644 --- a/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml @@ -182,6 +182,90 @@ spec: description: description: Description for the subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: Set of VPC Subnet ID-s for the subnet group. At least + one subnet must be provided. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/mq.aws.upbound.io_brokers.yaml b/package/crds/mq.aws.upbound.io_brokers.yaml index a0efd4281d..6241beea87 100644 --- a/package/crds/mq.aws.upbound.io_brokers.yaml +++ b/package/crds/mq.aws.upbound.io_brokers.yaml @@ -586,6 +586,87 @@ spec: to engine_type of ActiveMQ and RabbitMQ only. Detailed below. items: properties: + id: + description: The Configuration ID. + type: string + idRef: + description: Reference to a Configuration in mq to populate + id. + 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 + idSelector: + description: Selector for a Configuration in mq to populate + id. + 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 revision: description: Revision of the Configuration. type: number @@ -715,12 +796,180 @@ spec: description: Whether to enable connections from applications outside of the VPC that hosts the broker's subnets. type: boolean + securityGroupRefs: + description: References to SecurityGroup in ec2 to populate securityGroups. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroups. + 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 + securityGroups: + description: List of security group IDs assigned to the broker. + items: + type: string + type: array + x-kubernetes-list-type: set storageType: description: Storage type of the broker. For engine_type ActiveMQ, the valid values are efs and ebs, and the AWS-default is efs. For engine_type RabbitMQ, only ebs is supported. When using ebs, only the mq.m5 broker instance type family is supported. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: List of subnet IDs in which to launch the broker. + A SINGLE_INSTANCE deployment requires one subnet. An ACTIVE_STANDBY_MULTI_AZ + deployment requires multiple subnets. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml b/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml index 680f47898f..8b3304850c 100644 --- a/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml +++ b/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml @@ -189,6 +189,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterIdentifier: + description: The DB cluster identifier of the DB cluster associated + with the endpoint. + type: string + clusterIdentifierRef: + description: Reference to a Cluster to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster to populate clusterIdentifier. + 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 endpointType: description: 'The type of the endpoint. One of: READER, WRITER, ANY.' diff --git a/package/crds/neptune.aws.upbound.io_clusterinstances.yaml b/package/crds/neptune.aws.upbound.io_clusterinstances.yaml index 1551e89ba3..9bcf7d5b29 100644 --- a/package/crds/neptune.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/neptune.aws.upbound.io_clusterinstances.yaml @@ -384,6 +384,83 @@ spec: description: The EC2 Availability Zone that the neptune instance is created in. type: string + clusterIdentifier: + description: The identifier of the aws_neptune_cluster in which + to launch this instance. + type: string + clusterIdentifierRef: + description: Reference to a Cluster to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster to populate clusterIdentifier. + 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 engine: description: 'The name of the database engine to be used for the neptune instance. Defaults to neptune. Valid Values: neptune.' @@ -395,6 +472,161 @@ spec: instanceClass: description: The instance class to use. type: string + neptuneParameterGroupName: + description: The name of the neptune parameter group to associate + with this instance. + type: string + neptuneParameterGroupNameRef: + description: Reference to a ParameterGroup to populate neptuneParameterGroupName. + 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 + neptuneParameterGroupNameSelector: + description: Selector for a ParameterGroup to populate neptuneParameterGroupName. + 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 + neptuneSubnetGroupName: + description: 'A subnet group to associate with this neptune instance. + NOTE: This must match the neptune_subnet_group_name of the attached + aws_neptune_cluster.' + type: string + neptuneSubnetGroupNameRef: + description: Reference to a SubnetGroup to populate neptuneSubnetGroupName. + 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 + neptuneSubnetGroupNameSelector: + description: Selector for a SubnetGroup to populate neptuneSubnetGroupName. + 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 port: description: The port on which the DB accepts connections. Defaults to 8182. diff --git a/package/crds/neptune.aws.upbound.io_clusters.yaml b/package/crds/neptune.aws.upbound.io_clusters.yaml index 7cd1f97b3e..e6623610e3 100644 --- a/package/crds/neptune.aws.upbound.io_clusters.yaml +++ b/package/crds/neptune.aws.upbound.io_clusters.yaml @@ -813,10 +813,325 @@ spec: and Access Management (IAM) accounts to database accounts is enabled. type: boolean + iamRoleRefs: + description: References to Role in iam to populate iamRoles. + items: + description: A Reference to a named object. + 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 + type: array + iamRoleSelector: + description: Selector for a list of Role in iam to populate iamRoles. + 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 + iamRoles: + description: A List of ARNs for the IAM roles to associate to + the Neptune Cluster. + items: + type: string + type: array + x-kubernetes-list-type: set + kmsKeyArn: + description: The ARN for the KMS encryption key. When specifying + kms_key_arn, storage_encrypted needs to be set to true. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 + neptuneClusterParameterGroupName: + description: A cluster parameter group to associate with the cluster. + type: string + neptuneClusterParameterGroupNameRef: + description: Reference to a ClusterParameterGroup to populate + neptuneClusterParameterGroupName. + 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 + neptuneClusterParameterGroupNameSelector: + description: Selector for a ClusterParameterGroup to populate + neptuneClusterParameterGroupName. + 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 neptuneInstanceParameterGroupName: description: The name of the DB parameter group to apply to all instances of the DB cluster. type: string + neptuneSubnetGroupName: + description: A Neptune subnet group to associate with this Neptune + instance. + type: string + neptuneSubnetGroupNameRef: + description: Reference to a SubnetGroup to populate neptuneSubnetGroupName. + 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 + neptuneSubnetGroupNameSelector: + description: Selector for a SubnetGroup to populate neptuneSubnetGroupName. + 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 port: description: The port on which the Neptune accepts connections. Default is 8182. @@ -831,6 +1146,83 @@ spec: description: The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 type: string + replicationSourceIdentifier: + description: ARN of a source Neptune cluster or Neptune instance + if this Neptune cluster is to be created as a Read Replica. + type: string + replicationSourceIdentifierRef: + description: Reference to a Cluster to populate replicationSourceIdentifier. + 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 + replicationSourceIdentifierSelector: + description: Selector for a Cluster to populate replicationSourceIdentifier. + 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 serverlessV2ScalingConfiguration: description: If set, create the Neptune cluster as a serverless one. See Serverless for example block attributes. @@ -855,6 +1247,87 @@ spec: snapshot is created before the Neptune cluster is deleted, using the value from final_snapshot_identifier. Default is false. type: boolean + snapshotIdentifier: + description: Specifies whether or not to create this cluster from + a snapshot. You can use either the name or ARN when specifying + a Neptune cluster snapshot, or the ARN when specifying a Neptune + snapshot. Automated snapshots should not be used for this attribute, + unless from a different cluster. Automated snapshots are deleted + as part of cluster destruction when the resource is replaced. + type: string + snapshotIdentifierRef: + description: Reference to a ClusterSnapshot to populate snapshotIdentifier. + 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 + snapshotIdentifierSelector: + description: Selector for a ClusterSnapshot to populate snapshotIdentifier. + 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 storageEncrypted: description: Specifies whether the Neptune cluster is encrypted. The default is false if not specified. @@ -865,6 +1338,90 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: List of VPC security groups to associate with the + Cluster + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml b/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml index f1f0aa9e48..89cd0a5bad 100644 --- a/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml @@ -162,6 +162,84 @@ spec: 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: + dbClusterIdentifier: + description: The DB Cluster Identifier from which to take the + snapshot. + type: string + dbClusterIdentifierRef: + description: Reference to a Cluster to populate dbClusterIdentifier. + 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 + dbClusterIdentifierSelector: + description: Selector for a Cluster to populate dbClusterIdentifier. + 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 type: object managementPolicies: default: diff --git a/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml b/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml index 3eb600daf5..a856fd765d 100644 --- a/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml @@ -207,6 +207,82 @@ spec: type: string type: array x-kubernetes-list-type: set + snsTopicArn: + description: The ARN of the SNS topic to send events to. + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 sourceIds: description: A list of identifiers of the event sources for which events will be returned. If not specified, then all sources diff --git a/package/crds/neptune.aws.upbound.io_globalclusters.yaml b/package/crds/neptune.aws.upbound.io_globalclusters.yaml index 4afe9bea24..0660999b73 100644 --- a/package/crds/neptune.aws.upbound.io_globalclusters.yaml +++ b/package/crds/neptune.aws.upbound.io_globalclusters.yaml @@ -196,6 +196,83 @@ spec: the engine version will result in all cluster members being immediately updated and will. type: string + sourceDbClusterIdentifier: + description: Amazon Resource Name (ARN) to use as the primary + DB Cluster of the Global Cluster on creation. + type: string + sourceDbClusterIdentifierRef: + description: Reference to a Cluster in neptune to populate sourceDbClusterIdentifier. + 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 + sourceDbClusterIdentifierSelector: + description: Selector for a Cluster in neptune to populate sourceDbClusterIdentifier. + 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 storageEncrypted: description: Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified diff --git a/package/crds/neptune.aws.upbound.io_subnetgroups.yaml b/package/crds/neptune.aws.upbound.io_subnetgroups.yaml index bbf5f30e80..561c2b6c1a 100644 --- a/package/crds/neptune.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/neptune.aws.upbound.io_subnetgroups.yaml @@ -181,6 +181,89 @@ spec: description: description: The description of the neptune subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of VPC subnet IDs. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml b/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml index 57caddd63f..46dfc36d34 100644 --- a/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml @@ -581,6 +581,90 @@ spec: each stateless rule group to a packet starting with the group that has the lowest priority setting. type: number + resourceArn: + description: The Amazon Resource Name (ARN) of the + stateless rule group. + type: string + resourceArnRef: + description: Reference to a RuleGroup in networkfirewall + to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a RuleGroup in networkfirewall + to populate resourceArn. + 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 type: object type: array statelessCustomAction: @@ -666,6 +750,90 @@ spec: each stateless rule group to a packet starting with the group that has the lowest priority setting. type: number + resourceArn: + description: The Amazon Resource Name (ARN) of the + stateless rule group. + type: string + resourceArnRef: + description: Reference to a RuleGroup in networkfirewall + to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a RuleGroup in networkfirewall + to populate resourceArn. + 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 type: object type: array type: object diff --git a/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml b/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml index e6090fcf70..2e238ebfe9 100644 --- a/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml @@ -404,6 +404,85 @@ spec: type: string type: object type: array + firewallPolicyArn: + description: The Amazon Resource Name (ARN) of the VPC Firewall + policy. + type: string + firewallPolicyArnRef: + description: Reference to a FirewallPolicy in networkfirewall + to populate firewallPolicyArn. + 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 + firewallPolicyArnSelector: + description: Selector for a FirewallPolicy in networkfirewall + to populate firewallPolicyArn. + 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 firewallPolicyChangeProtection: description: (Option) A boolean flag indicating whether it is possible to change the associated firewall policy. Defaults @@ -427,6 +506,85 @@ spec: description: 'The subnet''s IP address type. Valida values: "DUALSTACK", "IPV4".' type: string + subnetId: + description: The unique identifier for the subnet. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object type: array tags: @@ -435,6 +593,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The unique identifier of the VPC where AWS Network + Firewall should create the firewall. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml b/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml index 66ea8e0e85..e9acbb003e 100644 --- a/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml @@ -200,6 +200,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + firewallArn: + description: The Amazon Resource Name (ARN) of the Network Firewall + firewall. + type: string + firewallArnRef: + description: Reference to a Firewall in networkfirewall to populate + firewallArn. + 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 + firewallArnSelector: + description: Selector for a Firewall in networkfirewall to populate + firewallArn. + 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 loggingConfiguration: description: A configuration block describing how AWS Network Firewall performs logging for a firewall. See Logging Configuration diff --git a/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml b/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml index 1f0f4fcfff..43f388dc2d 100644 --- a/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml @@ -779,6 +779,101 @@ spec: define the IP Reference information. See IP Set Reference below for details. items: + properties: + referenceArn: + description: Set of Managed Prefix IP + ARN(s) + type: string + referenceArnRef: + description: Reference to a ManagedPrefixList + in ec2 to populate referenceArn. + 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 + referenceArnSelector: + description: Selector for a ManagedPrefixList + in ec2 to populate referenceArn. + 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 type: object type: array key: diff --git a/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml b/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml index 72cc964aef..1316461540 100644 --- a/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml +++ b/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml @@ -242,6 +242,164 @@ spec: 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: + attachmentId: + description: The ID of the attachment. + type: string + attachmentIdRef: + description: Reference to a VPCAttachment in networkmanager to + populate attachmentId. + 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 + attachmentIdSelector: + description: Selector for a VPCAttachment in networkmanager to + populate attachmentId. + 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 + attachmentType: + description: The type of attachment. Valid values can be found + in the AWS Documentation + type: string + attachmentTypeRef: + description: Reference to a VPCAttachment in networkmanager to + populate attachmentType. + 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 + attachmentTypeSelector: + description: Selector for a VPCAttachment in networkmanager to + populate attachmentType. + 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 type: object managementPolicies: default: diff --git a/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml b/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml index 8d53d99496..1dd4bf33d7 100644 --- a/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml +++ b/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml @@ -334,6 +334,161 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + coreNetworkId: + description: The ID of a core network where you want to create + the attachment. + type: string + coreNetworkIdRef: + description: Reference to a CoreNetwork to populate coreNetworkId. + 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 + coreNetworkIdSelector: + description: Selector for a CoreNetwork to populate coreNetworkId. + 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 + edgeLocation: + description: The Region where the edge is located. + type: string + edgeLocationRef: + description: Reference to a VPCAttachment in networkmanager to + populate edgeLocation. + 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 + edgeLocationSelector: + description: Selector for a VPCAttachment in networkmanager to + populate edgeLocation. + 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 options: description: Options block. See options for more information. items: @@ -350,6 +505,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + transportAttachmentId: + description: The ID of the attachment between the two connections. + type: string + transportAttachmentIdRef: + description: Reference to a VPCAttachment in networkmanager to + populate transportAttachmentId. + 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 + transportAttachmentIdSelector: + description: Selector for a VPCAttachment in networkmanager to + populate transportAttachmentId. + 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 type: object managementPolicies: default: diff --git a/package/crds/networkmanager.aws.upbound.io_connections.yaml b/package/crds/networkmanager.aws.upbound.io_connections.yaml index 42131b9d9c..49d655b20d 100644 --- a/package/crds/networkmanager.aws.upbound.io_connections.yaml +++ b/package/crds/networkmanager.aws.upbound.io_connections.yaml @@ -335,12 +335,246 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + connectedDeviceId: + description: The ID of the second device in the connection. + type: string + connectedDeviceIdRef: + description: Reference to a Device in networkmanager to populate + connectedDeviceId. + 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 + connectedDeviceIdSelector: + description: Selector for a Device in networkmanager to populate + connectedDeviceId. + 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 connectedLinkId: description: The ID of the link for the second device. type: string description: description: A description of the connection. type: string + deviceId: + description: The ID of the first device in the connection. + type: string + deviceIdRef: + description: Reference to a Device in networkmanager to populate + deviceId. + 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 + deviceIdSelector: + description: Selector for a Device in networkmanager to populate + deviceId. + 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 + globalNetworkId: + description: The ID of the global network. + type: string + globalNetworkIdRef: + description: Reference to a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 + globalNetworkIdSelector: + description: Selector for a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 linkId: description: The ID of the link for the first device. type: string diff --git a/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml b/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml index a672f40d9d..39d0c8f703 100644 --- a/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml +++ b/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml @@ -227,6 +227,85 @@ spec: description: description: Description of the Core Network. type: string + globalNetworkId: + description: The ID of the global network that a core network + will be a part of. + type: string + globalNetworkIdRef: + description: Reference to a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 + globalNetworkIdSelector: + description: Selector for a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 diff --git a/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml b/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml index e58353292f..7872dd5a24 100644 --- a/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml @@ -325,6 +325,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + deviceId: + description: The ID of the device. + type: string + deviceIdRef: + description: Reference to a Device in networkmanager to populate + deviceId. + 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 + deviceIdSelector: + description: Selector for a Device in networkmanager to populate + deviceId. + 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 linkId: description: The ID of the link. type: string diff --git a/package/crds/networkmanager.aws.upbound.io_devices.yaml b/package/crds/networkmanager.aws.upbound.io_devices.yaml index 662fcf7784..ce85c98760 100644 --- a/package/crds/networkmanager.aws.upbound.io_devices.yaml +++ b/package/crds/networkmanager.aws.upbound.io_devices.yaml @@ -311,6 +311,84 @@ spec: description: description: A description of the device. type: string + globalNetworkId: + description: The ID of the global network. + type: string + globalNetworkIdRef: + description: Reference to a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 + globalNetworkIdSelector: + description: Selector for a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 location: description: The location of the device. Documented below. items: @@ -332,6 +410,84 @@ spec: serialNumber: description: The serial number of the device. type: string + siteId: + description: The ID of the site. + type: string + siteIdRef: + description: Reference to a Site in networkmanager to populate + siteId. + 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 + siteIdSelector: + description: Selector for a Site in networkmanager to populate + siteId. + 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 diff --git a/package/crds/networkmanager.aws.upbound.io_links.yaml b/package/crds/networkmanager.aws.upbound.io_links.yaml index b7e69ca1a5..93e0e950fa 100644 --- a/package/crds/networkmanager.aws.upbound.io_links.yaml +++ b/package/crds/networkmanager.aws.upbound.io_links.yaml @@ -283,9 +283,163 @@ spec: description: description: A description of the link. type: string + globalNetworkId: + description: The ID of the global network. + type: string + globalNetworkIdRef: + description: Reference to a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 + globalNetworkIdSelector: + description: Selector for a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 providerName: description: The provider of the link. type: string + siteId: + description: The ID of the site. + type: string + siteIdRef: + description: Reference to a Site to populate siteId. + 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 + siteIdSelector: + description: Selector for a Site to populate siteId. + 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 diff --git a/package/crds/networkmanager.aws.upbound.io_sites.yaml b/package/crds/networkmanager.aws.upbound.io_sites.yaml index ff7905c4fc..b03d6137f5 100644 --- a/package/crds/networkmanager.aws.upbound.io_sites.yaml +++ b/package/crds/networkmanager.aws.upbound.io_sites.yaml @@ -191,6 +191,84 @@ spec: description: description: Description of the Site. type: string + globalNetworkId: + description: The ID of the Global Network to create the site in. + type: string + globalNetworkIdRef: + description: Reference to a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 + globalNetworkIdSelector: + description: Selector for a GlobalNetwork in networkmanager to + populate globalNetworkId. + 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 location: description: The site location as documented below. items: diff --git a/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml b/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml index ef72d5517f..9f656a42b9 100644 --- a/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml @@ -325,6 +325,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + deviceId: + description: The ID of the device. + type: string + deviceIdRef: + description: Reference to a Device in networkmanager to populate + deviceId. + 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 + deviceIdSelector: + description: Selector for a Device in networkmanager to populate + deviceId. + 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 linkId: description: The ID of the link. type: string diff --git a/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml b/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml index 8d7bc15180..13ecd53c73 100644 --- a/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml +++ b/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml @@ -345,6 +345,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + coreNetworkId: + description: The ID of a core network for the VPC attachment. + type: string + coreNetworkIdRef: + description: Reference to a CoreNetwork to populate coreNetworkId. + 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 + coreNetworkIdSelector: + description: Selector for a CoreNetwork to populate coreNetworkId. + 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 options: description: Options for the VPC attachment. items: @@ -364,12 +440,171 @@ spec: type: boolean type: object type: array + subnetArns: + description: The subnet ARN of the VPC attachment. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetArnsRefs: + description: References to Subnet in ec2 to populate subnetArns. + items: + description: A Reference to a named object. + 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 + type: array + subnetArnsSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetArns. + 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 x-kubernetes-map-type: granular + vpcArn: + description: The ARN of the VPC. + type: string + vpcArnRef: + description: Reference to a VPC in ec2 to populate vpcArn. + 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 + vpcArnSelector: + description: Selector for a VPC in ec2 to populate vpcArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml b/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml index ba3f2dc4bd..75889f35c1 100644 --- a/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml +++ b/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml @@ -170,6 +170,82 @@ spec: description: IAM policy document specifying the access policies for the domain type: string + domainName: + description: Name of the domain. + type: string + domainNameRef: + description: Reference to a Domain to populate domainName. + 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 + domainNameSelector: + description: Selector for a Domain to populate domainName. + 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 type: object managementPolicies: default: diff --git a/package/crds/opensearch.aws.upbound.io_domains.yaml b/package/crds/opensearch.aws.upbound.io_domains.yaml index a7689db75d..d0c9937f95 100644 --- a/package/crds/opensearch.aws.upbound.io_domains.yaml +++ b/package/crds/opensearch.aws.upbound.io_domains.yaml @@ -841,6 +841,88 @@ spec: below. items: properties: + cloudwatchLogGroupArn: + description: ARN of the Cloudwatch log group to which log + needs to be published. + type: string + cloudwatchLogGroupArnRef: + description: Reference to a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 + cloudwatchLogGroupArnSelector: + description: Selector for a Group in cloudwatchlogs to populate + cloudwatchLogGroupArn. + 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 enabled: description: Whether given log publishing option is enabled or not. diff --git a/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml b/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml index 5723642d3e..61382fcfd6 100644 --- a/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml +++ b/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml @@ -221,6 +221,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + domainName: + description: Name of the domain. + type: string + domainNameRef: + description: Reference to a Domain in opensearch to populate domainName. + 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 + domainNameSelector: + description: Selector for a Domain in opensearch to populate domainName. + 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 samlOptions: description: SAML authentication options for an AWS OpenSearch Domain. diff --git a/package/crds/opsworks.aws.upbound.io_applications.yaml b/package/crds/opsworks.aws.upbound.io_applications.yaml index 2767190955..f42eb92c37 100644 --- a/package/crds/opsworks.aws.upbound.io_applications.yaml +++ b/package/crds/opsworks.aws.upbound.io_applications.yaml @@ -413,6 +413,82 @@ spec: type: string type: object type: array + stackId: + description: ID of the stack the application will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 type: description: Opsworks application type. One of aws-flow-ruby, java, rails, php, nodejs, static or other. diff --git a/package/crds/opsworks.aws.upbound.io_customlayers.yaml b/package/crds/opsworks.aws.upbound.io_customlayers.yaml index da70b6922d..355807bef9 100644 --- a/package/crds/opsworks.aws.upbound.io_customlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_customlayers.yaml @@ -610,6 +610,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -774,6 +858,82 @@ spec: description: A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml b/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml index 263a143f22..7b8589d9ec 100644 --- a/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml @@ -563,6 +563,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -608,6 +692,82 @@ spec: type: string type: object type: array + ecsClusterArn: + description: The ECS Cluster ARN of the layer. + type: string + ecsClusterArnRef: + description: Reference to a Cluster in ecs to populate ecsClusterArn. + 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 + ecsClusterArnSelector: + description: Selector for a Cluster in ecs to populate ecsClusterArn. + 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 elasticLoadBalancer: description: Name of an Elastic Load Balancer to attach to this layer @@ -672,6 +832,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml b/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml index 8964c7b354..9bc6fcbcf9 100644 --- a/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml @@ -497,6 +497,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -609,6 +693,82 @@ spec: password: description: The password to use for Ganglia. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml b/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml index 6aaabc4b56..afecf8e648 100644 --- a/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml @@ -507,6 +507,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -624,6 +708,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 statsEnabled: description: Whether to enable HAProxy stats. type: boolean diff --git a/package/crds/opsworks.aws.upbound.io_instances.yaml b/package/crds/opsworks.aws.upbound.io_instances.yaml index 446ae6a7a7..010e29def2 100644 --- a/package/crds/opsworks.aws.upbound.io_instances.yaml +++ b/package/crds/opsworks.aws.upbound.io_instances.yaml @@ -641,6 +641,87 @@ spec: instanceType: description: Type of instance to start. type: string + layerIds: + description: List of the layers the instance will belong to. + items: + type: string + type: array + layerIdsRefs: + description: References to CustomLayer to populate layerIds. + items: + description: A Reference to a named object. + 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 + type: array + layerIdsSelector: + description: Selector for a list of CustomLayer to populate layerIds. + 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 os: description: Name of operating system that will be installed. type: string @@ -670,10 +751,169 @@ spec: description: Name of the type of root device instances will have by default. Valid values are ebs or instance-store. type: string + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: Associated security groups. + items: + type: string + type: array sshKeyName: description: Name of the SSH keypair that instances will have by default. type: string + stackId: + description: Identifier of the stack the instance will belong + to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 state: description: Desired state of the instance. Valid values are running or stopped. @@ -684,6 +924,82 @@ spec: shutting_down, start_failed, stop_failed, stopped, stopping, terminated, or terminating. type: string + subnetId: + description: Subnet ID to attach to. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 tenancy: description: Instance tenancy to use. Valid values are default, dedicated or host. diff --git a/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml b/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml index aea4873975..56749ef649 100644 --- a/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml @@ -512,6 +512,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -630,6 +714,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml b/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml index ddeff19b03..a56d8b69e1 100644 --- a/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml @@ -495,6 +495,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -604,6 +688,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml b/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml index 197b8eb51c..025b9bbbb5 100644 --- a/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml @@ -494,6 +494,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -610,6 +694,82 @@ spec: description: Whether to set the root user password to all instances in the stack so they can access the instances in this layer. type: boolean + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml b/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml index 774a23433e..b36c035285 100644 --- a/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml @@ -490,6 +490,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -602,6 +686,82 @@ spec: nodejsVersion: description: The version of NodeJS to use. Defaults to "0.10.38". type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_permissions.yaml b/package/crds/opsworks.aws.upbound.io_permissions.yaml index 9664d13b14..fd3206cc91 100644 --- a/package/crds/opsworks.aws.upbound.io_permissions.yaml +++ b/package/crds/opsworks.aws.upbound.io_permissions.yaml @@ -256,6 +256,158 @@ spec: description: The users permission level. Mus be one of deny, show, deploy, manage, iam_only type: string + stackId: + description: The stack to set the permissions for + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 + userArn: + description: The user's IAM ARN to set permissions for + type: string + userArnRef: + description: Reference to a User in iam to populate userArn. + 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 + userArnSelector: + description: Selector for a User in iam to populate userArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml b/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml index 65c24e8a87..b3747d83e5 100644 --- a/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml @@ -487,6 +487,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -596,6 +680,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml b/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml index 76fa911484..b760297ad0 100644 --- a/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml @@ -513,6 +513,90 @@ spec: customJson: description: Custom JSON attributes to apply to the layer. type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -634,6 +718,82 @@ spec: rubygemsVersion: description: The version of RubyGems to use. Defaults to "2.2.2". type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml b/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml index e558d4b034..2789b840b5 100644 --- a/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml +++ b/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml @@ -257,6 +257,160 @@ spec: dbUser: description: A db username type: string + rdsDbInstanceArn: + description: The db instance to register for this stack. Changing + this will force a new resource. + type: string + rdsDbInstanceArnRef: + description: Reference to a Instance in rds to populate rdsDbInstanceArn. + 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 + rdsDbInstanceArnSelector: + description: Selector for a Instance in rds to populate rdsDbInstanceArn. + 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 + stackId: + description: The stack to register a db instance for. Changing + this will force a new resource. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 type: object managementPolicies: default: diff --git a/package/crds/opsworks.aws.upbound.io_stacks.yaml b/package/crds/opsworks.aws.upbound.io_stacks.yaml index 1c94c9bbde..d98cb9cd84 100644 --- a/package/crds/opsworks.aws.upbound.io_stacks.yaml +++ b/package/crds/opsworks.aws.upbound.io_stacks.yaml @@ -568,6 +568,85 @@ spec: description: Name of the availability zone where instances will be created by default. Cannot be set when vpc_id is set. type: string + defaultInstanceProfileArn: + description: The ARN of an IAM Instance Profile that created instances + will have by default. + type: string + defaultInstanceProfileArnRef: + description: Reference to a InstanceProfile in iam to populate + defaultInstanceProfileArn. + 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 + defaultInstanceProfileArnSelector: + description: Selector for a InstanceProfile in iam to populate + defaultInstanceProfileArn. + 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 defaultOs: description: Name of OS that will be installed on instances by default. @@ -580,6 +659,84 @@ spec: description: Name of the SSH keypair that instances will have by default. type: string + defaultSubnetId: + description: ID of the subnet in which instances will be created + by default. Required if vpc_id is set to a VPC other than the + default VPC, and forbidden if it isn't. + type: string + defaultSubnetIdRef: + description: Reference to a Subnet in ec2 to populate defaultSubnetId. + 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 + defaultSubnetIdSelector: + description: Selector for a Subnet in ec2 to populate defaultSubnetId. + 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 hostnameTheme: description: Keyword representing the naming scheme that will be used for instance hostnames within this stack. @@ -591,6 +748,83 @@ spec: name: description: The name of the stack. type: string + serviceRoleArn: + description: The ARN of an IAM role that the OpsWorks service + will act as. + type: string + serviceRoleArnRef: + description: Reference to a Role in iam to populate serviceRoleArn. + 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 + serviceRoleArnSelector: + description: Selector for a Role in iam to populate serviceRoleArn. + 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 @@ -605,6 +839,83 @@ spec: description: Boolean value controlling whether the standard OpsWorks security groups apply to created instances. type: boolean + vpcId: + description: ID of the VPC that this stack belongs to. Defaults + to the region's default VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml b/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml index 7ba6e22f72..a525f32035 100644 --- a/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml @@ -485,6 +485,90 @@ spec: type: string customJson: type: string + customSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate customSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + customSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + customSecurityGroupIds. + 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 + customSecurityGroupIds: + description: Ids for a set of security groups to apply to the + layer's instances. + items: + type: string + type: array + x-kubernetes-list-type: set customSetupRecipes: items: type: string @@ -594,6 +678,82 @@ spec: name: description: A human-readable name for the layer. type: string + stackId: + description: ID of the stack the layer will belong to. + type: string + stackIdRef: + description: Reference to a Stack in opsworks to populate stackId. + 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 + stackIdSelector: + description: Selector for a Stack in opsworks to populate stackId. + 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 systemPackages: description: Names of a set of system packages to install on the layer's instances. diff --git a/package/crds/opsworks.aws.upbound.io_userprofiles.yaml b/package/crds/opsworks.aws.upbound.io_userprofiles.yaml index e5f5351c1b..fd0fd4351a 100644 --- a/package/crds/opsworks.aws.upbound.io_userprofiles.yaml +++ b/package/crds/opsworks.aws.upbound.io_userprofiles.yaml @@ -178,6 +178,82 @@ spec: description: The ssh username, with witch this user wants to log in type: string + userArn: + description: The user's IAM ARN + type: string + userArnRef: + description: Reference to a User in iam to populate userArn. + 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 + userArnSelector: + description: Selector for a User in iam to populate userArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml b/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml index 974fd70e62..bb2626aa7e 100644 --- a/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml +++ b/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml @@ -169,6 +169,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + accountId: + description: The account ID number of the member account in the + organization to register as a delegated administrator. + type: string + accountIdRef: + description: Reference to a Account in organizations to populate + accountId. + 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 + accountIdSelector: + description: Selector for a Account in organizations to populate + accountId. + 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 servicePrincipal: description: The service principal of the AWS service for which you want to make the member account a delegated administrator. diff --git a/package/crds/organizations.aws.upbound.io_policyattachments.yaml b/package/crds/organizations.aws.upbound.io_policyattachments.yaml index f900a6e77d..0593394fd9 100644 --- a/package/crds/organizations.aws.upbound.io_policyattachments.yaml +++ b/package/crds/organizations.aws.upbound.io_policyattachments.yaml @@ -176,6 +176,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + policyId: + description: The unique identifier (ID) of the policy that you + want to attach to the target. + type: string + policyIdRef: + description: Reference to a Policy in organizations to populate + policyId. + 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 + policyIdSelector: + description: Selector for a Policy in organizations to populate + policyId. + 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 skipDestroy: description: If set to true, destroy will not detach the policy and instead just remove the resource from state. This can be diff --git a/package/crds/pinpoint.aws.upbound.io_smschannels.yaml b/package/crds/pinpoint.aws.upbound.io_smschannels.yaml index d13b61e7a2..d28d3e4d9a 100644 --- a/package/crds/pinpoint.aws.upbound.io_smschannels.yaml +++ b/package/crds/pinpoint.aws.upbound.io_smschannels.yaml @@ -171,6 +171,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationId: + description: ID of the application. + type: string + applicationIdRef: + description: Reference to a App in pinpoint to populate applicationId. + 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 + applicationIdSelector: + description: Selector for a App in pinpoint to populate applicationId. + 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 enabled: description: Whether the channel is enabled or disabled. By default, it is set to true. diff --git a/package/crds/qldb.aws.upbound.io_ledgers.yaml b/package/crds/qldb.aws.upbound.io_ledgers.yaml index 36d895d27a..aca0828db0 100644 --- a/package/crds/qldb.aws.upbound.io_ledgers.yaml +++ b/package/crds/qldb.aws.upbound.io_ledgers.yaml @@ -185,6 +185,87 @@ spec: description: The deletion protection for the QLDB Ledger instance. By default it is true. type: boolean + kmsKey: + description: The key in AWS Key Management Service (AWS KMS) to + use for encryption of data at rest in the ledger. For more information, + see the AWS documentation. Valid values are "AWS_OWNED_KMS_KEY" + to use an AWS KMS key that is owned and managed by AWS on your + behalf, or the ARN of a valid symmetric customer managed KMS + key. + type: string + kmsKeyRef: + description: Reference to a Key in kms to populate kmsKey. + 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 + kmsKeySelector: + description: Selector for a Key in kms to populate kmsKey. + 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 permissionsMode: description: The permissions mode for the QLDB ledger instance. Specify either ALLOW_ALL or STANDARD. diff --git a/package/crds/qldb.aws.upbound.io_streams.yaml b/package/crds/qldb.aws.upbound.io_streams.yaml index 40fa8a8d5d..f5cc5f797f 100644 --- a/package/crds/qldb.aws.upbound.io_streams.yaml +++ b/package/crds/qldb.aws.upbound.io_streams.yaml @@ -390,8 +390,244 @@ spec: in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default: true.' type: boolean + streamArn: + description: The Amazon Resource Name (ARN) of the Kinesis + Data Streams resource. + type: string + streamArnRef: + description: Reference to a Stream in kinesis to populate + streamArn. + 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 + streamArnSelector: + description: Selector for a Stream in kinesis to populate + streamArn. + 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 type: object type: array + ledgerName: + description: The name of the QLDB ledger. + type: string + ledgerNameRef: + description: Reference to a Ledger in qldb to populate ledgerName. + 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 + ledgerNameSelector: + description: Selector for a Ledger in qldb to populate ledgerName. + 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 + roleArn: + description: The Amazon Resource Name (ARN) of the IAM role that + grants QLDB permissions for a journal stream to write data records + to a Kinesis Data Streams resource. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 streamName: description: The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the diff --git a/package/crds/ram.aws.upbound.io_principalassociations.yaml b/package/crds/ram.aws.upbound.io_principalassociations.yaml index 29074617ba..8a0b58a65f 100644 --- a/package/crds/ram.aws.upbound.io_principalassociations.yaml +++ b/package/crds/ram.aws.upbound.io_principalassociations.yaml @@ -242,6 +242,164 @@ spec: 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: + principal: + description: The principal to associate with the resource share. + Possible values are an AWS account ID, an AWS Organizations + Organization ARN, or an AWS Organizations Organization Unit + ARN. + type: string + principalRef: + description: Reference to a Organization in organizations to populate + principal. + 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 + principalSelector: + description: Selector for a Organization in organizations to populate + principal. + 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 + resourceShareArn: + description: The Amazon Resource Name (ARN) of the resource share. + type: string + resourceShareArnRef: + description: Reference to a ResourceShare in ram to populate resourceShareArn. + 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 + resourceShareArnSelector: + description: Selector for a ResourceShare in ram to populate resourceShareArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/ram.aws.upbound.io_resourceassociations.yaml b/package/crds/ram.aws.upbound.io_resourceassociations.yaml index 831dddcb48..cbe20d9941 100644 --- a/package/crds/ram.aws.upbound.io_resourceassociations.yaml +++ b/package/crds/ram.aws.upbound.io_resourceassociations.yaml @@ -170,6 +170,82 @@ spec: description: Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. type: string + resourceShareArn: + description: Amazon Resource Name (ARN) of the RAM Resource Share. + type: string + resourceShareArnRef: + description: Reference to a ResourceShare in ram to populate resourceShareArn. + 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 + resourceShareArnSelector: + description: Selector for a ResourceShare in ram to populate resourceShareArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml b/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml index dbb03578c6..62e3f35b55 100644 --- a/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml +++ b/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml @@ -163,6 +163,85 @@ spec: 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: + shareArn: + description: The ARN of the resource share. + type: string + shareArnRef: + description: Reference to a PrincipalAssociation in ram to populate + shareArn. + 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 + shareArnSelector: + description: Selector for a PrincipalAssociation in ram to populate + shareArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml b/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml index 865d51c205..64350d4859 100644 --- a/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml +++ b/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml @@ -259,12 +259,167 @@ spec: DB instance. By default, no engine-native audit fields are included. Defaults false. type: boolean + kmsKeyId: + description: The AWS KMS key identifier for encrypting messages + in the database activity stream. The AWS KMS key identifier + is the key ARN, key ID, alias ARN, or alias name for the KMS + key. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 mode: description: 'Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: sync, async.' type: string + resourceArn: + description: The Amazon Resource Name (ARN) of the DB cluster. + type: string + resourceArnRef: + description: Reference to a Cluster in rds to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Cluster in rds to populate resourceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_clusterendpoints.yaml b/package/crds/rds.aws.upbound.io_clusterendpoints.yaml index 228593dfab..7497c52c14 100644 --- a/package/crds/rds.aws.upbound.io_clusterendpoints.yaml +++ b/package/crds/rds.aws.upbound.io_clusterendpoints.yaml @@ -187,6 +187,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterIdentifier: + description: The cluster identifier. + type: string + clusterIdentifierRef: + description: Reference to a Cluster in rds to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster in rds to populate clusterIdentifier. + 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 customEndpointType: description: 'The type of the endpoint. One of: READER , ANY .' type: string diff --git a/package/crds/rds.aws.upbound.io_clusterinstances.yaml b/package/crds/rds.aws.upbound.io_clusterinstances.yaml index 7c9f00b93e..8c2d6876fc 100644 --- a/package/crds/rds.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/rds.aws.upbound.io_clusterinstances.yaml @@ -499,6 +499,83 @@ spec: caCertIdentifier: description: Identifier of the CA certificate for the DB instance. type: string + clusterIdentifier: + description: Identifier of the aws_rds_cluster in which to launch + this instance. + type: string + clusterIdentifierRef: + description: Reference to a Cluster in rds to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster in rds to populate clusterIdentifier. + 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 copyTagsToSnapshot: description: defined tags from the DB instance to snapshots of the DB instance. Default false. @@ -511,6 +588,84 @@ spec: description: Name of the DB parameter group to associate with this instance. type: string + dbSubnetGroupName: + description: 'DB subnet group to associate with this DB instance. + NOTE: This must match the db_subnet_group_name of the attached + aws_rds_cluster.' + type: string + dbSubnetGroupNameRef: + description: Reference to a SubnetGroup to populate dbSubnetGroupName. + 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 + dbSubnetGroupNameSelector: + description: Selector for a SubnetGroup to populate dbSubnetGroupName. + 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 engine: description: 'Name of the database engine to be used for the RDS cluster instance. Valid Values: aurora-mysql, aurora-postgresql.' @@ -530,10 +685,167 @@ spec: collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.' type: number + monitoringRoleArn: + description: ARN for the IAM role that permits RDS to send enhanced + monitoring metrics to CloudWatch Logs. You can find more information + on the AWS Documentation what IAM permissions are needed to + allow Enhanced Monitoring for RDS Instances. + type: string + monitoringRoleArnRef: + description: Reference to a Role in iam to populate monitoringRoleArn. + 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 + monitoringRoleArnSelector: + description: Selector for a Role in iam to populate monitoringRoleArn. + 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 performanceInsightsEnabled: description: Specifies whether Performance Insights is enabled or not. type: boolean + performanceInsightsKmsKeyId: + description: ARN for the KMS key to encrypt Performance Insights + data. When specifying performance_insights_kms_key_id, performance_insights_enabled + needs to be set to true. + type: string + performanceInsightsKmsKeyIdRef: + description: Reference to a Key in kms to populate performanceInsightsKmsKeyId. + 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 + performanceInsightsKmsKeyIdSelector: + description: Selector for a Key in kms to populate performanceInsightsKmsKeyId. + 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 performanceInsightsRetentionPeriod: description: Amount of time in days to retain Performance Insights data. Valid values are 7, 731 (2 years) or a multiple of 31. diff --git a/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml b/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml index c6d9be7310..540398f123 100644 --- a/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml +++ b/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml @@ -245,12 +245,165 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dbClusterIdentifier: + description: DB Cluster Identifier to associate with the IAM Role. + type: string + dbClusterIdentifierRef: + description: Reference to a Cluster in rds to populate dbClusterIdentifier. + 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 + dbClusterIdentifierSelector: + description: Selector for a Cluster in rds to populate dbClusterIdentifier. + 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 featureName: description: Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the SupportedFeatureNames list returned by AWS CLI rds describe-db-engine-versions. type: string + roleArn: + description: Amazon Resource Name (ARN) of the IAM Role to associate + with the DB Cluster. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_clusters.yaml b/package/crds/rds.aws.upbound.io_clusters.yaml index beb5db5c98..9c9f018415 100644 --- a/package/crds/rds.aws.upbound.io_clusters.yaml +++ b/package/crds/rds.aws.upbound.io_clusters.yaml @@ -960,6 +960,84 @@ spec: is only valid in combination with the allow_major_version_upgrade parameter. type: string + dbSubnetGroupName: + description: 'DB subnet group to associate with this DB cluster. + NOTE: This must match the db_subnet_group_name specified on + every aws_rds_cluster_instance in the cluster.' + type: string + dbSubnetGroupNameRef: + description: Reference to a SubnetGroup to populate dbSubnetGroupName. + 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 + dbSubnetGroupNameSelector: + description: Selector for a SubnetGroup to populate dbSubnetGroupName. + 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 dbSystemId: description: For use with RDS Custom. type: string @@ -1032,11 +1110,168 @@ spec: a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster. type: number + kmsKeyId: + description: ARN for the KMS encryption key. When specifying kms_key_id, + storage_encrypted needs to be set to true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 manageMasterUserPassword: description: Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if master_password is provided. type: boolean + masterUserSecretKmsKeyId: + description: Amazon Web Services KMS key identifier is the key + ARN, key ID, alias ARN, or alias name for the KMS key. To use + a KMS key in a different Amazon Web Services account, specify + the key ARN or alias ARN. If not specified, the default KMS + key for your Amazon Web Services account is used. + type: string + masterUserSecretKmsKeyIdRef: + description: Reference to a Key in kms to populate masterUserSecretKmsKeyId. + 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 + masterUserSecretKmsKeyIdSelector: + description: Selector for a Key in kms to populate masterUserSecretKmsKeyId. + 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 masterUsername: description: Username for the master DB user. Please refer to the RDS Naming Constraints. This argument does not support in-place @@ -1076,6 +1311,87 @@ spec: description: Type of restore to be performed. Valid options are full-copy (default) and copy-on-write. type: string + sourceClusterIdentifier: + description: Identifier of the source database cluster from + which to restore. When restoring from a cluster in another + AWS account, the identifier is the ARN of that cluster. + type: string + sourceClusterIdentifierRef: + description: Reference to a Cluster to populate sourceClusterIdentifier. + 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 + sourceClusterIdentifierSelector: + description: Selector for a Cluster to populate sourceClusterIdentifier. + 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 useLatestRestorableTime: description: Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. @@ -1087,6 +1403,85 @@ spec: description: Port on which the DB accepts connections items: properties: + bucketName: + description: Bucket name where your backup is stored + type: string + bucketNameRef: + description: Reference to a Bucket in s3 to populate bucketName. + 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 + bucketNameSelector: + description: Selector for a Bucket in s3 to populate bucketName. + 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 bucketPrefix: description: Can be blank, but is the path to your backup type: string @@ -1209,6 +1604,90 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: List of VPC security groups to associate with the + Cluster + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_clustersnapshots.yaml b/package/crds/rds.aws.upbound.io_clustersnapshots.yaml index cd3421afdf..82b7278795 100644 --- a/package/crds/rds.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/rds.aws.upbound.io_clustersnapshots.yaml @@ -172,6 +172,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dbClusterIdentifier: + description: The DB Cluster Identifier from which to take the + snapshot. + type: string + dbClusterIdentifierRef: + description: Reference to a Cluster in rds to populate dbClusterIdentifier. + 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 + dbClusterIdentifierSelector: + description: Selector for a Cluster in rds to populate dbClusterIdentifier. + 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 dbClusterSnapshotIdentifier: description: The Identifier for the snapshot. type: string diff --git a/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml b/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml index 422de2d020..51b0b53430 100644 --- a/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml +++ b/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml @@ -252,6 +252,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + kmsKeyId: + description: The AWS KMS key identifier for encryption of the + replicated automated backups. The KMS key ID is the Amazon Resource + Name (ARN) for the KMS encryption key in the destination AWS + Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 preSignedUrl: description: A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action @@ -261,6 +340,83 @@ spec: description: The retention period for the replicated automated backups, defaults to 7. type: number + sourceDbInstanceArn: + description: The Amazon Resource Name (ARN) of the source DB instance + for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase. + type: string + sourceDbInstanceArnRef: + description: Reference to a Instance in rds to populate sourceDbInstanceArn. + 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 + sourceDbInstanceArnSelector: + description: Selector for a Instance in rds to populate sourceDbInstanceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml b/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml index 996092e4c3..a67c04a720 100644 --- a/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml +++ b/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml @@ -270,6 +270,82 @@ spec: destinationRegion: description: The Destination region to place snapshot copy. type: string + kmsKeyId: + description: KMS key ID. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 optionGroupName: description: The name of an option group to associate with the copy of the snapshot. @@ -278,6 +354,82 @@ spec: description: he URL that contains a Signature Version 4 signed request. type: string + sourceDbSnapshotIdentifier: + description: Snapshot identifier of the source snapshot. + type: string + sourceDbSnapshotIdentifierRef: + description: Reference to a Snapshot in rds to populate sourceDbSnapshotIdentifier. + 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 + sourceDbSnapshotIdentifierSelector: + description: Selector for a Snapshot in rds to populate sourceDbSnapshotIdentifier. + 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 diff --git a/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml b/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml index 0a3c3cef24..f1c4ee6b11 100644 --- a/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml @@ -207,6 +207,82 @@ spec: type: string type: array x-kubernetes-list-type: set + snsTopic: + description: The SNS topic to send events to. + type: string + snsTopicRef: + description: Reference to a Topic in sns to populate snsTopic. + 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 + snsTopicSelector: + description: Selector for a Topic in sns to populate snsTopic. + 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 sourceIds: description: A list of identifiers of the event sources for which events will be returned. If not specified, then all sources diff --git a/package/crds/rds.aws.upbound.io_globalclusters.yaml b/package/crds/rds.aws.upbound.io_globalclusters.yaml index 196d04d2de..7c198571ea 100644 --- a/package/crds/rds.aws.upbound.io_globalclusters.yaml +++ b/package/crds/rds.aws.upbound.io_globalclusters.yaml @@ -222,6 +222,83 @@ spec: description: Enable to remove DB Cluster members from Global Cluster on destroy. Required with source_db_cluster_identifier. type: boolean + sourceDbClusterIdentifier: + description: Amazon Resource Name (ARN) to use as the primary + DB Cluster of the Global Cluster on creation. + type: string + sourceDbClusterIdentifierRef: + description: Reference to a Cluster in rds to populate sourceDbClusterIdentifier. + 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 + sourceDbClusterIdentifierSelector: + description: Selector for a Cluster in rds to populate sourceDbClusterIdentifier. + 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 storageEncrypted: description: Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified diff --git a/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml b/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml index 7aee85aad6..49a26b4795 100644 --- a/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml +++ b/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml @@ -247,12 +247,166 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dbInstanceIdentifier: + description: DB Instance Identifier to associate with the IAM + Role. + type: string + dbInstanceIdentifierRef: + description: Reference to a Instance in rds to populate dbInstanceIdentifier. + 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 + dbInstanceIdentifierSelector: + description: Selector for a Instance in rds to populate dbInstanceIdentifier. + 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 featureName: description: Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the SupportedFeatureNames list returned by AWS CLI rds describe-db-engine-versions. type: string + roleArn: + description: Amazon Resource Name (ARN) of the IAM Role to associate + with the DB Instance. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_instances.yaml b/package/crds/rds.aws.upbound.io_instances.yaml index 39173e0551..7fc67b70c4 100644 --- a/package/crds/rds.aws.upbound.io_instances.yaml +++ b/package/crds/rds.aws.upbound.io_instances.yaml @@ -1088,6 +1088,88 @@ spec: providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. type: string + dbSubnetGroupName: + description: Name of DB subnet group. DB instance will be created + in the VPC associated with the DB subnet group. If unspecified, + will be created in the default VPC, or in EC2 Classic, if available. + When working with read replicas, it should be specified only + if the source database specifies an instance in another AWS + Region. See DBSubnetGroupName in API action CreateDBInstanceReadReplica + for additional read replica constraints. + type: string + dbSubnetGroupNameRef: + description: Reference to a SubnetGroup to populate dbSubnetGroupName. + 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 + dbSubnetGroupNameSelector: + description: Selector for a SubnetGroup to populate dbSubnetGroupName. + 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 deleteAutomatedBackups: description: Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is true. @@ -1157,6 +1239,83 @@ spec: value is below a per-engine threshold. See the RDS User Guide for details. type: number + kmsKeyId: + description: The ARN for the KMS encryption key. If creating an + encrypted replica, set this to the destination KMS ARN. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 licenseModel: description: 'License model information for this DB instance. Valid values for this field are as follows:' @@ -1170,6 +1329,86 @@ spec: description: Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if password is provided. type: boolean + masterUserSecretKmsKeyId: + description: The Amazon Web Services KMS key identifier is the + key ARN, key ID, alias ARN, or alias name for the KMS key. To + use a KMS key in a different Amazon Web Services account, specify + the key ARN or alias ARN. If not specified, the default KMS + key for your Amazon Web Services account is used. + type: string + masterUserSecretKmsKeyIdRef: + description: Reference to a Key in kms to populate masterUserSecretKmsKeyId. + 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 + masterUserSecretKmsKeyIdSelector: + description: Selector for a Key in kms to populate masterUserSecretKmsKeyId. + 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 maxAllocatedStorage: description: When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. @@ -1183,6 +1422,85 @@ spec: collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.' type: number + monitoringRoleArn: + description: The ARN for the IAM role that permits RDS to send + enhanced monitoring metrics to CloudWatch Logs. You can find + more information on the AWS Documentation what IAM permissions + are needed to allow Enhanced Monitoring for RDS Instances. + type: string + monitoringRoleArnRef: + description: Reference to a Role in iam to populate monitoringRoleArn. + 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 + monitoringRoleArnSelector: + description: Selector for a Role in iam to populate monitoringRoleArn. + 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 multiAz: description: Specifies if the RDS instance is multi-AZ type: boolean @@ -1198,6 +1516,84 @@ spec: optionGroupName: description: Name of the DB option group to associate. type: string + parameterGroupName: + description: Name of the DB parameter group to associate. + type: string + parameterGroupNameRef: + description: Reference to a ParameterGroup in rds to populate + parameterGroupName. + 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 + parameterGroupNameSelector: + description: Selector for a ParameterGroup in rds to populate + parameterGroupName. + 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 performanceInsightsEnabled: description: Specifies whether Performance Insights are enabled. Defaults to false. @@ -1228,6 +1624,90 @@ spec: mode unless otherwise specified. See Working with Oracle Read Replicas for more information. type: string + replicateSourceDb: + description: Specifies that this resource is a Replicate database, + and to use this value as the source database. This correlates + to the identifier of another Amazon RDS Database to replicate + (if replicating within a single region) or ARN of the Amazon + RDS Database to replicate (if replicating cross-region). Note + that if you are creating a cross-region replica of an encrypted + database you will also need to specify a kms_key_id. See DB + Instance Replication and Working with PostgreSQL and MySQL Read + Replicas for more information on using Replication. + type: string + replicateSourceDbRef: + description: Reference to a Instance in rds to populate replicateSourceDb. + 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 + replicateSourceDbSelector: + description: Selector for a Instance in rds to populate replicateSourceDb. + 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 restoreToPointInTime: description: A configuration block for restoring a DB instance to an arbitrary point in time. Requires the identifier argument @@ -1332,6 +1812,89 @@ spec: description: Username for the master DB user. Cannot be specified for a replica. type: string + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: List of VPC security groups to associate. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_proxies.yaml b/package/crds/rds.aws.upbound.io_proxies.yaml index b36ef9ab91..49e2477c3d 100644 --- a/package/crds/rds.aws.upbound.io_proxies.yaml +++ b/package/crds/rds.aws.upbound.io_proxies.yaml @@ -432,6 +432,90 @@ spec: and Access Management (IAM) authentication for connections to the proxy. One of DISABLED, REQUIRED. type: string + secretArn: + description: The Amazon Resource Name (ARN) representing + the secret that the proxy uses to authenticate to the + RDS DB instance or Aurora DB cluster. These secrets are + stored within Amazon Secrets Manager. + type: string + secretArnRef: + description: Reference to a Secret in secretsmanager to + populate secretArn. + 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 + secretArnSelector: + description: Selector for a Secret in secretsmanager to + populate secretArn. + 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 username: description: The name of the database user to which the proxy connects. @@ -470,12 +554,173 @@ spec: to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy. type: boolean + roleArn: + description: The Amazon Resource Name (ARN) of the IAM role that + the proxy uses to access secrets in AWS Secrets Manager. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: One or more VPC security group IDs to associate with + the new proxy. + items: + type: string + type: array + x-kubernetes-list-type: set vpcSubnetIds: description: One or more VPC subnet IDs to associate with the new proxy. diff --git a/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml b/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml index fb250bf599..ea310c9140 100644 --- a/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml +++ b/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml @@ -269,6 +269,82 @@ spec: x-kubernetes-list-type: set type: object type: array + dbProxyName: + description: Name of the RDS DB Proxy. + type: string + dbProxyNameRef: + description: Reference to a Proxy in rds to populate dbProxyName. + 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 + dbProxyNameSelector: + description: Selector for a Proxy in rds to populate dbProxyName. + 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 type: object managementPolicies: default: diff --git a/package/crds/rds.aws.upbound.io_proxyendpoints.yaml b/package/crds/rds.aws.upbound.io_proxyendpoints.yaml index 4fa19e1487..cda7e44f62 100644 --- a/package/crds/rds.aws.upbound.io_proxyendpoints.yaml +++ b/package/crds/rds.aws.upbound.io_proxyendpoints.yaml @@ -276,6 +276,90 @@ spec: for read/write or read-only operations. The default is READ_WRITE. Valid values are READ_WRITE and READ_ONLY. type: string + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: One or more VPC security group IDs to associate with + the new proxy. + items: + type: string + type: array + x-kubernetes-list-type: set vpcSubnetIds: description: One or more VPC subnet IDs to associate with the new proxy. diff --git a/package/crds/rds.aws.upbound.io_proxytargets.yaml b/package/crds/rds.aws.upbound.io_proxytargets.yaml index da4e8d4fae..019cba1f16 100644 --- a/package/crds/rds.aws.upbound.io_proxytargets.yaml +++ b/package/crds/rds.aws.upbound.io_proxytargets.yaml @@ -247,6 +247,158 @@ spec: dbClusterIdentifier: description: DB cluster identifier. type: string + dbInstanceIdentifier: + description: DB instance identifier. + type: string + dbInstanceIdentifierRef: + description: Reference to a Instance in rds to populate dbInstanceIdentifier. + 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 + dbInstanceIdentifierSelector: + description: Selector for a Instance in rds to populate dbInstanceIdentifier. + 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 + dbProxyName: + description: The name of the DB proxy. + type: string + dbProxyNameRef: + description: Reference to a Proxy in rds to populate dbProxyName. + 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 + dbProxyNameSelector: + description: Selector for a Proxy in rds to populate dbProxyName. + 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 targetGroupName: description: The name of the target group. type: string diff --git a/package/crds/rds.aws.upbound.io_snapshots.yaml b/package/crds/rds.aws.upbound.io_snapshots.yaml index f9a13ace3f..bce73bd0a2 100644 --- a/package/crds/rds.aws.upbound.io_snapshots.yaml +++ b/package/crds/rds.aws.upbound.io_snapshots.yaml @@ -176,6 +176,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dbInstanceIdentifier: + description: The DB Instance Identifier from which to take the + snapshot. + type: string + dbInstanceIdentifierRef: + description: Reference to a Instance in rds to populate dbInstanceIdentifier. + 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 + dbInstanceIdentifierSelector: + description: Selector for a Instance in rds to populate dbInstanceIdentifier. + 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 sharedAccounts: description: List of AWS Account ids to share snapshot with, use all to make snaphot public. diff --git a/package/crds/rds.aws.upbound.io_subnetgroups.yaml b/package/crds/rds.aws.upbound.io_subnetgroups.yaml index 73cd40f834..2774768e06 100644 --- a/package/crds/rds.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/rds.aws.upbound.io_subnetgroups.yaml @@ -181,6 +181,89 @@ spec: description: description: The description of the DB subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: A list of VPC subnet IDs. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/redshift.aws.upbound.io_clusters.yaml b/package/crds/redshift.aws.upbound.io_clusters.yaml index c080383a52..a340303161 100644 --- a/package/crds/redshift.aws.upbound.io_clusters.yaml +++ b/package/crds/redshift.aws.upbound.io_clusters.yaml @@ -718,6 +718,83 @@ spec: the cluster is created. If you do not provide a name, Amazon Redshift will create a default database called dev. type: string + defaultIamRoleArn: + description: The Amazon Resource Name (ARN) for the IAM role that + was set as default for the cluster when the cluster was created. + type: string + defaultIamRoleArnRef: + description: Reference to a Role in iam to populate defaultIamRoleArn. + 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 + defaultIamRoleArnSelector: + description: Selector for a Role in iam to populate defaultIamRoleArn. + 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 elasticIp: description: The Elastic IP (EIP) address for the cluster. type: string @@ -736,6 +813,166 @@ spec: created immediately before deleting the cluster. If this parameter is provided, skip_final_snapshot must be false. type: string + iamRoleRefs: + description: References to Role in iam to populate iamRoles. + items: + description: A Reference to a named object. + 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 + type: array + iamRoleSelector: + description: Selector for a list of Role in iam to populate iamRoles. + 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 + iamRoles: + description: A list of IAM Role ARNs to associate with the cluster. + A Maximum of 10 can be associated to the cluster at any time. + items: + type: string + type: array + x-kubernetes-list-type: set + kmsKeyId: + description: The ARN for the KMS encryption key. When specifying + kms_key_id, encrypted needs to be set to true. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 logging: description: Logging, documented below. items: @@ -875,6 +1112,90 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: A list of Virtual Private Cloud (VPC) security groups + to be associated with the cluster. + items: + type: string + type: array + x-kubernetes-list-type: set type: object managementPolicies: default: diff --git a/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml b/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml index 03b4f128b7..d33e2e8910 100644 --- a/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml @@ -217,6 +217,82 @@ spec: subscription. Valid options are INFO or ERROR. Default value of INFO. type: string + snsTopicArn: + description: The ARN of the SNS topic to send events to. + type: string + snsTopicArnRef: + description: Reference to a Topic in sns to populate snsTopicArn. + 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 + snsTopicArnSelector: + description: Selector for a Topic in sns to populate snsTopicArn. + 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 sourceIds: description: A list of identifiers of the event sources for which events will be returned. If not specified, then all sources diff --git a/package/crds/redshift.aws.upbound.io_scheduledactions.yaml b/package/crds/redshift.aws.upbound.io_scheduledactions.yaml index 9b50209875..29de5a826b 100644 --- a/package/crds/redshift.aws.upbound.io_scheduledactions.yaml +++ b/package/crds/redshift.aws.upbound.io_scheduledactions.yaml @@ -246,6 +246,82 @@ spec: description: The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). type: string + iamRole: + description: The IAM role to assume to run the scheduled action. + type: string + iamRoleRef: + description: Reference to a Role in iam to populate iamRole. + 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 + iamRoleSelector: + description: Selector for a Role in iam to populate iamRole. + 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 schedule: description: The schedule of action. The schedule is defined format of "at expression" or "cron expression", for example at(2016-03-04T17:27:00) diff --git a/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml b/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml index fb75605009..25d3d7ff9b 100644 --- a/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml +++ b/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml @@ -176,6 +176,86 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + kmsKeyId: + description: The unique identifier for the customer master key + (CMK) that the grant applies to. Specify the key ID or the Amazon + Resource Name (ARN) of the CMK. To specify a CMK in a different + AWS account, you must use the key ARN. If not specified, the + default key is used. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 snapshotCopyGrantName: description: A friendly name for identifying the grant. type: string diff --git a/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml b/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml index 973c47f407..c70616fead 100644 --- a/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml +++ b/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml @@ -240,6 +240,161 @@ spec: 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: + clusterIdentifier: + description: The cluster identifier. + type: string + clusterIdentifierRef: + description: Reference to a Cluster in redshift to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster in redshift to populate clusterIdentifier. + 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 + scheduleIdentifier: + description: The snapshot schedule identifier. + type: string + scheduleIdentifierRef: + description: Reference to a SnapshotSchedule in redshift to populate + scheduleIdentifier. + 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 + scheduleIdentifierSelector: + description: Selector for a SnapshotSchedule in redshift to populate + scheduleIdentifier. + 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 type: object managementPolicies: default: diff --git a/package/crds/redshift.aws.upbound.io_subnetgroups.yaml b/package/crds/redshift.aws.upbound.io_subnetgroups.yaml index c1067666ee..3c225ee1c6 100644 --- a/package/crds/redshift.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/redshift.aws.upbound.io_subnetgroups.yaml @@ -181,6 +181,89 @@ spec: description: description: The description of the Redshift Subnet group. type: string + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: An array of VPC subnet IDs. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/redshift.aws.upbound.io_usagelimits.yaml b/package/crds/redshift.aws.upbound.io_usagelimits.yaml index 75c7782733..173c4ff980 100644 --- a/package/crds/redshift.aws.upbound.io_usagelimits.yaml +++ b/package/crds/redshift.aws.upbound.io_usagelimits.yaml @@ -206,6 +206,83 @@ spec: is reached. The default is log. Valid values are log, emit-metric, and disable. type: string + clusterIdentifier: + description: The identifier of the cluster that you want to limit + usage. + type: string + clusterIdentifierRef: + description: Reference to a Cluster in redshift to populate clusterIdentifier. + 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 + clusterIdentifierSelector: + description: Selector for a Cluster in redshift to populate clusterIdentifier. + 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 featureType: description: The Amazon Redshift feature that you want to limit. Valid values are spectrum, concurrency-scaling, and cross-region-datasharing. diff --git a/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml b/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml index fe2ae140d0..99b89b4663 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml @@ -257,6 +257,174 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: An array of VPC subnet IDs to associate with the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + vpcSecurityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate vpcSecurityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + vpcSecurityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + vpcSecurityGroupIds. + 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 + vpcSecurityGroupIds: + description: An array of security group IDs to associate with + the workgroup. + items: + type: string + type: array + x-kubernetes-list-type: set workgroupName: description: The name of the workgroup. type: string diff --git a/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml b/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml index a7e4fb1344..4c9f8d6f09 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml @@ -379,6 +379,243 @@ spec: dbName: description: The name of the first database created in the namespace. type: string + defaultIamRoleArn: + description: The Amazon Resource Name (ARN) of the IAM role to + set as a default in the namespace. When specifying default_iam_role_arn, + it also must be part of iam_roles. + type: string + defaultIamRoleArnRef: + description: Reference to a Role in iam to populate defaultIamRoleArn. + 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 + defaultIamRoleArnSelector: + description: Selector for a Role in iam to populate defaultIamRoleArn. + 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 + iamRoleRefs: + description: References to Role in iam to populate iamRoles. + items: + description: A Reference to a named object. + 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 + type: array + iamRoleSelector: + description: Selector for a list of Role in iam to populate iamRoles. + 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 + iamRoles: + description: A list of IAM roles to associate with the namespace. + items: + type: string + type: array + x-kubernetes-list-type: set + kmsKeyId: + description: The ARN of the Amazon Web Services Key Management + Service key used to encrypt your data. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 logExports: description: The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog. diff --git a/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml b/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml index 8bc0e1928d..651419af4a 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml @@ -173,6 +173,85 @@ spec: description: The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot. type: string + resourceArn: + description: The Amazon Resource Name (ARN) of the account to + create or update a resource policy for. + type: string + resourceArnRef: + description: Reference to a Snapshot in redshiftserverless to + populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Snapshot in redshiftserverless to + populate resourceArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml b/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml index d01b577710..a5d435cba4 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml @@ -168,6 +168,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + namespaceName: + description: The namespace to create a snapshot for. + type: string + namespaceNameRef: + description: Reference to a Workgroup in redshiftserverless to + populate namespaceName. + 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 + namespaceNameSelector: + description: Selector for a Workgroup in redshiftserverless to + populate namespaceName. + 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 retentionPeriod: description: How long to retain the created snapshot. Default value is -1. diff --git a/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml b/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml index 077fdb7b08..553e6198e0 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml @@ -203,6 +203,85 @@ spec: period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly. type: string + resourceArn: + description: The Amazon Resource Name (ARN) of the Amazon Redshift + Serverless resource to create the usage limit for. + type: string + resourceArnRef: + description: Reference to a Workgroup in redshiftserverless to + populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Workgroup in redshiftserverless to + populate resourceArn. + 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 usageType: description: The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-region-datasharing. diff --git a/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml b/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml index ac71898646..34dba9ddc8 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml @@ -337,6 +337,177 @@ spec: description: A value that specifies whether the workgroup can be accessed from a public network. type: boolean + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: An array of security group IDs to associate with + the workgroup. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: An array of VPC subnet IDs to associate with the + workgroup. When set, must contain at least three subnets spanning + three Availability Zones. A minimum number of IP addresses is + required and scales with the Base Capacity. For more information, + see the following AWS document. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml b/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml index aa4af1b511..defb201dcb 100644 --- a/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml +++ b/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml @@ -220,6 +220,88 @@ spec: description: Specifies whether instance properties are required in CreateSession requests with this profile. type: boolean + roleArns: + description: A list of IAM roles that this profile can assume + items: + type: string + type: array + x-kubernetes-list-type: set + roleArnsRefs: + description: References to Role in iam to populate roleArns. + items: + description: A Reference to a named object. + 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 + type: array + roleArnsSelector: + description: Selector for a list of Role in iam to populate roleArns. + 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 sessionPolicy: description: A session policy that applies to the trust boundary of the vended session credentials. diff --git a/package/crds/route53.aws.upbound.io_healthchecks.yaml b/package/crds/route53.aws.upbound.io_healthchecks.yaml index 25145f90df..1d0f1392d7 100644 --- a/package/crds/route53.aws.upbound.io_healthchecks.yaml +++ b/package/crds/route53.aws.upbound.io_healthchecks.yaml @@ -279,6 +279,84 @@ spec: type: string type: array x-kubernetes-list-type: set + cloudwatchAlarmName: + description: The name of the CloudWatch alarm. + type: string + cloudwatchAlarmNameRef: + description: Reference to a MetricAlarm in cloudwatch to populate + cloudwatchAlarmName. + 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 + cloudwatchAlarmNameSelector: + description: Selector for a MetricAlarm in cloudwatch to populate + cloudwatchAlarmName. + 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 cloudwatchAlarmRegion: description: The CloudWatchRegion that the CloudWatch alarm was created in. diff --git a/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml b/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml index b29a990370..005e670585 100644 --- a/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml +++ b/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml @@ -166,6 +166,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + hostedZoneId: + description: Identifier of the Route 53 Hosted Zone. + type: string + hostedZoneIdRef: + description: Reference to a Zone to populate hostedZoneId. + 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 + hostedZoneIdSelector: + description: Selector for a Zone to populate hostedZoneId. + 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 signingStatus: description: 'Hosted Zone signing status. Valid values: SIGNING, NOT_SIGNING. Defaults to SIGNING.' diff --git a/package/crds/route53.aws.upbound.io_records.yaml b/package/crds/route53.aws.upbound.io_records.yaml index 3b1fd22f6a..2ec3f5f698 100644 --- a/package/crds/route53.aws.upbound.io_records.yaml +++ b/package/crds/route53.aws.upbound.io_records.yaml @@ -444,6 +444,83 @@ spec: type: string type: object type: array + healthCheckId: + description: The health check the record should be associated + with. + type: string + healthCheckIdRef: + description: Reference to a HealthCheck to populate healthCheckId. + 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 + healthCheckIdSelector: + description: Selector for a HealthCheck to populate healthCheckId. + 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 latencyRoutingPolicy: description: A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with @@ -488,6 +565,82 @@ spec: type: number type: object type: array + zoneId: + description: The ID of the hosted zone to contain this record. + type: string + zoneIdRef: + description: Reference to a Zone to populate zoneId. + 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 + zoneIdSelector: + description: Selector for a Zone to populate zoneId. + 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 type: object managementPolicies: default: diff --git a/package/crds/route53.aws.upbound.io_resolverconfigs.yaml b/package/crds/route53.aws.upbound.io_resolverconfigs.yaml index a79fc576e0..0d353c31f7 100644 --- a/package/crds/route53.aws.upbound.io_resolverconfigs.yaml +++ b/package/crds/route53.aws.upbound.io_resolverconfigs.yaml @@ -172,6 +172,82 @@ spec: autodefined rules for reverse DNS lookups. Valid values: ENABLE, DISABLE.' type: string + resourceId: + description: The ID of the VPC that the configuration is for. + type: string + resourceIdRef: + description: Reference to a VPC in ec2 to populate resourceId. + 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 + resourceIdSelector: + description: Selector for a VPC in ec2 to populate resourceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml b/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml index 62a99ba0b1..aa2c60265c 100644 --- a/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml +++ b/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml @@ -254,11 +254,166 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + hostedZoneId: + description: ID of the hosted zone that you want Amazon Route + 53 to create resource record sets in by using the configuration + in a traffic policy. + type: string + hostedZoneIdRef: + description: Reference to a Zone to populate hostedZoneId. + 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 + hostedZoneIdSelector: + description: Selector for a Zone to populate hostedZoneId. + 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 name: description: Domain name for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance. type: string + trafficPolicyId: + description: ID of the traffic policy that you want to use to + create resource record sets in the specified hosted zone. + type: string + trafficPolicyIdRef: + description: Reference to a TrafficPolicy to populate trafficPolicyId. + 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 + trafficPolicyIdSelector: + description: Selector for a TrafficPolicy to populate trafficPolicyId. + 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 trafficPolicyVersion: description: Version of the traffic policy type: number diff --git a/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml b/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml index 6a9875923e..716f555fae 100644 --- a/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml +++ b/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml @@ -246,10 +246,164 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + vpcId: + description: The VPC to authorize for association with the private + hosted zone. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 vpcRegion: description: The VPC's region. Defaults to the region of the AWS provider. type: string + zoneId: + description: The ID of the private hosted zone that you want to + authorize associating a VPC with. + type: string + zoneIdRef: + description: Reference to a Zone to populate zoneId. + 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 + zoneIdSelector: + description: Selector for a Zone to populate zoneId. + 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 type: object managementPolicies: default: diff --git a/package/crds/route53.aws.upbound.io_zoneassociations.yaml b/package/crds/route53.aws.upbound.io_zoneassociations.yaml index 521b9e94b0..6771f3fd83 100644 --- a/package/crds/route53.aws.upbound.io_zoneassociations.yaml +++ b/package/crds/route53.aws.upbound.io_zoneassociations.yaml @@ -242,10 +242,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + vpcId: + description: The VPC to associate with the private hosted zone. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 vpcRegion: description: The VPC's region. Defaults to the region of the AWS provider. type: string + zoneId: + description: The private hosted zone to associate. + type: string + zoneIdRef: + description: Reference to a Zone in route53 to populate zoneId. + 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 + zoneIdSelector: + description: Selector for a Zone in route53 to populate zoneId. + 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 type: object managementPolicies: default: diff --git a/package/crds/route53.aws.upbound.io_zones.yaml b/package/crds/route53.aws.upbound.io_zones.yaml index aa7e203d98..d1fad0c4f5 100644 --- a/package/crds/route53.aws.upbound.io_zones.yaml +++ b/package/crds/route53.aws.upbound.io_zones.yaml @@ -273,6 +273,84 @@ spec: comment: description: A comment for the hosted zone. type: string + delegationSetId: + description: The ID of the reusable delegation set whose NS records + you want to assign to the hosted zone. Conflicts with vpc as + delegation sets can only be used for public zones. + type: string + delegationSetIdRef: + description: Reference to a DelegationSet to populate delegationSetId. + 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 + delegationSetIdSelector: + description: Selector for a DelegationSet to populate delegationSetId. + 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 forceDestroy: type: boolean name: @@ -291,6 +369,85 @@ spec: resource specifying the same zone ID. Detailed below. items: properties: + vpcId: + description: ID of the VPC to associate. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 vpcRegion: description: Region of the VPC to associate. Defaults to AWS provider region. diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml index 6bf0019d13..b4c815cdcc 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml @@ -168,6 +168,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterArn: + description: ARN of the cluster in which this control panel will + reside. + type: string + clusterArnRef: + description: Reference to a Cluster in route53recoverycontrolconfig + to populate clusterArn. + 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 + clusterArnSelector: + description: Selector for a Cluster in route53recoverycontrolconfig + to populate clusterArn. + 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 name: description: Name describing the control panel. type: string diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml index 87740d5907..804582cfe6 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml @@ -247,6 +247,164 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + clusterArn: + description: ARN of the cluster in which this routing control + will reside. + type: string + clusterArnRef: + description: Reference to a Cluster in route53recoverycontrolconfig + to populate clusterArn. + 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 + clusterArnSelector: + description: Selector for a Cluster in route53recoverycontrolconfig + to populate clusterArn. + 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 + controlPanelArn: + description: ARN of the control panel in which this routing control + will reside. + type: string + controlPanelArnRef: + description: Reference to a ControlPanel in route53recoverycontrolconfig + to populate controlPanelArn. + 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 + controlPanelArnSelector: + description: Selector for a ControlPanel in route53recoverycontrolconfig + to populate controlPanelArn. + 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 name: description: The name describing the routing control. type: string diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml index 4e97dc9e9f..91d1bcf765 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml @@ -289,6 +289,170 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + assertedControls: + description: Routing controls that are part of transactions that + are evaluated to determine if a request to change a routing + control state is allowed. + items: + type: string + type: array + assertedControlsRefs: + description: References to RoutingControl in route53recoverycontrolconfig + to populate assertedControls. + items: + description: A Reference to a named object. + 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 + type: array + assertedControlsSelector: + description: Selector for a list of RoutingControl in route53recoverycontrolconfig + to populate assertedControls. + 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 + controlPanelArn: + description: ARN of the control panel in which this safety rule + will reside. + type: string + controlPanelArnRef: + description: Reference to a ControlPanel in route53recoverycontrolconfig + to populate controlPanelArn. + 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 + controlPanelArnSelector: + description: Selector for a ControlPanel in route53recoverycontrolconfig + to populate controlPanelArn. + 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 gatingControls: description: Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration diff --git a/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml b/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml index a6b6aa1bf6..b9131457ba 100644 --- a/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml +++ b/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml @@ -311,6 +311,87 @@ spec: items: type: string type: array + resourceArn: + description: ARN of the resource. + type: string + resourceArnRef: + description: Reference to a MetricAlarm in cloudwatch to + populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a MetricAlarm in cloudwatch to + populate resourceArn. + 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 type: object type: array tags: diff --git a/package/crds/route53resolver.aws.upbound.io_endpoints.yaml b/package/crds/route53resolver.aws.upbound.io_endpoints.yaml index cea5a99ccd..f2d0ce08e6 100644 --- a/package/crds/route53resolver.aws.upbound.io_endpoints.yaml +++ b/package/crds/route53resolver.aws.upbound.io_endpoints.yaml @@ -296,11 +296,174 @@ spec: description: The IP address in the subnet that you want to use for DNS queries. type: string + subnetId: + description: The ID of the subnet that contains the IP address. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 type: object type: array name: description: The friendly name of the Route 53 Resolver endpoint. type: string + securityGroupIdRefs: + description: References to SecurityGroup in ec2 to populate securityGroupIds. + items: + description: A Reference to a named object. + 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 + type: array + securityGroupIdSelector: + description: Selector for a list of SecurityGroup in ec2 to populate + securityGroupIds. + 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 + securityGroupIds: + description: The ID of one or more security groups that you want + to use to control access to this VPC. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string diff --git a/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml b/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml index d1af6fe521..da3e34a064 100644 --- a/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml +++ b/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml @@ -250,6 +250,162 @@ spec: description: A name for the association that you're creating between a resolver rule and a VPC. type: string + resolverRuleId: + description: The ID of the resolver rule that you want to associate + with the VPC. + type: string + resolverRuleIdRef: + description: Reference to a Rule in route53resolver to populate + resolverRuleId. + 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 + resolverRuleIdSelector: + description: Selector for a Rule in route53resolver to populate + resolverRuleId. + 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 + vpcId: + description: The ID of the VPC that you want to associate the + resolver rule with. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/route53resolver.aws.upbound.io_rules.yaml b/package/crds/route53resolver.aws.upbound.io_rules.yaml index c4689f1686..7ede87661b 100644 --- a/package/crds/route53resolver.aws.upbound.io_rules.yaml +++ b/package/crds/route53resolver.aws.upbound.io_rules.yaml @@ -209,6 +209,87 @@ spec: description: A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console. type: string + resolverEndpointId: + description: The ID of the outbound resolver endpoint that you + want to use to route DNS queries to the IP addresses that you + specify using target_ip. This argument should only be specified + for FORWARD type rules. + type: string + resolverEndpointIdRef: + description: Reference to a Endpoint in route53resolver to populate + resolverEndpointId. + 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 + resolverEndpointIdSelector: + description: Selector for a Endpoint in route53resolver to populate + resolverEndpointId. + 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 ruleType: description: The rule type. Valid values are FORWARD, SYSTEM and RECURSIVE. diff --git a/package/crds/rum.aws.upbound.io_metricsdestinations.yaml b/package/crds/rum.aws.upbound.io_metricsdestinations.yaml index a5f23a5e1e..4d51ea3304 100644 --- a/package/crds/rum.aws.upbound.io_metricsdestinations.yaml +++ b/package/crds/rum.aws.upbound.io_metricsdestinations.yaml @@ -252,6 +252,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + appMonitorName: + description: The name of the CloudWatch RUM app monitor that will + send the metrics. + type: string + appMonitorNameRef: + description: Reference to a AppMonitor in rum to populate appMonitorName. + 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 + appMonitorNameSelector: + description: Selector for a AppMonitor in rum to populate appMonitorName. + 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 destination: description: Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, @@ -264,6 +341,83 @@ spec: This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics. type: string + iamRoleArn: + description: This parameter is required if Destination is Evidently. + If Destination is CloudWatch, do not use this parameter. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate iamRoleArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml index 600036dec8..fa55154fc5 100644 --- a/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml @@ -170,6 +170,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string diff --git a/package/crds/s3.aws.upbound.io_bucketacls.yaml b/package/crds/s3.aws.upbound.io_bucketacls.yaml index 23696b2be9..f09057d79d 100644 --- a/package/crds/s3.aws.upbound.io_bucketacls.yaml +++ b/package/crds/s3.aws.upbound.io_bucketacls.yaml @@ -275,6 +275,82 @@ spec: acl: description: Canned ACL to apply to the bucket. type: string + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string diff --git a/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml index f1fcd9dad1..5a1cb89ef1 100644 --- a/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml @@ -321,6 +321,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket this analytics configuration is + associated with. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 filter: description: Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below). @@ -365,6 +442,99 @@ spec: description: Account ID that owns the destination bucket. type: string + bucketArn: + description: ARN of the destination bucket. + type: string + bucketArnRef: + description: Reference to a Bucket in + s3 to populate bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in + s3 to populate bucketArn. + 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 format: description: 'Output format of exported analytics data. Allowed values: CSV. diff --git a/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml index 1a89ce30b1..f7dd0e6d4d 100644 --- a/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml @@ -211,6 +211,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 corsRule: description: Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules. diff --git a/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml index e40934fa81..95c03ba2c2 100644 --- a/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml @@ -205,6 +205,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket this intelligent tiering configuration + is associated with. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 filter: description: Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below). diff --git a/package/crds/s3.aws.upbound.io_bucketinventories.yaml b/package/crds/s3.aws.upbound.io_bucketinventories.yaml index 71f400871c..2656f34c8d 100644 --- a/package/crds/s3.aws.upbound.io_bucketinventories.yaml +++ b/package/crds/s3.aws.upbound.io_bucketinventories.yaml @@ -342,6 +342,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the source bucket that inventory lists the + objects for. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 destination: description: Contains information about where to publish the inventory results (documented below). @@ -357,6 +434,89 @@ spec: bucket. Recommended to be set to prevent problems if the destination bucket ownership changes. type: string + bucketArn: + description: Amazon S3 bucket ARN of the destination. + type: string + bucketArnRef: + description: Reference to a Bucket in s3 to populate + bucketArn. + 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 + bucketArnSelector: + description: Selector for a Bucket in s3 to populate + bucketArn. + 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 encryption: description: Contains the type of server-side encryption to use to encrypt the inventory (documented below). diff --git a/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml index 8af1c07d54..57f8d80d12 100644 --- a/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml @@ -360,6 +360,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the source S3 bucket you want Amazon S3 to + monitor. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with diff --git a/package/crds/s3.aws.upbound.io_bucketloggings.yaml b/package/crds/s3.aws.upbound.io_bucketloggings.yaml index e40c51dbd2..f204ce7052 100644 --- a/package/crds/s3.aws.upbound.io_bucketloggings.yaml +++ b/package/crds/s3.aws.upbound.io_bucketloggings.yaml @@ -301,9 +301,162 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string + targetBucket: + description: Name of the bucket where you want Amazon S3 to store + server access logs. + type: string + targetBucketRef: + description: Reference to a Bucket in s3 to populate targetBucket. + 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 + targetBucketSelector: + description: Selector for a Bucket in s3 to populate targetBucket. + 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 targetGrant: description: Set of configuration blocks with information for granting permissions. See below. diff --git a/package/crds/s3.aws.upbound.io_bucketmetrics.yaml b/package/crds/s3.aws.upbound.io_bucketmetrics.yaml index e6776e1f6b..014bed92de 100644 --- a/package/crds/s3.aws.upbound.io_bucketmetrics.yaml +++ b/package/crds/s3.aws.upbound.io_bucketmetrics.yaml @@ -182,6 +182,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket to put metric configuration. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 filter: description: Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below). diff --git a/package/crds/s3.aws.upbound.io_bucketnotifications.yaml b/package/crds/s3.aws.upbound.io_bucketnotifications.yaml index e4915eb932..c9e7ae8f58 100644 --- a/package/crds/s3.aws.upbound.io_bucketnotifications.yaml +++ b/package/crds/s3.aws.upbound.io_bucketnotifications.yaml @@ -394,6 +394,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket for notification configuration. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 eventbridge: description: Whether to enable Amazon EventBridge notifications. Defaults to false. @@ -444,6 +520,85 @@ spec: description: Unique identifier for each of the notification configurations. type: string + queueArn: + description: SQS queue ARN. + type: string + queueArnRef: + description: Reference to a Queue in sqs to populate queueArn. + 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 + queueArnSelector: + description: Selector for a Queue in sqs to populate queueArn. + 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 type: object type: array topic: @@ -466,6 +621,85 @@ spec: description: Unique identifier for each of the notification configurations. type: string + topicArn: + description: SNS topic ARN. + type: string + topicArnRef: + description: Reference to a Topic in sns to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate topicArn. + 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 type: object type: array type: object diff --git a/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml index a9a1e7175e..1a4649a0aa 100644 --- a/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml @@ -219,6 +219,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string diff --git a/package/crds/s3.aws.upbound.io_bucketobjects.yaml b/package/crds/s3.aws.upbound.io_bucketobjects.yaml index c561092d60..9c69e4a5d0 100644 --- a/package/crds/s3.aws.upbound.io_bucketobjects.yaml +++ b/package/crds/s3.aws.upbound.io_bucketobjects.yaml @@ -350,9 +350,86 @@ spec: public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. Defaults to private. type: string + bucket: + description: Name of the bucket to put the file in. Alternatively, + an S3 access point ARN can be specified. + type: string bucketKeyEnabled: description: Whether or not to use Amazon S3 Bucket Keys for SSE-KMS. type: boolean + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 cacheControl: description: Caching behavior along the request/reply chain Read w3c cache_control for further details. @@ -402,6 +479,86 @@ spec: key: description: Name of the object once it is in the bucket. type: string + kmsKeyId: + description: ARN of the KMS Key to use for object encryption. + If the S3 Bucket has server-side encryption enabled, that value + will automatically be used. If referencing the aws_kms_key resource, + use the arn attribute. If referencing the aws_kms_alias data + source or resource, use the target_key_arn attribute. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 metadata: additionalProperties: type: string diff --git a/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml b/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml index 591c4371ab..b2e3093efc 100644 --- a/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml +++ b/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml @@ -175,6 +175,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket that you want to associate this + access point with. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 rule: description: Configuration block(s) with Ownership Controls rules. Detailed below. diff --git a/package/crds/s3.aws.upbound.io_bucketpolicies.yaml b/package/crds/s3.aws.upbound.io_bucketpolicies.yaml index b612bc5581..e9141c6f98 100644 --- a/package/crds/s3.aws.upbound.io_bucketpolicies.yaml +++ b/package/crds/s3.aws.upbound.io_bucketpolicies.yaml @@ -168,6 +168,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket to which to apply the policy. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 policy: description: 'Text of the policy. Although this is a bucket policy rather than an IAM policy, the aws_iam_policy_document data diff --git a/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml b/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml index 11b7a19969..7fe9e7db85 100644 --- a/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml +++ b/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml @@ -203,6 +203,83 @@ spec: not affect the existing bucket policy. When set to true causes Amazon S3 to:' type: boolean + bucket: + description: S3 Bucket to which this Public Access Block configuration + should be applied. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 ignorePublicAcls: description: 'Whether Amazon S3 should ignore public ACLs for this bucket. Defaults to false. Enabling this setting does not diff --git a/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml index aa5fc74314..f7c8edaeab 100644 --- a/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml @@ -588,6 +588,160 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the source S3 bucket you want Amazon S3 to + monitor. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 + role: + description: ARN of the IAM role for Amazon S3 to assume when + replicating the objects. + type: string + roleRef: + description: Reference to a Role in iam to populate role. + 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 + roleSelector: + description: Selector for a Role in iam to populate role. + 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 rule: description: List of configuration blocks describing the rules managing the replication. See below. @@ -636,6 +790,90 @@ spec: Must be used in conjunction with access_control_translation override configuration. type: string + bucket: + description: ARN of the bucket where you want Amazon + S3 to store the results. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate + bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate + bucket. + 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 encryptionConfiguration: description: Configuration block that provides information about encryption. See below. If source_selection_criteria diff --git a/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml index 1ab1f03ded..2bcb3fbfc7 100644 --- a/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml @@ -170,6 +170,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string diff --git a/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml index 5f5a25fd27..c17cd0f780 100644 --- a/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml @@ -276,6 +276,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: ID (name) of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string @@ -289,6 +365,93 @@ spec: by default. See below. items: properties: + kmsMasterKeyId: + description: AWS KMS master key ID used for the SSE-KMS + encryption. This can only be used when you set the + value of sse_algorithm as aws:kms. The default aws/s3 + AWS KMS master key is used if this element is absent + while the sse_algorithm is aws:kms. + type: string + kmsMasterKeyIdRef: + description: Reference to a Key in kms to populate + kmsMasterKeyId. + 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 + kmsMasterKeyIdSelector: + description: Selector for a Key in kms to populate + kmsMasterKeyId. + 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 sseAlgorithm: description: Server-side encryption algorithm to use. Valid values are AES256, aws:kms, and aws:kms:dsse diff --git a/package/crds/s3.aws.upbound.io_bucketversionings.yaml b/package/crds/s3.aws.upbound.io_bucketversionings.yaml index e60d0f305f..ea830d1bd2 100644 --- a/package/crds/s3.aws.upbound.io_bucketversionings.yaml +++ b/package/crds/s3.aws.upbound.io_bucketversionings.yaml @@ -188,6 +188,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the S3 bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 expectedBucketOwner: description: Account ID of the expected bucket owner. type: string diff --git a/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml index d2154df970..c78d675cdd 100644 --- a/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml @@ -268,6 +268,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + bucket: + description: Name of the bucket. + type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 errorDocument: description: Name of the error document for the website. See below. items: diff --git a/package/crds/s3.aws.upbound.io_objects.yaml b/package/crds/s3.aws.upbound.io_objects.yaml index e933b1ea7a..86ed4498fe 100644 --- a/package/crds/s3.aws.upbound.io_objects.yaml +++ b/package/crds/s3.aws.upbound.io_objects.yaml @@ -378,9 +378,86 @@ spec: public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. type: string + bucket: + description: Name of the bucket to put the file in. Alternatively, + an S3 access point ARN can be specified. + type: string bucketKeyEnabled: description: Whether or not to use Amazon S3 Bucket Keys for SSE-KMS. type: boolean + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 cacheControl: description: Caching behavior along the request/reply chain Read w3c cache_control for further details. @@ -438,6 +515,86 @@ spec: key: description: Name of the object once it is in the bucket. type: string + kmsKeyId: + description: ARN of the KMS Key to use for object encryption. + If the S3 Bucket has server-side encryption enabled, that value + will automatically be used. If referencing the aws_kms_key resource, + use the arn attribute. If referencing the aws_kms_alias data + source or resource, use the target_key_arn attribute. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 metadata: additionalProperties: type: string diff --git a/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml b/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml index 68dbd2e2e7..4b199ecefb 100644 --- a/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml +++ b/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml @@ -169,6 +169,85 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + accessPointArn: + description: The ARN of the access point that you want to associate + with the specified policy. + type: string + accessPointArnRef: + description: Reference to a AccessPoint in s3control to populate + accessPointArn. + 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 + accessPointArnSelector: + description: Selector for a AccessPoint in s3control to populate + accessPointArn. + 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 policy: description: The policy that you want to apply to the specified access point. diff --git a/package/crds/s3control.aws.upbound.io_accesspoints.yaml b/package/crds/s3control.aws.upbound.io_accesspoints.yaml index de9f53394a..1789097bc4 100644 --- a/package/crds/s3control.aws.upbound.io_accesspoints.yaml +++ b/package/crds/s3control.aws.upbound.io_accesspoints.yaml @@ -312,10 +312,88 @@ spec: description: AWS account ID for the owner of the bucket for which you want to create an access point. type: string + bucket: + description: Name of an AWS Partition S3 General Purpose Bucket + or the ARN of S3 on Outposts Bucket that you want to associate + this access point with. + type: string bucketAccountId: description: AWS account ID associated with the S3 bucket associated with this access point. type: string + bucketRef: + description: Reference to a Bucket in s3 to populate bucket. + 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 + bucketSelector: + description: Selector for a Bucket in s3 to populate bucket. + 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 name: description: Name you want to assign to this access point. type: string @@ -369,6 +447,87 @@ spec: point to requests from the specified Virtual Private Cloud (VPC). Required for S3 on Outposts. Detailed below. items: + properties: + vpcId: + description: This access point will only allow connections + from the specified VPC ID. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array type: object diff --git a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml index 8b984ec63f..6453039582 100644 --- a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml +++ b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml @@ -177,6 +177,84 @@ spec: description: The AWS account ID for the account that owns the Object Lambda Access Point. type: string + name: + description: The name of the Object Lambda Access Point. + type: string + nameRef: + description: Reference to a ObjectLambdaAccessPoint in s3control + to populate name. + 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 + nameSelector: + description: Selector for a ObjectLambdaAccessPoint in s3control + to populate name. + 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 policy: description: The Object Lambda Access Point resource policy document. type: string diff --git a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml index 63cbdcfbe8..68f91a6e45 100644 --- a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml +++ b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml @@ -345,6 +345,88 @@ spec: description: Whether or not the CloudWatch metrics configuration is enabled. type: boolean + supportingAccessPoint: + description: Standard access point associated with the Object + Lambda Access Point. + type: string + supportingAccessPointRef: + description: Reference to a AccessPoint in s3control to + populate supportingAccessPoint. + 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 + supportingAccessPointSelector: + description: Selector for a AccessPoint in s3control to + populate supportingAccessPoint. + 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 transformationConfiguration: description: List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration @@ -369,6 +451,100 @@ spec: function. See AWS Lambda below for more details. items: properties: + functionArn: + description: The Amazon Resource Name + (ARN) of the AWS Lambda function. + type: string + functionArnRef: + description: Reference to a Function in + lambda to populate functionArn. + 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 + functionArnSelector: + description: Selector for a Function in + lambda to populate functionArn. + 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 functionPayload: description: Additional JSON that provides supplemental data to the Lambda function diff --git a/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml b/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml index 2a8c0740a7..5bbe2c90d5 100644 --- a/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml +++ b/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml @@ -665,6 +665,94 @@ spec: description: The account ID of the owner of the S3 Storage Lens metrics export bucket. type: string + arn: + description: The Amazon Resource Name (ARN) + of the bucket. + type: string + arnRef: + description: Reference to a Bucket in s3 to + populate arn. + 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 + arnSelector: + description: Selector for a Bucket in s3 to + populate arn. + 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 encryption: description: Encryption of the metrics exports in this bucket. See Encryption below for more diff --git a/package/crds/sagemaker.aws.upbound.io_apps.yaml b/package/crds/sagemaker.aws.upbound.io_apps.yaml index 03293089e3..1c1b392670 100644 --- a/package/crds/sagemaker.aws.upbound.io_apps.yaml +++ b/package/crds/sagemaker.aws.upbound.io_apps.yaml @@ -292,6 +292,82 @@ spec: description: The type of app. Valid values are JupyterServer, KernelGateway, RStudioServerPro, RSessionGateway and TensorBoard. type: string + domainId: + description: The domain ID. + type: string + domainIdRef: + description: Reference to a Domain in sagemaker to populate domainId. + 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 + domainIdSelector: + description: Selector for a Domain in sagemaker to populate domainId. + 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 resourceSpec: description: The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.See Resource @@ -329,6 +405,85 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + userProfileName: + description: The user profile name. At least one of user_profile_name + or space_name required. + type: string + userProfileNameRef: + description: Reference to a UserProfile in sagemaker to populate + userProfileName. + 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 + userProfileNameSelector: + description: Selector for a UserProfile in sagemaker to populate + userProfileName. + 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 type: object managementPolicies: default: diff --git a/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml b/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml index 96b3feba44..8296986ee2 100644 --- a/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml +++ b/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml @@ -201,6 +201,91 @@ spec: repositoryUrl: description: The URL where the Git repository is located. type: string + secretArn: + description: 'The Amazon Resource Name (ARN) of the AWS + Secrets Manager secret that contains the credentials used + to access the git repository. The secret must have a staging + label of AWSCURRENT and must be in the following format: + {"username": UserName, "password": Password}' + type: string + secretArnRef: + description: Reference to a Secret in secretsmanager to + populate secretArn. + 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 + secretArnSelector: + description: Selector for a Secret in secretsmanager to + populate secretArn. + 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 type: object type: array tags: diff --git a/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml b/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml index 8f9d5d0084..9661cfe42e 100644 --- a/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml +++ b/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml @@ -219,6 +219,83 @@ spec: type: string type: object type: array + roleArn: + description: The Amazon Resource Name (ARN) that has access to + AWS Internet of Things (IoT). + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 diff --git a/package/crds/sagemaker.aws.upbound.io_devices.yaml b/package/crds/sagemaker.aws.upbound.io_devices.yaml index cf8f724583..9764e2d1ea 100644 --- a/package/crds/sagemaker.aws.upbound.io_devices.yaml +++ b/package/crds/sagemaker.aws.upbound.io_devices.yaml @@ -198,6 +198,84 @@ spec: type: string type: object type: array + deviceFleetName: + description: The name of the Device Fleet. + type: string + deviceFleetNameRef: + description: Reference to a DeviceFleet in sagemaker to populate + deviceFleetName. + 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 + deviceFleetNameSelector: + description: Selector for a DeviceFleet in sagemaker to populate + deviceFleetName. + 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 type: object managementPolicies: default: diff --git a/package/crds/sagemaker.aws.upbound.io_domains.yaml b/package/crds/sagemaker.aws.upbound.io_domains.yaml index d6c02d765e..7ec629fbbb 100644 --- a/package/crds/sagemaker.aws.upbound.io_domains.yaml +++ b/package/crds/sagemaker.aws.upbound.io_domains.yaml @@ -1765,6 +1765,85 @@ spec: to ENABLED. app:JupyterServer:: Indicates that Studio Classic is the default experience.' type: string + executionRole: + description: The execution role ARN for the user. + type: string + executionRoleRef: + description: Reference to a Role in iam to populate executionRole. + 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 + executionRoleSelector: + description: Selector for a Role in iam to populate executionRole. + 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 jupyterLabAppSettings: description: The settings for the JupyterLab application. See Jupyter Lab App Settings below. @@ -1902,6 +1981,180 @@ spec: Custom Image below. items: properties: + appImageConfigName: + description: The name of the App Image Config. + type: string + appImageConfigNameRef: + description: Reference to a AppImageConfig in + sagemaker to populate appImageConfigName. + 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 + appImageConfigNameSelector: + description: Selector for a AppImageConfig in + sagemaker to populate appImageConfigName. + 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 + imageName: + description: The name of the Custom Image. + type: string + imageNameRef: + description: Reference to a ImageVersion in + sagemaker to populate imageName. + 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 + imageNameSelector: + description: Selector for a ImageVersion in + sagemaker to populate imageName. + 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 imageVersionNumber: description: The version number of the Custom Image. @@ -2188,6 +2441,83 @@ spec: x-kubernetes-list-type: set type: object type: array + kmsKeyId: + description: The AWS KMS customer managed CMK used to encrypt + the EFS volume attached to the domain. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 retentionPolicy: description: The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. @@ -2202,12 +2532,172 @@ spec: type: string type: object type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: The VPC subnets that Studio uses for communication. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpcId: + description: The ID of the Amazon Virtual Private Cloud (VPC) + that Studio uses for communication. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object managementPolicies: default: diff --git a/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml b/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml index cd98268a64..ed89cebb08 100644 --- a/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml +++ b/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml @@ -686,6 +686,85 @@ spec: type: string type: object type: array + kmsKeyArn: + description: Amazon Resource Name (ARN) of a AWS Key Management + Service key that Amazon SageMaker uses to encrypt data on the + storage volume attached to the ML compute instance that hosts + the endpoint. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 productionVariants: description: An list of ProductionVariant objects, one for each model that you want to host at this endpoint. Fields are documented @@ -745,6 +824,87 @@ spec: S3 to the individual inference instance associated with this production variant. Valid values between 60 and 3600. type: number + modelName: + description: The name of the model to use. + type: string + modelNameRef: + description: Reference to a Model in sagemaker to populate + modelName. + 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 + modelNameSelector: + description: Selector for a Model in sagemaker to populate + modelName. + 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 serverlessConfig: description: Specifies configuration for how an endpoint performs asynchronous inference. diff --git a/package/crds/sagemaker.aws.upbound.io_endpoints.yaml b/package/crds/sagemaker.aws.upbound.io_endpoints.yaml index b3ac07450d..baa09b54cf 100644 --- a/package/crds/sagemaker.aws.upbound.io_endpoints.yaml +++ b/package/crds/sagemaker.aws.upbound.io_endpoints.yaml @@ -98,7 +98,12 @@ spec: description: Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the - old fleet. See Blue Green Update Config. + old fleet. SageMaker flips traffic to the new fleet according + to the specified traffic routing configuration. Only one + update policy should be used in the deployment configuration. + If no update policy is specified, SageMaker uses a blue/green + deployment strategy with all at once traffic shifting + by default. See Blue Green Update Config. items: properties: maximumExecutionTimeoutInSeconds: @@ -166,15 +171,75 @@ spec: LINEAR.' type: string waitIntervalInSeconds: - description: The waiting time (in seconds) between - incremental steps to turn on traffic on the - new endpoint fleet. Valid values are between - 0 and 3600. + description: The length of the baking period, + during which SageMaker monitors alarms for + each batch on the new fleet. Valid values + are between 0 and 3600. type: number type: object type: array type: object type: array + rollingUpdatePolicy: + description: Specifies a rolling deployment strategy for + updating a SageMaker endpoint. See Rolling Update Policy. + items: + properties: + maximumBatchSize: + description: Batch size for each rolling step to provision + capacity and turn on traffic on the new endpoint + fleet, and terminate capacity on the old endpoint + fleet. Value must be between 5% to 50% of the variant's + total instance count. See Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + maximumExecutionTimeoutInSeconds: + description: Maximum execution timeout for the deployment. + Note that the timeout value should be larger than + the total waiting time specified in termination_wait_in_seconds + and wait_interval_in_seconds. Valid values are between + 600 and 14400. + type: number + rollbackMaximumBatchSize: + description: Batch size for rollback to the old endpoint + fleet. Each rolling step to provision capacity and + turn on traffic on the old endpoint fleet, and terminate + capacity on the new endpoint fleet. If this field + is absent, the default value will be set to 100% + of total capacity which means to bring up the whole + capacity of the old fleet at once during rollback. + See Rollback Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + waitIntervalInSeconds: + description: The length of the baking period, during + which SageMaker monitors alarms for each batch on + the new fleet. Valid values are between 0 and 3600. + type: number + type: object + type: array type: object type: array endpointConfigName: @@ -311,7 +376,12 @@ spec: description: Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the - old fleet. See Blue Green Update Config. + old fleet. SageMaker flips traffic to the new fleet according + to the specified traffic routing configuration. Only one + update policy should be used in the deployment configuration. + If no update policy is specified, SageMaker uses a blue/green + deployment strategy with all at once traffic shifting + by default. See Blue Green Update Config. items: properties: maximumExecutionTimeoutInSeconds: @@ -379,17 +449,155 @@ spec: LINEAR.' type: string waitIntervalInSeconds: - description: The waiting time (in seconds) between - incremental steps to turn on traffic on the - new endpoint fleet. Valid values are between - 0 and 3600. + description: The length of the baking period, + during which SageMaker monitors alarms for + each batch on the new fleet. Valid values + are between 0 and 3600. type: number type: object type: array type: object type: array + rollingUpdatePolicy: + description: Specifies a rolling deployment strategy for + updating a SageMaker endpoint. See Rolling Update Policy. + items: + properties: + maximumBatchSize: + description: Batch size for each rolling step to provision + capacity and turn on traffic on the new endpoint + fleet, and terminate capacity on the old endpoint + fleet. Value must be between 5% to 50% of the variant's + total instance count. See Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + maximumExecutionTimeoutInSeconds: + description: Maximum execution timeout for the deployment. + Note that the timeout value should be larger than + the total waiting time specified in termination_wait_in_seconds + and wait_interval_in_seconds. Valid values are between + 600 and 14400. + type: number + rollbackMaximumBatchSize: + description: Batch size for rollback to the old endpoint + fleet. Each rolling step to provision capacity and + turn on traffic on the old endpoint fleet, and terminate + capacity on the new endpoint fleet. If this field + is absent, the default value will be set to 100% + of total capacity which means to bring up the whole + capacity of the old fleet at once during rollback. + See Rollback Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + waitIntervalInSeconds: + description: The length of the baking period, during + which SageMaker monitors alarms for each batch on + the new fleet. Valid values are between 0 and 3600. + type: number + type: object + type: array type: object type: array + endpointConfigName: + description: The name of the endpoint configuration to use. + type: string + endpointConfigNameRef: + description: Reference to a EndpointConfiguration in sagemaker + to populate endpointConfigName. + 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 + endpointConfigNameSelector: + description: Selector for a EndpointConfiguration in sagemaker + to populate endpointConfigName. + 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 @@ -597,7 +805,12 @@ spec: description: Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the - old fleet. See Blue Green Update Config. + old fleet. SageMaker flips traffic to the new fleet according + to the specified traffic routing configuration. Only one + update policy should be used in the deployment configuration. + If no update policy is specified, SageMaker uses a blue/green + deployment strategy with all at once traffic shifting + by default. See Blue Green Update Config. items: properties: maximumExecutionTimeoutInSeconds: @@ -665,15 +878,75 @@ spec: LINEAR.' type: string waitIntervalInSeconds: - description: The waiting time (in seconds) between - incremental steps to turn on traffic on the - new endpoint fleet. Valid values are between - 0 and 3600. + description: The length of the baking period, + during which SageMaker monitors alarms for + each batch on the new fleet. Valid values + are between 0 and 3600. type: number type: object type: array type: object type: array + rollingUpdatePolicy: + description: Specifies a rolling deployment strategy for + updating a SageMaker endpoint. See Rolling Update Policy. + items: + properties: + maximumBatchSize: + description: Batch size for each rolling step to provision + capacity and turn on traffic on the new endpoint + fleet, and terminate capacity on the old endpoint + fleet. Value must be between 5% to 50% of the variant's + total instance count. See Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + maximumExecutionTimeoutInSeconds: + description: Maximum execution timeout for the deployment. + Note that the timeout value should be larger than + the total waiting time specified in termination_wait_in_seconds + and wait_interval_in_seconds. Valid values are between + 600 and 14400. + type: number + rollbackMaximumBatchSize: + description: Batch size for rollback to the old endpoint + fleet. Each rolling step to provision capacity and + turn on traffic on the old endpoint fleet, and terminate + capacity on the new endpoint fleet. If this field + is absent, the default value will be set to 100% + of total capacity which means to bring up the whole + capacity of the old fleet at once during rollback. + See Rollback Maximum Batch Size. + items: + properties: + type: + description: 'Traffic routing strategy type. + Valid values are: ALL_AT_ONCE, CANARY, and + LINEAR.' + type: string + value: + description: Defines the capacity size, either + as a number of instances or a capacity percentage. + type: number + type: object + type: array + waitIntervalInSeconds: + description: The length of the baking period, during + which SageMaker monitors alarms for each batch on + the new fleet. Valid values are between 0 and 3600. + type: number + type: object + type: array type: object type: array endpointConfigName: diff --git a/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml b/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml index 6997a7d69a..3aa2c6ac9d 100644 --- a/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml +++ b/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml @@ -412,6 +412,84 @@ spec: a Record defined in the Feature Store. Only the latest record per identifier value will be stored in the Online Store. type: string + roleArn: + description: The Amazon Resource Name (ARN) of the IAM execution + role used to persist data into the Offline Store if an offline_store_config + is provided. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 diff --git a/package/crds/sagemaker.aws.upbound.io_images.yaml b/package/crds/sagemaker.aws.upbound.io_images.yaml index 21744f5744..2570626206 100644 --- a/package/crds/sagemaker.aws.upbound.io_images.yaml +++ b/package/crds/sagemaker.aws.upbound.io_images.yaml @@ -183,6 +183,83 @@ spec: description: The display name of the image. When the image is added to a domain (must be unique to the domain). type: string + roleArn: + description: The Amazon Resource Name (ARN) of an IAM role that + enables Amazon SageMaker to perform tasks on your behalf. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 diff --git a/package/crds/sagemaker.aws.upbound.io_imageversions.yaml b/package/crds/sagemaker.aws.upbound.io_imageversions.yaml index 34a2c21c77..bc73343287 100644 --- a/package/crds/sagemaker.aws.upbound.io_imageversions.yaml +++ b/package/crds/sagemaker.aws.upbound.io_imageversions.yaml @@ -170,6 +170,82 @@ spec: description: The registry path of the container image on which this image version is based. type: string + imageName: + description: The name of the image. Must be unique to your account. + type: string + imageNameRef: + description: Reference to a Image in sagemaker to populate imageName. + 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 + imageNameSelector: + description: Selector for a Image in sagemaker to populate imageName. + 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 type: object managementPolicies: default: diff --git a/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml b/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml index 2469b9a97e..0a3e31fc85 100644 --- a/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml +++ b/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml @@ -167,6 +167,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + modelPackageGroupName: + description: The name of the model package group. + type: string + modelPackageGroupNameRef: + description: Reference to a ModelPackageGroup in sagemaker to + populate modelPackageGroupName. + 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 + modelPackageGroupNameSelector: + description: Selector for a ModelPackageGroup in sagemaker to + populate modelPackageGroupName. + 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 resourcePolicy: type: string type: object diff --git a/package/crds/sagemaker.aws.upbound.io_models.yaml b/package/crds/sagemaker.aws.upbound.io_models.yaml index 89c6ffee02..3b4fd0228c 100644 --- a/package/crds/sagemaker.aws.upbound.io_models.yaml +++ b/package/crds/sagemaker.aws.upbound.io_models.yaml @@ -497,6 +497,83 @@ spec: description: Isolates the model container. No inbound or outbound network calls can be made to or from the model container. type: boolean + executionRoleArn: + description: A role that SageMaker can assume to access model + artifacts and docker images for deployment. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + 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 + executionRoleArnSelector: + description: Selector for a Role in iam to populate executionRoleArn. + 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 inferenceExecutionConfig: description: Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config. diff --git a/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml b/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml index 3b1c934fa2..9b61ae2a01 100644 --- a/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml +++ b/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml @@ -498,6 +498,88 @@ spec: type: string type: array x-kubernetes-list-type: set + defaultCodeRepository: + description: The Git repository associated with the notebook instance + as its default code repository. This can be either the name + of a Git repository stored as a resource in your account, or + the URL of a Git repository in AWS CodeCommit or in any other + Git repository. + type: string + defaultCodeRepositoryRef: + description: Reference to a CodeRepository in sagemaker to populate + defaultCodeRepository. + 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 + defaultCodeRepositorySelector: + description: Selector for a CodeRepository in sagemaker to populate + defaultCodeRepository. + 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 directInternetAccess: description: 'Set to Disabled to disable internet access to notebook. Requires security_groups and subnet_id to be set. Supported @@ -524,6 +606,84 @@ spec: instanceType: description: The name of ML compute instance type. type: string + kmsKeyId: + description: The AWS Key Management Service (AWS KMS) key that + Amazon SageMaker uses to encrypt the model artifacts at rest + using Amazon S3 server-side encryption. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 lifecycleConfigName: description: The name of a lifecycle configuration to associate with the notebook instance. @@ -534,6 +694,84 @@ spec: notebook-al2-v1, or notebook-al2-v2, depending on which version of Amazon Linux you require. type: string + roleArn: + description: The ARN of the IAM role to be used by the notebook + instance which allows SageMaker to call other services on your + behalf. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 rootAccess: description: Whether root access is Enabled or Disabled for users of the notebook instance. The default value is Enabled. @@ -544,6 +782,82 @@ spec: type: string type: array x-kubernetes-list-type: set + subnetId: + description: The VPC subnet ID. + type: string + subnetIdRef: + description: Reference to a Subnet in ec2 to populate subnetId. + 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 + subnetIdSelector: + description: Selector for a Subnet in ec2 to populate subnetId. + 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 diff --git a/package/crds/sagemaker.aws.upbound.io_spaces.yaml b/package/crds/sagemaker.aws.upbound.io_spaces.yaml index e00e3868f3..0283ab62cb 100644 --- a/package/crds/sagemaker.aws.upbound.io_spaces.yaml +++ b/package/crds/sagemaker.aws.upbound.io_spaces.yaml @@ -293,6 +293,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + domainId: + description: The ID of the associated Domain. + type: string + domainIdRef: + description: Reference to a Domain in sagemaker to populate domainId. + 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 + domainIdSelector: + description: Selector for a Domain in sagemaker to populate domainId. + 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 spaceDisplayName: description: The name of the space that appears in the SageMaker Studio UI. diff --git a/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml b/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml index b02dbf1200..597629ee19 100644 --- a/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml +++ b/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml @@ -771,6 +771,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + domainId: + description: The ID of the associated Domain. + type: string + domainIdRef: + description: Reference to a Domain in sagemaker to populate domainId. + 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 + domainIdSelector: + description: Selector for a Domain in sagemaker to populate domainId. + 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 singleSignOnUserIdentifier: description: A specifier for the type of value specified in single_sign_on_user_value. Currently, the only supported value is UserName. If the Domain's diff --git a/package/crds/sagemaker.aws.upbound.io_workforces.yaml b/package/crds/sagemaker.aws.upbound.io_workforces.yaml index f6863ce7af..4321d123e5 100644 --- a/package/crds/sagemaker.aws.upbound.io_workforces.yaml +++ b/package/crds/sagemaker.aws.upbound.io_workforces.yaml @@ -360,6 +360,170 @@ spec: and corresponds to a single Amazon Cognito user pool. Conflicts with oidc_config. see Cognito Config details below. items: + properties: + clientId: + description: The client ID for your Amazon Cognito user + pool. + type: string + clientIdRef: + description: Reference to a UserPoolClient in cognitoidp + to populate clientId. + 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 + clientIdSelector: + description: Selector for a UserPoolClient in cognitoidp + to populate clientId. + 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 + userPool: + description: ID for your Amazon Cognito user pool. + type: string + userPoolRef: + description: Reference to a UserPoolDomain in cognitoidp + to populate userPool. + 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 + userPoolSelector: + description: Selector for a UserPoolDomain in cognitoidp + to populate userPool. + 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 type: object type: array oidcConfig: diff --git a/package/crds/sagemaker.aws.upbound.io_workteams.yaml b/package/crds/sagemaker.aws.upbound.io_workteams.yaml index 1bbb89f6cc..f527b5fcf6 100644 --- a/package/crds/sagemaker.aws.upbound.io_workteams.yaml +++ b/package/crds/sagemaker.aws.upbound.io_workteams.yaml @@ -494,6 +494,259 @@ spec: of the work team. See Cognito Member Definition details below. items: + properties: + clientId: + description: An identifier for an application client. + You must create the app client ID using Amazon Cognito. + type: string + clientIdRef: + description: Reference to a UserPoolClient in cognitoidp + to populate clientId. + 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 + clientIdSelector: + description: Selector for a UserPoolClient in cognitoidp + to populate clientId. + 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 + userGroup: + description: An identifier for a user group. + type: string + userGroupRef: + description: Reference to a UserGroup in cognitoidp + to populate userGroup. + 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 + userGroupSelector: + description: Selector for a UserGroup in cognitoidp + to populate userGroup. + 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 + userPool: + description: An identifier for a user pool. The user + pool must be in the same region as the service that + you are calling. + type: string + userPoolRef: + description: Reference to a UserPoolDomain in cognitoidp + to populate userPool. + 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 + userPoolSelector: + description: Selector for a UserPoolDomain in cognitoidp + to populate userPool. + 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 type: object type: array oidcMemberDefinition: @@ -533,6 +786,84 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + workforceName: + description: The name of the Workteam (must be unique). + type: string + workforceNameRef: + description: Reference to a Workforce in sagemaker to populate + workforceName. + 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 + workforceNameSelector: + description: Selector for a Workforce in sagemaker to populate + workforceName. + 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 type: object managementPolicies: default: diff --git a/package/crds/scheduler.aws.upbound.io_schedules.yaml b/package/crds/scheduler.aws.upbound.io_schedules.yaml index 50f0b17b29..6bbf3d17a0 100644 --- a/package/crds/scheduler.aws.upbound.io_schedules.yaml +++ b/package/crds/scheduler.aws.upbound.io_schedules.yaml @@ -647,6 +647,83 @@ spec: description: Name of the schedule group to associate with this schedule. When omitted, the default schedule group is used. type: string + kmsKeyArn: + description: ARN for the customer managed KMS key that EventBridge + Scheduler will use to encrypt and decrypt your data. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + 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 + kmsKeyArnSelector: + description: Selector for a Key in kms to populate kmsKeyArn. + 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 name: description: Name of the schedule. Conflicts with name_prefix. type: string @@ -673,6 +750,87 @@ spec: description: Configures the target of the schedule. Detailed below. items: properties: + arn: + description: ARN of the target of this schedule, such as + a SQS queue or ECS cluster. For universal targets, this + is a Service ARN specific to the target service. + type: string + arnRef: + description: Reference to a Queue in sqs to populate arn. + 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 + arnSelector: + description: Selector for a Queue in sqs to populate arn. + 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 deadLetterConfig: description: Information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for @@ -876,6 +1034,87 @@ spec: type: number type: object type: array + roleArn: + description: ARN of the IAM role that EventBridge Scheduler + will use for this target when the schedule is invoked. + Read more in Set up the execution role. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 sagemakerPipelineParameters: description: Templated target type for the Amazon SageMaker StartPipelineExecution API operation. Detailed below. diff --git a/package/crds/schemas.aws.upbound.io_discoverers.yaml b/package/crds/schemas.aws.upbound.io_discoverers.yaml index f41a0f5d8d..65d0ae1c24 100644 --- a/package/crds/schemas.aws.upbound.io_discoverers.yaml +++ b/package/crds/schemas.aws.upbound.io_discoverers.yaml @@ -179,6 +179,85 @@ spec: description: The description of the discoverer. Maximum of 256 characters. type: string + sourceArn: + description: The ARN of the event bus to discover event schemas + on. + type: string + sourceArnRef: + description: Reference to a Bus in cloudwatchevents to populate + sourceArn. + 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 + sourceArnSelector: + description: Selector for a Bus in cloudwatchevents to populate + sourceArn. + 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 diff --git a/package/crds/schemas.aws.upbound.io_schemas.yaml b/package/crds/schemas.aws.upbound.io_schemas.yaml index 840e4d2650..bb443de2b8 100644 --- a/package/crds/schemas.aws.upbound.io_schemas.yaml +++ b/package/crds/schemas.aws.upbound.io_schemas.yaml @@ -196,6 +196,82 @@ spec: consisting of lower case letters, upper case letters, ., -, _, @. type: string + registryName: + description: The name of the registry in which this schema belongs. + type: string + registryNameRef: + description: Reference to a Registry in schemas to populate registryName. + 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 + registryNameSelector: + description: Selector for a Registry in schemas to populate registryName. + 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 diff --git a/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml b/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml index ef75903ff9..b389b8b1ef 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml @@ -184,6 +184,84 @@ spec: "{}" to delete the policy, "{}" is not a valid policy since policy is required. type: string + secretArn: + description: Secret ARN. + type: string + secretArnRef: + description: Reference to a Secret in secretsmanager to populate + secretArn. + 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 + secretArnSelector: + description: Selector for a Secret in secretsmanager to populate + secretArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml b/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml index 914a1fe92a..d99edbdf06 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml @@ -266,6 +266,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + rotationLambdaArn: + description: Specifies the ARN of the Lambda function that can + rotate the secret. Must be supplied if the secret is not managed + by AWS. + type: string + rotationLambdaArnRef: + description: Reference to a Function in lambda to populate rotationLambdaArn. + 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 + rotationLambdaArnSelector: + description: Selector for a Function in lambda to populate rotationLambdaArn. + 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 rotationRules: description: A structure that defines the rotation configuration for this secret. Defined below. @@ -287,6 +365,87 @@ spec: type: string type: object type: array + secretId: + description: Specifies the secret to which you want to add a new + version. You can specify either the Amazon Resource Name (ARN) + or the friendly name of the secret. The secret must already + exist. + type: string + secretIdRef: + description: Reference to a Secret in secretsmanager to populate + secretId. + 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 + secretIdSelector: + description: Selector for a Secret in secretsmanager to populate + secretId. + 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 type: object managementPolicies: default: diff --git a/package/crds/secretsmanager.aws.upbound.io_secrets.yaml b/package/crds/secretsmanager.aws.upbound.io_secrets.yaml index 32d961e25a..5f4fb1413c 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secrets.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secrets.yaml @@ -220,6 +220,89 @@ spec: description: Accepts boolean value to specify whether to overwrite a secret with the same name in the destination Region. type: boolean + kmsKeyId: + description: ARN or Id of the AWS KMS key to be used to encrypt + the secret values in the versions stored in this secret. If + you need to reference a CMK in a different account, you can + use only the key ARN. If you don't specify this value, then + Secrets Manager defaults to using the AWS account's default + KMS key (the one named aws/secretsmanager). If the default KMS + key with that name doesn't yet exist, then AWS Secrets Manager + creates it for you automatically the first time. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 name: description: 'Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, diff --git a/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml b/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml index 7dba420ae3..1db38a7f42 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml @@ -219,6 +219,87 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + secretId: + description: Specifies the secret to which you want to add a new + version. You can specify either the Amazon Resource Name (ARN) + or the friendly name of the secret. The secret must already + exist. + type: string + secretIdRef: + description: Reference to a Secret in secretsmanager to populate + secretId. + 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 + secretIdSelector: + description: Selector for a Secret in secretsmanager to populate + secretId. + 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 versionStages: description: Specifies a list of staging labels that are attached to this version of the secret. A staging label must be unique diff --git a/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml b/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml index ab7ebbe28d..32338a0e77 100644 --- a/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml +++ b/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml @@ -164,6 +164,86 @@ spec: 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: + masterId: + description: The account ID of the master Security Hub account + whose invitation you're accepting. + type: string + masterIdRef: + description: Reference to a Member in securityhub to populate + masterId. + 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 + masterIdSelector: + description: Selector for a Member in securityhub to populate + masterId. + 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 type: object managementPolicies: default: diff --git a/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml index 486824b3a1..ebfca8c978 100644 --- a/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml @@ -238,6 +238,159 @@ spec: 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: + budgetName: + description: Budget name. + type: string + budgetNameRef: + description: Reference to a Budget in budgets to populate budgetName. + 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 + budgetNameSelector: + description: Selector for a Budget in budgets to populate budgetName. + 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 + resourceId: + description: Resource identifier. + type: string + resourceIdRef: + description: Reference to a Product to populate resourceId. + 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 + resourceIdSelector: + description: Selector for a Product to populate resourceId. + 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 type: object managementPolicies: default: diff --git a/package/crds/servicecatalog.aws.upbound.io_constraints.yaml b/package/crds/servicecatalog.aws.upbound.io_constraints.yaml index e5ff6b5e52..a2a44cba20 100644 --- a/package/crds/servicecatalog.aws.upbound.io_constraints.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_constraints.yaml @@ -268,6 +268,162 @@ spec: description: Constraint parameters in JSON format. The syntax depends on the constraint type. See details below. type: string + portfolioId: + description: Portfolio identifier. + type: string + portfolioIdRef: + description: Reference to a Portfolio in servicecatalog to populate + portfolioId. + 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 + portfolioIdSelector: + description: Selector for a Portfolio in servicecatalog to populate + portfolioId. + 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 + productId: + description: Product identifier. + type: string + productIdRef: + description: Reference to a Product in servicecatalog to populate + productId. + 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 + productIdSelector: + description: Selector for a Product in servicecatalog to populate + productId. + 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 type: description: Type of constraint. Valid values are LAUNCH, NOTIFICATION, RESOURCE_UPDATE, STACKSET, and TEMPLATE. diff --git a/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml b/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml index 728a533ec0..6c739c0e08 100644 --- a/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml @@ -196,6 +196,84 @@ spec: description: 'Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.' type: string + portfolioId: + description: Portfolio identifier. + type: string + portfolioIdRef: + description: Reference to a Portfolio in servicecatalog to populate + portfolioId. + 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 + portfolioIdSelector: + description: Selector for a Portfolio in servicecatalog to populate + portfolioId. + 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 principalId: description: Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS diff --git a/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml index 4ee602d0de..a2b08da18c 100644 --- a/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml @@ -252,6 +252,158 @@ spec: description: 'Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.' type: string + portfolioId: + description: Portfolio identifier. + type: string + portfolioIdRef: + description: Reference to a Portfolio to populate portfolioId. + 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 + portfolioIdSelector: + description: Selector for a Portfolio to populate portfolioId. + 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 + principalArn: + description: Principal ARN. + type: string + principalArnRef: + description: Reference to a User in iam to populate principalArn. + 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 + principalArnSelector: + description: Selector for a User in iam to populate principalArn. + 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 principalType: description: Principal type. Setting this argument empty (e.g., principal_type = "") will result in an error. Valid values are diff --git a/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml index d649259a53..9dbc57d2d6 100644 --- a/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml @@ -250,6 +250,158 @@ spec: description: 'Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.' type: string + portfolioId: + description: Portfolio identifier. + type: string + portfolioIdRef: + description: Reference to a Portfolio to populate portfolioId. + 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 + portfolioIdSelector: + description: Selector for a Portfolio to populate portfolioId. + 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 + productId: + description: Product identifier. + type: string + productIdRef: + description: Reference to a Product to populate productId. + 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 + productIdSelector: + description: Selector for a Product to populate productId. + 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 sourcePortfolioId: description: Identifier of the source portfolio. type: string diff --git a/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml b/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml index 5c5771f103..fd04bfc4e6 100644 --- a/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml @@ -238,6 +238,84 @@ spec: description: Name of the provisioning artifact (for example, v1, v2beta). No spaces are allowed. type: string + productId: + description: Identifier of the product. + type: string + productIdRef: + description: Reference to a Product in servicecatalog to populate + productId. + 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 + productIdSelector: + description: Selector for a Product in servicecatalog to populate + productId. + 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 templatePhysicalId: description: Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation diff --git a/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml index 6eb5dd919f..866ac5df84 100644 --- a/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml @@ -238,6 +238,159 @@ spec: 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: + resourceId: + description: Resource identifier. + type: string + resourceIdRef: + description: Reference to a Product to populate resourceId. + 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 + resourceIdSelector: + description: Selector for a Product to populate resourceId. + 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 + tagOptionId: + description: Tag Option identifier. + type: string + tagOptionIdRef: + description: Reference to a TagOption to populate tagOptionId. + 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 + tagOptionIdSelector: + description: Selector for a TagOption to populate tagOptionId. + 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 type: object managementPolicies: default: diff --git a/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml b/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml index 24b2dc075d..070e1c70e5 100644 --- a/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml @@ -189,6 +189,83 @@ spec: description: Key-value map of resource tags. type: object x-kubernetes-map-type: granular + vpc: + description: The ID of VPC that you want to associate the namespace + with. + type: string + vpcRef: + description: Reference to a VPC in ec2 to populate vpc. + 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 + vpcSelector: + description: Selector for a VPC in ec2 to populate vpc. + 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 type: object managementPolicies: default: diff --git a/package/crds/servicediscovery.aws.upbound.io_services.yaml b/package/crds/servicediscovery.aws.upbound.io_services.yaml index 43eeed915b..cfc86617d1 100644 --- a/package/crds/servicediscovery.aws.upbound.io_services.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_services.yaml @@ -285,6 +285,87 @@ spec: type: string type: object type: array + namespaceId: + description: The ID of the namespace to use for DNS configuration. + type: string + namespaceIdRef: + description: Reference to a PrivateDNSNamespace in servicediscovery + to populate namespaceId. + 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 + namespaceIdSelector: + description: Selector for a PrivateDNSNamespace in servicediscovery + to populate namespaceId. + 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 routingPolicy: description: 'The routing policy that you want to apply to all records that Route 53 creates when you register diff --git a/package/crds/ses.aws.upbound.io_domainmailfroms.yaml b/package/crds/ses.aws.upbound.io_domainmailfroms.yaml index dae9ecf5a7..aee201c18c 100644 --- a/package/crds/ses.aws.upbound.io_domainmailfroms.yaml +++ b/package/crds/ses.aws.upbound.io_domainmailfroms.yaml @@ -181,6 +181,85 @@ spec: an email. Defaults to UseDefaultValue. See the SES API documentation for more information. type: string + domain: + description: Verified domain name or email identity to generate + DKIM tokens for. + type: string + domainRef: + description: Reference to a DomainIdentity in ses to populate + domain. + 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 + domainSelector: + description: Selector for a DomainIdentity in ses to populate + domain. + 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 mailFromDomain: description: Subdomain (of above domain) which is to be used as MAIL FROM address diff --git a/package/crds/ses.aws.upbound.io_eventdestinations.yaml b/package/crds/ses.aws.upbound.io_eventdestinations.yaml index bcfd5153db..9adb013fd4 100644 --- a/package/crds/ses.aws.upbound.io_eventdestinations.yaml +++ b/package/crds/ses.aws.upbound.io_eventdestinations.yaml @@ -458,12 +458,252 @@ spec: type: string type: object type: array + configurationSetName: + description: The name of the configuration set + type: string + configurationSetNameRef: + description: Reference to a ConfigurationSet in ses to populate + configurationSetName. + 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 + configurationSetNameSelector: + description: Selector for a ConfigurationSet in ses to populate + configurationSetName. + 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 enabled: description: If true, the event destination will be enabled type: boolean kinesisDestination: description: Send the events to a kinesis firehose destination items: + properties: + roleArn: + description: The ARN of the role that has permissions to + access the Kinesis Stream + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 + streamArn: + description: The ARN of the Kinesis Stream + type: string + streamArnRef: + description: Reference to a DeliveryStream in firehose to + populate streamArn. + 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 + streamArnSelector: + description: Selector for a DeliveryStream in firehose to + populate streamArn. + 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 type: object type: array matchingTypes: @@ -476,6 +716,86 @@ spec: snsDestination: description: Send the events to an SNS Topic destination items: + properties: + topicArn: + description: The ARN of the SNS topic + type: string + topicArnRef: + description: Reference to a Topic in sns to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate topicArn. + 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 type: object type: array type: object diff --git a/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml b/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml index 3bc941f072..bb56edb92c 100644 --- a/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml +++ b/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml @@ -253,6 +253,86 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + identity: + description: The identity for which the Amazon SNS topic will + be set. You can specify an identity by using its name or by + using its Amazon Resource Name (ARN). + type: string + identityRef: + description: Reference to a DomainIdentity in ses to populate + identity. + 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 + identitySelector: + description: Selector for a DomainIdentity in ses to populate + identity. + 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 includeOriginalHeaders: description: Whether SES should include original email headers in SNS notifications of this type. false by default. @@ -262,6 +342,83 @@ spec: to the specified Amazon SNS topic. Valid Values: Bounce, Complaint or Delivery.' type: string + topicArn: + description: The Amazon Resource Name (ARN) of the Amazon SNS + topic. Can be set to "" (an empty string) to disable publishing. + type: string + topicArnRef: + description: Reference to a Topic in sns to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate topicArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/ses.aws.upbound.io_identitypolicies.yaml b/package/crds/ses.aws.upbound.io_identitypolicies.yaml index 6a450dfbbe..edd2703561 100644 --- a/package/crds/ses.aws.upbound.io_identitypolicies.yaml +++ b/package/crds/ses.aws.upbound.io_identitypolicies.yaml @@ -170,6 +170,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + identity: + description: Name or Amazon Resource Name (ARN) of the SES Identity. + type: string + identityRef: + description: Reference to a DomainIdentity in ses to populate + identity. + 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 + identitySelector: + description: Selector for a DomainIdentity in ses to populate + identity. + 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 name: description: Name of the policy. type: string diff --git a/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml b/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml index bfe8c2fee5..c0900ad874 100644 --- a/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml +++ b/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml @@ -582,6 +582,84 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + configurationSetName: + description: The name of the configuration set. + type: string + configurationSetNameRef: + description: Reference to a ConfigurationSet in sesv2 to populate + configurationSetName. + 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 + configurationSetNameSelector: + description: Selector for a ConfigurationSet in sesv2 to populate + configurationSetName. + 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 eventDestination: description: A name that identifies the event destination within the configuration set. @@ -630,6 +708,178 @@ spec: Firehose destination for email events. See kinesis_firehose_destination below. items: + properties: + deliveryStreamArn: + description: The Amazon Resource Name (ARN) of the + Amazon Kinesis Data Firehose stream that the Amazon + SES API v2 sends email events to. + type: string + deliveryStreamArnRef: + description: Reference to a DeliveryStream in firehose + to populate deliveryStreamArn. + 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 + deliveryStreamArnSelector: + description: Selector for a DeliveryStream in firehose + to populate deliveryStreamArn. + 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 + iamRoleArn: + description: The Amazon Resource Name (ARN) of the + IAM role that the Amazon SES API v2 uses to send + email events to the Amazon Kinesis Data Firehose + stream. + type: string + iamRoleArnRef: + description: Reference to a Role in iam to populate + iamRoleArn. + 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 + iamRoleArnSelector: + description: Selector for a Role in iam to populate + iamRoleArn. + 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 type: object type: array matchingEventTypes: @@ -645,12 +895,180 @@ spec: destination for email events. See pinpoint_destination below. items: + properties: + applicationArn: + type: string + applicationArnRef: + description: Reference to a App in pinpoint to populate + applicationArn. + 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 + applicationArnSelector: + description: Selector for a App in pinpoint to populate + applicationArn. + 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 type: object type: array snsDestination: description: An object that defines an Amazon SNS destination for email events. See sns_destination below. items: + properties: + topicArn: + description: The Amazon Resource Name (ARN) of the + Amazon SNS topic to publish email events to. + type: string + topicArnRef: + description: Reference to a Topic in sns to populate + topicArn. + 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 + topicArnSelector: + description: Selector for a Topic in sns to populate + topicArn. + 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 type: object type: array type: object diff --git a/package/crds/sesv2.aws.upbound.io_emailidentities.yaml b/package/crds/sesv2.aws.upbound.io_emailidentities.yaml index c9699fbeed..7b48f308f3 100644 --- a/package/crds/sesv2.aws.upbound.io_emailidentities.yaml +++ b/package/crds/sesv2.aws.upbound.io_emailidentities.yaml @@ -208,6 +208,86 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + configurationSetName: + description: The configuration set to use by default when sending + from this identity. Note that any configuration set defined + in the email sending request takes precedence. + type: string + configurationSetNameRef: + description: Reference to a ConfigurationSet in sesv2 to populate + configurationSetName. + 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 + configurationSetNameSelector: + description: Selector for a ConfigurationSet in sesv2 to populate + configurationSetName. + 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 dkimSigningAttributes: description: The configuration of the DKIM authentication settings for an email domain identity. diff --git a/package/crds/sfn.aws.upbound.io_statemachines.yaml b/package/crds/sfn.aws.upbound.io_statemachines.yaml index 1cedf02a09..aebe713016 100644 --- a/package/crds/sfn.aws.upbound.io_statemachines.yaml +++ b/package/crds/sfn.aws.upbound.io_statemachines.yaml @@ -249,6 +249,83 @@ spec: description: 'Set to true to publish a version of the state machine during creation. Default: false.' type: boolean + roleArn: + description: The Amazon Resource Name (ARN) of the IAM role to + use for this state machine. + type: string + roleArnRef: + description: Reference to a Role in iam to populate roleArn. + 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 + roleArnSelector: + description: Selector for a Role in iam to populate roleArn. + 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 diff --git a/package/crds/signer.aws.upbound.io_signingjobs.yaml b/package/crds/signer.aws.upbound.io_signingjobs.yaml index ce6aff0ad9..b7220b4721 100644 --- a/package/crds/signer.aws.upbound.io_signingjobs.yaml +++ b/package/crds/signer.aws.upbound.io_signingjobs.yaml @@ -241,6 +241,84 @@ spec: description: Set this argument to true to ignore signing job failures and retrieve failed status and reason. Default false. type: boolean + profileName: + description: The name of the profile to initiate the signing operation. + type: string + profileNameRef: + description: Reference to a SigningProfile in signer to populate + profileName. + 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 + profileNameSelector: + description: Selector for a SigningProfile in signer to populate + profileName. + 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 source: description: The S3 bucket that contains the object to sign. See Source below for details. diff --git a/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml b/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml index 02e5d31025..0a12a866ac 100644 --- a/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml +++ b/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml @@ -267,6 +267,85 @@ spec: principal: description: The AWS principal to be granted a cross-account permission. type: string + profileVersion: + description: The signing profile version that a permission applies + to. + type: string + profileVersionRef: + description: Reference to a SigningProfile in signer to populate + profileVersion. + 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 + profileVersionSelector: + description: Selector for a SigningProfile in signer to populate + profileVersion. + 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 statementIdPrefix: description: A statement identifier prefix. Conflicts with statement_id. type: string diff --git a/package/crds/sns.aws.upbound.io_platformapplications.yaml b/package/crds/sns.aws.upbound.io_platformapplications.yaml index 1aa96ac271..d4f184d25e 100644 --- a/package/crds/sns.aws.upbound.io_platformapplications.yaml +++ b/package/crds/sns.aws.upbound.io_platformapplications.yaml @@ -338,10 +338,166 @@ spec: description: The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application. type: string + failureFeedbackRoleArn: + description: The IAM role ARN permitted to receive failure feedback + for this application and give SNS write access to use CloudWatch + logs on your behalf. + type: string + failureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate failureFeedbackRoleArn. + 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 + failureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate failureFeedbackRoleArn. + 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 platform: description: The platform that the app is registered with. See Platform for supported platforms. type: string + successFeedbackRoleArn: + description: The IAM role ARN permitted to receive success feedback + for this application and give SNS write access to use CloudWatch + logs on your behalf. + type: string + successFeedbackRoleArnRef: + description: Reference to a Role in iam to populate successFeedbackRoleArn. + 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 + successFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate successFeedbackRoleArn. + 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 successFeedbackSampleRate: description: The sample rate percentage (0-100) of successfully delivered messages. diff --git a/package/crds/sns.aws.upbound.io_smspreferences.yaml b/package/crds/sns.aws.upbound.io_smspreferences.yaml index ba846d6d28..c047eb30d7 100644 --- a/package/crds/sns.aws.upbound.io_smspreferences.yaml +++ b/package/crds/sns.aws.upbound.io_smspreferences.yaml @@ -192,6 +192,83 @@ spec: description: 'The type of SMS message that you will send by default. Possible values are: Promotional, Transactional' type: string + deliveryStatusIamRoleArn: + description: The ARN of the IAM role that allows Amazon SNS to + write logs about SMS deliveries in CloudWatch Logs. + type: string + deliveryStatusIamRoleArnRef: + description: Reference to a Role in iam to populate deliveryStatusIamRoleArn. + 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 + deliveryStatusIamRoleArnSelector: + description: Selector for a Role in iam to populate deliveryStatusIamRoleArn. + 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 deliveryStatusSuccessSamplingRate: description: The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must diff --git a/package/crds/sns.aws.upbound.io_topicpolicies.yaml b/package/crds/sns.aws.upbound.io_topicpolicies.yaml index b6e348bbf4..616aa20315 100644 --- a/package/crds/sns.aws.upbound.io_topicpolicies.yaml +++ b/package/crds/sns.aws.upbound.io_topicpolicies.yaml @@ -165,6 +165,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + arn: + description: The ARN of the SNS topic + type: string + arnRef: + description: Reference to a Topic in sns to populate arn. + 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 + arnSelector: + description: Selector for a Topic in sns to populate arn. + 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 policy: description: The fully-formed AWS policy as JSON. type: string diff --git a/package/crds/sns.aws.upbound.io_topics.yaml b/package/crds/sns.aws.upbound.io_topics.yaml index a4094f77a0..5fcac6e5c1 100644 --- a/package/crds/sns.aws.upbound.io_topics.yaml +++ b/package/crds/sns.aws.upbound.io_topics.yaml @@ -910,6 +910,159 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + applicationFailureFeedbackRoleArn: + description: IAM role for failure feedback + type: string + applicationFailureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate applicationFailureFeedbackRoleArn. + 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 + applicationFailureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate applicationFailureFeedbackRoleArn. + 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 + applicationSuccessFeedbackRoleArn: + description: The IAM role permitted to receive success feedback + for this topic + type: string + applicationSuccessFeedbackRoleArnRef: + description: Reference to a Role in iam to populate applicationSuccessFeedbackRoleArn. + 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 + applicationSuccessFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate applicationSuccessFeedbackRoleArn. + 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 applicationSuccessFeedbackSampleRate: description: Percentage of success to sample type: number @@ -932,30 +1085,642 @@ spec: description: Boolean indicating whether or not to create a FIFO (first-in-first-out) topic (default is false). type: boolean - firehoseSuccessFeedbackSampleRate: - description: Percentage of success to sample - type: number - httpSuccessFeedbackSampleRate: - description: Percentage of success to sample - type: number - kmsMasterKeyId: - description: The ID of an AWS-managed customer master key (CMK) - for Amazon SNS or a custom CMK. For more information, see Key - Terms + firehoseFailureFeedbackRoleArn: + description: IAM role for failure feedback type: string - lambdaSuccessFeedbackSampleRate: - description: Percentage of success to sample - type: number - policy: - description: The fully-formed AWS policy as JSON. + firehoseFailureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate firehoseFailureFeedbackRoleArn. + 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 + firehoseFailureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate firehoseFailureFeedbackRoleArn. + 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 + firehoseSuccessFeedbackRoleArn: + description: The IAM role permitted to receive success feedback + for this topic type: string - signatureVersion: - description: If SignatureVersion should be 1 (SHA1) or 2 (SHA256). - The signature version corresponds to the hashing algorithm used - while creating the signature of the notifications, subscription - confirmations, or unsubscribe confirmation messages sent by - Amazon SNS. - type: number + firehoseSuccessFeedbackRoleArnRef: + description: Reference to a Role in iam to populate firehoseSuccessFeedbackRoleArn. + 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 + firehoseSuccessFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate firehoseSuccessFeedbackRoleArn. + 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 + firehoseSuccessFeedbackSampleRate: + description: Percentage of success to sample + type: number + httpFailureFeedbackRoleArn: + description: IAM role for failure feedback + type: string + httpFailureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate httpFailureFeedbackRoleArn. + 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 + httpFailureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate httpFailureFeedbackRoleArn. + 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 + httpSuccessFeedbackRoleArn: + description: The IAM role permitted to receive success feedback + for this topic + type: string + httpSuccessFeedbackRoleArnRef: + description: Reference to a Role in iam to populate httpSuccessFeedbackRoleArn. + 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 + httpSuccessFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate httpSuccessFeedbackRoleArn. + 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 + httpSuccessFeedbackSampleRate: + description: Percentage of success to sample + type: number + kmsMasterKeyId: + description: The ID of an AWS-managed customer master key (CMK) + for Amazon SNS or a custom CMK. For more information, see Key + Terms + type: string + lambdaFailureFeedbackRoleArn: + description: IAM role for failure feedback + type: string + lambdaFailureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate lambdaFailureFeedbackRoleArn. + 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 + lambdaFailureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate lambdaFailureFeedbackRoleArn. + 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 + lambdaSuccessFeedbackRoleArn: + description: The IAM role permitted to receive success feedback + for this topic + type: string + lambdaSuccessFeedbackRoleArnRef: + description: Reference to a Role in iam to populate lambdaSuccessFeedbackRoleArn. + 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 + lambdaSuccessFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate lambdaSuccessFeedbackRoleArn. + 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 + lambdaSuccessFeedbackSampleRate: + description: Percentage of success to sample + type: number + policy: + description: The fully-formed AWS policy as JSON. + type: string + signatureVersion: + description: If SignatureVersion should be 1 (SHA1) or 2 (SHA256). + The signature version corresponds to the hashing algorithm used + while creating the signature of the notifications, subscription + confirmations, or unsubscribe confirmation messages sent by + Amazon SNS. + type: number + sqsFailureFeedbackRoleArn: + description: IAM role for failure feedback + type: string + sqsFailureFeedbackRoleArnRef: + description: Reference to a Role in iam to populate sqsFailureFeedbackRoleArn. + 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 + sqsFailureFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate sqsFailureFeedbackRoleArn. + 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 + sqsSuccessFeedbackRoleArn: + description: The IAM role permitted to receive success feedback + for this topic + type: string + sqsSuccessFeedbackRoleArnRef: + description: Reference to a Role in iam to populate sqsSuccessFeedbackRoleArn. + 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 + sqsSuccessFeedbackRoleArnSelector: + description: Selector for a Role in iam to populate sqsSuccessFeedbackRoleArn. + 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 sqsSuccessFeedbackSampleRate: description: Percentage of success to sample type: number diff --git a/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml b/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml index 78e3ee222c..56dc6102a6 100644 --- a/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml +++ b/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml @@ -369,10 +369,87 @@ spec: etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the SNS docs for more details. type: string + endpoint: + description: Endpoint to send data to. The contents vary with + the protocol. See details below. + type: string endpointAutoConfirms: description: Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false. type: boolean + endpointRef: + description: Reference to a Queue in sqs to populate endpoint. + 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 + endpointSelector: + description: Selector for a Queue in sqs to populate endpoint. + 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 filterPolicy: description: JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. @@ -402,6 +479,159 @@ spec: that will be used in the subscription. Refer to the SNS docs for more details. type: string + subscriptionRoleArn: + description: ARN of the IAM role to publish to Kinesis Data Firehose + delivery stream. Refer to SNS docs. + type: string + subscriptionRoleArnRef: + description: Reference to a Role in iam to populate subscriptionRoleArn. + 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 + subscriptionRoleArnSelector: + description: Selector for a Role in iam to populate subscriptionRoleArn. + 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 + topicArn: + description: ARN of the SNS topic to subscribe to. + type: string + topicArnRef: + description: Reference to a Topic to populate topicArn. + 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 + topicArnSelector: + description: Selector for a Topic to populate topicArn. + 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 type: object managementPolicies: default: diff --git a/package/crds/sqs.aws.upbound.io_queuepolicies.yaml b/package/crds/sqs.aws.upbound.io_queuepolicies.yaml index 28a866a89e..2bd80332cb 100644 --- a/package/crds/sqs.aws.upbound.io_queuepolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queuepolicies.yaml @@ -168,6 +168,82 @@ spec: policy: description: The JSON policy for the SQS queue. type: string + queueUrl: + description: The URL of the SQS Queue to which to attach the policy + type: string + queueUrlRef: + description: Reference to a Queue in sqs to populate queueUrl. + 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 + queueUrlSelector: + description: Selector for a Queue in sqs to populate queueUrl. + 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 type: object managementPolicies: default: diff --git a/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml b/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml index e94716b99c..b8235267ab 100644 --- a/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml @@ -167,6 +167,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + queueUrl: + description: The URL of the SQS Queue to which to attach the policy + type: string + queueUrlRef: + description: Reference to a Queue in sqs to populate queueUrl. + 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 + queueUrlSelector: + description: Selector for a Queue in sqs to populate queueUrl. + 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 redriveAllowPolicy: description: The JSON redrive allow policy for the SQS queue. Learn more in the Amazon SQS dead-letter queues documentation. diff --git a/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml b/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml index 22b21d4bf5..72f25ac105 100644 --- a/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml @@ -167,6 +167,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + queueUrl: + description: The URL of the SQS Queue to which to attach the policy + type: string + queueUrlRef: + description: Reference to a Queue in sqs to populate queueUrl. + 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 + queueUrlSelector: + description: Selector for a Queue in sqs to populate queueUrl. + 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 redrivePolicy: description: 'The JSON redrive policy for the SQS queue. Accepts two key/val pairs: deadLetterTargetArn and maxReceiveCount. diff --git a/package/crds/ssm.aws.upbound.io_activations.yaml b/package/crds/ssm.aws.upbound.io_activations.yaml index 7c749a3aa1..212d879077 100644 --- a/package/crds/ssm.aws.upbound.io_activations.yaml +++ b/package/crds/ssm.aws.upbound.io_activations.yaml @@ -194,6 +194,82 @@ spec: request should expire. The default value is 24 hours from resource creation time. type: string + iamRole: + description: The IAM Role to attach to the managed instance. + type: string + iamRoleRef: + description: Reference to a Role in iam to populate iamRole. + 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 + iamRoleSelector: + description: Selector for a Role in iam to populate iamRole. + 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 name: description: The default name of the registered managed instance. type: string diff --git a/package/crds/ssm.aws.upbound.io_associations.yaml b/package/crds/ssm.aws.upbound.io_associations.yaml index 4769d15553..7161a859f0 100644 --- a/package/crds/ssm.aws.upbound.io_associations.yaml +++ b/package/crds/ssm.aws.upbound.io_associations.yaml @@ -305,6 +305,82 @@ spec: If you specify a threshold of 10% for 50 associations, the stop command is sent when the sixth error is returned. type: string + name: + description: The name of the SSM document to apply. + type: string + nameRef: + description: Reference to a Document in ssm to populate name. + 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 + nameSelector: + description: Selector for a Document in ssm to populate name. + 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 outputLocation: description: An output location block. Output Location is documented below. diff --git a/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml b/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml index 57f59de453..6f50a7aa7c 100644 --- a/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml +++ b/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml @@ -242,6 +242,164 @@ spec: 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: + baselineId: + description: ID of the patch baseline. Can be an ID or an ARN. + When specifying an AWS-provided patch baseline, must be the + ARN. + type: string + baselineIdRef: + description: Reference to a PatchBaseline in ssm to populate baselineId. + 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 + baselineIdSelector: + description: Selector for a PatchBaseline in ssm to populate baselineId. + 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 + operatingSystem: + description: The operating system the patch baseline applies to. + Valid values are AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, + CENTOS, DEBIAN, MACOS, ORACLE_LINUX, RASPBIAN, REDHAT_ENTERPRISE_LINUX, + ROCKY_LINUX, SUSE, UBUNTU, and WINDOWS. + type: string + operatingSystemRef: + description: Reference to a PatchBaseline in ssm to populate operatingSystem. + 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 + operatingSystemSelector: + description: Selector for a PatchBaseline in ssm to populate operatingSystem. + 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 type: object managementPolicies: default: diff --git a/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml b/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml index 9e8cf20ada..70673e138e 100644 --- a/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml +++ b/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml @@ -228,6 +228,85 @@ spec: type: array type: object type: array + windowId: + description: The Id of the maintenance window to register the + target with. + type: string + windowIdRef: + description: Reference to a MaintenanceWindow in ssm to populate + windowId. + 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 + windowIdSelector: + description: Selector for a MaintenanceWindow in ssm to populate + windowId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml b/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml index d01fcdd265..a6f5e31cda 100644 --- a/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml +++ b/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml @@ -833,6 +833,85 @@ spec: Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. type: number + serviceRoleArn: + description: The role that should be assumed when executing the + task. If a role is not provided, Systems Manager uses your account's + service-linked role. If no service-linked role for Systems Manager + exists in your account, it is created for you. + type: string + serviceRoleArnRef: + description: Reference to a Role in iam to populate serviceRoleArn. + 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 + serviceRoleArnSelector: + description: Selector for a Role in iam to populate serviceRoleArn. + 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 targets: description: The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. @@ -849,6 +928,82 @@ spec: type: array type: object type: array + taskArn: + description: The ARN of the task to execute. + type: string + taskArnRef: + description: Reference to a Function in lambda to populate taskArn. + 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 + taskArnSelector: + description: Selector for a Function in lambda to populate taskArn. + 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 taskInvocationParameters: description: Configuration block with parameters for task execution. items: @@ -941,6 +1096,96 @@ spec: Documented below. items: properties: + notificationArn: + description: An Amazon Resource Name (ARN) for + a Simple Notification Service (SNS) topic. + Run Command pushes notifications about command + status changes to this topic. + type: string + notificationArnRef: + description: Reference to a Topic in sns to + populate notificationArn. + 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 + notificationArnSelector: + description: Selector for a Topic in sns to + populate notificationArn. + 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 notificationEvents: description: 'The different events for which you can receive notifications. Valid values: @@ -960,6 +1205,89 @@ spec: type: string type: object type: array + outputS3Bucket: + description: The name of the Amazon S3 bucket. + type: string + outputS3BucketRef: + description: Reference to a Bucket in s3 to populate + outputS3Bucket. + 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 + outputS3BucketSelector: + description: Selector for a Bucket in s3 to populate + outputS3Bucket. + 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 outputS3KeyPrefix: description: The Amazon S3 bucket subfolder. type: string @@ -979,6 +1307,93 @@ spec: type: array type: object type: array + serviceRoleArn: + description: The role that should be assumed when + executing the task. If a role is not provided, Systems + Manager uses your account's service-linked role. + If no service-linked role for Systems Manager exists + in your account, it is created for you. + type: string + serviceRoleArnRef: + description: Reference to a Role in iam to populate + serviceRoleArn. + 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 + serviceRoleArnSelector: + description: Selector for a Role in iam to populate + serviceRoleArn. + 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 timeoutSeconds: description: If this time is reached and the command has not already started executing, it doesn't run. @@ -1001,6 +1416,85 @@ spec: description: 'The type of task being registered. Valid values: AUTOMATION, LAMBDA, RUN_COMMAND or STEP_FUNCTIONS.' type: string + windowId: + description: The Id of the maintenance window to register the + task with. + type: string + windowIdRef: + description: Reference to a MaintenanceWindow in ssm to populate + windowId. + 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 + windowIdSelector: + description: Selector for a MaintenanceWindow in ssm to populate + windowId. + 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 type: object managementPolicies: default: diff --git a/package/crds/ssm.aws.upbound.io_patchgroups.yaml b/package/crds/ssm.aws.upbound.io_patchgroups.yaml index 602ebd15ea..9183d8851e 100644 --- a/package/crds/ssm.aws.upbound.io_patchgroups.yaml +++ b/package/crds/ssm.aws.upbound.io_patchgroups.yaml @@ -167,6 +167,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + baselineId: + description: The ID of the patch baseline to register the patch + group with. + type: string + baselineIdRef: + description: Reference to a PatchBaseline in ssm to populate baselineId. + 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 + baselineIdSelector: + description: Selector for a PatchBaseline in ssm to populate baselineId. + 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 patchGroup: description: The name of the patch group that should be registered with the patch baseline. diff --git a/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml b/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml index 05ba8e90d6..bae8f74530 100644 --- a/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml +++ b/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml @@ -268,6 +268,86 @@ spec: description: Amazon S3 configuration details for the sync. items: properties: + bucketName: + description: Name of S3 bucket where the aggregated data + is stored. + type: string + bucketNameRef: + description: Reference to a Bucket in s3 to populate bucketName. + 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 + bucketNameSelector: + description: Selector for a Bucket in s3 to populate bucketName. + 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 kmsKeyArn: description: ARN of an encryption key for a destination in Amazon S3. diff --git a/package/crds/ssoadmin.aws.upbound.io_customermanagedpolicyattachments.yaml b/package/crds/ssoadmin.aws.upbound.io_customermanagedpolicyattachments.yaml index b388ef2660..bd8ea604ad 100644 --- a/package/crds/ssoadmin.aws.upbound.io_customermanagedpolicyattachments.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_customermanagedpolicyattachments.yaml @@ -268,10 +268,90 @@ spec: policy. See below. items: properties: + name: + description: Name of the customer managed IAM Policy to + be attached. + type: string path: description: The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information. type: string + policyNameRef: + description: Reference to a Policy in iam to populate name. + 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 + policyNameSelector: + description: Selector for a Policy in iam to populate name. + 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 type: object type: array type: object diff --git a/package/crds/ssoadmin.aws.upbound.io_permissionsboundaryattachments.yaml b/package/crds/ssoadmin.aws.upbound.io_permissionsboundaryattachments.yaml index 2f5889d2bc..f6b5348bd7 100644 --- a/package/crds/ssoadmin.aws.upbound.io_permissionsboundaryattachments.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_permissionsboundaryattachments.yaml @@ -286,6 +286,90 @@ spec: policy. See below. items: properties: + name: + description: Name of the customer managed IAM Policy + to be attached. + type: string + nameRef: + description: Reference to a Policy in iam to populate + name. + 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 + nameSelector: + description: Selector for a Policy in iam to populate + name. + 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 path: description: The path to the IAM policy to be attached. The default is /. See IAM Identifiers for more information. diff --git a/package/crds/timestreamwrite.aws.upbound.io_databases.yaml b/package/crds/timestreamwrite.aws.upbound.io_databases.yaml index b68b0e1f74..5467044f74 100644 --- a/package/crds/timestreamwrite.aws.upbound.io_databases.yaml +++ b/package/crds/timestreamwrite.aws.upbound.io_databases.yaml @@ -172,6 +172,86 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + kmsKeyId: + description: The ARN (not Alias ARN) of the KMS key to be used + to encrypt the data stored in the database. If the KMS key is + not specified, the database will be encrypted with a Timestream + managed KMS key located in your account. Refer to AWS managed + KMS keys for more info. + type: string + kmsKeyIdRef: + description: Reference to a Key in kms to populate kmsKeyId. + 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 + kmsKeyIdSelector: + description: Selector for a Key in kms to populate kmsKeyId. + 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 diff --git a/package/crds/transcribe.aws.upbound.io_languagemodels.yaml b/package/crds/transcribe.aws.upbound.io_languagemodels.yaml index 7d6fc9679e..24f91c0da8 100644 --- a/package/crds/transcribe.aws.upbound.io_languagemodels.yaml +++ b/package/crds/transcribe.aws.upbound.io_languagemodels.yaml @@ -198,6 +198,85 @@ spec: Input Data Config for more details. items: properties: + dataAccessRoleArn: + description: IAM role with access to S3 bucket. + type: string + dataAccessRoleArnRef: + description: Reference to a Role in iam to populate dataAccessRoleArn. + 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 + dataAccessRoleArnSelector: + description: Selector for a Role in iam to populate dataAccessRoleArn. + 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 s3Uri: description: S3 URI where training data is located. type: string diff --git a/package/crds/transfer.aws.upbound.io_servers.yaml b/package/crds/transfer.aws.upbound.io_servers.yaml index 2b5f387ef2..0a11a989dc 100644 --- a/package/crds/transfer.aws.upbound.io_servers.yaml +++ b/package/crds/transfer.aws.upbound.io_servers.yaml @@ -647,6 +647,161 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + certificate: + description: The Amazon Resource Name (ARN) of the AWS Certificate + Manager (ACM) certificate. This is required when protocols is + set to FTPS + type: string + certificateRef: + description: Reference to a Certificate in acm to populate certificate. + 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 + certificateSelector: + description: Selector for a Certificate in acm to populate certificate. + 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 + directoryId: + description: The directory service ID of the directory service + you want to connect to with an identity_provider_type of AWS_DIRECTORY_SERVICE. + type: string + directoryIdRef: + description: Reference to a Directory in ds to populate directoryId. + 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 + directoryIdSelector: + description: Selector for a Directory in ds to populate directoryId. + 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 domain: description: 'The domain of the storage system that is used for file transfers. Valid values are: S3 and EFS. The default value @@ -689,6 +844,88 @@ spec: description: The ID of the VPC endpoint. This property can only be used when endpoint_type is set to VPC_ENDPOINT type: string + vpcId: + description: The VPC ID of the virtual private cloud in + which the SFTP server's endpoint will be hosted. This + property can only be used when endpoint_type is set to + VPC. + type: string + vpcIdRef: + description: Reference to a VPC in ec2 to populate vpcId. + 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 + vpcIdSelector: + description: Selector for a VPC in ec2 to populate vpcId. + 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 type: object type: array endpointType: @@ -727,6 +964,84 @@ spec: authenticate the user account with an identity_provider_type of API_GATEWAY. type: string + loggingRole: + description: Amazon Resource Name (ARN) of an IAM role that allows + the service to write your SFTP users’ activity to your Amazon + CloudWatch logs for monitoring and auditing purposes. + type: string + loggingRoleRef: + description: Reference to a Role in iam to populate loggingRole. + 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 + loggingRoleSelector: + description: Selector for a Role in iam to populate loggingRole. + 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 protocolDetails: description: The protocol settings that are configured for your server. diff --git a/package/crds/transfer.aws.upbound.io_sshkeys.yaml b/package/crds/transfer.aws.upbound.io_sshkeys.yaml index 18a41a693c..2a3258ea0e 100644 --- a/package/crds/transfer.aws.upbound.io_sshkeys.yaml +++ b/package/crds/transfer.aws.upbound.io_sshkeys.yaml @@ -248,6 +248,160 @@ spec: description: (Requirement) The public key portion of an SSH key pair. type: string + serverId: + description: (Requirement) The Server ID of the Transfer Server + (e.g., s-12345678) + type: string + serverIdRef: + description: Reference to a Server in transfer to populate serverId. + 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 + serverIdSelector: + description: Selector for a Server in transfer to populate serverId. + 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 + userName: + description: (Requirement) The name of the user account that is + assigned to one or more servers. + type: string + userNameRef: + description: Reference to a User in transfer to populate userName. + 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 + userNameSelector: + description: Selector for a User in transfer to populate userName. + 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 type: object managementPolicies: default: diff --git a/package/crds/transfer.aws.upbound.io_tags.yaml b/package/crds/transfer.aws.upbound.io_tags.yaml index 8283e366be..a7f4c9a12f 100644 --- a/package/crds/transfer.aws.upbound.io_tags.yaml +++ b/package/crds/transfer.aws.upbound.io_tags.yaml @@ -172,6 +172,83 @@ spec: key: description: Tag name. type: string + resourceArn: + description: Amazon Resource Name (ARN) of the Transfer Family + resource to tag. + type: string + resourceArnRef: + description: Reference to a Server in transfer to populate resourceArn. + 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 + resourceArnSelector: + description: Selector for a Server in transfer to populate resourceArn. + 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 value: description: Tag value. type: string diff --git a/package/crds/transfer.aws.upbound.io_users.yaml b/package/crds/transfer.aws.upbound.io_users.yaml index 8cbbc83a89..b8f03377cb 100644 --- a/package/crds/transfer.aws.upbound.io_users.yaml +++ b/package/crds/transfer.aws.upbound.io_users.yaml @@ -364,6 +364,160 @@ spec: type: number type: object type: array + role: + description: Amazon Resource Name (ARN) of an IAM role that allows + the service to control your user’s access to your Amazon S3 + bucket. + type: string + roleRef: + description: Reference to a Role in iam to populate role. + 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 + roleSelector: + description: Selector for a Role in iam to populate role. + 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 + serverId: + description: The Server ID of the Transfer Server (e.g., s-12345678) + type: string + serverIdRef: + description: Reference to a Server to populate serverId. + 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 + serverIdSelector: + description: Selector for a Server to populate serverId. + 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 diff --git a/package/crds/transfer.aws.upbound.io_workflows.yaml b/package/crds/transfer.aws.upbound.io_workflows.yaml index 93900b2334..a89db7ca20 100644 --- a/package/crds/transfer.aws.upbound.io_workflows.yaml +++ b/package/crds/transfer.aws.upbound.io_workflows.yaml @@ -956,6 +956,90 @@ spec: ${original.file} to use the originally-uploaded file location as input for this step.' type: string + target: + description: The ARN for the lambda function that + is being called. + type: string + targetRef: + description: Reference to a Function in lambda to + populate target. + 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 + targetSelector: + description: Selector for a Function in lambda to + populate target. + 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 timeoutSeconds: description: Timeout, in seconds, for the step. type: number diff --git a/package/crds/waf.aws.upbound.io_ratebasedrules.yaml b/package/crds/waf.aws.upbound.io_ratebasedrules.yaml index 2ca23dcc89..9e5569a581 100644 --- a/package/crds/waf.aws.upbound.io_ratebasedrules.yaml +++ b/package/crds/waf.aws.upbound.io_ratebasedrules.yaml @@ -219,6 +219,86 @@ spec: description: The objects to include in a rule (documented below). items: properties: + dataId: + description: A unique identifier for a predicate in the + rule, such as Byte Match Set ID or IPSet ID. + type: string + dataIdRef: + description: Reference to a IPSet in waf to populate dataId. + 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 + dataIdSelector: + description: Selector for a IPSet in waf to populate dataId. + 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 negated: description: Set this to false if you want to allow, block, or count requests based on the settings in the specified diff --git a/package/crds/waf.aws.upbound.io_regexmatchsets.yaml b/package/crds/waf.aws.upbound.io_regexmatchsets.yaml index a87396bb3b..6ecaafac60 100644 --- a/package/crds/waf.aws.upbound.io_regexmatchsets.yaml +++ b/package/crds/waf.aws.upbound.io_regexmatchsets.yaml @@ -231,6 +231,87 @@ spec: type: string type: object type: array + regexPatternSetId: + description: The ID of a Regex Pattern Set. + type: string + regexPatternSetIdRef: + description: Reference to a RegexPatternSet in waf to populate + regexPatternSetId. + 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 + regexPatternSetIdSelector: + description: Selector for a RegexPatternSet in waf to populate + regexPatternSetId. + 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 textTransformation: description: Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort diff --git a/package/crds/waf.aws.upbound.io_rules.yaml b/package/crds/waf.aws.upbound.io_rules.yaml index b355c230e5..f37aadb410 100644 --- a/package/crds/waf.aws.upbound.io_rules.yaml +++ b/package/crds/waf.aws.upbound.io_rules.yaml @@ -213,6 +213,86 @@ spec: description: The objects to include in a rule (documented below). items: properties: + dataId: + description: A unique identifier for a predicate in the + rule, such as Byte Match Set ID or IPSet ID. + type: string + dataIdRef: + description: Reference to a IPSet in waf to populate dataId. + 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 + dataIdSelector: + description: Selector for a IPSet in waf to populate dataId. + 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 negated: description: Set this to false if you want to allow, block, or count requests based on the settings in the specified diff --git a/package/crds/waf.aws.upbound.io_webacls.yaml b/package/crds/waf.aws.upbound.io_webacls.yaml index 26cd210a0d..82361b2533 100644 --- a/package/crds/waf.aws.upbound.io_webacls.yaml +++ b/package/crds/waf.aws.upbound.io_webacls.yaml @@ -368,6 +368,88 @@ spec: below. items: properties: + logDestination: + description: Amazon Resource Name (ARN) of Kinesis Firehose + Delivery Stream + type: string + logDestinationRef: + description: Reference to a DeliveryStream in firehose to + populate logDestination. + 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 + logDestinationSelector: + description: Selector for a DeliveryStream in firehose to + populate logDestination. + 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 redactedFields: description: Configuration block containing parts of the request that you want redacted from the logs. Detailed @@ -435,6 +517,86 @@ spec: WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value. type: number + ruleId: + description: ID of the associated WAF (Global) rule (e.g., + aws_waf_rule). WAF (Regional) rules cannot be used. + type: string + ruleIdRef: + description: Reference to a Rule in waf to populate ruleId. + 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 + ruleIdSelector: + description: Selector for a Rule in waf to populate ruleId. + 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 type: description: The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, diff --git a/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml b/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml index a5073b505f..b6ad3bf32f 100644 --- a/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml +++ b/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml @@ -221,6 +221,88 @@ spec: description: The objects to include in a rule (documented below). items: properties: + dataId: + description: A unique identifier for a predicate in the + rule, such as Byte Match Set ID or IPSet ID. + type: string + dataIdRef: + description: Reference to a IPSet in wafregional to populate + dataId. + 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 + dataIdSelector: + description: Selector for a IPSet in wafregional to populate + dataId. + 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 negated: description: Set this to false if you want to allow, block, or count requests based on the settings in the specified diff --git a/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml b/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml index f610c21a96..fd7d0674d0 100644 --- a/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml @@ -231,6 +231,87 @@ spec: type: string type: object type: array + regexPatternSetId: + description: The ID of a Regex Pattern Set. + type: string + regexPatternSetIdRef: + description: Reference to a RegexPatternSet in wafregional + to populate regexPatternSetId. + 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 + regexPatternSetIdSelector: + description: Selector for a RegexPatternSet in wafregional + to populate regexPatternSetId. + 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 textTransformation: description: Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort diff --git a/package/crds/wafregional.aws.upbound.io_rules.yaml b/package/crds/wafregional.aws.upbound.io_rules.yaml index 798f0de68f..12162ae5e3 100644 --- a/package/crds/wafregional.aws.upbound.io_rules.yaml +++ b/package/crds/wafregional.aws.upbound.io_rules.yaml @@ -207,6 +207,88 @@ spec: description: The objects to include in a rule (documented below). items: properties: + dataId: + description: The unique identifier of a predicate, such + as the ID of a ByteMatchSet or IPSet. + type: string + dataIdRef: + description: Reference to a IPSet in wafregional to populate + dataId. + 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 + dataIdSelector: + description: Selector for a IPSet in wafregional to populate + dataId. + 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 negated: description: Whether to use the settings or the negated settings that you specified in the objects. diff --git a/package/crds/wafregional.aws.upbound.io_webacls.yaml b/package/crds/wafregional.aws.upbound.io_webacls.yaml index 535846e2cc..21374a7063 100644 --- a/package/crds/wafregional.aws.upbound.io_webacls.yaml +++ b/package/crds/wafregional.aws.upbound.io_webacls.yaml @@ -380,6 +380,88 @@ spec: below. items: properties: + logDestination: + description: Amazon Resource Name (ARN) of Kinesis Firehose + Delivery Stream + type: string + logDestinationRef: + description: Reference to a DeliveryStream in firehose to + populate logDestination. + 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 + logDestinationSelector: + description: Selector for a DeliveryStream in firehose to + populate logDestination. + 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 redactedFields: description: Configuration block containing parts of the request that you want redacted from the logs. Detailed @@ -459,6 +541,88 @@ spec: WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value. type: number + ruleId: + description: ID of the associated WAF (Regional) rule (e.g., + aws_wafregional_rule). WAF (Global) rules cannot be used. + type: string + ruleIdRef: + description: Reference to a Rule in wafregional to populate + ruleId. + 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 + ruleIdSelector: + description: Selector for a Rule in wafregional to populate + ruleId. + 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 type: description: The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, diff --git a/package/crds/workspaces.aws.upbound.io_directories.yaml b/package/crds/workspaces.aws.upbound.io_directories.yaml index 594200c85e..4a8969d415 100644 --- a/package/crds/workspaces.aws.upbound.io_directories.yaml +++ b/package/crds/workspaces.aws.upbound.io_directories.yaml @@ -436,6 +436,83 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + directoryId: + description: The directory identifier for registration in WorkSpaces + service. + type: string + directoryIdRef: + description: Reference to a Directory in ds to populate directoryId. + 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 + directoryIdSelector: + description: Selector for a Directory in ds to populate directoryId. + 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 ipGroupIds: description: The identifiers of the IP access control groups associated with the directory. @@ -472,6 +549,90 @@ spec: type: boolean type: object type: array + subnetIdRefs: + description: References to Subnet in ec2 to populate subnetIds. + items: + description: A Reference to a named object. + 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 + type: array + subnetIdSelector: + description: Selector for a list of Subnet in ec2 to populate + subnetIds. + 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 + subnetIds: + description: The identifiers of the subnets where the directory + resides. + items: + type: string + type: array + x-kubernetes-list-type: set tags: additionalProperties: type: string @@ -522,6 +683,89 @@ spec: WorkSpaces. Defined below. items: properties: + customSecurityGroupId: + description: – The identifier of your custom security group. + Should relate to the same VPC, where workspaces reside + in. + type: string + customSecurityGroupIdRef: + description: Reference to a SecurityGroup in ec2 to populate + customSecurityGroupId. + 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 + customSecurityGroupIdSelector: + description: Selector for a SecurityGroup in ec2 to populate + customSecurityGroupId. + 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 defaultOu: description: – The default organizational unit (OU) for your WorkSpace directories. Should conform "OU=,DC=,...,DC=" diff --git a/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml b/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml index bcaa848874..3431dac155 100644 --- a/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml +++ b/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml @@ -166,6 +166,82 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + keyId: + description: An AWS KMS customer master key (CMK) ARN. + type: string + keyIdRef: + description: Reference to a Key in kms to populate keyId. + 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 + keyIdSelector: + description: Selector for a Key in kms to populate keyId. + 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 type: description: The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.