diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_agentruntime_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_agentruntime_types.go index 4e4721947c..25f5b507d4 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_agentruntime_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_agentruntime_types.go @@ -550,8 +550,18 @@ type CustomJwtAuthorizerParameters struct { type EFSAccessPointInitParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/efs/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.Reference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` } @@ -568,8 +578,18 @@ type EFSAccessPointObservation struct { type EFSAccessPointParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/efs/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.Reference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. // +kubebuilder:validation:Optional - AccessPointArn *string `json:"accessPointArn" tf:"access_point_arn,omitempty"` + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). // +kubebuilder:validation:Optional @@ -1036,8 +1056,18 @@ type RequestHeaderConfigurationParameters struct { type S3FilesAccessPointInitParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/s3control/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() 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:"-"` + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` } @@ -1054,8 +1084,18 @@ type S3FilesAccessPointObservation struct { type S3FilesAccessPointParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/s3control/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + 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 - AccessPointArn *string `json:"accessPointArn" tf:"access_point_arn,omitempty"` + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). // +kubebuilder:validation:Optional diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_browser_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_browser_types.go index 671377bdf0..129a640833 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_browser_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_browser_types.go @@ -408,7 +408,17 @@ type S3LocationParameters struct { type SecretsManagerInitParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() 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 SecretsManagerObservation struct { @@ -420,8 +430,18 @@ type SecretsManagerObservation struct { type SecretsManagerParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + 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 - SecretArn *string `json:"secretArn" tf:"secret_arn,omitempty"` + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` } type VPCConfigInitParameters struct { diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go index 0fee98c4a6..15364b95ea 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go @@ -196,7 +196,17 @@ type CodeInterpreterParameters struct { type LocationSecretsManagerInitParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() 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 LocationSecretsManagerObservation struct { @@ -208,8 +218,18 @@ type LocationSecretsManagerObservation struct { type LocationSecretsManagerParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + 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 - SecretArn *string `json:"secretArn" tf:"secret_arn,omitempty"` + SecretArnSelector *v1.Selector `json:"secretArnSelector,omitempty" tf:"-"` } type NetworkConfigurationVPCConfigInitParameters struct { diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go new file mode 100755 index 0000000000..61a9d0d742 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Evaluator +func (mg *Evaluator) GetTerraformResourceType() string { + return "aws_bedrockagentcore_evaluator" +} + +// GetConnectionDetailsMapping for this Evaluator +func (tr *Evaluator) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"evaluator_config[*].llm_as_a_judge[*].instructions": "evaluatorConfig.llmAsAJudge.instructionsSecretRef"} +} + +// GetObservation of this Evaluator +func (tr *Evaluator) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Evaluator +func (tr *Evaluator) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Evaluator +func (tr *Evaluator) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Evaluator +func (tr *Evaluator) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Evaluator +func (tr *Evaluator) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Evaluator +func (tr *Evaluator) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Evaluator +func (tr *Evaluator) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Evaluator using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Evaluator) LateInitialize(attrs []byte) (bool, error) { + params := &EvaluatorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Evaluator) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_types.go new file mode 100755 index 0000000000..a25568519a --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_evaluator_types.go @@ -0,0 +1,534 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type BedrockEvaluatorModelConfigInitParameters struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + InferenceConfig *InferenceConfigInitParameters `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` +} + +type BedrockEvaluatorModelConfigObservation struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + InferenceConfig *InferenceConfigObservation `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` +} + +type BedrockEvaluatorModelConfigParameters struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + // +kubebuilder:validation:Optional + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + // +kubebuilder:validation:Optional + InferenceConfig *InferenceConfigParameters `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` +} + +type CategoricalInitParameters struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` +} + +type CategoricalObservation struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` +} + +type CategoricalParameters struct { + + // Description that explains what this numerical rating represents. + // +kubebuilder:validation:Optional + Definition *string `json:"definition" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + // +kubebuilder:validation:Optional + Label *string `json:"label" tf:"label,omitempty"` +} + +type CodeBasedInitParameters struct { + + // Lambda function configuration. See lambda_config below. + LambdaConfig *LambdaConfigInitParameters `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type CodeBasedObservation struct { + + // Lambda function configuration. See lambda_config below. + LambdaConfig *LambdaConfigObservation `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type CodeBasedParameters struct { + + // Lambda function configuration. See lambda_config below. + // +kubebuilder:validation:Optional + LambdaConfig *LambdaConfigParameters `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type EvaluatorConfigInitParameters struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + CodeBased *CodeBasedInitParameters `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + LlmAsAJudge *LlmAsAJudgeInitParameters `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorConfigObservation struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + CodeBased *CodeBasedObservation `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + LlmAsAJudge *LlmAsAJudgeObservation `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorConfigParameters struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + // +kubebuilder:validation:Optional + CodeBased *CodeBasedParameters `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + // +kubebuilder:validation:Optional + LlmAsAJudge *LlmAsAJudgeParameters `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorInitParameters struct { + + // Description of the evaluator. Length 1–200. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + EvaluatorConfig *EvaluatorConfigInitParameters `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/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:"-"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type EvaluatorObservation struct { + + // Timestamp when the evaluator was created. + CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` + + // Description of the evaluator. Length 1–200. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the evaluator. + EvaluatorArn *string `json:"evaluatorArn,omitempty" tf:"evaluator_arn,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + EvaluatorConfig *EvaluatorConfigObservation `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Unique identifier of the evaluator. + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Whether the evaluator is locked because it is in use by an active online evaluation. + LockedForModification *bool `json:"lockedForModification,omitempty" tf:"locked_for_modification,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Current status of the evaluator. + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type EvaluatorParameters struct { + + // Description of the evaluator. Length 1–200. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + // +kubebuilder:validation:Optional + EvaluatorConfig *EvaluatorConfigParameters `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + // +kubebuilder:validation:Optional + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/kms/v1beta1.Key + // +kubebuilder:validation:Optional + 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:"-"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + // +kubebuilder:validation:Optional + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type InferenceConfigInitParameters struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type InferenceConfigObservation struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type InferenceConfigParameters struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + // +kubebuilder:validation:Optional + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type LambdaConfigInitParameters struct { + + // ARN of the Lambda function that runs the evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/lambda/v1beta2.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("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:"-"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LambdaConfigObservation struct { + + // ARN of the Lambda function that runs the evaluation. + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LambdaConfigParameters struct { + + // ARN of the Lambda function that runs the evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/lambda/v1beta2.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + // +kubebuilder:validation:Optional + 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:"-"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + // +kubebuilder:validation:Optional + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LlmAsAJudgeInitParameters struct { + + // Instructions that tell the model how to score the agent. + InstructionsSecretRef v1.SecretKeySelector `json:"instructionsSecretRef" tf:"-"` + + // Which Bedrock model to use. See model_config below. + ModelConfig *ModelConfigInitParameters `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + RatingScale *RatingScaleInitParameters `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type LlmAsAJudgeObservation struct { + + // Which Bedrock model to use. See model_config below. + ModelConfig *ModelConfigObservation `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + RatingScale *RatingScaleObservation `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type LlmAsAJudgeParameters struct { + + // Instructions that tell the model how to score the agent. + // +kubebuilder:validation:Optional + InstructionsSecretRef v1.SecretKeySelector `json:"instructionsSecretRef" tf:"-"` + + // Which Bedrock model to use. See model_config below. + // +kubebuilder:validation:Optional + ModelConfig *ModelConfigParameters `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + // +kubebuilder:validation:Optional + RatingScale *RatingScaleParameters `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type ModelConfigInitParameters struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigInitParameters `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type ModelConfigObservation struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigObservation `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type ModelConfigParameters struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + // +kubebuilder:validation:Optional + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigParameters `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type NumericalInitParameters struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type NumericalObservation struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type NumericalParameters struct { + + // Description that explains what this numerical rating represents. + // +kubebuilder:validation:Optional + Definition *string `json:"definition" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + // +kubebuilder:validation:Optional + Label *string `json:"label" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + // +kubebuilder:validation:Optional + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type RatingScaleInitParameters struct { + + // One or more categorical rating scale definitions. See categorical below. + Categorical []CategoricalInitParameters `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + Numerical []NumericalInitParameters `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +type RatingScaleObservation struct { + + // One or more categorical rating scale definitions. See categorical below. + Categorical []CategoricalObservation `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + Numerical []NumericalObservation `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +type RatingScaleParameters struct { + + // One or more categorical rating scale definitions. See categorical below. + // +kubebuilder:validation:Optional + Categorical []CategoricalParameters `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + // +kubebuilder:validation:Optional + Numerical []NumericalParameters `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +// EvaluatorSpec defines the desired state of Evaluator +type EvaluatorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EvaluatorParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider EvaluatorInitParameters `json:"initProvider,omitempty"` +} + +// EvaluatorStatus defines the observed state of Evaluator. +type EvaluatorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EvaluatorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Evaluator is the Schema for the Evaluators API. Manages an AWS Bedrock AgentCore Evaluator. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type Evaluator struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.evaluatorName) || (has(self.initProvider) && has(self.initProvider.evaluatorName))",message="spec.forProvider.evaluatorName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.level) || (has(self.initProvider) && has(self.initProvider.level))",message="spec.forProvider.level is a required parameter" + Spec EvaluatorSpec `json:"spec"` + Status EvaluatorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EvaluatorList contains a list of Evaluators +type EvaluatorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Evaluator `json:"items"` +} + +// Repository type metadata. +var ( + Evaluator_Kind = "Evaluator" + Evaluator_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Evaluator_Kind}.String() + Evaluator_KindAPIVersion = Evaluator_Kind + "." + CRDGroupVersion.String() + Evaluator_GroupVersionKind = CRDGroupVersion.WithKind(Evaluator_Kind) +) + +func init() { + SchemeBuilder.Register(&Evaluator{}, &EvaluatorList{}) +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_gateway_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_gateway_types.go index 1324fa479e..baef7c5f00 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_gateway_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_gateway_types.go @@ -874,8 +874,18 @@ type McpParameters struct { type PolicyEngineConfigurationInitParameters struct { // ARN of the policy engine. The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true) Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + // Reference to a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + // Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy engine evaluates actions and records traces but does not enforce decisions. In ENFORCE mode, the policy engine evaluates actions and enforces allow/deny decisions. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` } @@ -892,8 +902,18 @@ type PolicyEngineConfigurationObservation struct { type PolicyEngineConfigurationParameters struct { // ARN of the policy engine. The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true) // +kubebuilder:validation:Optional - Arn *string `json:"arn" tf:"arn,omitempty"` + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` // Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy engine evaluates actions and records traces but does not enforce decisions. In ENFORCE mode, the policy engine evaluates actions and enforces allow/deny decisions. // +kubebuilder:validation:Optional diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go index 9b4c5ce3b3..857fc61b66 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go @@ -19,8 +19,18 @@ type APIGatewayInitParameters struct { APIGatewayToolConfiguration *APIGatewayToolConfigurationInitParameters `json:"apiGatewayToolConfiguration,omitempty" tf:"api_gateway_tool_configuration,omitempty"` // ID of the API Gateway REST API to invoke. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/apigateway/v1beta2.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/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:"-"` + // Stage name of the REST API to add as a target. Stage *string `json:"stage,omitempty" tf:"stage,omitempty"` } @@ -44,8 +54,18 @@ type APIGatewayParameters struct { APIGatewayToolConfiguration *APIGatewayToolConfigurationParameters `json:"apiGatewayToolConfiguration,omitempty" tf:"api_gateway_tool_configuration,omitempty"` // ID of the API Gateway REST API to invoke. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/apigateway/v1beta2.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional - RestAPIID *string `json:"restApiId" tf:"rest_api_id,omitempty"` + 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:"-"` // Stage name of the REST API to add as a target. // +kubebuilder:validation:Optional @@ -93,7 +113,17 @@ type APIKeyInitParameters struct { CredentialPrefix *string `json:"credentialPrefix,omitempty" tf:"credential_prefix,omitempty"` // ARN of the OIDC provider for API key authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.APIKeyCredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` } type APIKeyObservation struct { @@ -126,8 +156,18 @@ type APIKeyParameters struct { CredentialPrefix *string `json:"credentialPrefix,omitempty" tf:"credential_prefix,omitempty"` // ARN of the OIDC provider for API key authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.APIKeyCredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) // +kubebuilder:validation:Optional - ProviderArn *string `json:"providerArn" tf:"provider_arn,omitempty"` + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` } type AgentcoreRuntimeInitParameters struct { @@ -1126,8 +1166,18 @@ type OauthInitParameters struct { GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` // ARN of the Oauth credential provider for OAuth authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` + // Set of OAuth scopes to request. // +listType=set Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` @@ -1173,8 +1223,18 @@ type OauthParameters struct { GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` // ARN of the Oauth credential provider for OAuth authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + // +kubebuilder:validation:Optional + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. // +kubebuilder:validation:Optional - ProviderArn *string `json:"providerArn" tf:"provider_arn,omitempty"` + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` // Set of OAuth scopes to request. // +kubebuilder:validation:Optional diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go index 08e72959dc..892f2967e1 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go @@ -21,12 +21,18 @@ func (tr *Browser) Hub() {} // Hub marks this type as a conversion hub. func (tr *CodeInterpreter) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *Evaluator) Hub() {} + // Hub marks this type as a conversion hub. func (tr *Gateway) Hub() {} // Hub marks this type as a conversion hub. func (tr *GatewayTarget) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *Harness) Hub() {} + // Hub marks this type as a conversion hub. func (tr *Memory) Hub() {} @@ -36,6 +42,18 @@ func (tr *MemoryStrategy) Hub() {} // Hub marks this type as a conversion hub. func (tr *Oauth2CredentialProvider) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *OnlineEvaluationConfig) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *Policy) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *PolicyEngine) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *ResourcePolicy) Hub() {} + // Hub marks this type as a conversion hub. func (tr *TokenVaultCmk) Hub() {} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.deepcopy.go b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.deepcopy.go index 458436c35d..5e89f09a72 100644 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.deepcopy.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.deepcopy.go @@ -26,6 +26,16 @@ func (in *APIGatewayInitParameters) DeepCopyInto(out *APIGatewayInitParameters) *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.Stage != nil { in, out := &in.Stage, &out.Stage *out = new(string) @@ -86,6 +96,16 @@ func (in *APIGatewayParameters) DeepCopyInto(out *APIGatewayParameters) { *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.Stage != nil { in, out := &in.Stage, &out.Stage *out = new(string) @@ -483,6 +503,16 @@ func (in *APIKeyInitParameters) DeepCopyInto(out *APIKeyInitParameters) { *out = new(string) **out = **in } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyInitParameters. @@ -553,6 +583,16 @@ func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters) { *out = new(string) **out = **in } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyParameters. @@ -1443,1556 +1483,1738 @@ func (in *AgentRuntimeStatus) DeepCopy() *AgentRuntimeStatus { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeInitParameters) DeepCopyInto(out *AgentcoreRuntimeInitParameters) { +func (in *AgentcoreBrowserInitParameters) DeepCopyInto(out *AgentcoreBrowserInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef + if in.BrowserArnRef != nil { + in, out := &in.BrowserArnRef, &out.BrowserArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector + if in.BrowserArnSelector != nil { + in, out := &in.BrowserArnSelector, &out.BrowserArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeInitParameters. -func (in *AgentcoreRuntimeInitParameters) DeepCopy() *AgentcoreRuntimeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserInitParameters. +func (in *AgentcoreBrowserInitParameters) DeepCopy() *AgentcoreBrowserInitParameters { if in == nil { return nil } - out := new(AgentcoreRuntimeInitParameters) + out := new(AgentcoreBrowserInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeObservation) DeepCopyInto(out *AgentcoreRuntimeObservation) { +func (in *AgentcoreBrowserObservation) DeepCopyInto(out *AgentcoreBrowserObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeObservation. -func (in *AgentcoreRuntimeObservation) DeepCopy() *AgentcoreRuntimeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserObservation. +func (in *AgentcoreBrowserObservation) DeepCopy() *AgentcoreBrowserObservation { if in == nil { return nil } - out := new(AgentcoreRuntimeObservation) + out := new(AgentcoreBrowserObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeParameters) DeepCopyInto(out *AgentcoreRuntimeParameters) { +func (in *AgentcoreBrowserParameters) DeepCopyInto(out *AgentcoreBrowserParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef + if in.BrowserArnRef != nil { + in, out := &in.BrowserArnRef, &out.BrowserArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector + if in.BrowserArnSelector != nil { + in, out := &in.BrowserArnSelector, &out.BrowserArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeParameters. -func (in *AgentcoreRuntimeParameters) DeepCopy() *AgentcoreRuntimeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserParameters. +func (in *AgentcoreBrowserParameters) DeepCopy() *AgentcoreBrowserParameters { if in == nil { return nil } - out := new(AgentcoreRuntimeParameters) + out := new(AgentcoreBrowserParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) { +func (in *AgentcoreCodeInterpreterInitParameters) DeepCopyInto(out *AgentcoreCodeInterpreterInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } + if in.CodeInterpreterArnRef != nil { + in, out := &in.CodeInterpreterArnRef, &out.CodeInterpreterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CodeInterpreterArnSelector != nil { + in, out := &in.CodeInterpreterArnSelector, &out.CodeInterpreterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentInitParameters. -func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterInitParameters. +func (in *AgentcoreCodeInterpreterInitParameters) DeepCopy() *AgentcoreCodeInterpreterInitParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentInitParameters) + out := new(AgentcoreCodeInterpreterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentObservation) { +func (in *AgentcoreCodeInterpreterObservation) DeepCopyInto(out *AgentcoreCodeInterpreterObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentObservation. -func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterObservation. +func (in *AgentcoreCodeInterpreterObservation) DeepCopy() *AgentcoreCodeInterpreterObservation { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentObservation) + out := new(AgentcoreCodeInterpreterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentParameters) { +func (in *AgentcoreCodeInterpreterParameters) DeepCopyInto(out *AgentcoreCodeInterpreterParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } + if in.CodeInterpreterArnRef != nil { + in, out := &in.CodeInterpreterArnRef, &out.CodeInterpreterArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CodeInterpreterArnSelector != nil { + in, out := &in.CodeInterpreterArnSelector, &out.CodeInterpreterArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentParameters. -func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterParameters. +func (in *AgentcoreCodeInterpreterParameters) DeepCopy() *AgentcoreCodeInterpreterParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentParameters) + out := new(AgentcoreCodeInterpreterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationInitParameters) { +func (in *AgentcoreGatewayInitParameters) DeepCopyInto(out *AgentcoreGatewayInitParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.GatewayArnRef != nil { + in, out := &in.GatewayArnRef, &out.GatewayArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayArnSelector != nil { + in, out := &in.GatewayArnSelector, &out.GatewayArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationInitParameters. -func (in *AllowedWorkloadConfigurationInitParameters) DeepCopy() *AllowedWorkloadConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayInitParameters. +func (in *AgentcoreGatewayInitParameters) DeepCopy() *AgentcoreGatewayInitParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationInitParameters) + out := new(AgentcoreGatewayInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationObservation) DeepCopyInto(out *AllowedWorkloadConfigurationObservation) { +func (in *AgentcoreGatewayObservation) DeepCopyInto(out *AgentcoreGatewayObservation) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationObservation. -func (in *AllowedWorkloadConfigurationObservation) DeepCopy() *AllowedWorkloadConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayObservation. +func (in *AgentcoreGatewayObservation) DeepCopy() *AgentcoreGatewayObservation { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationObservation) + out := new(AgentcoreGatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationParameters) DeepCopyInto(out *AllowedWorkloadConfigurationParameters) { +func (in *AgentcoreGatewayParameters) DeepCopyInto(out *AgentcoreGatewayParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.GatewayArnRef != nil { + in, out := &in.GatewayArnRef, &out.GatewayArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayArnSelector != nil { + in, out := &in.GatewayArnSelector, &out.GatewayArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationParameters. -func (in *AllowedWorkloadConfigurationParameters) DeepCopy() *AllowedWorkloadConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayParameters. +func (in *AgentcoreGatewayParameters) DeepCopy() *AgentcoreGatewayParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationParameters) + out := new(AgentcoreGatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataInitParameters) DeepCopyInto(out *AuthorizationServerMetadataInitParameters) { +func (in *AgentcoreMemoryConfigurationInitParameters) DeepCopyInto(out *AgentcoreMemoryConfigurationInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataInitParameters. -func (in *AuthorizationServerMetadataInitParameters) DeepCopy() *AuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationInitParameters. +func (in *AgentcoreMemoryConfigurationInitParameters) DeepCopy() *AgentcoreMemoryConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizationServerMetadataInitParameters) + out := new(AgentcoreMemoryConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataObservation) DeepCopyInto(out *AuthorizationServerMetadataObservation) { +func (in *AgentcoreMemoryConfigurationObservation) DeepCopyInto(out *AgentcoreMemoryConfigurationObservation) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataObservation. -func (in *AuthorizationServerMetadataObservation) DeepCopy() *AuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationObservation. +func (in *AgentcoreMemoryConfigurationObservation) DeepCopy() *AgentcoreMemoryConfigurationObservation { if in == nil { return nil } - out := new(AuthorizationServerMetadataObservation) + out := new(AgentcoreMemoryConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataParameters) DeepCopyInto(out *AuthorizationServerMetadataParameters) { +func (in *AgentcoreMemoryConfigurationParameters) DeepCopyInto(out *AgentcoreMemoryConfigurationParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataParameters. -func (in *AuthorizationServerMetadataParameters) DeepCopy() *AuthorizationServerMetadataParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationParameters. +func (in *AgentcoreMemoryConfigurationParameters) DeepCopy() *AgentcoreMemoryConfigurationParameters { if in == nil { return nil } - out := new(AuthorizationServerMetadataParameters) + out := new(AgentcoreMemoryConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) { +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *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.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *out = make([]*string, len(*in)) + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointInitParameters, 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.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimInitParameters, len(*in)) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerInitParameters. -func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerObservation) { +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *out = make([]*string, len(*in)) + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointObservation, 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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *out = make([]*string, len(*in)) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointObservation, 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.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *out = make([]*string, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageObservation, 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.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation { + if in == nil { + return nil } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimObservation, len(*in)) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointObservation) - (*in).DeepCopyInto(*out) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerObservation. -func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerParameters) { +func (in *AgentcoreRuntimeEnvironmentInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentInitParameters) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *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.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn + *out = new(string) + **out = **in } - if in.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *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.AgentRuntimeArnRef != nil { + in, out := &in.AgentRuntimeArnRef, &out.AgentRuntimeArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + if in.AgentRuntimeArnSelector != nil { + in, out := &in.AgentRuntimeArnSelector, &out.AgentRuntimeArnSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointParameters) - (*in).DeepCopyInto(*out) + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerParameters. -func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentInitParameters. +func (in *AgentcoreRuntimeEnvironmentInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + out := new(AgentcoreRuntimeEnvironmentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationInitParameters) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerInitParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationInitParameters. -func (in *AuthorizerConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationInitParameters) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationObservation) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerObservation) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationObservation. -func (in *AuthorizerConfigurationObservation) DeepCopy() *AuthorizerConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation { if in == nil { return nil } - out := new(AuthorizerConfigurationObservation) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationParameters) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationParameters. -func (in *AuthorizerConfigurationParameters) DeepCopy() *AuthorizerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationParameters) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueInitParameters) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigInitParameters, 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 AuthorizingClaimMatchValueClaimMatchValueInitParameters. -func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueObservation) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigObservation, 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 AuthorizingClaimMatchValueClaimMatchValueObservation. -func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueObservation) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueParameters) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigParameters, 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 AuthorizingClaimMatchValueClaimMatchValueParameters. -func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueParameters) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueInitParameters) { +func (in *AgentcoreRuntimeEnvironmentObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentObservation) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in + } + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName + *out = new(string) + **out = **in + } + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueInitParameters. -func (in *AuthorizingClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentObservation. +func (in *AgentcoreRuntimeEnvironmentObservation) DeepCopy() *AgentcoreRuntimeEnvironmentObservation { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueInitParameters) + out := new(AgentcoreRuntimeEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueObservation) { +func (in *AgentcoreRuntimeEnvironmentParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueObservation) + if in.AgentRuntimeArnRef != nil { + in, out := &in.AgentRuntimeArnRef, &out.AgentRuntimeArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AgentRuntimeArnSelector != nil { + in, out := &in.AgentRuntimeArnSelector, &out.AgentRuntimeArnSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in + } + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName + *out = new(string) + **out = **in + } + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueObservation. -func (in *AuthorizingClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentParameters. +func (in *AgentcoreRuntimeEnvironmentParameters) DeepCopy() *AgentcoreRuntimeEnvironmentParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueObservation) + out := new(AgentcoreRuntimeEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueParameters) { +func (in *AgentcoreRuntimeInitParameters) DeepCopyInto(out *AgentcoreRuntimeInitParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueParameters) + 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.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueParameters. -func (in *AuthorizingClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeInitParameters. +func (in *AgentcoreRuntimeInitParameters) DeepCopy() *AgentcoreRuntimeInitParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueParameters) + out := new(AgentcoreRuntimeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Browser) DeepCopyInto(out *Browser) { +func (in *AgentcoreRuntimeObservation) DeepCopyInto(out *AgentcoreRuntimeObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Browser. -func (in *Browser) DeepCopy() *Browser { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeObservation. +func (in *AgentcoreRuntimeObservation) DeepCopy() *AgentcoreRuntimeObservation { if in == nil { return nil } - out := new(Browser) + out := new(AgentcoreRuntimeObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Browser) 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 *BrowserInitParameters) DeepCopyInto(out *BrowserInitParameters) { +func (in *AgentcoreRuntimeParameters) DeepCopyInto(out *AgentcoreRuntimeParameters) { *out = *in - if in.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningInitParameters) + 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.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyInitParameters, 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.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 + 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 + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingInitParameters) - (*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 BrowserInitParameters. -func (in *BrowserInitParameters) DeepCopy() *BrowserInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeParameters. +func (in *AgentcoreRuntimeParameters) DeepCopy() *AgentcoreRuntimeParameters { if in == nil { return nil } - out := new(BrowserInitParameters) + out := new(AgentcoreRuntimeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserList) DeepCopyInto(out *BrowserList) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Browser, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserList. -func (in *BrowserList) DeepCopy() *BrowserList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentInitParameters. +func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentInitParameters { if in == nil { return nil } - out := new(BrowserList) + out := new(AllowedWorkloadConfigurationHostingEnvironmentInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *BrowserList) 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 *BrowserNetworkConfigurationInitParameters) DeepCopyInto(out *BrowserNetworkConfigurationInitParameters) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationInitParameters. -func (in *BrowserNetworkConfigurationInitParameters) DeepCopy() *BrowserNetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentObservation. +func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentObservation { if in == nil { return nil } - out := new(BrowserNetworkConfigurationInitParameters) + out := new(AllowedWorkloadConfigurationHostingEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserNetworkConfigurationObservation) DeepCopyInto(out *BrowserNetworkConfigurationObservation) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigObservation) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationObservation. -func (in *BrowserNetworkConfigurationObservation) DeepCopy() *BrowserNetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentParameters. +func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentParameters { if in == nil { return nil } - out := new(BrowserNetworkConfigurationObservation) + out := new(AllowedWorkloadConfigurationHostingEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserNetworkConfigurationParameters) DeepCopyInto(out *BrowserNetworkConfigurationParameters) { +func (in *AllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigParameters) - (*in).DeepCopyInto(*out) + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserNetworkConfigurationParameters. -func (in *BrowserNetworkConfigurationParameters) DeepCopy() *BrowserNetworkConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationInitParameters. +func (in *AllowedWorkloadConfigurationInitParameters) DeepCopy() *AllowedWorkloadConfigurationInitParameters { if in == nil { return nil } - out := new(BrowserNetworkConfigurationParameters) + out := new(AllowedWorkloadConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserObservation) DeepCopyInto(out *BrowserObservation) { +func (in *AllowedWorkloadConfigurationObservation) DeepCopyInto(out *AllowedWorkloadConfigurationObservation) { *out = *in - if in.BrowserArn != nil { - in, out := &in.BrowserArn, &out.BrowserArn - *out = new(string) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.BrowserID != nil { - in, out := &in.BrowserID, &out.BrowserID - *out = new(string) - **out = **in + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationObservation. +func (in *AllowedWorkloadConfigurationObservation) DeepCopy() *AllowedWorkloadConfigurationObservation { + if in == nil { + return nil } - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateObservation, len(*in)) + out := new(AllowedWorkloadConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedWorkloadConfigurationParameters) DeepCopyInto(out *AllowedWorkloadConfigurationParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyObservation, len(*in)) + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationParameters. +func (in *AllowedWorkloadConfigurationParameters) DeepCopy() *AllowedWorkloadConfigurationParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID + out := new(AllowedWorkloadConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationServerMetadataInitParameters) DeepCopyInto(out *AuthorizationServerMetadataInitParameters) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingObservation) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserObservation. -func (in *BrowserObservation) DeepCopy() *BrowserObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataInitParameters. +func (in *AuthorizationServerMetadataInitParameters) DeepCopy() *AuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(BrowserObservation) + out := new(AuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserParameters) DeepCopyInto(out *BrowserParameters) { +func (in *AuthorizationServerMetadataObservation) DeepCopyInto(out *AuthorizationServerMetadataObservation) { *out = *in - if in.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningParameters) - (*in).DeepCopyInto(*out) - } - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyParameters, len(*in)) + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint *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) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataObservation. +func (in *AuthorizationServerMetadataObservation) DeepCopy() *AuthorizationServerMetadataObservation { + if in == nil { + return nil } - if in.Name != nil { - in, out := &in.Name, &out.Name + out := new(AuthorizationServerMetadataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationServerMetadataParameters) DeepCopyInto(out *AuthorizationServerMetadataParameters) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingParameters) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *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.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserParameters. -func (in *BrowserParameters) DeepCopy() *BrowserParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataParameters. +func (in *AuthorizationServerMetadataParameters) DeepCopy() *AuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(BrowserParameters) + out := new(AuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningInitParameters) DeepCopyInto(out *BrowserSigningInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningInitParameters. -func (in *BrowserSigningInitParameters) DeepCopy() *BrowserSigningInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { if in == nil { return nil } - out := new(BrowserSigningInitParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningObservation) DeepCopyInto(out *BrowserSigningObservation) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningObservation. -func (in *BrowserSigningObservation) DeepCopy() *BrowserSigningObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation { if in == nil { return nil } - out := new(BrowserSigningObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningParameters) DeepCopyInto(out *BrowserSigningParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningParameters. -func (in *BrowserSigningParameters) DeepCopy() *BrowserSigningParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters { if in == nil { return nil } - out := new(BrowserSigningParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSpec) DeepCopyInto(out *BrowserSpec) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSpec. -func (in *BrowserSpec) DeepCopy() *BrowserSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters { if in == nil { return nil } - out := new(BrowserSpec) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserStatus) DeepCopyInto(out *BrowserStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserStatus. -func (in *BrowserStatus) DeepCopy() *BrowserStatus { - if in == nil { - return nil - } - out := new(BrowserStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsInitParameters) DeepCopyInto(out *CallerIAMCredentialsInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) { *out = *in - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsInitParameters. -func (in *CallerIAMCredentialsInitParameters) DeepCopy() *CallerIAMCredentialsInitParameters { - if in == nil { - return nil + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) } - out := new(CallerIAMCredentialsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsObservation) DeepCopyInto(out *CallerIAMCredentialsObservation) { - *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName *out = new(string) **out = **in } - if in.Service != nil { - in, out := &in.Service, &out.Service + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsObservation. -func (in *CallerIAMCredentialsObservation) DeepCopy() *CallerIAMCredentialsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation { if in == nil { return nil } - out := new(CallerIAMCredentialsObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsParameters) DeepCopyInto(out *CallerIAMCredentialsParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName *out = new(string) **out = **in } - if in.Service != nil { - in, out := &in.Service, &out.Service + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsParameters. -func (in *CallerIAMCredentialsParameters) DeepCopy() *CallerIAMCredentialsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters { if in == nil { return nil } - out := new(CallerIAMCredentialsParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationInitParameters) - (*in).DeepCopyInto(*out) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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 CertificateInitParameters. -func (in *CertificateInitParameters) DeepCopy() *CertificateInitParameters { - if in == nil { - return nil + if in.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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(CertificateInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationInitParameters) DeepCopyInto(out *CertificateLocationInitParameters) { - *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerInitParameters) + if in.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationInitParameters. -func (in *CertificateLocationInitParameters) DeepCopy() *CertificateLocationInitParameters { - if in == nil { - return nil + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(CertificateLocationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationObservation) DeepCopyInto(out *CertificateLocationObservation) { - *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerObservation) + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointInitParameters) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationObservation. -func (in *CertificateLocationObservation) DeepCopy() *CertificateLocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerInitParameters { if in == nil { return nil } - out := new(CertificateLocationObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationParameters) DeepCopyInto(out *CertificateLocationParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerObservation) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerParameters) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationParameters. -func (in *CertificateLocationParameters) DeepCopy() *CertificateLocationParameters { - if in == nil { - return nil + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(CertificateLocationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { - *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationObservation) + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointObservation) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. -func (in *CertificateObservation) DeepCopy() *CertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerObservation { if in == nil { return nil } - out := new(CertificateObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationParameters) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointParameters) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. -func (in *CertificateParameters) DeepCopy() *CertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerParameters { if in == nil { return nil } - out := new(CertificateParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -3002,28 +3224,65 @@ func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitPa } } } + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMatchValueInitParameters. -func (in *ClaimMatchValueInitParameters) DeepCopy() *ClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(ClaimMatchValueInitParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservation) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -3033,408 +3292,7011 @@ func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservati } } } + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationInitParameters. +func (in *AuthorizerConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationObservation. +func (in *AuthorizerConfigurationObservation) DeepCopy() *AuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationParameters. +func (in *AuthorizerConfigurationParameters) DeepCopy() *AuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueInitParameters. +func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueObservation. +func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueParameters. +func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueInitParameters. +func (in *AuthorizingClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueObservation. +func (in *AuthorizingClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueParameters. +func (in *AuthorizingClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigInitParameters) DeepCopyInto(out *BedrockEvaluatorModelConfigInitParameters) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigInitParameters. +func (in *BedrockEvaluatorModelConfigInitParameters) DeepCopy() *BedrockEvaluatorModelConfigInitParameters { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigObservation) DeepCopyInto(out *BedrockEvaluatorModelConfigObservation) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigObservation. +func (in *BedrockEvaluatorModelConfigObservation) DeepCopy() *BedrockEvaluatorModelConfigObservation { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigParameters) DeepCopyInto(out *BedrockEvaluatorModelConfigParameters) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigParameters. +func (in *BedrockEvaluatorModelConfigParameters) DeepCopy() *BedrockEvaluatorModelConfigParameters { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigInitParameters) DeepCopyInto(out *BedrockModelConfigInitParameters) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigInitParameters. +func (in *BedrockModelConfigInitParameters) DeepCopy() *BedrockModelConfigInitParameters { + if in == nil { + return nil + } + out := new(BedrockModelConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigObservation) DeepCopyInto(out *BedrockModelConfigObservation) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigObservation. +func (in *BedrockModelConfigObservation) DeepCopy() *BedrockModelConfigObservation { + if in == nil { + return nil + } + out := new(BedrockModelConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigParameters) DeepCopyInto(out *BedrockModelConfigParameters) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigParameters. +func (in *BedrockModelConfigParameters) DeepCopy() *BedrockModelConfigParameters { + if in == nil { + return nil + } + out := new(BedrockModelConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Browser) DeepCopyInto(out *Browser) { + *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 Browser. +func (in *Browser) DeepCopy() *Browser { + if in == nil { + return nil + } + out := new(Browser) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Browser) 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 *BrowserInitParameters) DeepCopyInto(out *BrowserInitParameters) { + *out = *in + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyInitParameters, 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.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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingInitParameters) + (*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 BrowserInitParameters. +func (in *BrowserInitParameters) DeepCopy() *BrowserInitParameters { + if in == nil { + return nil + } + out := new(BrowserInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserList) DeepCopyInto(out *BrowserList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Browser, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserList. +func (in *BrowserList) DeepCopy() *BrowserList { + if in == nil { + return nil + } + out := new(BrowserList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BrowserList) 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 *BrowserNetworkConfigurationInitParameters) DeepCopyInto(out *BrowserNetworkConfigurationInitParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationInitParameters. +func (in *BrowserNetworkConfigurationInitParameters) DeepCopy() *BrowserNetworkConfigurationInitParameters { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserNetworkConfigurationObservation) DeepCopyInto(out *BrowserNetworkConfigurationObservation) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationObservation. +func (in *BrowserNetworkConfigurationObservation) DeepCopy() *BrowserNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserNetworkConfigurationParameters) DeepCopyInto(out *BrowserNetworkConfigurationParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationParameters. +func (in *BrowserNetworkConfigurationParameters) DeepCopy() *BrowserNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserObservation) DeepCopyInto(out *BrowserObservation) { + *out = *in + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn + *out = new(string) + **out = **in + } + if in.BrowserID != nil { + in, out := &in.BrowserID, &out.BrowserID + *out = new(string) + **out = **in + } + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningObservation) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyObservation, 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.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.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 BrowserObservation. +func (in *BrowserObservation) DeepCopy() *BrowserObservation { + if in == nil { + return nil + } + out := new(BrowserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserParameters) DeepCopyInto(out *BrowserParameters) { + *out = *in + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningParameters) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyParameters, 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.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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserParameters. +func (in *BrowserParameters) DeepCopy() *BrowserParameters { + if in == nil { + return nil + } + out := new(BrowserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningInitParameters) DeepCopyInto(out *BrowserSigningInitParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningInitParameters. +func (in *BrowserSigningInitParameters) DeepCopy() *BrowserSigningInitParameters { + if in == nil { + return nil + } + out := new(BrowserSigningInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningObservation) DeepCopyInto(out *BrowserSigningObservation) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningObservation. +func (in *BrowserSigningObservation) DeepCopy() *BrowserSigningObservation { + if in == nil { + return nil + } + out := new(BrowserSigningObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningParameters) DeepCopyInto(out *BrowserSigningParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningParameters. +func (in *BrowserSigningParameters) DeepCopy() *BrowserSigningParameters { + if in == nil { + return nil + } + out := new(BrowserSigningParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSpec) DeepCopyInto(out *BrowserSpec) { + *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 BrowserSpec. +func (in *BrowserSpec) DeepCopy() *BrowserSpec { + if in == nil { + return nil + } + out := new(BrowserSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserStatus) DeepCopyInto(out *BrowserStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserStatus. +func (in *BrowserStatus) DeepCopy() *BrowserStatus { + if in == nil { + return nil + } + out := new(BrowserStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsInitParameters) DeepCopyInto(out *CallerIAMCredentialsInitParameters) { + *out = *in + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsInitParameters. +func (in *CallerIAMCredentialsInitParameters) DeepCopy() *CallerIAMCredentialsInitParameters { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsObservation) DeepCopyInto(out *CallerIAMCredentialsObservation) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsObservation. +func (in *CallerIAMCredentialsObservation) DeepCopy() *CallerIAMCredentialsObservation { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsParameters) DeepCopyInto(out *CallerIAMCredentialsParameters) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsParameters. +func (in *CallerIAMCredentialsParameters) DeepCopy() *CallerIAMCredentialsParameters { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalInitParameters) DeepCopyInto(out *CategoricalInitParameters) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalInitParameters. +func (in *CategoricalInitParameters) DeepCopy() *CategoricalInitParameters { + if in == nil { + return nil + } + out := new(CategoricalInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalObservation) DeepCopyInto(out *CategoricalObservation) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalObservation. +func (in *CategoricalObservation) DeepCopy() *CategoricalObservation { + if in == nil { + return nil + } + out := new(CategoricalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalParameters) DeepCopyInto(out *CategoricalParameters) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalParameters. +func (in *CategoricalParameters) DeepCopy() *CategoricalParameters { + if in == nil { + return nil + } + out := new(CategoricalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarInitParameters) DeepCopyInto(out *CedarInitParameters) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarInitParameters. +func (in *CedarInitParameters) DeepCopy() *CedarInitParameters { + if in == nil { + return nil + } + out := new(CedarInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarObservation) DeepCopyInto(out *CedarObservation) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarObservation. +func (in *CedarObservation) DeepCopy() *CedarObservation { + if in == nil { + return nil + } + out := new(CedarObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarParameters) DeepCopyInto(out *CedarParameters) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarParameters. +func (in *CedarParameters) DeepCopy() *CedarParameters { + if in == nil { + return nil + } + out := new(CedarParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateInitParameters. +func (in *CertificateInitParameters) DeepCopy() *CertificateInitParameters { + if in == nil { + return nil + } + out := new(CertificateInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationInitParameters) DeepCopyInto(out *CertificateLocationInitParameters) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationInitParameters. +func (in *CertificateLocationInitParameters) DeepCopy() *CertificateLocationInitParameters { + if in == nil { + return nil + } + out := new(CertificateLocationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationObservation) DeepCopyInto(out *CertificateLocationObservation) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationObservation. +func (in *CertificateLocationObservation) DeepCopy() *CertificateLocationObservation { + if in == nil { + return nil + } + out := new(CertificateLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationParameters) DeepCopyInto(out *CertificateLocationParameters) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationParameters. +func (in *CertificateLocationParameters) DeepCopy() *CertificateLocationParameters { + if in == nil { + return nil + } + out := new(CertificateLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueInitParameters. +func (in *ClaimMatchValueInitParameters) DeepCopy() *ClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(ClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueObservation. +func (in *ClaimMatchValueObservation) DeepCopy() *ClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(ClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueParameters) DeepCopyInto(out *ClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueParameters. +func (in *ClaimMatchValueParameters) DeepCopy() *ClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(ClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnInitParameters) DeepCopyInto(out *ClientSecretArnInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnInitParameters. +func (in *ClientSecretArnInitParameters) DeepCopy() *ClientSecretArnInitParameters { + if in == nil { + return nil + } + out := new(ClientSecretArnInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnObservation) DeepCopyInto(out *ClientSecretArnObservation) { + *out = *in + 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 ClientSecretArnObservation. +func (in *ClientSecretArnObservation) DeepCopy() *ClientSecretArnObservation { + if in == nil { + return nil + } + out := new(ClientSecretArnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnParameters) DeepCopyInto(out *ClientSecretArnParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnParameters. +func (in *ClientSecretArnParameters) DeepCopy() *ClientSecretArnParameters { + if in == nil { + return nil + } + out := new(ClientSecretArnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigInitParameters) DeepCopyInto(out *CloudwatchConfigInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigInitParameters. +func (in *CloudwatchConfigInitParameters) DeepCopy() *CloudwatchConfigInitParameters { + if in == nil { + return nil + } + out := new(CloudwatchConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigObservation) DeepCopyInto(out *CloudwatchConfigObservation) { + *out = *in + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigObservation. +func (in *CloudwatchConfigObservation) DeepCopy() *CloudwatchConfigObservation { + if in == nil { + return nil + } + out := new(CloudwatchConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigParameters) DeepCopyInto(out *CloudwatchConfigParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigParameters. +func (in *CloudwatchConfigParameters) DeepCopy() *CloudwatchConfigParameters { + if in == nil { + return nil + } + out := new(CloudwatchConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsInitParameters) DeepCopyInto(out *CloudwatchLogsInitParameters) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.LogGroupNamesRefs != nil { + in, out := &in.LogGroupNamesRefs, &out.LogGroupNamesRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogGroupNamesSelector != nil { + in, out := &in.LogGroupNamesSelector, &out.LogGroupNamesSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsInitParameters. +func (in *CloudwatchLogsInitParameters) DeepCopy() *CloudwatchLogsInitParameters { + if in == nil { + return nil + } + out := new(CloudwatchLogsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsObservation) DeepCopyInto(out *CloudwatchLogsObservation) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsObservation. +func (in *CloudwatchLogsObservation) DeepCopy() *CloudwatchLogsObservation { + if in == nil { + return nil + } + out := new(CloudwatchLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsParameters) DeepCopyInto(out *CloudwatchLogsParameters) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.LogGroupNamesRefs != nil { + in, out := &in.LogGroupNamesRefs, &out.LogGroupNamesRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogGroupNamesSelector != nil { + in, out := &in.LogGroupNamesSelector, &out.LogGroupNamesSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsParameters. +func (in *CloudwatchLogsParameters) DeepCopy() *CloudwatchLogsParameters { + if in == nil { + return nil + } + out := new(CloudwatchLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedInitParameters) DeepCopyInto(out *CodeBasedInitParameters) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedInitParameters. +func (in *CodeBasedInitParameters) DeepCopy() *CodeBasedInitParameters { + if in == nil { + return nil + } + out := new(CodeBasedInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedObservation) DeepCopyInto(out *CodeBasedObservation) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedObservation. +func (in *CodeBasedObservation) DeepCopy() *CodeBasedObservation { + if in == nil { + return nil + } + out := new(CodeBasedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedParameters) DeepCopyInto(out *CodeBasedParameters) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedParameters. +func (in *CodeBasedParameters) DeepCopy() *CodeBasedParameters { + if in == nil { + return nil + } + out := new(CodeBasedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationInitParameters) DeepCopyInto(out *CodeConfigurationInitParameters) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationInitParameters. +func (in *CodeConfigurationInitParameters) DeepCopy() *CodeConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CodeConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationObservation) DeepCopyInto(out *CodeConfigurationObservation) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeObservation) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationObservation. +func (in *CodeConfigurationObservation) DeepCopy() *CodeConfigurationObservation { + if in == nil { + return nil + } + out := new(CodeConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationParameters) DeepCopyInto(out *CodeConfigurationParameters) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeParameters) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationParameters. +func (in *CodeConfigurationParameters) DeepCopy() *CodeConfigurationParameters { + if in == nil { + return nil + } + out := new(CodeConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInitParameters) DeepCopyInto(out *CodeInitParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInitParameters. +func (in *CodeInitParameters) DeepCopy() *CodeInitParameters { + if in == nil { + return nil + } + out := new(CodeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreter) DeepCopyInto(out *CodeInterpreter) { + *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 CodeInterpreter. +func (in *CodeInterpreter) DeepCopy() *CodeInterpreter { + if in == nil { + return nil + } + out := new(CodeInterpreter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeInterpreter) 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 *CodeInterpreterCertificateInitParameters) DeepCopyInto(out *CodeInterpreterCertificateInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateInitParameters. +func (in *CodeInterpreterCertificateInitParameters) DeepCopy() *CodeInterpreterCertificateInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterCertificateObservation) DeepCopyInto(out *CodeInterpreterCertificateObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateObservation. +func (in *CodeInterpreterCertificateObservation) DeepCopy() *CodeInterpreterCertificateObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterCertificateParameters) DeepCopyInto(out *CodeInterpreterCertificateParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateParameters. +func (in *CodeInterpreterCertificateParameters) DeepCopy() *CodeInterpreterCertificateParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterInitParameters) DeepCopyInto(out *CodeInterpreterInitParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationInitParameters) + (*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 CodeInterpreterInitParameters. +func (in *CodeInterpreterInitParameters) DeepCopy() *CodeInterpreterInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterList) DeepCopyInto(out *CodeInterpreterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CodeInterpreter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterList. +func (in *CodeInterpreterList) DeepCopy() *CodeInterpreterList { + if in == nil { + return nil + } + out := new(CodeInterpreterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeInterpreterList) 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 *CodeInterpreterNetworkConfigurationInitParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationInitParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationInitParameters. +func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopy() *CodeInterpreterNetworkConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopyInto(out *CodeInterpreterNetworkConfigurationObservation) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationObservation. +func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopy() *CodeInterpreterNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationParameters. +func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopy() *CodeInterpreterNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservation) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn + *out = new(string) + **out = **in + } + if in.CodeInterpreterID != nil { + in, out := &in.CodeInterpreterID, &out.CodeInterpreterID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.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 CodeInterpreterObservation. +func (in *CodeInterpreterObservation) DeepCopy() *CodeInterpreterObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterParameters. +func (in *CodeInterpreterParameters) DeepCopy() *CodeInterpreterParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterSpec) DeepCopyInto(out *CodeInterpreterSpec) { + *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 CodeInterpreterSpec. +func (in *CodeInterpreterSpec) DeepCopy() *CodeInterpreterSpec { + if in == nil { + return nil + } + out := new(CodeInterpreterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterStatus) DeepCopyInto(out *CodeInterpreterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterStatus. +func (in *CodeInterpreterStatus) DeepCopy() *CodeInterpreterStatus { + if in == nil { + return nil + } + out := new(CodeInterpreterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeObservation) DeepCopyInto(out *CodeObservation) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3Observation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeObservation. +func (in *CodeObservation) DeepCopy() *CodeObservation { + if in == nil { + return nil + } + out := new(CodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeParameters) DeepCopyInto(out *CodeParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3Parameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeParameters. +func (in *CodeParameters) DeepCopy() *CodeParameters { + if in == nil { + return nil + } + out := new(CodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigInitParameters) DeepCopyInto(out *ConfigInitParameters) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionInitParameters) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigInitParameters. +func (in *ConfigInitParameters) DeepCopy() *ConfigInitParameters { + if in == nil { + return nil + } + out := new(ConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserObservation) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterObservation) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayObservation) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionObservation) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigObservation. +func (in *ConfigObservation) DeepCopy() *ConfigObservation { + if in == nil { + return nil + } + out := new(ConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayParameters) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionParameters) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigParameters. +func (in *ConfigParameters) DeepCopy() *ConfigParameters { + if in == nil { + return nil + } + out := new(ConfigParameters) + in.DeepCopyInto(out) + return out +} + +// 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.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters. +func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in + if in.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationObservation) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionObservation) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationParameters) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationInitParameters) DeepCopyInto(out *ConsolidationInitParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationInitParameters. +func (in *ConsolidationInitParameters) DeepCopy() *ConsolidationInitParameters { + if in == nil { + return nil + } + out := new(ConsolidationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationObservation) DeepCopyInto(out *ConsolidationObservation) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationObservation. +func (in *ConsolidationObservation) DeepCopy() *ConsolidationObservation { + if in == nil { + return nil + } + out := new(ConsolidationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationParameters) DeepCopyInto(out *ConsolidationParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationParameters. +func (in *ConsolidationParameters) DeepCopy() *ConsolidationParameters { + if in == nil { + return nil + } + out := new(ConsolidationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationInitParameters) DeepCopyInto(out *ContainerConfigurationInitParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationInitParameters. +func (in *ContainerConfigurationInitParameters) DeepCopy() *ContainerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ContainerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationObservation) DeepCopyInto(out *ContainerConfigurationObservation) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationObservation. +func (in *ContainerConfigurationObservation) DeepCopy() *ContainerConfigurationObservation { + if in == nil { + return nil + } + out := new(ContainerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationParameters) DeepCopyInto(out *ContainerConfigurationParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationParameters. +func (in *ContainerConfigurationParameters) DeepCopy() *ContainerConfigurationParameters { + if in == nil { + return nil + } + out := new(ContainerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationInitParameters) DeepCopyInto(out *ContentConfigurationInitParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationInitParameters. +func (in *ContentConfigurationInitParameters) DeepCopy() *ContentConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ContentConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationObservation) DeepCopyInto(out *ContentConfigurationObservation) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationObservation. +func (in *ContentConfigurationObservation) DeepCopy() *ContentConfigurationObservation { + if in == nil { + return nil + } + out := new(ContentConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationParameters) DeepCopyInto(out *ContentConfigurationParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationParameters. +func (in *ContentConfigurationParameters) DeepCopy() *ContentConfigurationParameters { + if in == nil { + return nil + } + out := new(ContentConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationInitParameters) DeepCopyInto(out *CredentialProviderConfigurationInitParameters) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyInitParameters) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleInitParameters) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughInitParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationInitParameters. +func (in *CredentialProviderConfigurationInitParameters) DeepCopy() *CredentialProviderConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationObservation) DeepCopyInto(out *CredentialProviderConfigurationObservation) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyObservation) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsObservation) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleObservation) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationObservation. +func (in *CredentialProviderConfigurationObservation) DeepCopy() *CredentialProviderConfigurationObservation { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationParameters) DeepCopyInto(out *CredentialProviderConfigurationParameters) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyParameters) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsParameters) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleParameters) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationParameters. +func (in *CredentialProviderConfigurationParameters) DeepCopy() *CredentialProviderConfigurationParameters { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueInitParameters. +func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueObservation. +func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueParameters. +func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimInitParameters) DeepCopyInto(out *CustomClaimInitParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimInitParameters. +func (in *CustomClaimInitParameters) DeepCopy() *CustomClaimInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimObservation) DeepCopyInto(out *CustomClaimObservation) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimObservation. +func (in *CustomClaimObservation) DeepCopy() *CustomClaimObservation { + if in == nil { + return nil + } + out := new(CustomClaimObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimParameters) DeepCopyInto(out *CustomClaimParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimParameters. +func (in *CustomClaimParameters) DeepCopy() *CustomClaimParameters { + if in == nil { + return nil + } + out := new(CustomClaimParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationObservation. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimInitParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimInitParameters. +func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimObservation) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimObservation. +func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimParameters. +func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthorizerInitParameters) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerInitParameters. +func (in *CustomJwtAuthorizerInitParameters) DeepCopy() *CustomJwtAuthorizerInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerObservation) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerObservation. +func (in *CustomJwtAuthorizerObservation) DeepCopy() *CustomJwtAuthorizerObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerParameters) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerParameters. +func (in *CustomJwtAuthorizerParameters) DeepCopy() *CustomJwtAuthorizerParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointObservation. +func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesObservation) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointParameters. +func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigInitParameters) DeepCopyInto(out *CustomOauth2ProviderConfigInitParameters) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigInitParameters. +func (in *CustomOauth2ProviderConfigInitParameters) DeepCopy() *CustomOauth2ProviderConfigInitParameters { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigObservation) DeepCopyInto(out *CustomOauth2ProviderConfigObservation) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigObservation. +func (in *CustomOauth2ProviderConfigObservation) DeepCopy() *CustomOauth2ProviderConfigObservation { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigParameters) DeepCopyInto(out *CustomOauth2ProviderConfigParameters) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigParameters. +func (in *CustomOauth2ProviderConfigParameters) DeepCopy() *CustomOauth2ProviderConfigParameters { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigInitParameters) DeepCopyInto(out *DataSourceConfigInitParameters) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigInitParameters. +func (in *DataSourceConfigInitParameters) DeepCopy() *DataSourceConfigInitParameters { + if in == nil { + return nil + } + out := new(DataSourceConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigObservation) DeepCopyInto(out *DataSourceConfigObservation) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigObservation. +func (in *DataSourceConfigObservation) DeepCopy() *DataSourceConfigObservation { + if in == nil { + return nil + } + out := new(DataSourceConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigParameters) DeepCopyInto(out *DataSourceConfigParameters) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigParameters. +func (in *DataSourceConfigParameters) DeepCopy() *DataSourceConfigParameters { + if in == nil { + return nil + } + out := new(DataSourceConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionInitParameters) DeepCopyInto(out *DefinitionInitParameters) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionInitParameters. +func (in *DefinitionInitParameters) DeepCopy() *DefinitionInitParameters { + if in == nil { + return nil + } + out := new(DefinitionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { + if in == nil { + return nil + } + out := new(DefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { + if in == nil { + return nil + } + out := new(DefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointInitParameters) DeepCopyInto(out *EFSAccessPointInitParameters) { + *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.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 EFSAccessPointInitParameters. +func (in *EFSAccessPointInitParameters) DeepCopy() *EFSAccessPointInitParameters { + if in == nil { + return nil + } + out := new(EFSAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointObservation) DeepCopyInto(out *EFSAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 EFSAccessPointObservation. +func (in *EFSAccessPointObservation) DeepCopy() *EFSAccessPointObservation { + if in == nil { + return nil + } + out := new(EFSAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointParameters) DeepCopyInto(out *EFSAccessPointParameters) { + *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.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 EFSAccessPointParameters. +func (in *EFSAccessPointParameters) DeepCopy() *EFSAccessPointParameters { + if in == nil { + return nil + } + out := new(EFSAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyInitParameters) DeepCopyInto(out *EnterprisePolicyInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyInitParameters. +func (in *EnterprisePolicyInitParameters) DeepCopy() *EnterprisePolicyInitParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationInitParameters) DeepCopyInto(out *EnterprisePolicyLocationInitParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationInitParameters. +func (in *EnterprisePolicyLocationInitParameters) DeepCopy() *EnterprisePolicyLocationInitParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationObservation) DeepCopyInto(out *EnterprisePolicyLocationObservation) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3Observation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationObservation. +func (in *EnterprisePolicyLocationObservation) DeepCopy() *EnterprisePolicyLocationObservation { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationParameters) DeepCopyInto(out *EnterprisePolicyLocationParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3Parameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationParameters. +func (in *EnterprisePolicyLocationParameters) DeepCopy() *EnterprisePolicyLocationParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyObservation) DeepCopyInto(out *EnterprisePolicyObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationObservation) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyObservation. +func (in *EnterprisePolicyObservation) DeepCopy() *EnterprisePolicyObservation { + if in == nil { + return nil + } + out := new(EnterprisePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyParameters) DeepCopyInto(out *EnterprisePolicyParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyParameters. +func (in *EnterprisePolicyParameters) DeepCopy() *EnterprisePolicyParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationInitParameters) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationInitParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationInitParameters. +func (in *EnvironmentArtifactContainerConfigurationInitParameters) DeepCopy() *EnvironmentArtifactContainerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationObservation) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationObservation) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationObservation. +func (in *EnvironmentArtifactContainerConfigurationObservation) DeepCopy() *EnvironmentArtifactContainerConfigurationObservation { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationParameters) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationParameters. +func (in *EnvironmentArtifactContainerConfigurationParameters) DeepCopy() *EnvironmentArtifactContainerConfigurationParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactInitParameters) DeepCopyInto(out *EnvironmentArtifactInitParameters) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactInitParameters. +func (in *EnvironmentArtifactInitParameters) DeepCopy() *EnvironmentArtifactInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactObservation) DeepCopyInto(out *EnvironmentArtifactObservation) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactObservation. +func (in *EnvironmentArtifactObservation) DeepCopy() *EnvironmentArtifactObservation { + if in == nil { + return nil + } + out := new(EnvironmentArtifactObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactParameters) DeepCopyInto(out *EnvironmentArtifactParameters) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactParameters. +func (in *EnvironmentArtifactParameters) DeepCopy() *EnvironmentArtifactParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactParameters) + in.DeepCopyInto(out) + return out +} + +// 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.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentInitParameters. +func (in *EnvironmentInitParameters) DeepCopy() *EnvironmentInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation) { + *out = *in + if in.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentObservation. +func (in *EnvironmentObservation) DeepCopy() *EnvironmentObservation { + if in == nil { + return nil + } + out := new(EnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters) { + *out = *in + if in.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentParameters. +func (in *EnvironmentParameters) DeepCopy() *EnvironmentParameters { + if in == nil { + return nil + } + out := new(EnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Evaluator) DeepCopyInto(out *Evaluator) { + *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 Evaluator. +func (in *Evaluator) DeepCopy() *Evaluator { + if in == nil { + return nil + } + out := new(Evaluator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Evaluator) 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 *EvaluatorConfigInitParameters) DeepCopyInto(out *EvaluatorConfigInitParameters) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedInitParameters) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigInitParameters. +func (in *EvaluatorConfigInitParameters) DeepCopy() *EvaluatorConfigInitParameters { + if in == nil { + return nil + } + out := new(EvaluatorConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorConfigObservation) DeepCopyInto(out *EvaluatorConfigObservation) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedObservation) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigObservation. +func (in *EvaluatorConfigObservation) DeepCopy() *EvaluatorConfigObservation { + if in == nil { + return nil + } + out := new(EvaluatorConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorConfigParameters) DeepCopyInto(out *EvaluatorConfigParameters) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedParameters) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigParameters. +func (in *EvaluatorConfigParameters) DeepCopy() *EvaluatorConfigParameters { + if in == nil { + return nil + } + out := new(EvaluatorConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorInitParameters) DeepCopyInto(out *EvaluatorInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *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.Level != nil { + in, out := &in.Level, &out.Level + *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 EvaluatorInitParameters. +func (in *EvaluatorInitParameters) DeepCopy() *EvaluatorInitParameters { + if in == nil { + return nil + } + out := new(EvaluatorInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorList) DeepCopyInto(out *EvaluatorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Evaluator, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorList. +func (in *EvaluatorList) DeepCopy() *EvaluatorList { + if in == nil { + return nil + } + out := new(EvaluatorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EvaluatorList) 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 *EvaluatorObservation) DeepCopyInto(out *EvaluatorObservation) { + *out = *in + if in.CreatedAt != nil { + in, out := &in.CreatedAt, &out.CreatedAt + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorArn != nil { + in, out := &in.EvaluatorArn, &out.EvaluatorArn + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *out = new(string) + **out = **in + } + 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.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.LockedForModification != nil { + in, out := &in.LockedForModification, &out.LockedForModification + *out = new(bool) + **out = **in + } + 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 + *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 EvaluatorObservation. +func (in *EvaluatorObservation) DeepCopy() *EvaluatorObservation { + if in == nil { + return nil + } + out := new(EvaluatorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorParameters) DeepCopyInto(out *EvaluatorParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *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.Level != nil { + in, out := &in.Level, &out.Level + *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 EvaluatorParameters. +func (in *EvaluatorParameters) DeepCopy() *EvaluatorParameters { + if in == nil { + return nil + } + out := new(EvaluatorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorSpec) DeepCopyInto(out *EvaluatorSpec) { + *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 EvaluatorSpec. +func (in *EvaluatorSpec) DeepCopy() *EvaluatorSpec { + if in == nil { + return nil + } + out := new(EvaluatorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorStatus) DeepCopyInto(out *EvaluatorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorStatus. +func (in *EvaluatorStatus) DeepCopy() *EvaluatorStatus { + if in == nil { + return nil + } + out := new(EvaluatorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionInitParameters) DeepCopyInto(out *ExtractionInitParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionInitParameters. +func (in *ExtractionInitParameters) DeepCopy() *ExtractionInitParameters { + if in == nil { + return nil + } + out := new(ExtractionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionObservation) DeepCopyInto(out *ExtractionObservation) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionObservation. +func (in *ExtractionObservation) DeepCopy() *ExtractionObservation { + if in == nil { + return nil + } + out := new(ExtractionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionParameters) DeepCopyInto(out *ExtractionParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionParameters. +func (in *ExtractionParameters) DeepCopy() *ExtractionParameters { + if in == nil { + return nil + } + out := new(ExtractionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointInitParameters) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointInitParameters) { + *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.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 FilesystemConfigurationEFSAccessPointInitParameters. +func (in *FilesystemConfigurationEFSAccessPointInitParameters) DeepCopy() *FilesystemConfigurationEFSAccessPointInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointObservation) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 FilesystemConfigurationEFSAccessPointObservation. +func (in *FilesystemConfigurationEFSAccessPointObservation) DeepCopy() *FilesystemConfigurationEFSAccessPointObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointParameters) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointParameters) { + *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.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 FilesystemConfigurationEFSAccessPointParameters. +func (in *FilesystemConfigurationEFSAccessPointParameters) DeepCopy() *FilesystemConfigurationEFSAccessPointParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationInitParameters) DeepCopyInto(out *FilesystemConfigurationInitParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationInitParameters. +func (in *FilesystemConfigurationInitParameters) DeepCopy() *FilesystemConfigurationInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationObservation) DeepCopyInto(out *FilesystemConfigurationObservation) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointObservation) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointObservation) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationObservation. +func (in *FilesystemConfigurationObservation) DeepCopy() *FilesystemConfigurationObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationParameters) DeepCopyInto(out *FilesystemConfigurationParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointParameters) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationParameters. +func (in *FilesystemConfigurationParameters) DeepCopy() *FilesystemConfigurationParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointInitParameters) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointInitParameters) { + *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.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 FilesystemConfigurationS3FilesAccessPointInitParameters. +func (in *FilesystemConfigurationS3FilesAccessPointInitParameters) DeepCopy() *FilesystemConfigurationS3FilesAccessPointInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointObservation) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 FilesystemConfigurationS3FilesAccessPointObservation. +func (in *FilesystemConfigurationS3FilesAccessPointObservation) DeepCopy() *FilesystemConfigurationS3FilesAccessPointObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointParameters) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointParameters) { + *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.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 FilesystemConfigurationS3FilesAccessPointParameters. +func (in *FilesystemConfigurationS3FilesAccessPointParameters) DeepCopy() *FilesystemConfigurationS3FilesAccessPointParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageInitParameters) DeepCopyInto(out *FilesystemConfigurationSessionStorageInitParameters) { + *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 FilesystemConfigurationSessionStorageInitParameters. +func (in *FilesystemConfigurationSessionStorageInitParameters) DeepCopy() *FilesystemConfigurationSessionStorageInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageObservation) DeepCopyInto(out *FilesystemConfigurationSessionStorageObservation) { + *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 FilesystemConfigurationSessionStorageObservation. +func (in *FilesystemConfigurationSessionStorageObservation) DeepCopy() *FilesystemConfigurationSessionStorageObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageParameters) DeepCopyInto(out *FilesystemConfigurationSessionStorageParameters) { + *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 FilesystemConfigurationSessionStorageParameters. +func (in *FilesystemConfigurationSessionStorageParameters) DeepCopy() *FilesystemConfigurationSessionStorageParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterInitParameters) DeepCopyInto(out *FilterInitParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterInitParameters. +func (in *FilterInitParameters) DeepCopy() *FilterInitParameters { + if in == nil { + return nil + } + out := new(FilterInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { + if in == nil { + return nil + } + out := new(FilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { + if in == nil { + return nil + } + out := new(FilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Gateway) DeepCopyInto(out *Gateway) { + *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 Gateway. +func (in *Gateway) DeepCopy() *Gateway { + if in == nil { + return nil + } + out := new(Gateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Gateway) 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 *GatewayAuthorizerConfigurationInitParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationInitParameters. +func (in *GatewayAuthorizerConfigurationInitParameters) DeepCopy() *GatewayAuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayAuthorizerConfigurationObservation) DeepCopyInto(out *GatewayAuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationObservation. +func (in *GatewayAuthorizerConfigurationObservation) DeepCopy() *GatewayAuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayAuthorizerConfigurationParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationParameters. +func (in *GatewayAuthorizerConfigurationParameters) DeepCopy() *GatewayAuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleInitParameters) DeepCopyInto(out *GatewayIAMRoleInitParameters) { + *out = *in + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleInitParameters. +func (in *GatewayIAMRoleInitParameters) DeepCopy() *GatewayIAMRoleInitParameters { + if in == nil { + return nil + } + out := new(GatewayIAMRoleInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleObservation) DeepCopyInto(out *GatewayIAMRoleObservation) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleObservation. +func (in *GatewayIAMRoleObservation) DeepCopy() *GatewayIAMRoleObservation { + if in == nil { + return nil + } + out := new(GatewayIAMRoleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleParameters) DeepCopyInto(out *GatewayIAMRoleParameters) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleParameters. +func (in *GatewayIAMRoleParameters) DeepCopy() *GatewayIAMRoleParameters { + if in == nil { + return nil + } + out := new(GatewayIAMRoleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters) { + *out = *in + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationInitParameters, 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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *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 GatewayInitParameters. +func (in *GatewayInitParameters) DeepCopy() *GatewayInitParameters { + if in == nil { + return nil + } + out := new(GatewayInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayList) DeepCopyInto(out *GatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Gateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. +func (in *GatewayList) DeepCopy() *GatewayList { + if in == nil { + return nil + } + out := new(GatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayList) 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 *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in + } + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } + if in.GatewayURL != nil { + in, out := &in.GatewayURL, &out.GatewayURL + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationObservation, 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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *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.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.WorkloadIdentityDetails != nil { + in, out := &in.WorkloadIdentityDetails, &out.WorkloadIdentityDetails + *out = make([]GatewayWorkloadIdentityDetailsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMatchValueObservation. -func (in *ClaimMatchValueObservation) DeepCopy() *ClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { if in == nil { return nil } - out := new(ClaimMatchValueObservation) + out := new(GatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueParameters) DeepCopyInto(out *ClaimMatchValueParameters) { +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationParameters, 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 ClaimMatchValueParameters. -func (in *ClaimMatchValueParameters) DeepCopy() *ClaimMatchValueParameters { - if in == nil { - return nil + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in } - out := new(ClaimMatchValueParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnInitParameters) DeepCopyInto(out *ClientSecretArnInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnInitParameters. -func (in *ClientSecretArnInitParameters) DeepCopy() *ClientSecretArnInitParameters { - if in == nil { - return nil + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - out := new(ClientSecretArnInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnObservation) DeepCopyInto(out *ClientSecretArnObservation) { - *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + 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) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnObservation. -func (in *ClientSecretArnObservation) DeepCopy() *ClientSecretArnObservation { - if in == nil { - return nil - } - out := new(ClientSecretArnObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnParameters) DeepCopyInto(out *ClientSecretArnParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnParameters. -func (in *ClientSecretArnParameters) DeepCopy() *ClientSecretArnParameters { - if in == nil { - return nil + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationParameters) + (*in).DeepCopyInto(*out) } - out := new(ClientSecretArnParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationInitParameters) DeepCopyInto(out *CodeConfigurationInitParameters) { - *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeInitParameters) + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationParameters) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *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.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *out = new(string) + **out = **in } - if in.Runtime != nil { - in, out := &in.Runtime, &out.Runtime + 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 CodeConfigurationInitParameters. -func (in *CodeConfigurationInitParameters) DeepCopy() *CodeConfigurationInitParameters { - if in == nil { - return nil + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in } - out := new(CodeConfigurationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationObservation) DeepCopyInto(out *CodeConfigurationObservation) { - *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeObservation) + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + 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 } } - if in.Runtime != nil { - in, out := &in.Runtime, &out.Runtime - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationObservation. -func (in *CodeConfigurationObservation) DeepCopy() *CodeConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { if in == nil { return nil } - out := new(CodeConfigurationObservation) + out := new(GatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationParameters) DeepCopyInto(out *CodeConfigurationParameters) { +func (in *GatewayProtocolConfigurationInitParameters) DeepCopyInto(out *GatewayProtocolConfigurationInitParameters) { *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeParameters) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpInitParameters) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *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.Runtime != nil { - in, out := &in.Runtime, &out.Runtime - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationParameters. -func (in *CodeConfigurationParameters) DeepCopy() *CodeConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationInitParameters. +func (in *GatewayProtocolConfigurationInitParameters) DeepCopy() *GatewayProtocolConfigurationInitParameters { if in == nil { return nil } - out := new(CodeConfigurationParameters) + out := new(GatewayProtocolConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInitParameters) DeepCopyInto(out *CodeInitParameters) { +func (in *GatewayProtocolConfigurationObservation) DeepCopyInto(out *GatewayProtocolConfigurationObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3InitParameters) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInitParameters. -func (in *CodeInitParameters) DeepCopy() *CodeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationObservation. +func (in *GatewayProtocolConfigurationObservation) DeepCopy() *GatewayProtocolConfigurationObservation { if in == nil { return nil } - out := new(CodeInitParameters) + out := new(GatewayProtocolConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreter) DeepCopyInto(out *CodeInterpreter) { +func (in *GatewayProtocolConfigurationParameters) DeepCopyInto(out *GatewayProtocolConfigurationParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreter. -func (in *CodeInterpreter) DeepCopy() *CodeInterpreter { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationParameters. +func (in *GatewayProtocolConfigurationParameters) DeepCopy() *GatewayProtocolConfigurationParameters { if in == nil { return nil } - out := new(CodeInterpreter) + out := new(GatewayProtocolConfigurationParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeInterpreter) 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 *CodeInterpreterCertificateInitParameters) DeepCopyInto(out *CodeInterpreterCertificateInitParameters) { +func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationInitParameters) - (*in).DeepCopyInto(*out) - } + 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 CodeInterpreterCertificateInitParameters. -func (in *CodeInterpreterCertificateInitParameters) DeepCopy() *CodeInterpreterCertificateInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. +func (in *GatewaySpec) DeepCopy() *GatewaySpec { if in == nil { return nil } - out := new(CodeInterpreterCertificateInitParameters) + out := new(GatewaySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterCertificateObservation) DeepCopyInto(out *CodeInterpreterCertificateObservation) { +func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateObservation. -func (in *CodeInterpreterCertificateObservation) DeepCopy() *CodeInterpreterCertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. +func (in *GatewayStatus) DeepCopy() *GatewayStatus { if in == nil { return nil } - out := new(CodeInterpreterCertificateObservation) + out := new(GatewayStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterCertificateParameters) DeepCopyInto(out *CodeInterpreterCertificateParameters) { +func (in *GatewayTarget) DeepCopyInto(out *GatewayTarget) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationParameters) - (*in).DeepCopyInto(*out) - } + 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 CodeInterpreterCertificateParameters. -func (in *CodeInterpreterCertificateParameters) DeepCopy() *CodeInterpreterCertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTarget. +func (in *GatewayTarget) DeepCopy() *GatewayTarget { if in == nil { return nil } - out := new(CodeInterpreterCertificateParameters) + out := new(GatewayTarget) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayTarget) 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 *CodeInterpreterInitParameters) DeepCopyInto(out *CodeInterpreterInitParameters) { +func (in *GatewayTargetInitParameters) DeepCopyInto(out *GatewayTargetInitParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationInitParameters) + (*in).DeepCopyInto(*out) } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier *out = new(string) **out = **in } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + if in.GatewayIdentifierRef != nil { + in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + if in.GatewayIdentifierSelector != nil { + in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationInitParameters) + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointInitParameters) (*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.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterInitParameters. -func (in *CodeInterpreterInitParameters) DeepCopy() *CodeInterpreterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetInitParameters. +func (in *GatewayTargetInitParameters) DeepCopy() *GatewayTargetInitParameters { if in == nil { return nil } - out := new(CodeInterpreterInitParameters) + out := new(GatewayTargetInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterList) DeepCopyInto(out *CodeInterpreterList) { +func (in *GatewayTargetList) DeepCopyInto(out *GatewayTargetList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]CodeInterpreter, len(*in)) + *out = make([]GatewayTarget, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterList. -func (in *CodeInterpreterList) DeepCopy() *CodeInterpreterList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetList. +func (in *GatewayTargetList) DeepCopy() *GatewayTargetList { if in == nil { return nil } - out := new(CodeInterpreterList) + out := new(GatewayTargetList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeInterpreterList) DeepCopyObject() runtime.Object { +func (in *GatewayTargetList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -3442,129 +10304,216 @@ func (in *CodeInterpreterList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationInitParameters) { +func (in *GatewayTargetObservation) DeepCopyInto(out *GatewayTargetObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigInitParameters) + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationObservation) (*in).DeepCopyInto(*out) } + if in.TargetID != nil { + in, out := &in.TargetID, &out.TargetID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationInitParameters. -func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopy() *CodeInterpreterNetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetObservation. +func (in *GatewayTargetObservation) DeepCopy() *GatewayTargetObservation { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationInitParameters) + out := new(GatewayTargetObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopyInto(out *CodeInterpreterNetworkConfigurationObservation) { +func (in *GatewayTargetParameters) DeepCopyInto(out *GatewayTargetParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigObservation) + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + *out = new(string) + **out = **in + } + if in.GatewayIdentifierRef != nil { + in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.GatewayIdentifierSelector != nil { + in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationObservation. -func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopy() *CodeInterpreterNetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetParameters. +func (in *GatewayTargetParameters) DeepCopy() *GatewayTargetParameters { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationObservation) + out := new(GatewayTargetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationParameters) { +func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigParameters) + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationParameters. -func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopy() *CodeInterpreterNetworkConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointInitParameters. +func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopy() *GatewayTargetPrivateEndpointInitParameters { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationParameters) + out := new(GatewayTargetPrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservation) { +func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CodeInterpreterArn != nil { - in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.CodeInterpreterID != nil { - in, out := &in.CodeInterpreterID, &out.CodeInterpreterID + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.RoutingDomainRef != nil { + in, out := &in.RoutingDomainRef, &out.RoutingDomainRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn - *out = new(string) - **out = **in + if in.RoutingDomainSelector != nil { + in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + 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.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.SecurityGroupIdsRefs != nil { + in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationObservation) + if in.SecurityGroupIdsSelector != nil { + in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region - *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 @@ -3582,8 +10531,70 @@ func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservati (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } + if in.VPCIdentifierRef != nil { + in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIdentifierSelector != nil { + in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceInitParameters. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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 @@ -3598,62 +10609,79 @@ func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservati (*out)[key] = outVal } } + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterObservation. -func (in *CodeInterpreterObservation) DeepCopy() *CodeInterpreterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceObservation. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(CodeInterpreterObservation) + out := new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters) { +func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + if in.RoutingDomainRef != nil { + in, out := &in.RoutingDomainRef, &out.RoutingDomainRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + if in.RoutingDomainSelector != nil { + in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + 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.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationParameters) + if in.SecurityGroupIdsRefs != nil { + in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIdsSelector != nil { + in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region - *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 @@ -3671,869 +10699,891 @@ func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters (*out)[key] = outVal } } + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } + if in.VPCIdentifierRef != nil { + in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIdentifierSelector != nil { + in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterParameters. -func (in *CodeInterpreterParameters) DeepCopy() *CodeInterpreterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceParameters. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(CodeInterpreterParameters) + out := new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterSpec) DeepCopyInto(out *CodeInterpreterSpec) { +func (in *GatewayTargetPrivateEndpointObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterSpec. -func (in *CodeInterpreterSpec) DeepCopy() *CodeInterpreterSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointObservation. +func (in *GatewayTargetPrivateEndpointObservation) DeepCopy() *GatewayTargetPrivateEndpointObservation { if in == nil { return nil } - out := new(CodeInterpreterSpec) + out := new(GatewayTargetPrivateEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterStatus) DeepCopyInto(out *CodeInterpreterStatus) { +func (in *GatewayTargetPrivateEndpointParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterStatus. -func (in *CodeInterpreterStatus) DeepCopy() *CodeInterpreterStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointParameters. +func (in *GatewayTargetPrivateEndpointParameters) DeepCopy() *GatewayTargetPrivateEndpointParameters { if in == nil { return nil } - out := new(CodeInterpreterStatus) + out := new(GatewayTargetPrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeObservation) DeepCopyInto(out *CodeObservation) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3Observation) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } + if in.ResourceConfigurationIdentifierRef != nil { + in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ResourceConfigurationIdentifierSelector != nil { + in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeObservation. -func (in *CodeObservation) DeepCopy() *CodeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters { if in == nil { return nil } - out := new(CodeObservation) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeParameters) DeepCopyInto(out *CodeParameters) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3Parameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeParameters. -func (in *CodeParameters) DeepCopy() *CodeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation { if in == nil { return nil } - out := new(CodeParameters) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParameters) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationInitParameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionInitParameters) + if in.ResourceConfigurationIdentifierRef != nil { + in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.ResourceConfigurationIdentifierSelector != nil { + in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters. -func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(ConfigurationInitParameters) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { +func (in *GatewayTargetSpec) DeepCopyInto(out *GatewayTargetSpec) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationObservation) - (*in).DeepCopyInto(*out) - } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionObservation) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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 ConfigurationObservation. -func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetSpec. +func (in *GatewayTargetSpec) DeepCopy() *GatewayTargetSpec { if in == nil { return nil } - out := new(ConfigurationObservation) + out := new(GatewayTargetSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { +func (in *GatewayTargetStatus) DeepCopyInto(out *GatewayTargetStatus) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationParameters) - (*in).DeepCopyInto(*out) - } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionParameters) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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 ConfigurationParameters. -func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetStatus. +func (in *GatewayTargetStatus) DeepCopy() *GatewayTargetStatus { if in == nil { return nil } - out := new(ConfigurationParameters) + out := new(GatewayTargetStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationInitParameters) DeepCopyInto(out *ConsolidationInitParameters) { +func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt - *out = new(string) - **out = **in - } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationInitParameters. -func (in *ConsolidationInitParameters) DeepCopy() *ConsolidationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsInitParameters. +func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopy() *GatewayWorkloadIdentityDetailsInitParameters { if in == nil { return nil } - out := new(ConsolidationInitParameters) + out := new(GatewayWorkloadIdentityDetailsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationObservation) DeepCopyInto(out *ConsolidationObservation) { +func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopyInto(out *GatewayWorkloadIdentityDetailsObservation) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.WorkloadIdentityArn != nil { + in, out := &in.WorkloadIdentityArn, &out.WorkloadIdentityArn *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsObservation. +func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopy() *GatewayWorkloadIdentityDetailsObservation { + if in == nil { + return nil } + out := new(GatewayWorkloadIdentityDetailsObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationObservation. -func (in *ConsolidationObservation) DeepCopy() *ConsolidationObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsParameters. +func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopy() *GatewayWorkloadIdentityDetailsParameters { if in == nil { return nil } - out := new(ConsolidationObservation) + out := new(GatewayWorkloadIdentityDetailsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationParameters) DeepCopyInto(out *ConsolidationParameters) { +func (in *GeminiModelConfigInitParameters) DeepCopyInto(out *GeminiModelConfigInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn *out = new(string) **out = **in } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } if in.ModelID != nil { in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationParameters. -func (in *ConsolidationParameters) DeepCopy() *ConsolidationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigInitParameters. +func (in *GeminiModelConfigInitParameters) DeepCopy() *GeminiModelConfigInitParameters { if in == nil { return nil } - out := new(ConsolidationParameters) + out := new(GeminiModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationInitParameters) DeepCopyInto(out *ContainerConfigurationInitParameters) { +func (in *GeminiModelConfigObservation) DeepCopyInto(out *GeminiModelConfigObservation) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationInitParameters. -func (in *ContainerConfigurationInitParameters) DeepCopy() *ContainerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigObservation. +func (in *GeminiModelConfigObservation) DeepCopy() *GeminiModelConfigObservation { if in == nil { return nil } - out := new(ContainerConfigurationInitParameters) + out := new(GeminiModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationObservation) DeepCopyInto(out *ContainerConfigurationObservation) { +func (in *GeminiModelConfigParameters) DeepCopyInto(out *GeminiModelConfigParameters) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationObservation. -func (in *ContainerConfigurationObservation) DeepCopy() *ContainerConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigParameters. +func (in *GeminiModelConfigParameters) DeepCopy() *GeminiModelConfigParameters { if in == nil { return nil } - out := new(ContainerConfigurationObservation) + out := new(GeminiModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationParameters) DeepCopyInto(out *ContainerConfigurationParameters) { +func (in *GithubOauth2ProviderConfigInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigInitParameters) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationParameters. -func (in *ContainerConfigurationParameters) DeepCopy() *ContainerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigInitParameters. +func (in *GithubOauth2ProviderConfigInitParameters) DeepCopy() *GithubOauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(ContainerConfigurationParameters) + out := new(GithubOauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationInitParameters) DeepCopyInto(out *ContentConfigurationInitParameters) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationInitParameters. -func (in *ContentConfigurationInitParameters) DeepCopy() *ContentConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryInitParameters { if in == nil { return nil } - out := new(ContentConfigurationInitParameters) + out := new(GithubOauth2ProviderConfigOauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationObservation) DeepCopyInto(out *ContentConfigurationObservation) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryObservation) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]OauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationObservation. -func (in *ContentConfigurationObservation) DeepCopy() *ContentConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryObservation. +func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(ContentConfigurationObservation) + out := new(GithubOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationParameters) DeepCopyInto(out *ContentConfigurationParameters) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationParameters. -func (in *ContentConfigurationParameters) DeepCopy() *ContentConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryParameters. +func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(ContentConfigurationParameters) + out := new(GithubOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationInitParameters) DeepCopyInto(out *CredentialProviderConfigurationInitParameters) { +func (in *GithubOauth2ProviderConfigObservation) DeepCopyInto(out *GithubOauth2ProviderConfigObservation) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyInitParameters) - (*in).DeepCopyInto(*out) - } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleInitParameters) - (*in).DeepCopyInto(*out) - } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughInitParameters) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthInitParameters) - (*in).DeepCopyInto(*out) + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]GithubOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationInitParameters. -func (in *CredentialProviderConfigurationInitParameters) DeepCopy() *CredentialProviderConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigObservation. +func (in *GithubOauth2ProviderConfigObservation) DeepCopy() *GithubOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(CredentialProviderConfigurationInitParameters) + out := new(GithubOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationObservation) DeepCopyInto(out *CredentialProviderConfigurationObservation) { +func (in *GithubOauth2ProviderConfigParameters) DeepCopyInto(out *GithubOauth2ProviderConfigParameters) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyObservation) - (*in).DeepCopyInto(*out) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsObservation) - (*in).DeepCopyInto(*out) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleObservation) - (*in).DeepCopyInto(*out) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughParameters) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthObservation) - (*in).DeepCopyInto(*out) + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationObservation. -func (in *CredentialProviderConfigurationObservation) DeepCopy() *CredentialProviderConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigParameters. +func (in *GithubOauth2ProviderConfigParameters) DeepCopy() *GithubOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(CredentialProviderConfigurationObservation) + out := new(GithubOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationParameters) DeepCopyInto(out *CredentialProviderConfigurationParameters) { +func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigInitParameters) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyParameters) - (*in).DeepCopyInto(*out) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsParameters) - (*in).DeepCopyInto(*out) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleParameters) - (*in).DeepCopyInto(*out) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughParameters) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthParameters) - (*in).DeepCopyInto(*out) + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationParameters. -func (in *CredentialProviderConfigurationParameters) DeepCopy() *CredentialProviderConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigInitParameters. +func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopy() *GoogleOauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(CredentialProviderConfigurationParameters) + out := new(GoogleOauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueInitParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator - *out = new(string) - **out = **in - } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueInitParameters. -func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueInitParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueObservation) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueObservation) - (*in).DeepCopyInto(*out) + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueObservation. -func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueObservation) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator - *out = new(string) - **out = **in - } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueParameters. -func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimInitParameters) DeepCopyInto(out *CustomClaimInitParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimInitParameters. -func (in *CustomClaimInitParameters) DeepCopy() *CustomClaimInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters { if in == nil { return nil } - out := new(CustomClaimInitParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimObservation) DeepCopyInto(out *CustomClaimObservation) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryObservation) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueObservation) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimObservation. -func (in *CustomClaimObservation) DeepCopy() *CustomClaimObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryObservation. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(CustomClaimObservation) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimParameters) DeepCopyInto(out *CustomClaimParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimParameters. -func (in *CustomClaimParameters) DeepCopy() *CustomClaimParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(CustomClaimParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { +func (in *GoogleOauth2ProviderConfigObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigObservation) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *out = make([]*string, len(*in)) + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryObservation, 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 CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigObservation. +func (in *GoogleOauth2ProviderConfigObservation) DeepCopy() *GoogleOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) + out := new(GoogleOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { +func (in *GoogleOauth2ProviderConfigParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerAllowedWorkloadConfigurationObservation. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigParameters. +func (in *GoogleOauth2ProviderConfigParameters) DeepCopy() *GoogleOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) + out := new(GoogleOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { +func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerAllowedWorkloadConfigurationParameters. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPInitParameters. +func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + out := new(HTTPInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimInitParameters) { +func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueInitParameters) + if in.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeObservation) (*in).DeepCopyInto(*out) } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimInitParameters. -func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPObservation. +func (in *HTTPObservation) DeepCopy() *HTTPObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimInitParameters) + out := new(HTTPObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimObservation) { +func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueObservation) + if in.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeParameters) (*in).DeepCopyInto(*out) } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimObservation. -func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPParameters. +func (in *HTTPParameters) DeepCopy() *HTTPParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimObservation) + out := new(HTTPParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimParameters) { +func (in *Harness) DeepCopyInto(out *Harness) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *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 CustomJwtAuthorizerCustomClaimParameters. -func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Harness. +func (in *Harness) DeepCopy() *Harness { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimParameters) + out := new(Harness) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Harness) 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 *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthorizerInitParameters) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4570,12 +11620,12 @@ func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthoriz } if in.AllowedWorkloadConfiguration != nil { in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationInitParameters) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) (*in).DeepCopyInto(*out) } if in.CustomClaim != nil { in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimInitParameters, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4587,30 +11637,30 @@ func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthoriz } if in.PrivateEndpoint != nil { in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointInitParameters) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) (*in).DeepCopyInto(*out) } if in.PrivateEndpointOverrides != nil { in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesInitParameters, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerInitParameters. -func (in *CustomJwtAuthorizerInitParameters) DeepCopy() *CustomJwtAuthorizerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerInitParameters) + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerObservation) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4647,12 +11697,12 @@ func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerO } if in.AllowedWorkloadConfiguration != nil { in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationObservation) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) (*in).DeepCopyInto(*out) } if in.CustomClaim != nil { in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimObservation, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4664,30 +11714,30 @@ func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerO } if in.PrivateEndpoint != nil { in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointObservation) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) (*in).DeepCopyInto(*out) } if in.PrivateEndpointOverrides != nil { in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesObservation, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerObservation. -func (in *CustomJwtAuthorizerObservation) DeepCopy() *CustomJwtAuthorizerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerObservation) + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerParameters) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4722,87 +11772,288 @@ func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerPa } } } - if in.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationParameters) - (*in).DeepCopyInto(*out) + if in.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationInitParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationInitParameters. +func (in *HarnessAuthorizerConfigurationInitParameters) DeepCopy() *HarnessAuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationObservation) DeepCopyInto(out *HarnessAuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationObservation. +func (in *HarnessAuthorizerConfigurationObservation) DeepCopy() *HarnessAuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationParameters. +func (in *HarnessAuthorizerConfigurationParameters) DeepCopy() *HarnessAuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessInitParameters) DeepCopyInto(out *HarnessInitParameters) { + *out = *in + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools + *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.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentVariables != nil { + in, out := &in.EnvironmentVariables, &out.EnvironmentVariables + *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.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.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName + *out = new(string) + **out = **in + } + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptInitParameters, 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.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) + **out = **in } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimParameters, len(*in)) + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointParameters) + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationInitParameters) (*in).DeepCopyInto(*out) } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerParameters. -func (in *CustomJwtAuthorizerParameters) DeepCopy() *CustomJwtAuthorizerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessInitParameters. +func (in *HarnessInitParameters) DeepCopy() *HarnessInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerParameters) + out := new(HarnessInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointInitParameters) { +func (in *HarnessList) DeepCopyInto(out *HarnessList) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Harness, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessList. +func (in *HarnessList) DeepCopy() *HarnessList { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointInitParameters) + out := new(HarnessList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HarnessList) 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 *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { +func (in *HarnessObservation) DeepCopyInto(out *HarnessObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain - *out = new(string) - **out = **in - } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4812,87 +12063,103 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) De } } } - 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.Arn != nil { + in, out := &in.Arn, &out.Arn + *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.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentObservation) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactObservation) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { - if in == nil { - return nil + if in.HarnessID != nil { + in, out := &in.HarnessID, &out.HarnessID + *out = new(string) + **out = **in } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { - *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds - *out = make([]*string, len(*in)) + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryObservation) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillObservation, 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.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds - *out = make([]*string, len(*in)) + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptParameters, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + (*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.Tags != nil { - in, out := &in.Tags, &out.Tags + 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 @@ -4907,38 +12174,40 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepC (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) **out = **in } + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessObservation. +func (in *HarnessObservation) DeepCopy() *HarnessObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + out := new(HarnessObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { +func (in *HarnessParameters) DeepCopyInto(out *HarnessParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain - *out = new(string) - **out = **in - } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4948,15 +12217,83 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCo } } } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds - *out = make([]*string, len(*in)) + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentVariablesSecretRef != nil { + in, out := &in.EnvironmentVariablesSecretRef, &out.EnvironmentVariablesSecretRef + *out = new(v1.SecretReference) + **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.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName + *out = new(string) + **out = **in + } + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryParameters) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptParameters, 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.Tags != nil { @@ -4975,2405 +12312,2347 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCo (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { - if in == nil { - return nil - } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointObservation) { - *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointObservation. -func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessParameters. +func (in *HarnessParameters) DeepCopy() *HarnessParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointObservation) + out := new(HarnessParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { +func (in *HarnessSpec) DeepCopyInto(out *HarnessSpec) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } + 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 CustomJwtAuthorizerPrivateEndpointOverridesInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessSpec. +func (in *HarnessSpec) DeepCopy() *HarnessSpec { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + out := new(HarnessSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesObservation) { +func (in *HarnessStatus) DeepCopyInto(out *HarnessStatus) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesObservation. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessStatus. +func (in *HarnessStatus) DeepCopy() *HarnessStatus { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesObservation) + out := new(HarnessStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesParameters) { +func (in *HostingEnvironmentInitParameters) DeepCopyInto(out *HostingEnvironmentInitParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentInitParameters. +func (in *HostingEnvironmentInitParameters) DeepCopy() *HostingEnvironmentInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesParameters) + out := new(HostingEnvironmentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { +func (in *HostingEnvironmentObservation) DeepCopyInto(out *HostingEnvironmentObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + 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 CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentObservation. +func (in *HostingEnvironmentObservation) DeepCopy() *HostingEnvironmentObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + out := new(HostingEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { +func (in *HostingEnvironmentParameters) DeepCopyInto(out *HostingEnvironmentParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + 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 CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentParameters. +func (in *HostingEnvironmentParameters) DeepCopy() *HostingEnvironmentParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + out := new(HostingEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { +func (in *IndexedKeyInitParameters) DeepCopyInto(out *IndexedKeyInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyInitParameters. +func (in *IndexedKeyInitParameters) DeepCopy() *IndexedKeyInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + out := new(IndexedKeyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointParameters) { +func (in *IndexedKeyObservation) DeepCopyInto(out *IndexedKeyObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointParameters. -func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointParameters { - if in == nil { - return nil + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - out := new(CustomJwtAuthorizerPrivateEndpointParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { - *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyObservation. +func (in *IndexedKeyObservation) DeepCopy() *IndexedKeyObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(IndexedKeyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *IndexedKeyParameters) DeepCopyInto(out *IndexedKeyParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Key != nil { + in, out := &in.Key, &out.Key *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { - if in == nil { - return nil - } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { - *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyParameters. +func (in *IndexedKeyParameters) DeepCopy() *IndexedKeyParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(IndexedKeyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigInitParameters) DeepCopyInto(out *CustomOauth2ProviderConfigInitParameters) { +func (in *InferenceConfigInitParameters) DeepCopyInto(out *InferenceConfigInitParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryInitParameters) - (*in).DeepCopyInto(*out) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigInitParameters. -func (in *CustomOauth2ProviderConfigInitParameters) DeepCopy() *CustomOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigInitParameters. +func (in *InferenceConfigInitParameters) DeepCopy() *InferenceConfigInitParameters { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigInitParameters) + out := new(InferenceConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigObservation) DeepCopyInto(out *CustomOauth2ProviderConfigObservation) { +func (in *InferenceConfigObservation) DeepCopyInto(out *InferenceConfigObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryObservation) - (*in).DeepCopyInto(*out) + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigObservation. -func (in *CustomOauth2ProviderConfigObservation) DeepCopy() *CustomOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigObservation. +func (in *InferenceConfigObservation) DeepCopy() *InferenceConfigObservation { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigObservation) + out := new(InferenceConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigParameters) DeepCopyInto(out *CustomOauth2ProviderConfigParameters) { +func (in *InferenceConfigParameters) DeepCopyInto(out *InferenceConfigParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigParameters. -func (in *CustomOauth2ProviderConfigParameters) DeepCopy() *CustomOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigParameters. +func (in *InferenceConfigParameters) DeepCopy() *InferenceConfigParameters { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigParameters) + out := new(InferenceConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointInitParameters) DeepCopyInto(out *EFSAccessPointInitParameters) { +func (in *InlineFunctionInitParameters) DeepCopyInto(out *InlineFunctionInitParameters) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + in.InputSchemaSecretRef.DeepCopyInto(&out.InputSchemaSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSAccessPointInitParameters. -func (in *EFSAccessPointInitParameters) DeepCopy() *EFSAccessPointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionInitParameters. +func (in *InlineFunctionInitParameters) DeepCopy() *InlineFunctionInitParameters { if in == nil { return nil } - out := new(EFSAccessPointInitParameters) + out := new(InlineFunctionInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointObservation) DeepCopyInto(out *EFSAccessPointObservation) { +func (in *InlineFunctionObservation) DeepCopyInto(out *InlineFunctionObservation) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + 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 EFSAccessPointObservation. -func (in *EFSAccessPointObservation) DeepCopy() *EFSAccessPointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionObservation. +func (in *InlineFunctionObservation) DeepCopy() *InlineFunctionObservation { if in == nil { return nil } - out := new(EFSAccessPointObservation) + out := new(InlineFunctionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointParameters) DeepCopyInto(out *EFSAccessPointParameters) { +func (in *InlineFunctionParameters) DeepCopyInto(out *InlineFunctionParameters) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + in.InputSchemaSecretRef.DeepCopyInto(&out.InputSchemaSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSAccessPointParameters. -func (in *EFSAccessPointParameters) DeepCopy() *EFSAccessPointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionParameters. +func (in *InlineFunctionParameters) DeepCopy() *InlineFunctionParameters { if in == nil { return nil } - out := new(EFSAccessPointParameters) + out := new(InlineFunctionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyInitParameters) DeepCopyInto(out *EnterprisePolicyInitParameters) { +func (in *InlinePayloadInitParameters) DeepCopyInto(out *InlinePayloadInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaInitParameters) (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyInitParameters. -func (in *EnterprisePolicyInitParameters) DeepCopy() *EnterprisePolicyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadInitParameters. +func (in *InlinePayloadInitParameters) DeepCopy() *InlinePayloadInitParameters { if in == nil { return nil } - out := new(EnterprisePolicyInitParameters) + out := new(InlinePayloadInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationInitParameters) DeepCopyInto(out *EnterprisePolicyLocationInitParameters) { +func (in *InlinePayloadObservation) DeepCopyInto(out *InlinePayloadObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3InitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaObservation) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationInitParameters. -func (in *EnterprisePolicyLocationInitParameters) DeepCopy() *EnterprisePolicyLocationInitParameters { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(EnterprisePolicyLocationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationObservation) DeepCopyInto(out *EnterprisePolicyLocationObservation) { - *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3Observation) + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationObservation. -func (in *EnterprisePolicyLocationObservation) DeepCopy() *EnterprisePolicyLocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadObservation. +func (in *InlinePayloadObservation) DeepCopy() *InlinePayloadObservation { if in == nil { return nil } - out := new(EnterprisePolicyLocationObservation) + out := new(InlinePayloadObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationParameters) DeepCopyInto(out *EnterprisePolicyLocationParameters) { +func (in *InlinePayloadParameters) DeepCopyInto(out *InlinePayloadParameters) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3Parameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationParameters. -func (in *EnterprisePolicyLocationParameters) DeepCopy() *EnterprisePolicyLocationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadParameters. +func (in *InlinePayloadParameters) DeepCopy() *InlinePayloadParameters { if in == nil { return nil } - out := new(EnterprisePolicyLocationParameters) + out := new(InlinePayloadParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyObservation) DeepCopyInto(out *EnterprisePolicyObservation) { +func (in *InputConfigurationInitParameters) DeepCopyInto(out *InputConfigurationInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationObservation) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyObservation. -func (in *EnterprisePolicyObservation) DeepCopy() *EnterprisePolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationInitParameters. +func (in *InputConfigurationInitParameters) DeepCopy() *InputConfigurationInitParameters { if in == nil { return nil } - out := new(EnterprisePolicyObservation) + out := new(InputConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyParameters) DeepCopyInto(out *EnterprisePolicyParameters) { +func (in *InputConfigurationObservation) DeepCopyInto(out *InputConfigurationObservation) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationParameters) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyParameters. -func (in *EnterprisePolicyParameters) DeepCopy() *EnterprisePolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationObservation. +func (in *InputConfigurationObservation) DeepCopy() *InputConfigurationObservation { if in == nil { return nil } - out := new(EnterprisePolicyParameters) + out := new(InputConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionInitParameters) DeepCopyInto(out *ExtractionInitParameters) { +func (in *InputConfigurationParameters) DeepCopyInto(out *InputConfigurationParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt - *out = new(string) - **out = **in - } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionInitParameters. -func (in *ExtractionInitParameters) DeepCopy() *ExtractionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationParameters. +func (in *InputConfigurationParameters) DeepCopy() *InputConfigurationParameters { if in == nil { return nil } - out := new(ExtractionInitParameters) + out := new(InputConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionObservation) DeepCopyInto(out *ExtractionObservation) { +func (in *InputSchemaInitParameters) DeepCopyInto(out *InputSchemaInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyInitParameters, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionObservation. -func (in *ExtractionObservation) DeepCopy() *ExtractionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaInitParameters. +func (in *InputSchemaInitParameters) DeepCopy() *InputSchemaInitParameters { if in == nil { return nil } - out := new(ExtractionObservation) + out := new(InputSchemaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionParameters) DeepCopyInto(out *ExtractionParameters) { +func (in *InputSchemaObservation) DeepCopyInto(out *InputSchemaObservation) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsObservation) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyObservation, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionParameters. -func (in *ExtractionParameters) DeepCopy() *ExtractionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaObservation. +func (in *InputSchemaObservation) DeepCopy() *InputSchemaObservation { if in == nil { return nil } - out := new(ExtractionParameters) + out := new(InputSchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationInitParameters) DeepCopyInto(out *FilesystemConfigurationInitParameters) { +func (in *InputSchemaParameters) DeepCopyInto(out *InputSchemaParameters) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsParameters) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageInitParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyParameters, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationInitParameters. -func (in *FilesystemConfigurationInitParameters) DeepCopy() *FilesystemConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaParameters. +func (in *InputSchemaParameters) DeepCopy() *InputSchemaParameters { if in == nil { return nil } - out := new(FilesystemConfigurationInitParameters) + out := new(InputSchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationObservation) DeepCopyInto(out *FilesystemConfigurationObservation) { +func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaPropertyInitParameters) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsInitParameters) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageObservation) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationObservation. -func (in *FilesystemConfigurationObservation) DeepCopy() *FilesystemConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyInitParameters. +func (in *InputSchemaPropertyInitParameters) DeepCopy() *InputSchemaPropertyInitParameters { if in == nil { return nil } - out := new(FilesystemConfigurationObservation) + out := new(InputSchemaPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationParameters) DeepCopyInto(out *FilesystemConfigurationParameters) { +func (in *InputSchemaPropertyObservation) DeepCopyInto(out *InputSchemaPropertyObservation) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsObservation) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageParameters) - (*in).DeepCopyInto(*out) + 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 FilesystemConfigurationParameters. -func (in *FilesystemConfigurationParameters) DeepCopy() *FilesystemConfigurationParameters { - if in == nil { - return nil + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(FilesystemConfigurationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Gateway) DeepCopyInto(out *Gateway) { - *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 Gateway. -func (in *Gateway) DeepCopy() *Gateway { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyObservation. +func (in *InputSchemaPropertyObservation) DeepCopy() *InputSchemaPropertyObservation { if in == nil { return nil } - out := new(Gateway) + out := new(InputSchemaPropertyObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Gateway) 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 *GatewayAuthorizerConfigurationInitParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationInitParameters) { +func (in *InputSchemaPropertyParameters) DeepCopyInto(out *InputSchemaPropertyParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsParameters) (*in).DeepCopyInto(*out) } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationInitParameters. -func (in *GatewayAuthorizerConfigurationInitParameters) DeepCopy() *GatewayAuthorizerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyParameters. +func (in *InputSchemaPropertyParameters) DeepCopy() *InputSchemaPropertyParameters { if in == nil { return nil } - out := new(GatewayAuthorizerConfigurationInitParameters) + out := new(InputSchemaPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayAuthorizerConfigurationObservation) DeepCopyInto(out *GatewayAuthorizerConfigurationObservation) { +func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorConfigurationInitParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationInitParameters) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationObservation. -func (in *GatewayAuthorizerConfigurationObservation) DeepCopy() *GatewayAuthorizerConfigurationObservation { - if in == nil { - return nil + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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(GatewayAuthorizerConfigurationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayAuthorizerConfigurationParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationParameters) { - *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + if in.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationParameters. -func (in *GatewayAuthorizerConfigurationParameters) DeepCopy() *GatewayAuthorizerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationInitParameters. +func (in *InterceptorConfigurationInitParameters) DeepCopy() *InterceptorConfigurationInitParameters { if in == nil { return nil } - out := new(GatewayAuthorizerConfigurationParameters) + out := new(InterceptorConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleInitParameters) DeepCopyInto(out *GatewayIAMRoleInitParameters) { +func (in *InterceptorConfigurationObservation) DeepCopyInto(out *InterceptorConfigurationObservation) { *out = *in - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleInitParameters. -func (in *GatewayIAMRoleInitParameters) DeepCopy() *GatewayIAMRoleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationObservation. +func (in *InterceptorConfigurationObservation) DeepCopy() *InterceptorConfigurationObservation { if in == nil { return nil } - out := new(GatewayIAMRoleInitParameters) + out := new(InterceptorConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleObservation) DeepCopyInto(out *GatewayIAMRoleObservation) { +func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfigurationParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationParameters) + (*in).DeepCopyInto(*out) } - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleObservation. -func (in *GatewayIAMRoleObservation) DeepCopy() *GatewayIAMRoleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationParameters. +func (in *InterceptorConfigurationParameters) DeepCopy() *InterceptorConfigurationParameters { if in == nil { return nil } - out := new(GatewayIAMRoleObservation) + out := new(InterceptorConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleParameters) DeepCopyInto(out *GatewayIAMRoleParameters) { +func (in *InterceptorInitParameters) DeepCopyInto(out *InterceptorInitParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleParameters. -func (in *GatewayIAMRoleParameters) DeepCopy() *GatewayIAMRoleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorInitParameters. +func (in *InterceptorInitParameters) DeepCopy() *InterceptorInitParameters { if in == nil { return nil } - out := new(GatewayIAMRoleParameters) + out := new(InterceptorInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters) { +func (in *InterceptorObservation) DeepCopyInto(out *InterceptorObservation) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel - *out = new(string) - **out = **in - } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationInitParameters, 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.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType - *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) + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaObservation) (*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 GatewayInitParameters. -func (in *GatewayInitParameters) DeepCopy() *GatewayInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorObservation. +func (in *InterceptorObservation) DeepCopy() *InterceptorObservation { if in == nil { return nil } - out := new(GatewayInitParameters) + out := new(InterceptorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayList) DeepCopyInto(out *GatewayList) { +func (in *InterceptorParameters) DeepCopyInto(out *InterceptorParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Gateway, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. -func (in *GatewayList) DeepCopy() *GatewayList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorParameters. +func (in *InterceptorParameters) DeepCopy() *InterceptorParameters { if in == nil { return nil } - out := new(GatewayList) + out := new(InterceptorParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayList) 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 *GatewayObservation) DeepCopyInto(out *GatewayObservation) { +func (in *ItemsInitParameters) DeepCopyInto(out *ItemsInitParameters) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel - *out = new(string) - **out = **in - } - if in.GatewayArn != nil { - in, out := &in.GatewayArn, &out.GatewayArn - *out = new(string) - **out = **in - } - if in.GatewayID != nil { - in, out := &in.GatewayID, &out.GatewayID - *out = new(string) - **out = **in - } - if in.GatewayURL != nil { - in, out := &in.GatewayURL, &out.GatewayURL - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsInitParameters) + (*in).DeepCopyInto(*out) } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationObservation, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsInitParameters. +func (in *ItemsInitParameters) DeepCopy() *ItemsInitParameters { + if in == nil { + return nil + } + out := new(ItemsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemsItemsInitParameters) DeepCopyInto(out *ItemsItemsInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.Type != nil { + in, out := &in.Type, &out.Type *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.WorkloadIdentityDetails != nil { - in, out := &in.WorkloadIdentityDetails, &out.WorkloadIdentityDetails - *out = make([]GatewayWorkloadIdentityDetailsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. -func (in *GatewayObservation) DeepCopy() *GatewayObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsInitParameters. +func (in *ItemsItemsInitParameters) DeepCopy() *ItemsItemsInitParameters { if in == nil { return nil } - out := new(GatewayObservation) + out := new(ItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { +func (in *ItemsItemsObservation) DeepCopyInto(out *ItemsItemsObservation) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *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 + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationParameters) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsObservation. +func (in *ItemsItemsObservation) DeepCopy() *ItemsItemsObservation { + if in == nil { + return nil } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType + out := new(ItemsItemsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemsItemsParameters) DeepCopyInto(out *ItemsItemsParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *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 - } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. -func (in *GatewayParameters) DeepCopy() *GatewayParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsParameters. +func (in *ItemsItemsParameters) DeepCopy() *ItemsItemsParameters { if in == nil { return nil } - out := new(GatewayParameters) + out := new(ItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationInitParameters) DeepCopyInto(out *GatewayProtocolConfigurationInitParameters) { +func (in *ItemsObservation) DeepCopyInto(out *ItemsObservation) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsObservation) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationInitParameters. -func (in *GatewayProtocolConfigurationInitParameters) DeepCopy() *GatewayProtocolConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsObservation. +func (in *ItemsObservation) DeepCopy() *ItemsObservation { if in == nil { return nil } - out := new(GatewayProtocolConfigurationInitParameters) + out := new(ItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationObservation) DeepCopyInto(out *GatewayProtocolConfigurationObservation) { +func (in *ItemsParameters) DeepCopyInto(out *ItemsParameters) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpObservation) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsParameters) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationObservation. -func (in *GatewayProtocolConfigurationObservation) DeepCopy() *GatewayProtocolConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsParameters. +func (in *ItemsParameters) DeepCopy() *ItemsParameters { if in == nil { return nil } - out := new(GatewayProtocolConfigurationObservation) + out := new(ItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationParameters) DeepCopyInto(out *GatewayProtocolConfigurationParameters) { +func (in *ItemsPropertyInitParameters) DeepCopyInto(out *ItemsPropertyInitParameters) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationParameters. -func (in *GatewayProtocolConfigurationParameters) DeepCopy() *GatewayProtocolConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyInitParameters. +func (in *ItemsPropertyInitParameters) DeepCopy() *ItemsPropertyInitParameters { if in == nil { return nil } - out := new(GatewayProtocolConfigurationParameters) + out := new(ItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { +func (in *ItemsPropertyObservation) DeepCopyInto(out *ItemsPropertyObservation) { *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. -func (in *GatewaySpec) DeepCopy() *GatewaySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyObservation. +func (in *ItemsPropertyObservation) DeepCopy() *ItemsPropertyObservation { if in == nil { return nil } - out := new(GatewaySpec) + out := new(ItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { +func (in *ItemsPropertyParameters) DeepCopyInto(out *ItemsPropertyParameters) { *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. -func (in *GatewayStatus) DeepCopy() *GatewayStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyParameters. +func (in *ItemsPropertyParameters) DeepCopy() *ItemsPropertyParameters { if in == nil { return nil } - out := new(GatewayStatus) + out := new(ItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTarget) DeepCopyInto(out *GatewayTarget) { +func (in *JwtPassthroughInitParameters) DeepCopyInto(out *JwtPassthroughInitParameters) { *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 GatewayTarget. -func (in *GatewayTarget) DeepCopy() *GatewayTarget { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughInitParameters. +func (in *JwtPassthroughInitParameters) DeepCopy() *JwtPassthroughInitParameters { if in == nil { return nil } - out := new(GatewayTarget) + out := new(JwtPassthroughInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayTarget) 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 *GatewayTargetInitParameters) DeepCopyInto(out *GatewayTargetInitParameters) { +func (in *JwtPassthroughObservation) DeepCopyInto(out *JwtPassthroughObservation) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier - *out = new(string) - **out = **in - } - if in.GatewayIdentifierRef != nil { - in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.GatewayIdentifierSelector != nil { - in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetInitParameters. -func (in *GatewayTargetInitParameters) DeepCopy() *GatewayTargetInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughObservation. +func (in *JwtPassthroughObservation) DeepCopy() *JwtPassthroughObservation { if in == nil { return nil } - out := new(GatewayTargetInitParameters) + out := new(JwtPassthroughObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetList) DeepCopyInto(out *GatewayTargetList) { +func (in *JwtPassthroughParameters) DeepCopyInto(out *JwtPassthroughParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]GatewayTarget, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetList. -func (in *GatewayTargetList) DeepCopy() *GatewayTargetList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughParameters. +func (in *JwtPassthroughParameters) DeepCopy() *JwtPassthroughParameters { if in == nil { return nil } - out := new(GatewayTargetList) + out := new(JwtPassthroughParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayTargetList) 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 *GatewayTargetObservation) DeepCopyInto(out *GatewayTargetObservation) { +func (in *KMSConfigurationInitParameters) DeepCopyInto(out *KMSConfigurationInitParameters) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationObservation) + 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 + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationInitParameters. +func (in *KMSConfigurationInitParameters) DeepCopy() *KMSConfigurationInitParameters { + if in == nil { + return nil } - if in.Region != nil { - in, out := &in.Region, &out.Region + out := new(KMSConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KMSConfigurationObservation) DeepCopyInto(out *KMSConfigurationObservation) { + *out = *in + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.TargetID != nil { - in, out := &in.TargetID, &out.TargetID + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetObservation. -func (in *GatewayTargetObservation) DeepCopy() *GatewayTargetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationObservation. +func (in *KMSConfigurationObservation) DeepCopy() *KMSConfigurationObservation { if in == nil { return nil } - out := new(GatewayTargetObservation) + out := new(KMSConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetParameters) DeepCopyInto(out *GatewayTargetParameters) { +func (in *KMSConfigurationParameters) DeepCopyInto(out *KMSConfigurationParameters) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.GatewayIdentifierRef != nil { - in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.GatewayIdentifierSelector != nil { - in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointParameters) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetParameters. -func (in *GatewayTargetParameters) DeepCopy() *GatewayTargetParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationParameters. +func (in *KMSConfigurationParameters) DeepCopy() *KMSConfigurationParameters { if in == nil { return nil } - out := new(GatewayTargetParameters) + out := new(KMSConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointInitParameters) { +func (in *KinesisInitParameters) DeepCopyInto(out *KinesisInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationInitParameters) (*in).DeepCopyInto(*out) } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn + *out = new(string) + **out = **in + } + if in.DataStreamArnRef != nil { + in, out := &in.DataStreamArnRef, &out.DataStreamArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.DataStreamArnSelector != nil { + in, out := &in.DataStreamArnSelector, &out.DataStreamArnSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointInitParameters. -func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopy() *GatewayTargetPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisInitParameters. +func (in *KinesisInitParameters) DeepCopy() *KinesisInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointInitParameters) + out := new(KinesisInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) { +func (in *KinesisObservation) DeepCopyInto(out *KinesisObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn *out = new(string) **out = **in } - if in.RoutingDomainRef != nil { - in, out := &in.RoutingDomainRef, &out.RoutingDomainRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.RoutingDomainSelector != nil { - in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector - *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.SecurityGroupIdsRefs != nil { - in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupIdsSelector != nil { - in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector - *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 - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisObservation. +func (in *KinesisObservation) DeepCopy() *KinesisObservation { + if in == nil { + return nil } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + out := new(KinesisObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KinesisParameters) DeepCopyInto(out *KinesisParameters) { + *out = *in + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn *out = new(string) **out = **in } - if in.VPCIdentifierRef != nil { - in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + if in.DataStreamArnRef != nil { + in, out := &in.DataStreamArnRef, &out.DataStreamArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCIdentifierSelector != nil { - in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + if in.DataStreamArnSelector != nil { + in, out := &in.DataStreamArnSelector, &out.DataStreamArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceInitParameters. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisParameters. +func (in *KinesisParameters) DeepCopy() *KinesisParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + out := new(KinesisParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceObservation) { +func (in *LambdaConfigInitParameters) DeepCopyInto(out *LambdaConfigInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - 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.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.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceObservation. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigInitParameters. +func (in *LambdaConfigInitParameters) DeepCopy() *LambdaConfigInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) + out := new(LambdaConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceParameters) { +func (in *LambdaConfigObservation) DeepCopyInto(out *LambdaConfigObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigObservation. +func (in *LambdaConfigObservation) DeepCopy() *LambdaConfigObservation { + if in == nil { + return nil + } + out := new(LambdaConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaConfigParameters) DeepCopyInto(out *LambdaConfigParameters) { + *out = *in + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - if in.RoutingDomainRef != nil { - in, out := &in.RoutingDomainRef, &out.RoutingDomainRef + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.RoutingDomainSelector != nil { - in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector *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.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) + **out = **in } - if in.SecurityGroupIdsRefs != nil { - in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigParameters. +func (in *LambdaConfigParameters) DeepCopy() *LambdaConfigParameters { + if in == nil { + return nil } - if in.SecurityGroupIdsSelector != nil { - in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + out := new(LambdaConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaInitParameters) DeepCopyInto(out *LambdaInitParameters) { + *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.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 LambdaInitParameters. +func (in *LambdaInitParameters) DeepCopy() *LambdaInitParameters { + 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(LambdaInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaObservation) DeepCopyInto(out *LambdaObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaObservation. +func (in *LambdaObservation) DeepCopy() *LambdaObservation { + if in == nil { + return nil + } + out := new(LambdaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaParameters) DeepCopyInto(out *LambdaParameters) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCIdentifierRef != nil { - in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCIdentifierSelector != nil { - in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceParameters. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaParameters. +func (in *LambdaParameters) DeepCopy() *LambdaParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) + out := new(LambdaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointObservation) { +func (in *LifecycleConfigurationInitParameters) DeepCopyInto(out *LifecycleConfigurationInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointObservation. -func (in *GatewayTargetPrivateEndpointObservation) DeepCopy() *GatewayTargetPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationInitParameters. +func (in *LifecycleConfigurationInitParameters) DeepCopy() *LifecycleConfigurationInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointObservation) + out := new(LifecycleConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointParameters) { +func (in *LifecycleConfigurationObservation) DeepCopyInto(out *LifecycleConfigurationObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointParameters. -func (in *GatewayTargetPrivateEndpointParameters) DeepCopy() *GatewayTargetPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationObservation. +func (in *LifecycleConfigurationObservation) DeepCopy() *LifecycleConfigurationObservation { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointParameters) + out := new(LifecycleConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *LifecycleConfigurationParameters) DeepCopyInto(out *LifecycleConfigurationParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) **out = **in } - if in.ResourceConfigurationIdentifierRef != nil { - in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ResourceConfigurationIdentifierSelector != nil { - in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationParameters. +func (in *LifecycleConfigurationParameters) DeepCopy() *LifecycleConfigurationParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(LifecycleConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *LlmAsAJudgeInitParameters) DeepCopyInto(out *LlmAsAJudgeInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in + in.InstructionsSecretRef.DeepCopyInto(&out.InstructionsSecretRef) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeInitParameters. +func (in *LlmAsAJudgeInitParameters) DeepCopy() *LlmAsAJudgeInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) + out := new(LlmAsAJudgeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *LlmAsAJudgeObservation) DeepCopyInto(out *LlmAsAJudgeObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in - } - if in.ResourceConfigurationIdentifierRef != nil { - in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef - *out = new(v1.Reference) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.ResourceConfigurationIdentifierSelector != nil { - in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector - *out = new(v1.Selector) + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeObservation. +func (in *LlmAsAJudgeObservation) DeepCopy() *LlmAsAJudgeObservation { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(LlmAsAJudgeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetSpec) DeepCopyInto(out *GatewayTargetSpec) { +func (in *LlmAsAJudgeParameters) DeepCopyInto(out *LlmAsAJudgeParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + in.InstructionsSecretRef.DeepCopyInto(&out.InstructionsSecretRef) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetSpec. -func (in *GatewayTargetSpec) DeepCopy() *GatewayTargetSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeParameters. +func (in *LlmAsAJudgeParameters) DeepCopy() *LlmAsAJudgeParameters { if in == nil { return nil } - out := new(GatewayTargetSpec) + out := new(LlmAsAJudgeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetStatus) DeepCopyInto(out *GatewayTargetStatus) { +func (in *LocationInitParameters) DeepCopyInto(out *LocationInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetStatus. -func (in *GatewayTargetStatus) DeepCopy() *GatewayTargetStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationInitParameters. +func (in *LocationInitParameters) DeepCopy() *LocationInitParameters { if in == nil { return nil } - out := new(GatewayTargetStatus) + out := new(LocationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsInitParameters) { +func (in *LocationObservation) DeepCopyInto(out *LocationObservation) { *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsInitParameters. -func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopy() *GatewayWorkloadIdentityDetailsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationObservation. +func (in *LocationObservation) DeepCopy() *LocationObservation { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsInitParameters) + out := new(LocationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopyInto(out *GatewayWorkloadIdentityDetailsObservation) { +func (in *LocationParameters) DeepCopyInto(out *LocationParameters) { *out = *in - if in.WorkloadIdentityArn != nil { - in, out := &in.WorkloadIdentityArn, &out.WorkloadIdentityArn - *out = new(string) - **out = **in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsObservation. -func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopy() *GatewayWorkloadIdentityDetailsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationParameters. +func (in *LocationParameters) DeepCopy() *LocationParameters { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsObservation) + out := new(LocationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsParameters) { +func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsParameters. -func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopy() *GatewayWorkloadIdentityDetailsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3InitParameters. +func (in *LocationS3InitParameters) DeepCopy() *LocationS3InitParameters { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsParameters) + out := new(LocationS3InitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigInitParameters) { +func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in - } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) **out = **in } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigInitParameters. -func (in *GithubOauth2ProviderConfigInitParameters) DeepCopy() *GithubOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Observation. +func (in *LocationS3Observation) DeepCopy() *LocationS3Observation { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigInitParameters) + out := new(LocationS3Observation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) { +func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Parameters. +func (in *LocationS3Parameters) DeepCopy() *LocationS3Parameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(LocationS3Parameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *LocationSecretsManagerInitParameters) DeepCopyInto(out *LocationSecretsManagerInitParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]OauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + 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 GithubOauth2ProviderConfigOauthDiscoveryObservation. -func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerInitParameters. +func (in *LocationSecretsManagerInitParameters) DeepCopy() *LocationSecretsManagerInitParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryObservation) + out := new(LocationSecretsManagerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryParameters) { +func (in *LocationSecretsManagerObservation) DeepCopyInto(out *LocationSecretsManagerObservation) { *out = *in + 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 GithubOauth2ProviderConfigOauthDiscoveryParameters. -func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerObservation. +func (in *LocationSecretsManagerObservation) DeepCopy() *LocationSecretsManagerObservation { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryParameters) + out := new(LocationSecretsManagerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigObservation) DeepCopyInto(out *GithubOauth2ProviderConfigObservation) { +func (in *LocationSecretsManagerParameters) DeepCopyInto(out *LocationSecretsManagerParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]GithubOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + 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 GithubOauth2ProviderConfigObservation. -func (in *GithubOauth2ProviderConfigObservation) DeepCopy() *GithubOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerParameters. +func (in *LocationSecretsManagerParameters) DeepCopy() *LocationSecretsManagerParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigObservation) + out := new(LocationSecretsManagerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigParameters) DeepCopyInto(out *GithubOauth2ProviderConfigParameters) { +func (in *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResourceInitParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + 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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) - **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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigParameters. -func (in *GithubOauth2ProviderConfigParameters) DeepCopy() *GithubOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceInitParameters. +func (in *ManagedVPCResourceInitParameters) DeepCopy() *ManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigParameters) + out := new(ManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigInitParameters) { +func (in *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + 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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) - **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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigInitParameters. -func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopy() *GoogleOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceObservation. +func (in *ManagedVPCResourceObservation) DeepCopy() *ManagedVPCResourceObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigInitParameters) + out := new(ManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { +func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourceParameters) { *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceParameters. +func (in *ManagedVPCResourceParameters) DeepCopy() *ManagedVPCResourceParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(ManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *McpInitParameters) DeepCopyInto(out *McpInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -7383,644 +14662,782 @@ func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObs } } } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpInitParameters. +func (in *McpInitParameters) DeepCopy() *McpInitParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) + out := new(McpInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *McpLambdaInitParameters) DeepCopyInto(out *McpLambdaInitParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { - if in == nil { - return nil + 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.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaInitParameters) + (*in).DeepCopyInto(*out) } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaInitParameters. +func (in *McpLambdaInitParameters) DeepCopy() *McpLambdaInitParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(McpLambdaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *McpLambdaObservation) DeepCopyInto(out *McpLambdaObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryObservation. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryObservation { - if in == nil { - return nil + if in.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaObservation) + (*in).DeepCopyInto(*out) } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaObservation. +func (in *McpLambdaObservation) DeepCopy() *McpLambdaObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryParameters) + out := new(McpLambdaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigObservation) { +func (in *McpLambdaParameters) DeepCopyInto(out *McpLambdaParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + 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.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigObservation. -func (in *GoogleOauth2ProviderConfigObservation) DeepCopy() *GoogleOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaParameters. +func (in *McpLambdaParameters) DeepCopy() *McpLambdaParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigObservation) + out := new(McpLambdaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigParameters) { +func (in *McpObservation) DeepCopyInto(out *McpObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions + *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 GoogleOauth2ProviderConfigParameters. -func (in *GoogleOauth2ProviderConfigParameters) DeepCopy() *GoogleOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpObservation. +func (in *McpObservation) DeepCopy() *McpObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigParameters) + out := new(McpObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters) { +func (in *McpParameters) DeepCopyInto(out *McpParameters) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeInitParameters) + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions + *out = new(string) + **out = **in + } + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType + *out = new(string) + **out = **in + } + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationParameters) (*in).DeepCopyInto(*out) } + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions + *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 HTTPInitParameters. -func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpParameters. +func (in *McpParameters) DeepCopy() *McpParameters { if in == nil { return nil } - out := new(HTTPInitParameters) + out := new(McpParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation) { +func (in *McpServerInitParameters) DeepCopyInto(out *McpServerInitParameters) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeObservation) - (*in).DeepCopyInto(*out) + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPObservation. -func (in *HTTPObservation) DeepCopy() *HTTPObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerInitParameters. +func (in *McpServerInitParameters) DeepCopy() *McpServerInitParameters { if in == nil { return nil } - out := new(HTTPObservation) + out := new(McpServerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters) { +func (in *McpServerObservation) DeepCopyInto(out *McpServerObservation) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeParameters) - (*in).DeepCopyInto(*out) + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPParameters. -func (in *HTTPParameters) DeepCopy() *HTTPParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerObservation. +func (in *McpServerObservation) DeepCopy() *McpServerObservation { if in == nil { return nil } - out := new(HTTPParameters) + out := new(McpServerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostingEnvironmentInitParameters) DeepCopyInto(out *HostingEnvironmentInitParameters) { +func (in *McpServerParameters) DeepCopyInto(out *McpServerParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentInitParameters. -func (in *HostingEnvironmentInitParameters) DeepCopy() *HostingEnvironmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerParameters. +func (in *McpServerParameters) DeepCopy() *McpServerParameters { if in == nil { return nil } - out := new(HostingEnvironmentInitParameters) + out := new(McpServerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostingEnvironmentObservation) DeepCopyInto(out *HostingEnvironmentObservation) { +func (in *Memory) DeepCopyInto(out *Memory) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *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 HostingEnvironmentObservation. -func (in *HostingEnvironmentObservation) DeepCopy() *HostingEnvironmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory. +func (in *Memory) DeepCopy() *Memory { if in == nil { return nil } - out := new(HostingEnvironmentObservation) + out := new(Memory) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Memory) 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 *HostingEnvironmentParameters) DeepCopyInto(out *HostingEnvironmentParameters) { +func (in *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentParameters. -func (in *HostingEnvironmentParameters) DeepCopy() *HostingEnvironmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters. +func (in *MemoryInitParameters) DeepCopy() *MemoryInitParameters { if in == nil { return nil } - out := new(HostingEnvironmentParameters) + out := new(MemoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IndexedKeyInitParameters) DeepCopyInto(out *IndexedKeyInitParameters) { +func (in *MemoryInitParameters_2) DeepCopyInto(out *MemoryInitParameters_2) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesInitParameters) + (*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 IndexedKeyInitParameters. -func (in *IndexedKeyInitParameters) DeepCopy() *IndexedKeyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters_2. +func (in *MemoryInitParameters_2) DeepCopy() *MemoryInitParameters_2 { if in == nil { return nil } - out := new(IndexedKeyInitParameters) + out := new(MemoryInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IndexedKeyObservation) DeepCopyInto(out *IndexedKeyObservation) { +func (in *MemoryList) DeepCopyInto(out *MemoryList) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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([]Memory, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyObservation. -func (in *IndexedKeyObservation) DeepCopy() *IndexedKeyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryList. +func (in *MemoryList) DeepCopy() *MemoryList { if in == nil { return nil } - out := new(IndexedKeyObservation) + out := new(MemoryList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryList) 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 *IndexedKeyParameters) DeepCopyInto(out *IndexedKeyParameters) { +func (in *MemoryObservation) DeepCopyInto(out *MemoryObservation) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyParameters. -func (in *IndexedKeyParameters) DeepCopy() *IndexedKeyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryObservation. +func (in *MemoryObservation) DeepCopy() *MemoryObservation { if in == nil { return nil } - out := new(IndexedKeyParameters) + out := new(MemoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadInitParameters) DeepCopyInto(out *InlinePayloadInitParameters) { +func (in *MemoryObservation_2) DeepCopyInto(out *MemoryObservation_2) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaInitParameters) - (*in).DeepCopyInto(*out) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaInitParameters) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesObservation) (*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.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 InlinePayloadInitParameters. -func (in *InlinePayloadInitParameters) DeepCopy() *InlinePayloadInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryObservation_2. +func (in *MemoryObservation_2) DeepCopy() *MemoryObservation_2 { if in == nil { return nil } - out := new(InlinePayloadInitParameters) + out := new(MemoryObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadObservation) DeepCopyInto(out *InlinePayloadObservation) { +func (in *MemoryParameters) DeepCopyInto(out *MemoryParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaObservation) + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadObservation. -func (in *InlinePayloadObservation) DeepCopy() *InlinePayloadObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryParameters. +func (in *MemoryParameters) DeepCopy() *MemoryParameters { if in == nil { return nil } - out := new(InlinePayloadObservation) + out := new(MemoryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadParameters) DeepCopyInto(out *InlinePayloadParameters) { +func (in *MemoryParameters_2) DeepCopyInto(out *MemoryParameters_2) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaParameters) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn *out = new(string) **out = **in } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaParameters) + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadParameters. -func (in *InlinePayloadParameters) DeepCopy() *InlinePayloadParameters { - if in == nil { - return nil + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(InlinePayloadParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationInitParameters) DeepCopyInto(out *InputConfigurationInitParameters) { - *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) + 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 InputConfigurationInitParameters. -func (in *InputConfigurationInitParameters) DeepCopy() *InputConfigurationInitParameters { - if in == nil { - return nil - } - out := new(InputConfigurationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationObservation) DeepCopyInto(out *InputConfigurationObservation) { - *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesParameters) + (*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 InputConfigurationObservation. -func (in *InputConfigurationObservation) DeepCopy() *InputConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryParameters_2. +func (in *MemoryParameters_2) DeepCopy() *MemoryParameters_2 { if in == nil { return nil } - out := new(InputConfigurationObservation) + out := new(MemoryParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationParameters) DeepCopyInto(out *InputConfigurationParameters) { +func (in *MemorySpec) DeepCopyInto(out *MemorySpec) { *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) - **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 InputConfigurationParameters. -func (in *InputConfigurationParameters) DeepCopy() *InputConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySpec. +func (in *MemorySpec) DeepCopy() *MemorySpec { if in == nil { return nil } - out := new(InputConfigurationParameters) + out := new(MemorySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaInitParameters) DeepCopyInto(out *InputSchemaInitParameters) { +func (in *MemoryStatus) DeepCopyInto(out *MemoryStatus) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyInitParameters, 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 - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaInitParameters. -func (in *InputSchemaInitParameters) DeepCopy() *InputSchemaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStatus. +func (in *MemoryStatus) DeepCopy() *MemoryStatus { if in == nil { return nil } - out := new(InputSchemaInitParameters) + out := new(MemoryStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaObservation) DeepCopyInto(out *InputSchemaObservation) { +func (in *MemoryStrategy) DeepCopyInto(out *MemoryStrategy) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyObservation, 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 - } + 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 InputSchemaObservation. -func (in *InputSchemaObservation) DeepCopy() *InputSchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategy. +func (in *MemoryStrategy) DeepCopy() *MemoryStrategy { if in == nil { return nil } - out := new(InputSchemaObservation) + out := new(MemoryStrategy) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaParameters) DeepCopyInto(out *InputSchemaParameters) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyParameters, 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 - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaParameters. -func (in *InputSchemaParameters) DeepCopy() *InputSchemaParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryStrategy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(InputSchemaParameters) - 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 *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaPropertyInitParameters) { +func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitParameters) { *out = *in + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsInitParameters) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID + *out = new(string) + **out = **in + } + if in.MemoryIDRef != nil { + in, out := &in.MemoryIDRef, &out.MemoryIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.MemoryIDSelector != nil { + in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } if in.Name != nil { @@ -8028,18 +15445,17 @@ func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaProper *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyInitParameters, len(*in)) + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -8047,120 +15463,88 @@ func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaProper } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyInitParameters. -func (in *InputSchemaPropertyInitParameters) DeepCopy() *InputSchemaPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyInitParameters. +func (in *MemoryStrategyInitParameters) DeepCopy() *MemoryStrategyInitParameters { if in == nil { return nil } - out := new(InputSchemaPropertyInitParameters) + out := new(MemoryStrategyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaPropertyObservation) DeepCopyInto(out *InputSchemaPropertyObservation) { +func (in *MemoryStrategyList) DeepCopyInto(out *MemoryStrategyList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *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 = new(PropertyItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyObservation, len(*in)) + *out = make([]MemoryStrategy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyObservation. -func (in *InputSchemaPropertyObservation) DeepCopy() *InputSchemaPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyList. +func (in *MemoryStrategyList) DeepCopy() *MemoryStrategyList { if in == nil { return nil } - out := new(InputSchemaPropertyObservation) + out := new(MemoryStrategyList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryStrategyList) 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 *InputSchemaPropertyParameters) DeepCopyInto(out *InputSchemaPropertyParameters) { +func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation) { *out = *in + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationObservation) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyParameters. -func (in *InputSchemaPropertyParameters) DeepCopy() *InputSchemaPropertyParameters { - if in == nil { - return nil + if in.MemoryStrategyID != nil { + in, out := &in.MemoryStrategyID, &out.MemoryStrategyID + *out = new(string) + **out = **in } - out := new(InputSchemaPropertyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorConfigurationInitParameters) { - *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationInitParameters) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8170,69 +15554,78 @@ func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorC } } } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorInitParameters) - (*in).DeepCopyInto(*out) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationInitParameters. -func (in *InterceptorConfigurationInitParameters) DeepCopy() *InterceptorConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyObservation. +func (in *MemoryStrategyObservation) DeepCopy() *MemoryStrategyObservation { if in == nil { return nil } - out := new(InterceptorConfigurationInitParameters) + out := new(MemoryStrategyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationObservation) DeepCopyInto(out *InterceptorConfigurationObservation) { +func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) { *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationObservation) + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationParameters) (*in).DeepCopyInto(*out) } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorObservation) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationObservation. -func (in *InterceptorConfigurationObservation) DeepCopy() *InterceptorConfigurationObservation { - if in == nil { - return nil + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(InterceptorConfigurationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfigurationParameters) { - *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationParameters) + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID + *out = new(string) + **out = **in + } + if in.MemoryIDRef != nil { + in, out := &in.MemoryIDRef, &out.MemoryIDRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints + if in.MemoryIDSelector != nil { + in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8242,1048 +15635,1149 @@ func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfi } } } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorParameters) - (*in).DeepCopyInto(*out) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationParameters. -func (in *InterceptorConfigurationParameters) DeepCopy() *InterceptorConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyParameters. +func (in *MemoryStrategyParameters) DeepCopy() *MemoryStrategyParameters { if in == nil { return nil } - out := new(InterceptorConfigurationParameters) + out := new(MemoryStrategyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorInitParameters) DeepCopyInto(out *InterceptorInitParameters) { +func (in *MemoryStrategySpec) DeepCopyInto(out *MemoryStrategySpec) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaInitParameters) - (*in).DeepCopyInto(*out) - } + 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 InterceptorInitParameters. -func (in *InterceptorInitParameters) DeepCopy() *InterceptorInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategySpec. +func (in *MemoryStrategySpec) DeepCopy() *MemoryStrategySpec { if in == nil { return nil } - out := new(InterceptorInitParameters) + out := new(MemoryStrategySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorObservation) DeepCopyInto(out *InterceptorObservation) { +func (in *MemoryStrategyStatus) DeepCopyInto(out *MemoryStrategyStatus) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorObservation. -func (in *InterceptorObservation) DeepCopy() *InterceptorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyStatus. +func (in *MemoryStrategyStatus) DeepCopy() *MemoryStrategyStatus { if in == nil { return nil } - out := new(InterceptorObservation) + out := new(MemoryStrategyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorParameters) DeepCopyInto(out *InterceptorParameters) { +func (in *MetadataConfigurationInitParameters) DeepCopyInto(out *MetadataConfigurationInitParameters) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaParameters) - (*in).DeepCopyInto(*out) + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 InterceptorParameters. -func (in *InterceptorParameters) DeepCopy() *InterceptorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationInitParameters. +func (in *MetadataConfigurationInitParameters) DeepCopy() *MetadataConfigurationInitParameters { if in == nil { return nil } - out := new(InterceptorParameters) + out := new(MetadataConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsInitParameters) DeepCopyInto(out *ItemsInitParameters) { +func (in *MetadataConfigurationObservation) DeepCopyInto(out *MetadataConfigurationObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyInitParameters, len(*in)) + if in.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 ItemsInitParameters. -func (in *ItemsInitParameters) DeepCopy() *ItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationObservation. +func (in *MetadataConfigurationObservation) DeepCopy() *MetadataConfigurationObservation { if in == nil { return nil } - out := new(ItemsInitParameters) + out := new(MetadataConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsInitParameters) DeepCopyInto(out *ItemsItemsInitParameters) { +func (in *MetadataConfigurationParameters) DeepCopyInto(out *MetadataConfigurationParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 ItemsItemsInitParameters. -func (in *ItemsItemsInitParameters) DeepCopy() *ItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationParameters. +func (in *MetadataConfigurationParameters) DeepCopy() *MetadataConfigurationParameters { if in == nil { return nil } - out := new(ItemsItemsInitParameters) + out := new(MetadataConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsObservation) DeepCopyInto(out *ItemsItemsObservation) { +func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsObservation. -func (in *ItemsItemsObservation) DeepCopy() *ItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigInitParameters. +func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigInitParameters { + if in == nil { + return nil + } + out := new(MicrosoftOauth2ProviderConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(ItemsItemsObservation) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsParameters) DeepCopyInto(out *ItemsItemsParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.Type != nil { - in, out := &in.Type, &out.Type + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsParameters. -func (in *ItemsItemsParameters) DeepCopy() *ItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(ItemsItemsParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsObservation) DeepCopyInto(out *ItemsObservation) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsObservation. -func (in *ItemsObservation) DeepCopy() *ItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(ItemsObservation) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsParameters) DeepCopyInto(out *ItemsParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsParameters) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyParameters, len(*in)) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) { + *out = *in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsParameters. -func (in *ItemsParameters) DeepCopy() *ItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryObservation. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(ItemsParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyInitParameters) DeepCopyInto(out *ItemsPropertyInitParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyInitParameters. -func (in *ItemsPropertyInitParameters) DeepCopy() *ItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(ItemsPropertyInitParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyObservation) DeepCopyInto(out *ItemsPropertyObservation) { +func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyObservation. -func (in *ItemsPropertyObservation) DeepCopy() *ItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigObservation. +func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopy() *MicrosoftOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(ItemsPropertyObservation) + out := new(MicrosoftOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyParameters) DeepCopyInto(out *ItemsPropertyParameters) { +func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.SecretKeySelector) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyParameters. -func (in *ItemsPropertyParameters) DeepCopy() *ItemsPropertyParameters { - if in == nil { - return nil - } - out := new(ItemsPropertyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughInitParameters) DeepCopyInto(out *JwtPassthroughInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughInitParameters. -func (in *JwtPassthroughInitParameters) DeepCopy() *JwtPassthroughInitParameters { - if in == nil { - return nil + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.SecretKeySelector) + **out = **in } - out := new(JwtPassthroughInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughObservation) DeepCopyInto(out *JwtPassthroughObservation) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughObservation. -func (in *JwtPassthroughObservation) DeepCopy() *JwtPassthroughObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigParameters. +func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopy() *MicrosoftOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(JwtPassthroughObservation) + out := new(MicrosoftOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughParameters) DeepCopyInto(out *JwtPassthroughParameters) { +func (in *ModelConfigInitParameters) DeepCopyInto(out *ModelConfigInitParameters) { *out = *in + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughParameters. -func (in *JwtPassthroughParameters) DeepCopy() *JwtPassthroughParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigInitParameters. +func (in *ModelConfigInitParameters) DeepCopy() *ModelConfigInitParameters { if in == nil { return nil } - out := new(JwtPassthroughParameters) + out := new(ModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationInitParameters) DeepCopyInto(out *KMSConfigurationInitParameters) { +func (in *ModelConfigObservation) DeepCopyInto(out *ModelConfigObservation) { *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) + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationInitParameters. -func (in *KMSConfigurationInitParameters) DeepCopy() *KMSConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigObservation. +func (in *ModelConfigObservation) DeepCopy() *ModelConfigObservation { if in == nil { return nil } - out := new(KMSConfigurationInitParameters) + out := new(ModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationObservation) DeepCopyInto(out *KMSConfigurationObservation) { +func (in *ModelConfigParameters) DeepCopyInto(out *ModelConfigParameters) { *out = *in - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn - *out = new(string) - **out = **in - } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationObservation. -func (in *KMSConfigurationObservation) DeepCopy() *KMSConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigParameters. +func (in *ModelConfigParameters) DeepCopy() *ModelConfigParameters { if in == nil { return nil } - out := new(KMSConfigurationObservation) + out := new(ModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationParameters) DeepCopyInto(out *KMSConfigurationParameters) { +func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { *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) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.Selector) + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationParameters. -func (in *KMSConfigurationParameters) DeepCopy() *KMSConfigurationParameters { +// 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(KMSConfigurationParameters) + 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 *KinesisInitParameters) DeepCopyInto(out *KinesisInitParameters) { +func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationInitParameters) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn - *out = new(string) - **out = **in + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisInitParameters. -func (in *KinesisInitParameters) DeepCopy() *KinesisInitParameters { +// 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(KinesisInitParameters) + 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 *KinesisObservation) DeepCopyInto(out *KinesisObservation) { +func (in *ModelParameters) DeepCopyInto(out *ModelParameters) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationObservation) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigParameters) (*in).DeepCopyInto(*out) } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn - *out = new(string) - **out = **in + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisObservation. -func (in *KinesisObservation) DeepCopy() *KinesisObservation { +// 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(KinesisObservation) + 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 *KinesisParameters) DeepCopyInto(out *KinesisParameters) { +func (in *NetworkConfigurationInitParameters) DeepCopyInto(out *NetworkConfigurationInitParameters) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisParameters. -func (in *KinesisParameters) DeepCopy() *KinesisParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationInitParameters. +func (in *NetworkConfigurationInitParameters) DeepCopy() *NetworkConfigurationInitParameters { if in == nil { return nil } - out := new(KinesisParameters) + out := new(NetworkConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaInitParameters) DeepCopyInto(out *LambdaInitParameters) { +func (in *NetworkConfigurationNetworkModeConfigInitParameters) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *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.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *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 LambdaInitParameters. -func (in *LambdaInitParameters) DeepCopy() *LambdaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigInitParameters. +func (in *NetworkConfigurationNetworkModeConfigInitParameters) DeepCopy() *NetworkConfigurationNetworkModeConfigInitParameters { if in == nil { return nil } - out := new(LambdaInitParameters) + out := new(NetworkConfigurationNetworkModeConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaObservation) DeepCopyInto(out *LambdaObservation) { +func (in *NetworkConfigurationNetworkModeConfigObservation) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **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.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 LambdaObservation. -func (in *LambdaObservation) DeepCopy() *LambdaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigObservation. +func (in *NetworkConfigurationNetworkModeConfigObservation) DeepCopy() *NetworkConfigurationNetworkModeConfigObservation { if in == nil { return nil } - out := new(LambdaObservation) + out := new(NetworkConfigurationNetworkModeConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaParameters) DeepCopyInto(out *LambdaParameters) { +func (in *NetworkConfigurationNetworkModeConfigParameters) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *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.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *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 LambdaParameters. -func (in *LambdaParameters) DeepCopy() *LambdaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigParameters. +func (in *NetworkConfigurationNetworkModeConfigParameters) DeepCopy() *NetworkConfigurationNetworkModeConfigParameters { if in == nil { return nil } - out := new(LambdaParameters) + out := new(NetworkConfigurationNetworkModeConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationInitParameters) DeepCopyInto(out *LifecycleConfigurationInitParameters) { +func (in *NetworkConfigurationObservation) DeepCopyInto(out *NetworkConfigurationObservation) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) **out = **in } - if in.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **out = **in + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationInitParameters. -func (in *LifecycleConfigurationInitParameters) DeepCopy() *LifecycleConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationObservation. +func (in *NetworkConfigurationObservation) DeepCopy() *NetworkConfigurationObservation { if in == nil { return nil } - out := new(LifecycleConfigurationInitParameters) + out := new(NetworkConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationObservation) DeepCopyInto(out *LifecycleConfigurationObservation) { +func (in *NetworkConfigurationParameters) DeepCopyInto(out *NetworkConfigurationParameters) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) **out = **in } - if in.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **out = **in + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationObservation. -func (in *LifecycleConfigurationObservation) DeepCopy() *LifecycleConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationParameters. +func (in *NetworkConfigurationParameters) DeepCopy() *NetworkConfigurationParameters { if in == nil { return nil } - out := new(LifecycleConfigurationObservation) + out := new(NetworkConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationParameters) DeepCopyInto(out *LifecycleConfigurationParameters) { +func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigInitParameters) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) - **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.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationParameters. -func (in *LifecycleConfigurationParameters) DeepCopy() *LifecycleConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigInitParameters. +func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopy() *NetworkConfigurationVPCConfigInitParameters { if in == nil { return nil } - out := new(LifecycleConfigurationParameters) + out := new(NetworkConfigurationVPCConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationInitParameters) DeepCopyInto(out *LocationInitParameters) { +func (in *NetworkConfigurationVPCConfigObservation) DeepCopyInto(out *NetworkConfigurationVPCConfigObservation) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerInitParameters) - (*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.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 LocationInitParameters. -func (in *LocationInitParameters) DeepCopy() *LocationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigObservation. +func (in *NetworkConfigurationVPCConfigObservation) DeepCopy() *NetworkConfigurationVPCConfigObservation { if in == nil { return nil } - out := new(LocationInitParameters) + out := new(NetworkConfigurationVPCConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationObservation) DeepCopyInto(out *LocationObservation) { +func (in *NetworkConfigurationVPCConfigParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigParameters) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerObservation) - (*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.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 LocationObservation. -func (in *LocationObservation) DeepCopy() *LocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigParameters. +func (in *NetworkConfigurationVPCConfigParameters) DeepCopy() *NetworkConfigurationVPCConfigParameters { if in == nil { return nil } - out := new(LocationObservation) + out := new(NetworkConfigurationVPCConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationParameters) DeepCopyInto(out *LocationParameters) { +func (in *NetworkModeConfigInitParameters) DeepCopyInto(out *NetworkModeConfigInitParameters) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerParameters) - (*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.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 LocationParameters. -func (in *LocationParameters) DeepCopy() *LocationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigInitParameters. +func (in *NetworkModeConfigInitParameters) DeepCopy() *NetworkModeConfigInitParameters { if in == nil { return nil } - out := new(LocationParameters) + out := new(NetworkModeConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) { +func (in *NetworkModeConfigObservation) DeepCopyInto(out *NetworkModeConfigObservation) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *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.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3InitParameters. -func (in *LocationS3InitParameters) DeepCopy() *LocationS3InitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigObservation. +func (in *NetworkModeConfigObservation) DeepCopy() *NetworkModeConfigObservation { if in == nil { return nil } - out := new(LocationS3InitParameters) + out := new(NetworkModeConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { +func (in *NetworkModeConfigParameters) DeepCopyInto(out *NetworkModeConfigParameters) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) - **out = **in - } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *out = new(string) - **out = **in + if in.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.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Observation. -func (in *LocationS3Observation) DeepCopy() *LocationS3Observation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigParameters. +func (in *NetworkModeConfigParameters) DeepCopy() *NetworkModeConfigParameters { if in == nil { return nil } - out := new(LocationS3Observation) + out := new(NetworkModeConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters) { +func (in *NumericalInitParameters) DeepCopyInto(out *NumericalInitParameters) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket + if in.Definition != nil { + in, out := &in.Definition, &out.Definition *out = new(string) **out = **in } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix + if in.Label != nil { + in, out := &in.Label, &out.Label *out = new(string) **out = **in } - if in.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *out = new(string) + 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 LocationS3Parameters. -func (in *LocationS3Parameters) DeepCopy() *LocationS3Parameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalInitParameters. +func (in *NumericalInitParameters) DeepCopy() *NumericalInitParameters { if in == nil { return nil } - out := new(LocationS3Parameters) + out := new(NumericalInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerInitParameters) DeepCopyInto(out *LocationSecretsManagerInitParameters) { +func (in *NumericalObservation) DeepCopyInto(out *NumericalObservation) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label *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 LocationSecretsManagerInitParameters. -func (in *LocationSecretsManagerInitParameters) DeepCopy() *LocationSecretsManagerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalObservation. +func (in *NumericalObservation) DeepCopy() *NumericalObservation { if in == nil { return nil } - out := new(LocationSecretsManagerInitParameters) + out := new(NumericalObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerObservation) DeepCopyInto(out *LocationSecretsManagerObservation) { +func (in *NumericalParameters) DeepCopyInto(out *NumericalParameters) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label *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 LocationSecretsManagerObservation. -func (in *LocationSecretsManagerObservation) DeepCopy() *LocationSecretsManagerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalParameters. +func (in *NumericalParameters) DeepCopy() *NumericalParameters { if in == nil { return nil } - out := new(LocationSecretsManagerObservation) + out := new(NumericalParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerParameters) DeepCopyInto(out *LocationSecretsManagerParameters) { +func (in *Oauth2CredentialProvider) DeepCopyInto(out *Oauth2CredentialProvider) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn - *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 LocationSecretsManagerParameters. -func (in *LocationSecretsManagerParameters) DeepCopy() *LocationSecretsManagerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProvider. +func (in *Oauth2CredentialProvider) DeepCopy() *Oauth2CredentialProvider { if in == nil { return nil } - out := new(LocationSecretsManagerParameters) + out := new(Oauth2CredentialProvider) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Oauth2CredentialProvider) 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 *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResourceInitParameters) { +func (in *Oauth2CredentialProviderInitParameters) DeepCopyInto(out *Oauth2CredentialProviderInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - 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.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.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -9301,60 +16795,108 @@ func (in *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResource (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderInitParameters. +func (in *Oauth2CredentialProviderInitParameters) DeepCopy() *Oauth2CredentialProviderInitParameters { + if in == nil { + return nil + } + out := new(Oauth2CredentialProviderInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2CredentialProviderList) DeepCopyInto(out *Oauth2CredentialProviderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Oauth2CredentialProvider, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceInitParameters. -func (in *ManagedVPCResourceInitParameters) DeepCopy() *ManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderList. +func (in *Oauth2CredentialProviderList) DeepCopy() *Oauth2CredentialProviderList { if in == nil { return nil } - out := new(ManagedVPCResourceInitParameters) + out := new(Oauth2CredentialProviderList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Oauth2CredentialProviderList) 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 *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObservation) { +func (in *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2CredentialProviderObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.ClientSecretArn != nil { + in, out := &in.ClientSecretArn, &out.ClientSecretArn + *out = make([]ClientSecretArnObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CredentialProviderArn != nil { + in, out := &in.CredentialProviderArn, &out.CredentialProviderArn *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - 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.ID != nil { + in, out := &in.ID, &out.ID + *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] + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + 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 @@ -9369,58 +16911,36 @@ func (in *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObs (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceObservation. -func (in *ManagedVPCResourceObservation) DeepCopy() *ManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderObservation. +func (in *Oauth2CredentialProviderObservation) DeepCopy() *Oauth2CredentialProviderObservation { if in == nil { return nil } - out := new(ManagedVPCResourceObservation) + out := new(Oauth2CredentialProviderObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourceParameters) { +func (in *Oauth2CredentialProviderParameters) DeepCopyInto(out *Oauth2CredentialProviderParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - 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.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)) @@ -9437,235 +16957,218 @@ func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourcePara (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderParameters. +func (in *Oauth2CredentialProviderParameters) DeepCopy() *Oauth2CredentialProviderParameters { + if in == nil { + return nil } + out := new(Oauth2CredentialProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2CredentialProviderSpec) DeepCopyInto(out *Oauth2CredentialProviderSpec) { + *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 ManagedVPCResourceParameters. -func (in *ManagedVPCResourceParameters) DeepCopy() *ManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderSpec. +func (in *Oauth2CredentialProviderSpec) DeepCopy() *Oauth2CredentialProviderSpec { if in == nil { return nil } - out := new(ManagedVPCResourceParameters) + out := new(Oauth2CredentialProviderSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpInitParameters) DeepCopyInto(out *McpInitParameters) { +func (in *Oauth2CredentialProviderStatus) DeepCopyInto(out *Oauth2CredentialProviderStatus) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions - *out = new(string) - **out = **in - } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType - *out = new(string) - **out = **in - } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions - *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 McpInitParameters. -func (in *McpInitParameters) DeepCopy() *McpInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderStatus. +func (in *Oauth2CredentialProviderStatus) DeepCopy() *Oauth2CredentialProviderStatus { if in == nil { return nil } - out := new(McpInitParameters) + out := new(Oauth2CredentialProviderStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaInitParameters) DeepCopyInto(out *McpLambdaInitParameters) { +func (in *Oauth2ProviderConfigInitParameters) DeepCopyInto(out *Oauth2ProviderConfigInitParameters) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) } - if in.LambdaArnRef != nil { - in, out := &in.LambdaArnRef, &out.LambdaArnRef - *out = new(v1.Reference) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.LambdaArnSelector != nil { - in, out := &in.LambdaArnSelector, &out.LambdaArnSelector - *out = new(v1.Selector) + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaInitParameters) + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaInitParameters. -func (in *McpLambdaInitParameters) DeepCopy() *McpLambdaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigInitParameters. +func (in *Oauth2ProviderConfigInitParameters) DeepCopy() *Oauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(McpLambdaInitParameters) + out := new(Oauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaObservation) DeepCopyInto(out *McpLambdaObservation) { +func (in *Oauth2ProviderConfigObservation) DeepCopyInto(out *Oauth2ProviderConfigObservation) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaObservation) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaObservation. -func (in *McpLambdaObservation) DeepCopy() *McpLambdaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigObservation. +func (in *Oauth2ProviderConfigObservation) DeepCopy() *Oauth2ProviderConfigObservation { if in == nil { return nil } - out := new(McpLambdaObservation) + out := new(Oauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaParameters) DeepCopyInto(out *McpLambdaParameters) { +func (in *Oauth2ProviderConfigParameters) DeepCopyInto(out *Oauth2ProviderConfigParameters) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) } - if in.LambdaArnRef != nil { - in, out := &in.LambdaArnRef, &out.LambdaArnRef - *out = new(v1.Reference) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } - if in.LambdaArnSelector != nil { - in, out := &in.LambdaArnSelector, &out.LambdaArnSelector - *out = new(v1.Selector) + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaParameters) + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaParameters. -func (in *McpLambdaParameters) DeepCopy() *McpLambdaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigParameters. +func (in *Oauth2ProviderConfigParameters) DeepCopy() *Oauth2ProviderConfigParameters { if in == nil { return nil } - out := new(McpLambdaParameters) + out := new(Oauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpObservation) DeepCopyInto(out *McpObservation) { +func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataInitParameters) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions - *out = new(string) - **out = **in - } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType - *out = new(string) - **out = **in - } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions - *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 McpObservation. -func (in *McpObservation) DeepCopy() *McpObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(McpObservation) + out := new(OauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpParameters) DeepCopyInto(out *McpParameters) { +func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -9675,182 +17178,118 @@ func (in *McpParameters) DeepCopyInto(out *McpParameters) { } } } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpParameters. -func (in *McpParameters) DeepCopy() *McpParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataObservation. +func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(McpParameters) + out := new(OauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerInitParameters) DeepCopyInto(out *McpServerInitParameters) { +func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in - } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerInitParameters. -func (in *McpServerInitParameters) DeepCopy() *McpServerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataParameters. +func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(McpServerInitParameters) + out := new(OauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerObservation) DeepCopyInto(out *McpServerObservation) { +func (in *OauthDiscoveryInitParameters) DeepCopyInto(out *OauthDiscoveryInitParameters) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataInitParameters) + (*in).DeepCopyInto(*out) } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerObservation. -func (in *McpServerObservation) DeepCopy() *McpServerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryInitParameters. +func (in *OauthDiscoveryInitParameters) DeepCopy() *OauthDiscoveryInitParameters { if in == nil { return nil } - out := new(McpServerObservation) + out := new(OauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerParameters) DeepCopyInto(out *McpServerParameters) { +func (in *OauthDiscoveryObservation) DeepCopyInto(out *OauthDiscoveryObservation) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataObservation) + (*in).DeepCopyInto(*out) } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerParameters. -func (in *McpServerParameters) DeepCopy() *McpServerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryObservation. +func (in *OauthDiscoveryObservation) DeepCopy() *OauthDiscoveryObservation { if in == nil { return nil } - out := new(McpServerParameters) + out := new(OauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Memory) DeepCopyInto(out *Memory) { +func (in *OauthDiscoveryParameters) DeepCopyInto(out *OauthDiscoveryParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataParameters) + (*in).DeepCopyInto(*out) + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory. -func (in *Memory) DeepCopy() *Memory { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryParameters. +func (in *OauthDiscoveryParameters) DeepCopy() *OauthDiscoveryParameters { if in == nil { return nil } - out := new(Memory) + out := new(OauthDiscoveryParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Memory) 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 *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { +func (in *OauthInitParameters) DeepCopyInto(out *OauthInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn - *out = new(string) - **out = **in - } - if in.EncryptionKeyArnRef != nil { - in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.EncryptionKeyArnSelector != nil { - in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) - **out = **in - } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) - **out = **in - } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9865,107 +17304,59 @@ func (in *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { (*out)[key] = outVal } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters. -func (in *MemoryInitParameters) DeepCopy() *MemoryInitParameters { - if in == nil { - return nil - } - out := new(MemoryInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryList) DeepCopyInto(out *MemoryList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Memory, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryList. -func (in *MemoryList) DeepCopy() *MemoryList { - if in == nil { - return nil - } - out := new(MemoryList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryList) 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 *MemoryObservation) DeepCopyInto(out *MemoryObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType *out = new(string) **out = **in } - if in.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn *out = new(string) **out = **in } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) - **out = **in + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyObservation, len(*in)) + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesObservation) - (*in).DeepCopyInto(*out) + 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 +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthInitParameters. +func (in *OauthInitParameters) DeepCopy() *OauthInitParameters { + if in == nil { + return nil + } + out := new(OauthInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OauthObservation) DeepCopyInto(out *OauthObservation) { + *out = *in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9980,195 +17371,224 @@ func (in *MemoryObservation) DeepCopyInto(out *MemoryObservation) { (*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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) + **out = **in + } + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MemoryObservation. -func (in *MemoryObservation) DeepCopy() *MemoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthObservation. +func (in *OauthObservation) DeepCopy() *OauthObservation { if in == nil { return nil } - out := new(MemoryObservation) + out := new(OauthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryParameters) DeepCopyInto(out *MemoryParameters) { +func (in *OauthParameters) DeepCopyInto(out *OauthParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL *out = new(string) **out = **in } - if in.EncryptionKeyArnRef != nil { - in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.EncryptionKeyArnSelector != nil { - in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) **out = **in } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn *out = new(string) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesParameters) - (*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 + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MemoryParameters. -func (in *MemoryParameters) DeepCopy() *MemoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthParameters. +func (in *OauthParameters) DeepCopy() *OauthParameters { if in == nil { return nil } - out := new(MemoryParameters) + out := new(OauthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemorySpec) DeepCopyInto(out *MemorySpec) { +func (in *OnlineEvaluationConfig) DeepCopyInto(out *OnlineEvaluationConfig) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySpec. -func (in *MemorySpec) DeepCopy() *MemorySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfig. +func (in *OnlineEvaluationConfig) DeepCopy() *OnlineEvaluationConfig { if in == nil { return nil } - out := new(MemorySpec) + out := new(OnlineEvaluationConfig) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *OnlineEvaluationConfig) 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 *MemoryStatus) DeepCopyInto(out *MemoryStatus) { +func (in *OnlineEvaluationConfigEvaluatorInitParameters) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } + if in.EvaluatorIDRef != nil { + in, out := &in.EvaluatorIDRef, &out.EvaluatorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorIDSelector != nil { + in, out := &in.EvaluatorIDSelector, &out.EvaluatorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStatus. -func (in *MemoryStatus) DeepCopy() *MemoryStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorInitParameters. +func (in *OnlineEvaluationConfigEvaluatorInitParameters) DeepCopy() *OnlineEvaluationConfigEvaluatorInitParameters { if in == nil { return nil } - out := new(MemoryStatus) + out := new(OnlineEvaluationConfigEvaluatorInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategy) DeepCopyInto(out *MemoryStrategy) { +func (in *OnlineEvaluationConfigEvaluatorObservation) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategy. -func (in *MemoryStrategy) DeepCopy() *MemoryStrategy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorObservation. +func (in *OnlineEvaluationConfigEvaluatorObservation) DeepCopy() *OnlineEvaluationConfigEvaluatorObservation { if in == nil { return nil } - out := new(MemoryStrategy) + out := new(OnlineEvaluationConfigEvaluatorObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryStrategy) 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 *OnlineEvaluationConfigEvaluatorParameters) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorParameters) { + *out = *in + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in } - return nil + if in.EvaluatorIDRef != nil { + in, out := &in.EvaluatorIDRef, &out.EvaluatorIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorIDSelector != nil { + in, out := &in.EvaluatorIDSelector, &out.EvaluatorIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorParameters. +func (in *OnlineEvaluationConfigEvaluatorParameters) DeepCopy() *OnlineEvaluationConfigEvaluatorParameters { + if in == nil { + return nil + } + out := new(OnlineEvaluationConfigEvaluatorParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitParameters) { +func (in *OnlineEvaluationConfigInitParameters) DeepCopyInto(out *OnlineEvaluationConfigInitParameters) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationInitParameters) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigInitParameters) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10176,95 +17596,102 @@ func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitPara *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryIDRef != nil { - in, out := &in.MemoryIDRef, &out.MemoryIDRef + if in.EvaluationExecutionRoleArnRef != nil { + in, out := &in.EvaluationExecutionRoleArnRef, &out.EvaluationExecutionRoleArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.MemoryIDSelector != nil { - in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + if in.EvaluationExecutionRoleArnSelector != nil { + in, out := &in.EvaluationExecutionRoleArnSelector, &out.EvaluationExecutionRoleArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleInitParameters) + (*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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyInitParameters. -func (in *MemoryStrategyInitParameters) DeepCopy() *MemoryStrategyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigInitParameters. +func (in *OnlineEvaluationConfigInitParameters) DeepCopy() *OnlineEvaluationConfigInitParameters { if in == nil { return nil } - out := new(MemoryStrategyInitParameters) + out := new(OnlineEvaluationConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyList) DeepCopyInto(out *MemoryStrategyList) { +func (in *OnlineEvaluationConfigList) DeepCopyInto(out *OnlineEvaluationConfigList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]MemoryStrategy, len(*in)) + *out = make([]OnlineEvaluationConfig, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyList. -func (in *MemoryStrategyList) DeepCopy() *MemoryStrategyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigList. +func (in *OnlineEvaluationConfigList) DeepCopy() *OnlineEvaluationConfigList { if in == nil { return nil } - out := new(MemoryStrategyList) + out := new(OnlineEvaluationConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryStrategyList) DeepCopyObject() runtime.Object { +func (in *OnlineEvaluationConfigList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -10272,11 +17699,11 @@ func (in *MemoryStrategyList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation) { +func (in *OnlineEvaluationConfigObservation) DeepCopyInto(out *OnlineEvaluationConfigObservation) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationObservation) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigObservation) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10284,40 +17711,53 @@ func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) + **out = **in + } + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.MemoryStrategyID != nil { - in, out := &in.MemoryStrategyID, &out.MemoryStrategyID + if in.OnlineEvaluationConfigArn != nil { + in, out := &in.OnlineEvaluationConfigArn, &out.OnlineEvaluationConfigArn *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.OnlineEvaluationConfigID != nil { + in, out := &in.OnlineEvaluationConfigID, &out.OnlineEvaluationConfigID *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *out = make([]*string, len(*in)) + if in.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in + } + if in.OutputConfig != nil { + in, out := &in.OutputConfig, &out.OutputConfig + *out = make([]OutputConfigObservation, 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.Region != nil { @@ -10325,29 +17765,61 @@ func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleObservation) + (*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.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 MemoryStrategyObservation. -func (in *MemoryStrategyObservation) DeepCopy() *MemoryStrategyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigObservation. +func (in *OnlineEvaluationConfigObservation) DeepCopy() *OnlineEvaluationConfigObservation { if in == nil { return nil } - out := new(MemoryStrategyObservation) + out := new(OnlineEvaluationConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) { +func (in *OnlineEvaluationConfigParameters) DeepCopyInto(out *OnlineEvaluationConfigParameters) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationParameters) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigParameters) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10355,912 +17827,1062 @@ func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryIDRef != nil { - in, out := &in.MemoryIDRef, &out.MemoryIDRef + if in.EvaluationExecutionRoleArnRef != nil { + in, out := &in.EvaluationExecutionRoleArnRef, &out.EvaluationExecutionRoleArnRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.MemoryIDSelector != nil { - in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + if in.EvaluationExecutionRoleArnSelector != nil { + in, out := &in.EvaluationExecutionRoleArnSelector, &out.EvaluationExecutionRoleArnSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *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.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleParameters) + (*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 MemoryStrategyParameters. -func (in *MemoryStrategyParameters) DeepCopy() *MemoryStrategyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigParameters. +func (in *OnlineEvaluationConfigParameters) DeepCopy() *OnlineEvaluationConfigParameters { if in == nil { return nil } - out := new(MemoryStrategyParameters) + out := new(OnlineEvaluationConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategySpec) DeepCopyInto(out *MemoryStrategySpec) { +func (in *OnlineEvaluationConfigSpec) DeepCopyInto(out *OnlineEvaluationConfigSpec) { *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 MemoryStrategySpec. -func (in *MemoryStrategySpec) DeepCopy() *MemoryStrategySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigSpec. +func (in *OnlineEvaluationConfigSpec) DeepCopy() *OnlineEvaluationConfigSpec { if in == nil { return nil } - out := new(MemoryStrategySpec) + out := new(OnlineEvaluationConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyStatus) DeepCopyInto(out *MemoryStrategyStatus) { +func (in *OnlineEvaluationConfigStatus) DeepCopyInto(out *OnlineEvaluationConfigStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyStatus. -func (in *MemoryStrategyStatus) DeepCopy() *MemoryStrategyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigStatus. +func (in *OnlineEvaluationConfigStatus) DeepCopy() *OnlineEvaluationConfigStatus { + if in == nil { + return nil + } + out := new(OnlineEvaluationConfigStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInitParameters) DeepCopyInto(out *OpenAPISchemaInitParameters) { + *out = *in + if in.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadInitParameters) + (*in).DeepCopyInto(*out) + } + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInitParameters. +func (in *OpenAPISchemaInitParameters) DeepCopy() *OpenAPISchemaInitParameters { + if in == nil { + return nil + } + out := new(OpenAPISchemaInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadInitParameters) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadInitParameters. +func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopy() *OpenAPISchemaInlinePayloadInitParameters { + if in == nil { + return nil + } + out := new(OpenAPISchemaInlinePayloadInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadObservation) DeepCopyInto(out *OpenAPISchemaInlinePayloadObservation) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadObservation. +func (in *OpenAPISchemaInlinePayloadObservation) DeepCopy() *OpenAPISchemaInlinePayloadObservation { + if in == nil { + return nil + } + out := new(OpenAPISchemaInlinePayloadObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadParameters) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadParameters. +func (in *OpenAPISchemaInlinePayloadParameters) DeepCopy() *OpenAPISchemaInlinePayloadParameters { if in == nil { return nil } - out := new(MemoryStrategyStatus) + out := new(OpenAPISchemaInlinePayloadParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationInitParameters) DeepCopyInto(out *MetadataConfigurationInitParameters) { +func (in *OpenAPISchemaObservation) DeepCopyInto(out *OpenAPISchemaObservation) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadObservation) + (*in).DeepCopyInto(*out) } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3Observation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationInitParameters. -func (in *MetadataConfigurationInitParameters) DeepCopy() *MetadataConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaObservation. +func (in *OpenAPISchemaObservation) DeepCopy() *OpenAPISchemaObservation { if in == nil { return nil } - out := new(MetadataConfigurationInitParameters) + out := new(OpenAPISchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationObservation) DeepCopyInto(out *MetadataConfigurationObservation) { +func (in *OpenAPISchemaParameters) DeepCopyInto(out *OpenAPISchemaParameters) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadParameters) + (*in).DeepCopyInto(*out) } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3Parameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationObservation. -func (in *MetadataConfigurationObservation) DeepCopy() *MetadataConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaParameters. +func (in *OpenAPISchemaParameters) DeepCopy() *OpenAPISchemaParameters { if in == nil { return nil } - out := new(MetadataConfigurationObservation) + out := new(OpenAPISchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationParameters) DeepCopyInto(out *MetadataConfigurationParameters) { +func (in *OpenAPISchemaS3InitParameters) DeepCopyInto(out *OpenAPISchemaS3InitParameters) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) + **out = **in } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationParameters. -func (in *MetadataConfigurationParameters) DeepCopy() *MetadataConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3InitParameters. +func (in *OpenAPISchemaS3InitParameters) DeepCopy() *OpenAPISchemaS3InitParameters { if in == nil { return nil } - out := new(MetadataConfigurationParameters) + out := new(OpenAPISchemaS3InitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigInitParameters) { +func (in *OpenAPISchemaS3Observation) DeepCopyInto(out *OpenAPISchemaS3Observation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in - } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) + if in.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigInitParameters. -func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3Observation. +func (in *OpenAPISchemaS3Observation) DeepCopy() *OpenAPISchemaS3Observation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigInitParameters) + out := new(OpenAPISchemaS3Observation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { +func (in *OpenAPISchemaS3Parameters) DeepCopyInto(out *OpenAPISchemaS3Parameters) { *out = *in + if in.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) + **out = **in + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3Parameters. +func (in *OpenAPISchemaS3Parameters) DeepCopy() *OpenAPISchemaS3Parameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(OpenAPISchemaS3Parameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *OpenaiModelConfigInitParameters) DeepCopyInto(out *OpenaiModelConfigInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigInitParameters. +func (in *OpenaiModelConfigInitParameters) DeepCopy() *OpenaiModelConfigInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) + out := new(OpenaiModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *OpenaiModelConfigObservation) DeepCopyInto(out *OpenaiModelConfigObservation) { *out = *in + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigObservation. +func (in *OpenaiModelConfigObservation) DeepCopy() *OpenaiModelConfigObservation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) + out := new(OpenaiModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) { +func (in *OpenaiModelConfigParameters) DeepCopyInto(out *OpenaiModelConfigParameters) { *out = *in + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigParameters. +func (in *OpenaiModelConfigParameters) DeepCopy() *OpenaiModelConfigParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(OpenaiModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *OutboundAuthInitParameters) DeepCopyInto(out *OutboundAuthInitParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) **out = **in } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryObservation. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthInitParameters. +func (in *OutboundAuthInitParameters) DeepCopy() *OutboundAuthInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) + out := new(OutboundAuthInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) { +func (in *OutboundAuthOauthInitParameters) DeepCopyInto(out *OutboundAuthOauthInitParameters) { *out = *in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) + **out = **in + } + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigOauthDiscoveryParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthInitParameters. +func (in *OutboundAuthOauthInitParameters) DeepCopy() *OutboundAuthOauthInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) + out := new(OutboundAuthOauthInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigObservation) { +func (in *OutboundAuthOauthObservation) DeepCopyInto(out *OutboundAuthOauthObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigObservation. -func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopy() *MicrosoftOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthObservation. +func (in *OutboundAuthOauthObservation) DeepCopy() *OutboundAuthOauthObservation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigObservation) + out := new(OutboundAuthOauthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigParameters) { +func (in *OutboundAuthOauthParameters) DeepCopyInto(out *OutboundAuthOauthParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.SecretKeySelector) + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.SecretKeySelector) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) **out = **in } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.SecretKeySelector) + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigParameters. -func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopy() *MicrosoftOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthParameters. +func (in *OutboundAuthOauthParameters) DeepCopy() *OutboundAuthOauthParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigParameters) + out := new(OutboundAuthOauthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationInitParameters) DeepCopyInto(out *NetworkConfigurationInitParameters) { +func (in *OutboundAuthObservation) DeepCopyInto(out *OutboundAuthObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) **out = **in } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigInitParameters) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationInitParameters. -func (in *NetworkConfigurationInitParameters) DeepCopy() *NetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthObservation. +func (in *OutboundAuthObservation) DeepCopy() *OutboundAuthObservation { if in == nil { return nil } - out := new(NetworkConfigurationInitParameters) + out := new(OutboundAuthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationObservation) DeepCopyInto(out *NetworkConfigurationObservation) { +func (in *OutboundAuthParameters) DeepCopyInto(out *OutboundAuthParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) **out = **in } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigObservation) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationObservation. -func (in *NetworkConfigurationObservation) DeepCopy() *NetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthParameters. +func (in *OutboundAuthParameters) DeepCopy() *OutboundAuthParameters { if in == nil { return nil } - out := new(NetworkConfigurationObservation) + out := new(OutboundAuthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationParameters) DeepCopyInto(out *NetworkConfigurationParameters) { +func (in *OutputConfigInitParameters) DeepCopyInto(out *OutputConfigInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in - } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationParameters. -func (in *NetworkConfigurationParameters) DeepCopy() *NetworkConfigurationParameters { +// 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(NetworkConfigurationParameters) + 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 *NetworkConfigurationVPCConfigInitParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigInitParameters) { +func (in *OutputConfigObservation) DeepCopyInto(out *OutputConfigObservation) { *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.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.CloudwatchConfig != nil { + in, out := &in.CloudwatchConfig, &out.CloudwatchConfig + *out = make([]CloudwatchConfigObservation, 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 NetworkConfigurationVPCConfigInitParameters. -func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopy() *NetworkConfigurationVPCConfigInitParameters { +// 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(NetworkConfigurationVPCConfigInitParameters) + 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 *NetworkConfigurationVPCConfigObservation) DeepCopyInto(out *NetworkConfigurationVPCConfigObservation) { +func (in *OutputConfigParameters) DeepCopyInto(out *OutputConfigParameters) { *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.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 NetworkConfigurationVPCConfigObservation. -func (in *NetworkConfigurationVPCConfigObservation) DeepCopy() *NetworkConfigurationVPCConfigObservation { +// 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(NetworkConfigurationVPCConfigObservation) + 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 *NetworkConfigurationVPCConfigParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigParameters) { +func (in *OutputSchemaInitParameters) DeepCopyInto(out *OutputSchemaInitParameters) { *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.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyInitParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigParameters. -func (in *NetworkConfigurationVPCConfigParameters) DeepCopy() *NetworkConfigurationVPCConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaInitParameters. +func (in *OutputSchemaInitParameters) DeepCopy() *OutputSchemaInitParameters { if in == nil { return nil } - out := new(NetworkConfigurationVPCConfigParameters) + out := new(OutputSchemaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigInitParameters) DeepCopyInto(out *NetworkModeConfigInitParameters) { +func (in *OutputSchemaItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsInitParameters) { *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.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyInitParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigInitParameters. -func (in *NetworkModeConfigInitParameters) DeepCopy() *NetworkModeConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsInitParameters. +func (in *OutputSchemaItemsInitParameters) DeepCopy() *OutputSchemaItemsInitParameters { if in == nil { return nil } - out := new(NetworkModeConfigInitParameters) + out := new(OutputSchemaItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigObservation) DeepCopyInto(out *NetworkModeConfigObservation) { +func (in *OutputSchemaItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsItemsInitParameters) { *out = *in - if in.RequireServiceS3Endpoint != nil { - in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigObservation. -func (in *NetworkModeConfigObservation) DeepCopy() *NetworkModeConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsInitParameters. +func (in *OutputSchemaItemsItemsInitParameters) DeepCopy() *OutputSchemaItemsItemsInitParameters { if in == nil { return nil } - out := new(NetworkModeConfigObservation) + out := new(OutputSchemaItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigParameters) DeepCopyInto(out *NetworkModeConfigParameters) { +func (in *OutputSchemaItemsItemsObservation) DeepCopyInto(out *OutputSchemaItemsItemsObservation) { *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.Description != nil { + in, out := &in.Description, &out.Description + *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigParameters. -func (in *NetworkModeConfigParameters) DeepCopy() *NetworkModeConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsObservation. +func (in *OutputSchemaItemsItemsObservation) DeepCopy() *OutputSchemaItemsItemsObservation { if in == nil { return nil } - out := new(NetworkModeConfigParameters) + out := new(OutputSchemaItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProvider) DeepCopyInto(out *Oauth2CredentialProvider) { +func (in *OutputSchemaItemsItemsParameters) DeepCopyInto(out *OutputSchemaItemsItemsParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProvider. -func (in *Oauth2CredentialProvider) DeepCopy() *Oauth2CredentialProvider { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsParameters. +func (in *OutputSchemaItemsItemsParameters) DeepCopy() *OutputSchemaItemsItemsParameters { if in == nil { return nil } - out := new(Oauth2CredentialProvider) + out := new(OutputSchemaItemsItemsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Oauth2CredentialProvider) 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 *Oauth2CredentialProviderInitParameters) DeepCopyInto(out *Oauth2CredentialProviderInitParameters) { +func (in *OutputSchemaItemsObservation) DeepCopyInto(out *OutputSchemaItemsObservation) { *out = *in - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsItemsObservation) (*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.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderInitParameters. -func (in *Oauth2CredentialProviderInitParameters) DeepCopy() *Oauth2CredentialProviderInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsObservation. +func (in *OutputSchemaItemsObservation) DeepCopy() *OutputSchemaItemsObservation { if in == nil { return nil } - out := new(Oauth2CredentialProviderInitParameters) + out := new(OutputSchemaItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderList) DeepCopyInto(out *Oauth2CredentialProviderList) { +func (in *OutputSchemaItemsParameters) DeepCopyInto(out *OutputSchemaItemsParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Oauth2CredentialProvider, len(*in)) + *out = new(OutputSchemaItemsItemsParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderList. -func (in *Oauth2CredentialProviderList) DeepCopy() *Oauth2CredentialProviderList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsParameters. +func (in *OutputSchemaItemsParameters) DeepCopy() *OutputSchemaItemsParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderList) + out := new(OutputSchemaItemsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Oauth2CredentialProviderList) 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 *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2CredentialProviderObservation) { +func (in *OutputSchemaItemsPropertyInitParameters) DeepCopyInto(out *OutputSchemaItemsPropertyInitParameters) { *out = *in - if in.ClientSecretArn != nil { - in, out := &in.ClientSecretArn, &out.ClientSecretArn - *out = make([]ClientSecretArnObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CredentialProviderArn != nil { - in, out := &in.CredentialProviderArn, &out.CredentialProviderArn - *out = new(string) - **out = **in - } - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } @@ -11269,1111 +18891,1201 @@ func (in *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2Credentia *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *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.Required != nil { + in, out := &in.Required, &out.Required + *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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderObservation. -func (in *Oauth2CredentialProviderObservation) DeepCopy() *Oauth2CredentialProviderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyInitParameters. +func (in *OutputSchemaItemsPropertyInitParameters) DeepCopy() *OutputSchemaItemsPropertyInitParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderObservation) + out := new(OutputSchemaItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderParameters) DeepCopyInto(out *Oauth2CredentialProviderParameters) { +func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaItemsPropertyObservation) { *out = *in - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Name != nil { + in, out := &in.Name, &out.Name *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderParameters. -func (in *Oauth2CredentialProviderParameters) DeepCopy() *Oauth2CredentialProviderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyObservation. +func (in *OutputSchemaItemsPropertyObservation) DeepCopy() *OutputSchemaItemsPropertyObservation { if in == nil { return nil } - out := new(Oauth2CredentialProviderParameters) + out := new(OutputSchemaItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderSpec) DeepCopyInto(out *Oauth2CredentialProviderSpec) { +func (in *OutputSchemaItemsPropertyParameters) DeepCopyInto(out *OutputSchemaItemsPropertyParameters) { *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 Oauth2CredentialProviderSpec. -func (in *Oauth2CredentialProviderSpec) DeepCopy() *Oauth2CredentialProviderSpec { - if in == nil { - return nil + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(Oauth2CredentialProviderSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderStatus) DeepCopyInto(out *Oauth2CredentialProviderStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderStatus. -func (in *Oauth2CredentialProviderStatus) DeepCopy() *Oauth2CredentialProviderStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyParameters. +func (in *OutputSchemaItemsPropertyParameters) DeepCopy() *OutputSchemaItemsPropertyParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderStatus) + out := new(OutputSchemaItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigInitParameters) DeepCopyInto(out *Oauth2ProviderConfigInitParameters) { +func (in *OutputSchemaObservation) DeepCopyInto(out *OutputSchemaObservation) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsObservation) (*in).DeepCopyInto(*out) } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigInitParameters. -func (in *Oauth2ProviderConfigInitParameters) DeepCopy() *Oauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaObservation. +func (in *OutputSchemaObservation) DeepCopy() *OutputSchemaObservation { if in == nil { return nil } - out := new(Oauth2ProviderConfigInitParameters) + out := new(OutputSchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigObservation) DeepCopyInto(out *Oauth2ProviderConfigObservation) { +func (in *OutputSchemaParameters) DeepCopyInto(out *OutputSchemaParameters) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsParameters) (*in).DeepCopyInto(*out) } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigObservation. -func (in *Oauth2ProviderConfigObservation) DeepCopy() *Oauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaParameters. +func (in *OutputSchemaParameters) DeepCopy() *OutputSchemaParameters { if in == nil { return nil } - out := new(Oauth2ProviderConfigObservation) + out := new(OutputSchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigParameters) DeepCopyInto(out *Oauth2ProviderConfigParameters) { +func (in *OutputSchemaPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyInitParameters) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsInitParameters) (*in).DeepCopyInto(*out) } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigParameters. -func (in *Oauth2ProviderConfigParameters) DeepCopy() *Oauth2ProviderConfigParameters { - if in == nil { - return nil + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(Oauth2ProviderConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataInitParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyInitParameters. +func (in *OutputSchemaPropertyInitParameters) DeepCopy() *OutputSchemaPropertyInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(OutputSchemaPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *OutputSchemaPropertyItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsInitParameters) + (*in).DeepCopyInto(*out) } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyInitParameters, 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.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataObservation. -func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsInitParameters. +func (in *OutputSchemaPropertyItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataObservation) + out := new(OutputSchemaPropertyItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsInitParameters) { *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataParameters. -func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsInitParameters. +func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsItemsInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataParameters) + out := new(OutputSchemaPropertyItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryInitParameters) DeepCopyInto(out *OauthDiscoveryInitParameters) { +func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsItemsObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryInitParameters. -func (in *OauthDiscoveryInitParameters) DeepCopy() *OauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsObservation. +func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopy() *OutputSchemaPropertyItemsItemsObservation { if in == nil { return nil } - out := new(OauthDiscoveryInitParameters) + out := new(OutputSchemaPropertyItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryObservation) DeepCopyInto(out *OauthDiscoveryObservation) { +func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryObservation. -func (in *OauthDiscoveryObservation) DeepCopy() *OauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsParameters. +func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopy() *OutputSchemaPropertyItemsItemsParameters { if in == nil { return nil } - out := new(OauthDiscoveryObservation) + out := new(OutputSchemaPropertyItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryParameters) DeepCopyInto(out *OauthDiscoveryParameters) { +func (in *OutputSchemaPropertyItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsObservation) (*in).DeepCopyInto(*out) } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyObservation, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryParameters. -func (in *OauthDiscoveryParameters) DeepCopy() *OauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsObservation. +func (in *OutputSchemaPropertyItemsObservation) DeepCopy() *OutputSchemaPropertyItemsObservation { if in == nil { return nil } - out := new(OauthDiscoveryParameters) + out := new(OutputSchemaPropertyItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthInitParameters) DeepCopyInto(out *OauthInitParameters) { +func (in *OutputSchemaPropertyItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsParameters) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL - *out = new(string) - **out = **in - } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsParameters) + (*in).DeepCopyInto(*out) } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthInitParameters. -func (in *OauthInitParameters) DeepCopy() *OauthInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsParameters. +func (in *OutputSchemaPropertyItemsParameters) DeepCopy() *OutputSchemaPropertyItemsParameters { if in == nil { return nil } - out := new(OauthInitParameters) + out := new(OutputSchemaPropertyItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthObservation) DeepCopyInto(out *OauthObservation) { +func (in *OutputSchemaPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyObservation) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsObservation) + (*in).DeepCopyInto(*out) } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyObservation, 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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthObservation. -func (in *OauthObservation) DeepCopy() *OauthObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyObservation. +func (in *OutputSchemaPropertyObservation) DeepCopy() *OutputSchemaPropertyObservation { if in == nil { return nil } - out := new(OauthObservation) + out := new(OutputSchemaPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthParameters) DeepCopyInto(out *OauthParameters) { +func (in *OutputSchemaPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyParameters) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *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 OauthParameters. -func (in *OauthParameters) DeepCopy() *OauthParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyParameters. +func (in *OutputSchemaPropertyParameters) DeepCopy() *OutputSchemaPropertyParameters { if in == nil { return nil } - out := new(OauthParameters) + out := new(OutputSchemaPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInitParameters) DeepCopyInto(out *OpenAPISchemaInitParameters) { +func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyInitParameters) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3InitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInitParameters. -func (in *OpenAPISchemaInitParameters) DeepCopy() *OpenAPISchemaInitParameters { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(OpenAPISchemaInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadInitParameters) { - *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadInitParameters. -func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopy() *OpenAPISchemaInlinePayloadInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyInitParameters. +func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopy() *OutputSchemaPropertyPropertyInitParameters { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadInitParameters) + out := new(OutputSchemaPropertyPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadObservation) DeepCopyInto(out *OpenAPISchemaInlinePayloadObservation) { +func (in *OutputSchemaPropertyPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyPropertyObservation) { *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadObservation. -func (in *OpenAPISchemaInlinePayloadObservation) DeepCopy() *OpenAPISchemaInlinePayloadObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyObservation. +func (in *OutputSchemaPropertyPropertyObservation) DeepCopy() *OutputSchemaPropertyPropertyObservation { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadObservation) + out := new(OutputSchemaPropertyPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadParameters) { +func (in *OutputSchemaPropertyPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyParameters) { *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadParameters. -func (in *OpenAPISchemaInlinePayloadParameters) DeepCopy() *OpenAPISchemaInlinePayloadParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyParameters. +func (in *OutputSchemaPropertyPropertyParameters) DeepCopy() *OutputSchemaPropertyPropertyParameters { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadParameters) + out := new(OutputSchemaPropertyPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaObservation) DeepCopyInto(out *OpenAPISchemaObservation) { +func (in *Policy) DeepCopyInto(out *Policy) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadObservation) - (*in).DeepCopyInto(*out) - } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3Observation) - (*in).DeepCopyInto(*out) - } + 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 OpenAPISchemaObservation. -func (in *OpenAPISchemaObservation) DeepCopy() *OpenAPISchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { if in == nil { return nil } - out := new(OpenAPISchemaObservation) + out := new(Policy) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Policy) 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 *OpenAPISchemaParameters) DeepCopyInto(out *OpenAPISchemaParameters) { +func (in *PolicyEngine) DeepCopyInto(out *PolicyEngine) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadParameters) - (*in).DeepCopyInto(*out) - } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3Parameters) - (*in).DeepCopyInto(*out) - } + 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 OpenAPISchemaParameters. -func (in *OpenAPISchemaParameters) DeepCopy() *OpenAPISchemaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngine. +func (in *PolicyEngine) DeepCopy() *PolicyEngine { if in == nil { return nil } - out := new(OpenAPISchemaParameters) + out := new(PolicyEngine) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyEngine) 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 *OpenAPISchemaS3InitParameters) DeepCopyInto(out *OpenAPISchemaS3InitParameters) { +func (in *PolicyEngineConfigurationInitParameters) DeepCopyInto(out *PolicyEngineConfigurationInitParameters) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + 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.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 OpenAPISchemaS3InitParameters. -func (in *OpenAPISchemaS3InitParameters) DeepCopy() *OpenAPISchemaS3InitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationInitParameters. +func (in *PolicyEngineConfigurationInitParameters) DeepCopy() *PolicyEngineConfigurationInitParameters { if in == nil { return nil } - out := new(OpenAPISchemaS3InitParameters) + out := new(PolicyEngineConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaS3Observation) DeepCopyInto(out *OpenAPISchemaS3Observation) { +func (in *PolicyEngineConfigurationObservation) DeepCopyInto(out *PolicyEngineConfigurationObservation) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + 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 OpenAPISchemaS3Observation. -func (in *OpenAPISchemaS3Observation) DeepCopy() *OpenAPISchemaS3Observation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationObservation. +func (in *PolicyEngineConfigurationObservation) DeepCopy() *PolicyEngineConfigurationObservation { if in == nil { return nil } - out := new(OpenAPISchemaS3Observation) + out := new(PolicyEngineConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaS3Parameters) DeepCopyInto(out *OpenAPISchemaS3Parameters) { +func (in *PolicyEngineConfigurationParameters) DeepCopyInto(out *PolicyEngineConfigurationParameters) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + 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.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 OpenAPISchemaS3Parameters. -func (in *OpenAPISchemaS3Parameters) DeepCopy() *OpenAPISchemaS3Parameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationParameters. +func (in *PolicyEngineConfigurationParameters) DeepCopy() *PolicyEngineConfigurationParameters { if in == nil { return nil } - out := new(OpenAPISchemaS3Parameters) + out := new(PolicyEngineConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaInitParameters) DeepCopyInto(out *OutputSchemaInitParameters) { +func (in *PolicyEngineInitParameters) DeepCopyInto(out *PolicyEngineInitParameters) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsInitParameters) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Name != nil { + in, out := &in.Name, &out.Name *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 OutputSchemaInitParameters. -func (in *OutputSchemaInitParameters) DeepCopy() *OutputSchemaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineInitParameters. +func (in *PolicyEngineInitParameters) DeepCopy() *PolicyEngineInitParameters { if in == nil { return nil } - out := new(OutputSchemaInitParameters) + out := new(PolicyEngineInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsInitParameters) { +func (in *PolicyEngineList) DeepCopyInto(out *PolicyEngineList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *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 = new(OutputSchemaItemsItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyInitParameters, len(*in)) + *out = make([]PolicyEngine, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsInitParameters. -func (in *OutputSchemaItemsInitParameters) DeepCopy() *OutputSchemaItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineList. +func (in *PolicyEngineList) DeepCopy() *PolicyEngineList { if in == nil { return nil } - out := new(OutputSchemaItemsInitParameters) + out := new(PolicyEngineList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyEngineList) 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 *OutputSchemaItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsItemsInitParameters) { +func (in *PolicyEngineObservation) DeepCopyInto(out *PolicyEngineObservation) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + 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 OutputSchemaItemsItemsInitParameters. -func (in *OutputSchemaItemsItemsInitParameters) DeepCopy() *OutputSchemaItemsItemsInitParameters { - if in == nil { - return nil - } - out := new(OutputSchemaItemsItemsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsItemsObservation) DeepCopyInto(out *OutputSchemaItemsItemsObservation) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.PolicyEngineArn != nil { + in, out := &in.PolicyEngineArn, &out.PolicyEngineArn *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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 OutputSchemaItemsItemsObservation. -func (in *OutputSchemaItemsItemsObservation) DeepCopy() *OutputSchemaItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineObservation. +func (in *PolicyEngineObservation) DeepCopy() *PolicyEngineObservation { if in == nil { return nil } - out := new(OutputSchemaItemsItemsObservation) + out := new(PolicyEngineObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsItemsParameters) DeepCopyInto(out *OutputSchemaItemsItemsParameters) { +func (in *PolicyEngineParameters) DeepCopyInto(out *PolicyEngineParameters) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + 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 OutputSchemaItemsItemsParameters. -func (in *OutputSchemaItemsItemsParameters) DeepCopy() *OutputSchemaItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineParameters. +func (in *PolicyEngineParameters) DeepCopy() *PolicyEngineParameters { if in == nil { return nil } - out := new(OutputSchemaItemsItemsParameters) + out := new(PolicyEngineParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsObservation) DeepCopyInto(out *OutputSchemaItemsObservation) { +func (in *PolicyEngineSpec) DeepCopyInto(out *PolicyEngineSpec) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyObservation, 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 - } + 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 OutputSchemaItemsObservation. -func (in *OutputSchemaItemsObservation) DeepCopy() *OutputSchemaItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineSpec. +func (in *PolicyEngineSpec) DeepCopy() *PolicyEngineSpec { if in == nil { return nil } - out := new(OutputSchemaItemsObservation) + out := new(PolicyEngineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsParameters) DeepCopyInto(out *OutputSchemaItemsParameters) { +func (in *PolicyEngineStatus) DeepCopyInto(out *PolicyEngineStatus) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyParameters, 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 - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsParameters. -func (in *OutputSchemaItemsParameters) DeepCopy() *OutputSchemaItemsParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineStatus. +func (in *PolicyEngineStatus) DeepCopy() *PolicyEngineStatus { if in == nil { return nil } - out := new(OutputSchemaItemsParameters) + out := new(PolicyEngineStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyInitParameters) DeepCopyInto(out *OutputSchemaItemsPropertyInitParameters) { +func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionInitParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.PolicyEngineIDRef != nil { + in, out := &in.PolicyEngineIDRef, &out.PolicyEngineIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.PolicyEngineIDSelector != nil { + in, out := &in.PolicyEngineIDSelector, &out.PolicyEngineIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyInitParameters. -func (in *OutputSchemaItemsPropertyInitParameters) DeepCopy() *OutputSchemaItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters. +func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyInitParameters) + out := new(PolicyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaItemsPropertyObservation) { +func (in *PolicyList) DeepCopyInto(out *PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. +func (in *PolicyList) DeepCopy() *PolicyList { + if in == nil { + return nil + } + out := new(PolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyList) 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 *PolicyObservation) DeepCopyInto(out *PolicyObservation) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionObservation) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } @@ -12382,2362 +20094,2331 @@ func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaIt *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.PolicyID != nil { + in, out := &in.PolicyID, &out.PolicyID + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyObservation. -func (in *OutputSchemaItemsPropertyObservation) DeepCopy() *OutputSchemaItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation. +func (in *PolicyObservation) DeepCopy() *PolicyObservation { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyObservation) + out := new(PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyParameters) DeepCopyInto(out *OutputSchemaItemsPropertyParameters) { +func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.PolicyEngineIDRef != nil { + in, out := &in.PolicyEngineIDRef, &out.PolicyEngineIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PolicyEngineIDSelector != nil { + in, out := &in.PolicyEngineIDSelector, &out.PolicyEngineIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyParameters. -func (in *OutputSchemaItemsPropertyParameters) DeepCopy() *OutputSchemaItemsPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters. +func (in *PolicyParameters) DeepCopy() *PolicyParameters { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyParameters) + out := new(PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaObservation) DeepCopyInto(out *OutputSchemaObservation) { +func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *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 PolicySpec. +func (in *PolicySpec) DeepCopy() *PolicySpec { + if in == nil { + return nil } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsObservation) - (*in).DeepCopyInto(*out) + out := new(PolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. +func (in *PolicyStatus) DeepCopy() *PolicyStatus { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaObservation. -func (in *OutputSchemaObservation) DeepCopy() *OutputSchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointInitParameters. +func (in *PrivateEndpointInitParameters) DeepCopy() *PrivateEndpointInitParameters { if in == nil { return nil } - out := new(OutputSchemaObservation) + out := new(PrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaParameters) DeepCopyInto(out *OutputSchemaParameters) { +func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsParameters) - (*in).DeepCopyInto(*out) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaParameters. -func (in *OutputSchemaParameters) DeepCopy() *OutputSchemaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceInitParameters. +func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(OutputSchemaParameters) + out := new(PrivateEndpointManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyInitParameters) { +func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointManagedVPCResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyInitParameters, len(*in)) + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyInitParameters. -func (in *OutputSchemaPropertyInitParameters) DeepCopy() *OutputSchemaPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceObservation. +func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyInitParameters) + out := new(PrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsInitParameters) { +func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyInitParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsInitParameters. -func (in *OutputSchemaPropertyItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceParameters. +func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsInitParameters) + out := new(PrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsInitParameters) { +func (in *PrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsInitParameters. -func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointObservation. +func (in *PrivateEndpointObservation) DeepCopy() *PrivateEndpointObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsInitParameters) + out := new(PrivateEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsItemsObservation) { +func (in *PrivateEndpointOverridesInitParameters) DeepCopyInto(out *PrivateEndpointOverridesInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsObservation. -func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopy() *OutputSchemaPropertyItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesInitParameters. +func (in *PrivateEndpointOverridesInitParameters) DeepCopy() *PrivateEndpointOverridesInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsObservation) + out := new(PrivateEndpointOverridesInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsParameters) { +func (in *PrivateEndpointOverridesObservation) DeepCopyInto(out *PrivateEndpointOverridesObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsParameters. -func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopy() *OutputSchemaPropertyItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesObservation. +func (in *PrivateEndpointOverridesObservation) DeepCopy() *PrivateEndpointOverridesObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsParameters) + out := new(PrivateEndpointOverridesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsObservation) { +func (in *PrivateEndpointOverridesParameters) DeepCopyInto(out *PrivateEndpointOverridesParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsObservation) + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointParameters) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsObservation. -func (in *OutputSchemaPropertyItemsObservation) DeepCopy() *OutputSchemaPropertyItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesParameters. +func (in *PrivateEndpointOverridesParameters) DeepCopy() *PrivateEndpointOverridesParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsObservation) + out := new(PrivateEndpointOverridesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsParameters) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceInitParameters) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyParameters, 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.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsParameters. -func (in *OutputSchemaPropertyItemsParameters) DeepCopy() *OutputSchemaPropertyItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsParameters) + out := new(PrivateEndpointOverridesPrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyObservation) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyObservation, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyObservation. -func (in *OutputSchemaPropertyObservation) DeepCopy() *OutputSchemaPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyObservation) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyParameters. -func (in *OutputSchemaPropertyParameters) DeepCopy() *OutputSchemaPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyParameters) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyInitParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + 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.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyInitParameters. -func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopy() *OutputSchemaPropertyPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyInitParameters) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyPropertyObservation) { +func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointObservation. +func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + out := new(PrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyObservation. -func (in *OutputSchemaPropertyPropertyObservation) DeepCopy() *OutputSchemaPropertyPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointParameters. +func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyObservation) + out := new(PrivateEndpointOverridesPrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *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 PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil } - if in.Type != nil { - in, out := &in.Type, &out.Type + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyParameters. -func (in *OutputSchemaPropertyPropertyParameters) DeepCopy() *OutputSchemaPropertyPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyParameters) + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationInitParameters) DeepCopyInto(out *PolicyEngineConfigurationInitParameters) { +func (in *PrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationInitParameters. -func (in *PolicyEngineConfigurationInitParameters) DeepCopy() *PolicyEngineConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointParameters. +func (in *PrivateEndpointParameters) DeepCopy() *PrivateEndpointParameters { if in == nil { return nil } - out := new(PolicyEngineConfigurationInitParameters) + out := new(PrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationObservation) DeepCopyInto(out *PolicyEngineConfigurationObservation) { +func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationObservation. -func (in *PolicyEngineConfigurationObservation) DeepCopy() *PolicyEngineConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceInitParameters { if in == nil { return nil } - out := new(PolicyEngineConfigurationObservation) + out := new(PrivateEndpointSelfManagedLatticeResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationParameters) DeepCopyInto(out *PolicyEngineConfigurationParameters) { +func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationParameters. -func (in *PolicyEngineConfigurationParameters) DeepCopy() *PolicyEngineConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceObservation. +func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceObservation { if in == nil { return nil } - out := new(PolicyEngineConfigurationParameters) + out := new(PrivateEndpointSelfManagedLatticeResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointInitParameters) { +func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointInitParameters. -func (in *PrivateEndpointInitParameters) DeepCopy() *PrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceParameters. +func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(PrivateEndpointInitParameters) + out := new(PrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceInitParameters) { +func (in *PropertyInitParameters) DeepCopyInto(out *PropertyInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceInitParameters. -func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyInitParameters. +func (in *PropertyInitParameters) DeepCopy() *PropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceInitParameters) + out := new(PropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointManagedVPCResourceObservation) { +func (in *PropertyItemsInitParameters) DeepCopyInto(out *PropertyItemsInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - 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.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.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsInitParameters) + (*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.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceObservation. -func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsInitParameters. +func (in *PropertyItemsInitParameters) DeepCopy() *PropertyItemsInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceObservation) + out := new(PropertyItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceParameters) { +func (in *PropertyItemsItemsInitParameters) DeepCopyInto(out *PropertyItemsItemsInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceParameters. -func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsInitParameters. +func (in *PropertyItemsItemsInitParameters) DeepCopy() *PropertyItemsItemsInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceParameters) + out := new(PropertyItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointObservation) { +func (in *PropertyItemsItemsObservation) DeepCopyInto(out *PropertyItemsItemsObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointObservation. -func (in *PrivateEndpointObservation) DeepCopy() *PrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsObservation. +func (in *PropertyItemsItemsObservation) DeepCopy() *PropertyItemsItemsObservation { if in == nil { return nil } - out := new(PrivateEndpointObservation) + out := new(PropertyItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesInitParameters) DeepCopyInto(out *PrivateEndpointOverridesInitParameters) { +func (in *PropertyItemsItemsParameters) DeepCopyInto(out *PropertyItemsItemsParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesInitParameters. -func (in *PrivateEndpointOverridesInitParameters) DeepCopy() *PrivateEndpointOverridesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsParameters. +func (in *PropertyItemsItemsParameters) DeepCopy() *PropertyItemsItemsParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesInitParameters) + out := new(PropertyItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesObservation) DeepCopyInto(out *PrivateEndpointOverridesObservation) { +func (in *PropertyItemsObservation) DeepCopyInto(out *PropertyItemsObservation) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsObservation) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesObservation. -func (in *PrivateEndpointOverridesObservation) DeepCopy() *PrivateEndpointOverridesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsObservation. +func (in *PropertyItemsObservation) DeepCopy() *PropertyItemsObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesObservation) + out := new(PropertyItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesParameters) DeepCopyInto(out *PrivateEndpointOverridesParameters) { +func (in *PropertyItemsParameters) DeepCopyInto(out *PropertyItemsParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsParameters) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesParameters. -func (in *PrivateEndpointOverridesParameters) DeepCopy() *PrivateEndpointOverridesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsParameters. +func (in *PropertyItemsParameters) DeepCopy() *PropertyItemsParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesParameters) + out := new(PropertyItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointInitParameters) { +func (in *PropertyItemsPropertyInitParameters) DeepCopyInto(out *PropertyItemsPropertyInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyInitParameters. +func (in *PropertyItemsPropertyInitParameters) DeepCopy() *PropertyItemsPropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointInitParameters) + out := new(PropertyItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { +func (in *PropertyItemsPropertyObservation) DeepCopyInto(out *PropertyItemsPropertyObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyObservation. +func (in *PropertyItemsPropertyObservation) DeepCopy() *PropertyItemsPropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + out := new(PropertyItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { +func (in *PropertyItemsPropertyParameters) DeepCopyInto(out *PropertyItemsPropertyParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyParameters. +func (in *PropertyItemsPropertyParameters) DeepCopy() *PropertyItemsPropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + out := new(PropertyItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { +func (in *PropertyObservation) DeepCopyInto(out *PropertyObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyObservation. +func (in *PropertyObservation) DeepCopy() *PropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + out := new(PropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointObservation) { +func (in *PropertyParameters) DeepCopyInto(out *PropertyParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointObservation. -func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointObservation { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(PrivateEndpointOverridesPrivateEndpointObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointParameters) { - *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointParameters. -func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyParameters. +func (in *PropertyParameters) DeepCopy() *PropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointParameters) + out := new(PropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *PropertyPropertyInitParameters) DeepCopyInto(out *PropertyPropertyInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyInitParameters. +func (in *PropertyPropertyInitParameters) DeepCopy() *PropertyPropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(PropertyPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *PropertyPropertyObservation) DeepCopyInto(out *PropertyPropertyObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyObservation. +func (in *PropertyPropertyObservation) DeepCopy() *PropertyPropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + out := new(PropertyPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *PropertyPropertyParameters) DeepCopyInto(out *PropertyPropertyParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyParameters. +func (in *PropertyPropertyParameters) DeepCopy() *PropertyPropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(PropertyPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointParameters) { +func (in *ProtocolConfigurationInitParameters) DeepCopyInto(out *ProtocolConfigurationInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointParameters. -func (in *PrivateEndpointParameters) DeepCopy() *PrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationInitParameters. +func (in *ProtocolConfigurationInitParameters) DeepCopy() *ProtocolConfigurationInitParameters { if in == nil { return nil } - out := new(PrivateEndpointParameters) + out := new(ProtocolConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *ProtocolConfigurationObservation) DeepCopyInto(out *ProtocolConfigurationObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationObservation. +func (in *ProtocolConfigurationObservation) DeepCopy() *ProtocolConfigurationObservation { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(ProtocolConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *ProtocolConfigurationParameters) DeepCopyInto(out *ProtocolConfigurationParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceObservation. -func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationParameters. +func (in *ProtocolConfigurationParameters) DeepCopy() *ProtocolConfigurationParameters { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceObservation) + out := new(ProtocolConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *RatingScaleInitParameters) DeepCopyInto(out *RatingScaleInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceParameters. -func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleInitParameters. +func (in *RatingScaleInitParameters) DeepCopy() *RatingScaleInitParameters { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceParameters) + out := new(RatingScaleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyInitParameters) DeepCopyInto(out *PropertyInitParameters) { +func (in *RatingScaleObservation) DeepCopyInto(out *RatingScaleObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalObservation, 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.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyInitParameters. -func (in *PropertyInitParameters) DeepCopy() *PropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleObservation. +func (in *RatingScaleObservation) DeepCopy() *RatingScaleObservation { if in == nil { return nil } - out := new(PropertyInitParameters) + out := new(RatingScaleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsInitParameters) DeepCopyInto(out *PropertyItemsInitParameters) { +func (in *RatingScaleParameters) DeepCopyInto(out *RatingScaleParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyInitParameters, len(*in)) + if in.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleParameters. +func (in *RatingScaleParameters) DeepCopy() *RatingScaleParameters { + if in == nil { + return nil + } + out := new(RatingScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordingInitParameters) DeepCopyInto(out *RecordingInitParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsInitParameters. -func (in *PropertyItemsInitParameters) DeepCopy() *PropertyItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingInitParameters. +func (in *RecordingInitParameters) DeepCopy() *RecordingInitParameters { if in == nil { return nil } - out := new(PropertyItemsInitParameters) + out := new(RecordingInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsInitParameters) DeepCopyInto(out *PropertyItemsItemsInitParameters) { +func (in *RecordingObservation) DeepCopyInto(out *RecordingObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsInitParameters. -func (in *PropertyItemsItemsInitParameters) DeepCopy() *PropertyItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingObservation. +func (in *RecordingObservation) DeepCopy() *RecordingObservation { if in == nil { return nil } - out := new(PropertyItemsItemsInitParameters) + out := new(RecordingObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsObservation) DeepCopyInto(out *PropertyItemsItemsObservation) { +func (in *RecordingParameters) DeepCopyInto(out *RecordingParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsObservation. -func (in *PropertyItemsItemsObservation) DeepCopy() *PropertyItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingParameters. +func (in *RecordingParameters) DeepCopy() *RecordingParameters { if in == nil { return nil } - out := new(PropertyItemsItemsObservation) + out := new(RecordingParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsParameters) DeepCopyInto(out *PropertyItemsItemsParameters) { +func (in *RemoteMcpInitParameters) DeepCopyInto(out *RemoteMcpInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } + in.URLSecretRef.DeepCopyInto(&out.URLSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsParameters. -func (in *PropertyItemsItemsParameters) DeepCopy() *PropertyItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpInitParameters. +func (in *RemoteMcpInitParameters) DeepCopy() *RemoteMcpInitParameters { if in == nil { return nil } - out := new(PropertyItemsItemsParameters) + out := new(RemoteMcpInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsObservation) DeepCopyInto(out *PropertyItemsObservation) { +func (in *RemoteMcpObservation) DeepCopyInto(out *RemoteMcpObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsObservation. -func (in *PropertyItemsObservation) DeepCopy() *PropertyItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpObservation. +func (in *RemoteMcpObservation) DeepCopy() *RemoteMcpObservation { if in == nil { return nil } - out := new(PropertyItemsObservation) + out := new(RemoteMcpObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsParameters) DeepCopyInto(out *PropertyItemsParameters) { +func (in *RemoteMcpParameters) DeepCopyInto(out *RemoteMcpParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.HeadersSecretRef != nil { + in, out := &in.HeadersSecretRef, &out.HeadersSecretRef + *out = new(v1.SecretReference) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsParameters) - (*in).DeepCopyInto(*out) + in.URLSecretRef.DeepCopyInto(&out.URLSecretRef) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpParameters. +func (in *RemoteMcpParameters) DeepCopy() *RemoteMcpParameters { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyParameters, len(*in)) + out := new(RemoteMcpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConfigurationInitParameters) DeepCopyInto(out *RequestHeaderConfigurationInitParameters) { + *out = *in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsParameters. -func (in *PropertyItemsParameters) DeepCopy() *PropertyItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationInitParameters. +func (in *RequestHeaderConfigurationInitParameters) DeepCopy() *RequestHeaderConfigurationInitParameters { if in == nil { return nil } - out := new(PropertyItemsParameters) + out := new(RequestHeaderConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyInitParameters) DeepCopyInto(out *PropertyItemsPropertyInitParameters) { +func (in *RequestHeaderConfigurationObservation) DeepCopyInto(out *RequestHeaderConfigurationObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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 PropertyItemsPropertyInitParameters. -func (in *PropertyItemsPropertyInitParameters) DeepCopy() *PropertyItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationObservation. +func (in *RequestHeaderConfigurationObservation) DeepCopy() *RequestHeaderConfigurationObservation { if in == nil { return nil } - out := new(PropertyItemsPropertyInitParameters) + out := new(RequestHeaderConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyObservation) DeepCopyInto(out *PropertyItemsPropertyObservation) { +func (in *RequestHeaderConfigurationParameters) DeepCopyInto(out *RequestHeaderConfigurationParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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 PropertyItemsPropertyObservation. -func (in *PropertyItemsPropertyObservation) DeepCopy() *PropertyItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationParameters. +func (in *RequestHeaderConfigurationParameters) DeepCopy() *RequestHeaderConfigurationParameters { if in == nil { return nil } - out := new(PropertyItemsPropertyObservation) + out := new(RequestHeaderConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyParameters) DeepCopyInto(out *PropertyItemsPropertyParameters) { +func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyParameters. -func (in *PropertyItemsPropertyParameters) DeepCopy() *PropertyItemsPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. +func (in *ResourceInitParameters) DeepCopy() *ResourceInitParameters { if in == nil { return nil } - out := new(PropertyItemsPropertyParameters) + out := new(ResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyObservation) DeepCopyInto(out *PropertyObservation) { +func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyObservation. -func (in *PropertyObservation) DeepCopy() *PropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceObservation. +func (in *ResourceObservation) DeepCopy() *ResourceObservation { if in == nil { return nil } - out := new(PropertyObservation) + out := new(ResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyParameters) DeepCopyInto(out *PropertyParameters) { +func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyParameters. -func (in *PropertyParameters) DeepCopy() *PropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceParameters. +func (in *ResourceParameters) DeepCopy() *ResourceParameters { if in == nil { return nil } - out := new(PropertyParameters) + out := new(ResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyPropertyInitParameters) DeepCopyInto(out *PropertyPropertyInitParameters) { +func (in *ResourcePolicy) DeepCopyInto(out *ResourcePolicy) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *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 ResourcePolicy. +func (in *ResourcePolicy) DeepCopy() *ResourcePolicy { + if in == nil { + return nil } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + out := new(ResourcePolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourcePolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.Type != nil { - in, out := &in.Type, &out.Type + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourcePolicyInitParameters) DeepCopyInto(out *ResourcePolicyInitParameters) { + *out = *in + if in.Policy != nil { + in, out := &in.Policy, &out.Policy *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyInitParameters. -func (in *PropertyPropertyInitParameters) DeepCopy() *PropertyPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyInitParameters. +func (in *ResourcePolicyInitParameters) DeepCopy() *ResourcePolicyInitParameters { if in == nil { return nil } - out := new(PropertyPropertyInitParameters) + out := new(ResourcePolicyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyPropertyObservation) DeepCopyInto(out *PropertyPropertyObservation) { +func (in *ResourcePolicyList) DeepCopyInto(out *ResourcePolicyList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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([]ResourcePolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyObservation. -func (in *PropertyPropertyObservation) DeepCopy() *PropertyPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyList. +func (in *ResourcePolicyList) DeepCopy() *ResourcePolicyList { if in == nil { return nil } - out := new(PropertyPropertyObservation) + out := new(ResourcePolicyList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourcePolicyList) 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 *PropertyPropertyParameters) DeepCopyInto(out *PropertyPropertyParameters) { +func (in *ResourcePolicyObservation) DeepCopyInto(out *ResourcePolicyObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Policy != nil { + in, out := &in.Policy, &out.Policy *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyParameters. -func (in *PropertyPropertyParameters) DeepCopy() *PropertyPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyObservation. +func (in *ResourcePolicyObservation) DeepCopy() *ResourcePolicyObservation { if in == nil { return nil } - out := new(PropertyPropertyParameters) + out := new(ResourcePolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationInitParameters) DeepCopyInto(out *ProtocolConfigurationInitParameters) { +func (in *ResourcePolicyParameters) DeepCopyInto(out *ResourcePolicyParameters) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol + if in.Policy != nil { + in, out := &in.Policy, &out.Policy + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationInitParameters. -func (in *ProtocolConfigurationInitParameters) DeepCopy() *ProtocolConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyParameters. +func (in *ResourcePolicyParameters) DeepCopy() *ResourcePolicyParameters { if in == nil { return nil } - out := new(ProtocolConfigurationInitParameters) + out := new(ResourcePolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationObservation) DeepCopyInto(out *ProtocolConfigurationObservation) { +func (in *ResourcePolicySpec) DeepCopyInto(out *ResourcePolicySpec) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol - *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 ProtocolConfigurationObservation. -func (in *ProtocolConfigurationObservation) DeepCopy() *ProtocolConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicySpec. +func (in *ResourcePolicySpec) DeepCopy() *ResourcePolicySpec { if in == nil { return nil } - out := new(ProtocolConfigurationObservation) + out := new(ResourcePolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationParameters) DeepCopyInto(out *ProtocolConfigurationParameters) { +func (in *ResourcePolicyStatus) DeepCopyInto(out *ResourcePolicyStatus) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol - *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 ProtocolConfigurationParameters. -func (in *ProtocolConfigurationParameters) DeepCopy() *ProtocolConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyStatus. +func (in *ResourcePolicyStatus) DeepCopy() *ResourcePolicyStatus { if in == nil { return nil } - out := new(ProtocolConfigurationParameters) + out := new(ResourcePolicyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingInitParameters) DeepCopyInto(out *RecordingInitParameters) { +func (in *RetrievalConfigInitParameters) DeepCopyInto(out *RetrievalConfigInitParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationInitParameters) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.StrategyIDRef != nil { + in, out := &in.StrategyIDRef, &out.StrategyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.StrategyIDSelector != nil { + in, out := &in.StrategyIDSelector, &out.StrategyIDSelector + *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingInitParameters. -func (in *RecordingInitParameters) DeepCopy() *RecordingInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigInitParameters. +func (in *RetrievalConfigInitParameters) DeepCopy() *RetrievalConfigInitParameters { if in == nil { return nil } - out := new(RecordingInitParameters) + out := new(RetrievalConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingObservation) DeepCopyInto(out *RecordingObservation) { +func (in *RetrievalConfigObservation) DeepCopyInto(out *RetrievalConfigObservation) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationObservation) - (*in).DeepCopyInto(*out) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingObservation. -func (in *RecordingObservation) DeepCopy() *RecordingObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigObservation. +func (in *RetrievalConfigObservation) DeepCopy() *RetrievalConfigObservation { if in == nil { return nil } - out := new(RecordingObservation) + out := new(RetrievalConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingParameters) DeepCopyInto(out *RecordingParameters) { +func (in *RetrievalConfigParameters) DeepCopyInto(out *RetrievalConfigParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationParameters) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.StrategyIDRef != nil { + in, out := &in.StrategyIDRef, &out.StrategyIDRef + *out = new(v1.Reference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingParameters. -func (in *RecordingParameters) DeepCopy() *RecordingParameters { - if in == nil { - return nil + if in.StrategyIDSelector != nil { + in, out := &in.StrategyIDSelector, &out.StrategyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(RecordingParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationInitParameters) DeepCopyInto(out *RequestHeaderConfigurationInitParameters) { - *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *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.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationInitParameters. -func (in *RequestHeaderConfigurationInitParameters) DeepCopy() *RequestHeaderConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigParameters. +func (in *RetrievalConfigParameters) DeepCopy() *RetrievalConfigParameters { if in == nil { return nil } - out := new(RequestHeaderConfigurationInitParameters) + out := new(RetrievalConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationObservation) DeepCopyInto(out *RequestHeaderConfigurationObservation) { +func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *out = make([]*string, len(*in)) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterInitParameters, 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.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationObservation. -func (in *RequestHeaderConfigurationObservation) DeepCopy() *RequestHeaderConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters. +func (in *RuleInitParameters) DeepCopy() *RuleInitParameters { if in == nil { return nil } - out := new(RequestHeaderConfigurationObservation) + out := new(RuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationParameters) DeepCopyInto(out *RequestHeaderConfigurationParameters) { +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *out = make([]*string, len(*in)) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterObservation, 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 RequestHeaderConfigurationParameters. -func (in *RequestHeaderConfigurationParameters) DeepCopy() *RequestHeaderConfigurationParameters { - if in == nil { - return nil + if in.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigObservation) + (*in).DeepCopyInto(*out) } - out := new(RequestHeaderConfigurationParameters) - in.DeepCopyInto(out) - return out -} - -// 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.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisInitParameters) + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. -func (in *ResourceInitParameters) DeepCopy() *ResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { if in == nil { return nil } - out := new(ResourceInitParameters) + out := new(RuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation) { +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { *out = *in - if in.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisObservation) - (*in).DeepCopyInto(*out) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceObservation. -func (in *ResourceObservation) DeepCopy() *ResourceObservation { - if in == nil { - return nil + if in.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigParameters) + (*in).DeepCopyInto(*out) } - out := new(ResourceObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters) { - *out = *in - if in.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisParameters) + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceParameters. -func (in *ResourceParameters) DeepCopy() *ResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { if in == nil { return nil } - out := new(ResourceParameters) + out := new(RuleParameters) in.DeepCopyInto(out) return out } @@ -14750,6 +22431,16 @@ func (in *S3FilesAccessPointInitParameters) DeepCopyInto(out *S3FilesAccessPoint *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.MountPath != nil { in, out := &in.MountPath, &out.MountPath *out = new(string) @@ -14800,6 +22491,16 @@ func (in *S3FilesAccessPointParameters) DeepCopyInto(out *S3FilesAccessPointPara *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.MountPath != nil { in, out := &in.MountPath, &out.MountPath *out = new(string) @@ -15227,12 +22928,72 @@ func (in *SalesforceOauth2ProviderConfigParameters) DeepCopyInto(out *Salesforce } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SalesforceOauth2ProviderConfigParameters. -func (in *SalesforceOauth2ProviderConfigParameters) DeepCopy() *SalesforceOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SalesforceOauth2ProviderConfigParameters. +func (in *SalesforceOauth2ProviderConfigParameters) DeepCopy() *SalesforceOauth2ProviderConfigParameters { + if in == nil { + return nil + } + out := new(SalesforceOauth2ProviderConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigInitParameters) DeepCopyInto(out *SamplingConfigInitParameters) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigInitParameters. +func (in *SamplingConfigInitParameters) DeepCopy() *SamplingConfigInitParameters { + if in == nil { + return nil + } + out := new(SamplingConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigObservation) DeepCopyInto(out *SamplingConfigObservation) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigObservation. +func (in *SamplingConfigObservation) DeepCopy() *SamplingConfigObservation { + if in == nil { + return nil + } + out := new(SamplingConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigParameters) DeepCopyInto(out *SamplingConfigParameters) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigParameters. +func (in *SamplingConfigParameters) DeepCopy() *SamplingConfigParameters { if in == nil { return nil } - out := new(SalesforceOauth2ProviderConfigParameters) + out := new(SamplingConfigParameters) in.DeepCopyInto(out) return out } @@ -15245,6 +23006,16 @@ func (in *SecretsManagerInitParameters) DeepCopyInto(out *SecretsManagerInitPara *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 SecretsManagerInitParameters. @@ -15285,6 +23056,16 @@ func (in *SecretsManagerParameters) DeepCopyInto(out *SecretsManagerParameters) *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 SecretsManagerParameters. @@ -15357,6 +23138,66 @@ func (in *SelfManagedLatticeResourceParameters) DeepCopy() *SelfManagedLatticeRe return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigInitParameters) DeepCopyInto(out *SessionConfigInitParameters) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigInitParameters. +func (in *SessionConfigInitParameters) DeepCopy() *SessionConfigInitParameters { + if in == nil { + return nil + } + out := new(SessionConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigObservation) DeepCopyInto(out *SessionConfigObservation) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigObservation. +func (in *SessionConfigObservation) DeepCopy() *SessionConfigObservation { + if in == nil { + return nil + } + out := new(SessionConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigParameters) DeepCopyInto(out *SessionConfigParameters) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigParameters. +func (in *SessionConfigParameters) DeepCopy() *SessionConfigParameters { + if in == nil { + return nil + } + out := new(SessionConfigParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SessionConfigurationInitParameters) DeepCopyInto(out *SessionConfigurationInitParameters) { *out = *in @@ -15477,6 +23318,66 @@ func (in *SessionStorageParameters) DeepCopy() *SessionStorageParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillInitParameters) DeepCopyInto(out *SkillInitParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillInitParameters. +func (in *SkillInitParameters) DeepCopy() *SkillInitParameters { + if in == nil { + return nil + } + out := new(SkillInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillObservation) DeepCopyInto(out *SkillObservation) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillObservation. +func (in *SkillObservation) DeepCopy() *SkillObservation { + if in == nil { + return nil + } + out := new(SkillObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillParameters) DeepCopyInto(out *SkillParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillParameters. +func (in *SkillParameters) DeepCopy() *SkillParameters { + if in == nil { + return nil + } + out := new(SkillParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SlackOauth2ProviderConfigInitParameters) DeepCopyInto(out *SlackOauth2ProviderConfigInitParameters) { *out = *in @@ -15712,6 +23613,66 @@ func (in *SlackOauth2ProviderConfigParameters) DeepCopy() *SlackOauth2ProviderCo return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowInitParameters) DeepCopyInto(out *SlidingWindowInitParameters) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowInitParameters. +func (in *SlidingWindowInitParameters) DeepCopy() *SlidingWindowInitParameters { + if in == nil { + return nil + } + out := new(SlidingWindowInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowObservation) DeepCopyInto(out *SlidingWindowObservation) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowObservation. +func (in *SlidingWindowObservation) DeepCopy() *SlidingWindowObservation { + if in == nil { + return nil + } + out := new(SlidingWindowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowParameters) DeepCopyInto(out *SlidingWindowParameters) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowParameters. +func (in *SlidingWindowParameters) DeepCopy() *SlidingWindowParameters { + if in == nil { + return nil + } + out := new(SlidingWindowParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SmithyModelInitParameters) DeepCopyInto(out *SmithyModelInitParameters) { *out = *in @@ -16012,32 +23973,169 @@ func (in *StreamingConfigurationObservation) DeepCopyInto(out *StreamingConfigur } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationObservation. -func (in *StreamingConfigurationObservation) DeepCopy() *StreamingConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationObservation. +func (in *StreamingConfigurationObservation) DeepCopy() *StreamingConfigurationObservation { + if in == nil { + return nil + } + out := new(StreamingConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingConfigurationParameters) DeepCopyInto(out *StreamingConfigurationParameters) { + *out = *in + if in.EnableResponseStreaming != nil { + in, out := &in.EnableResponseStreaming, &out.EnableResponseStreaming + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationParameters. +func (in *StreamingConfigurationParameters) DeepCopy() *StreamingConfigurationParameters { + if in == nil { + return nil + } + out := new(StreamingConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationInitParameters) DeepCopyInto(out *SummarizationInitParameters) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationInitParameters. +func (in *SummarizationInitParameters) DeepCopy() *SummarizationInitParameters { + if in == nil { + return nil + } + out := new(SummarizationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationObservation) DeepCopyInto(out *SummarizationObservation) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationObservation. +func (in *SummarizationObservation) DeepCopy() *SummarizationObservation { + if in == nil { + return nil + } + out := new(SummarizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationParameters) DeepCopyInto(out *SummarizationParameters) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationParameters. +func (in *SummarizationParameters) DeepCopy() *SummarizationParameters { + if in == nil { + return nil + } + out := new(SummarizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemPromptInitParameters) DeepCopyInto(out *SystemPromptInitParameters) { + *out = *in + in.TextSecretRef.DeepCopyInto(&out.TextSecretRef) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptInitParameters. +func (in *SystemPromptInitParameters) DeepCopy() *SystemPromptInitParameters { + if in == nil { + return nil + } + out := new(SystemPromptInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemPromptObservation) DeepCopyInto(out *SystemPromptObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptObservation. +func (in *SystemPromptObservation) DeepCopy() *SystemPromptObservation { if in == nil { return nil } - out := new(StreamingConfigurationObservation) + out := new(SystemPromptObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StreamingConfigurationParameters) DeepCopyInto(out *StreamingConfigurationParameters) { +func (in *SystemPromptParameters) DeepCopyInto(out *SystemPromptParameters) { *out = *in - if in.EnableResponseStreaming != nil { - in, out := &in.EnableResponseStreaming, &out.EnableResponseStreaming - *out = new(bool) - **out = **in - } + in.TextSecretRef.DeepCopyInto(&out.TextSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationParameters. -func (in *StreamingConfigurationParameters) DeepCopy() *StreamingConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptParameters. +func (in *SystemPromptParameters) DeepCopy() *SystemPromptParameters { if in == nil { return nil } - out := new(StreamingConfigurationParameters) + out := new(SystemPromptParameters) in.DeepCopyInto(out) return out } @@ -16509,6 +24607,66 @@ func (in *ToolFilterParameters) DeepCopy() *ToolFilterParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolInitParameters) DeepCopyInto(out *ToolInitParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolInitParameters. +func (in *ToolInitParameters) DeepCopy() *ToolInitParameters { + if in == nil { + return nil + } + out := new(ToolInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolObservation) DeepCopyInto(out *ToolObservation) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolObservation. +func (in *ToolObservation) DeepCopy() *ToolObservation { + if in == nil { + return nil + } + out := new(ToolObservation) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ToolOverrideInitParameters) DeepCopyInto(out *ToolOverrideInitParameters) { *out = *in @@ -16614,6 +24772,36 @@ func (in *ToolOverrideParameters) DeepCopy() *ToolOverrideParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolParameters) DeepCopyInto(out *ToolParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolParameters. +func (in *ToolParameters) DeepCopy() *ToolParameters { + if in == nil { + return nil + } + out := new(ToolParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ToolSchemaInitParameters) DeepCopyInto(out *ToolSchemaInitParameters) { *out = *in @@ -16770,6 +24958,174 @@ func (in *ToolSchemaS3Parameters) DeepCopy() *ToolSchemaS3Parameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigInitParameters) DeepCopyInto(out *TruncationConfigInitParameters) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigInitParameters. +func (in *TruncationConfigInitParameters) DeepCopy() *TruncationConfigInitParameters { + if in == nil { + return nil + } + out := new(TruncationConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigObservation) DeepCopyInto(out *TruncationConfigObservation) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigObservation. +func (in *TruncationConfigObservation) DeepCopy() *TruncationConfigObservation { + if in == nil { + return nil + } + out := new(TruncationConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigParameters) DeepCopyInto(out *TruncationConfigParameters) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigParameters. +func (in *TruncationConfigParameters) DeepCopy() *TruncationConfigParameters { + if in == nil { + return nil + } + out := new(TruncationConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationInitParameters) DeepCopyInto(out *TruncationInitParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationInitParameters. +func (in *TruncationInitParameters) DeepCopy() *TruncationInitParameters { + if in == nil { + return nil + } + out := new(TruncationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationObservation) DeepCopyInto(out *TruncationObservation) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationObservation. +func (in *TruncationObservation) DeepCopy() *TruncationObservation { + if in == nil { + return nil + } + out := new(TruncationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationParameters) DeepCopyInto(out *TruncationParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationParameters. +func (in *TruncationParameters) DeepCopy() *TruncationParameters { + if in == nil { + return nil + } + out := new(TruncationParameters) + in.DeepCopyInto(out) + return out +} + // 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 @@ -16881,6 +25237,96 @@ func (in *VPCConfigParameters) DeepCopy() *VPCConfigParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueInitParameters) DeepCopyInto(out *ValueInitParameters) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueInitParameters. +func (in *ValueInitParameters) DeepCopy() *ValueInitParameters { + if in == nil { + return nil + } + out := new(ValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueObservation) DeepCopyInto(out *ValueObservation) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueObservation. +func (in *ValueObservation) DeepCopy() *ValueObservation { + if in == nil { + return nil + } + out := new(ValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueParameters) DeepCopyInto(out *ValueParameters) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueParameters. +func (in *ValueParameters) DeepCopy() *ValueParameters { + if in == nil { + return nil + } + out := new(ValueParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkloadIdentity) DeepCopyInto(out *WorkloadIdentity) { *out = *in diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managed.go index e368159e52..808317ad14 100644 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managed.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managed.go @@ -257,6 +257,56 @@ func (mg *CodeInterpreter) SetWriteConnectionSecretToReference(r *xpv1.SecretRef mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this Evaluator. +func (mg *Evaluator) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Evaluator. +func (mg *Evaluator) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this Evaluator. +func (mg *Evaluator) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Evaluator. +func (mg *Evaluator) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Evaluator. +func (mg *Evaluator) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Evaluator. +func (mg *Evaluator) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Evaluator. +func (mg *Evaluator) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this Evaluator. +func (mg *Evaluator) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Evaluator. +func (mg *Evaluator) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Evaluator. +func (mg *Evaluator) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Gateway. func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -357,6 +407,56 @@ func (mg *GatewayTarget) SetWriteConnectionSecretToReference(r *xpv1.SecretRefer mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this Harness. +func (mg *Harness) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Harness. +func (mg *Harness) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this Harness. +func (mg *Harness) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Harness. +func (mg *Harness) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Harness. +func (mg *Harness) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Harness. +func (mg *Harness) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Harness. +func (mg *Harness) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this Harness. +func (mg *Harness) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Harness. +func (mg *Harness) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Harness. +func (mg *Harness) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Memory. func (mg *Memory) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -507,6 +607,206 @@ func (mg *Oauth2CredentialProvider) SetWriteConnectionSecretToReference(r *xpv1. mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Policy. +func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Policy. +func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this Policy. +func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Policy. +func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Policy. +func (mg *Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Policy. +func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this Policy. +func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Policy. +func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PolicyEngine. +func (mg *PolicyEngine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyEngine. +func (mg *PolicyEngine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this PolicyEngine. +func (mg *PolicyEngine) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this PolicyEngine. +func (mg *PolicyEngine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this PolicyEngine. +func (mg *PolicyEngine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyEngine. +func (mg *PolicyEngine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyEngine. +func (mg *PolicyEngine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this PolicyEngine. +func (mg *PolicyEngine) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this PolicyEngine. +func (mg *PolicyEngine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyEngine. +func (mg *PolicyEngine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ResourcePolicy. +func (mg *ResourcePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ResourcePolicy. +func (mg *ResourcePolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this ResourcePolicy. +func (mg *ResourcePolicy) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this ResourcePolicy. +func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this ResourcePolicy. +func (mg *ResourcePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ResourcePolicy. +func (mg *ResourcePolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ResourcePolicy. +func (mg *ResourcePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this ResourcePolicy. +func (mg *ResourcePolicy) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this ResourcePolicy. +func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this ResourcePolicy. +func (mg *ResourcePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this TokenVaultCmk. func (mg *TokenVaultCmk) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managedlist.go b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managedlist.go index 2d93a572b7..200a8b3c40 100644 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managedlist.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.managedlist.go @@ -52,6 +52,15 @@ func (l *CodeInterpreterList) GetItems() []resource.Managed { return items } +// GetItems of this EvaluatorList. +func (l *EvaluatorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this GatewayList. func (l *GatewayList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -70,6 +79,15 @@ func (l *GatewayTargetList) GetItems() []resource.Managed { return items } +// GetItems of this HarnessList. +func (l *HarnessList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this MemoryList. func (l *MemoryList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -97,6 +115,42 @@ func (l *Oauth2CredentialProviderList) GetItems() []resource.Managed { return items } +// GetItems of this OnlineEvaluationConfigList. +func (l *OnlineEvaluationConfigList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyEngineList. +func (l *PolicyEngineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyList. +func (l *PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ResourcePolicyList. +func (l *ResourcePolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this TokenVaultCmkList. func (l *TokenVaultCmkList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.resolvers.go b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.resolvers.go index 0050063f24..2029cc327b 100644 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_generated.resolvers.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_generated.resolvers.go @@ -25,12 +25,60 @@ func (mg *AgentRuntime) ResolveReferences( // ResolveReferences of this AgentRun var rsp reference.ResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.FilesystemConfiguration); i3++ { + if mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef, + Selector: mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn") + } + mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.FilesystemConfiguration); i3++ { + if mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef, + Selector: mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn") + } + mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.RoleArn), Extract: common.ARNExtractor(), @@ -45,12 +93,60 @@ func (mg *AgentRuntime) ResolveReferences( // ResolveReferences of this AgentRun } mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.FilesystemConfiguration); i3++ { + if mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef, + Selector: mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn") + } + mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.FilesystemConfiguration); i3++ { + if mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef, + Selector: mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn") + } + mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), Extract: common.ARNExtractor(), @@ -109,12 +205,38 @@ func (mg *Browser) ResolveReferences(ctx context.Context, c client.Reader) error var rsp reference.ResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Certificate); i3++ { + if mg.Spec.ForProvider.Certificate[i3].Location != nil { + if mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), Extract: common.ARNExtractor(), @@ -154,6 +276,32 @@ func (mg *Browser) ResolveReferences(ctx context.Context, c client.Reader) error } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Certificate); i3++ { + if mg.Spec.InitProvider.Certificate[i3].Location != nil { + if mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { @@ -210,12 +358,38 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade var rsp reference.ResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Certificate); i3++ { + if mg.Spec.ForProvider.Certificate[i3].Location != nil { + if mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), Extract: common.ARNExtractor(), @@ -230,12 +404,38 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade } mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Certificate); i3++ { + if mg.Spec.InitProvider.Certificate[i3].Location != nil { + if mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), Extract: common.ARNExtractor(), @@ -254,6 +454,110 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade return nil } +// ResolveReferences of this Evaluator. +func (mg *Evaluator) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + if mg.Spec.ForProvider.EvaluatorConfig != nil { + if mg.Spec.ForProvider.EvaluatorConfig.CodeBased != nil { + if mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("lambda.aws.upbound.io", "v1beta2", "Function", "FunctionList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef, + Selector: mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn") + } + mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.KMSKeyArnRef, + Selector: mg.Spec.ForProvider.KMSKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.KMSKeyArn") + } + mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.EvaluatorConfig != nil { + if mg.Spec.InitProvider.EvaluatorConfig.CodeBased != nil { + if mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("lambda.aws.upbound.io", "v1beta2", "Function", "FunctionList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef, + Selector: mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn") + } + mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + 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 +} + // ResolveReferences of this Gateway. func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed @@ -308,12 +612,34 @@ func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error } mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.ForProvider.PolicyEngineConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PolicyEngineConfiguration.Arn), + Extract: resource.ExtractParamPath("policy_engine_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.PolicyEngineConfiguration.ArnRef, + Selector: mg.Spec.ForProvider.PolicyEngineConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PolicyEngineConfiguration.Arn") + } + mg.Spec.ForProvider.PolicyEngineConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PolicyEngineConfiguration.ArnRef = rsp.ResolvedReference + + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.RoleArn), Extract: common.ARNExtractor(), @@ -374,12 +700,34 @@ func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error } mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.PolicyEngineConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyEngineConfiguration.Arn), + Extract: resource.ExtractParamPath("policy_engine_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.PolicyEngineConfiguration.ArnRef, + Selector: mg.Spec.InitProvider.PolicyEngineConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyEngineConfiguration.Arn") + } + mg.Spec.InitProvider.PolicyEngineConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyEngineConfiguration.ArnRef = rsp.ResolvedReference + + } { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), Extract: common.ARNExtractor(), @@ -407,23 +755,71 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var mrsp reference.MultiResolutionResponse var err error - { - m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Gateway", "GatewayList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.GatewayIdentifier), - Extract: resource.ExtractParamPath("gateway_id", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.GatewayIdentifierRef, - Selector: mg.Spec.ForProvider.GatewayIdentifierSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.GatewayIdentifier") + if mg.Spec.ForProvider.CredentialProviderConfiguration != nil { + if mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "APIKeyCredentialProvider", "APIKeyCredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef, + Selector: mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn") + } + mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.ForProvider.CredentialProviderConfiguration != nil { + if mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef, + Selector: mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn") + } + mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.GatewayIdentifier), + Extract: resource.ExtractParamPath("gateway_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.GatewayIdentifierRef, + Selector: mg.Spec.ForProvider.GatewayIdentifierSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.GatewayIdentifier") } mg.Spec.ForProvider.GatewayIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GatewayIdentifierRef = rsp.ResolvedReference @@ -550,6 +946,32 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.ForProvider.TargetConfiguration != nil { + if mg.Spec.ForProvider.TargetConfiguration.Mcp != nil { + if mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("apigateway.aws.upbound.io", "v1beta2", "RestAPI", "RestAPIList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID), + Extract: resource.ExtractResourceID(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef, + Selector: mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID") + } + mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef = rsp.ResolvedReference + + } + } + } if mg.Spec.ForProvider.TargetConfiguration != nil { if mg.Spec.ForProvider.TargetConfiguration.Mcp != nil { if mg.Spec.ForProvider.TargetConfiguration.Mcp.Lambda != nil { @@ -576,6 +998,54 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.InitProvider.CredentialProviderConfiguration != nil { + if mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "APIKeyCredentialProvider", "APIKeyCredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef, + Selector: mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn") + } + mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.CredentialProviderConfiguration != nil { + if mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef, + Selector: mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn") + } + mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Gateway", "GatewayList") if err != nil { @@ -718,6 +1188,32 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.InitProvider.TargetConfiguration != nil { + if mg.Spec.InitProvider.TargetConfiguration.Mcp != nil { + if mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("apigateway.aws.upbound.io", "v1beta2", "RestAPI", "RestAPIList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID), + Extract: resource.ExtractResourceID(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef, + Selector: mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID") + } + mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef = rsp.ResolvedReference + + } + } + } if mg.Spec.InitProvider.TargetConfiguration != nil { if mg.Spec.InitProvider.TargetConfiguration.Mcp != nil { if mg.Spec.InitProvider.TargetConfiguration.Mcp.Lambda != nil { @@ -748,133 +1244,811 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) return nil } -// ResolveReferences of this Memory. -func (mg *Memory) ResolveReferences(ctx context.Context, c client.Reader) error { +// ResolveReferences of this Harness. +func (mg *Harness) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed var l xpresource.ManagedList r := reference.NewAPIResolver(c, mg) var rsp reference.ResolutionResponse var err error - { - m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), - Extract: resource.ExtractParamPath("arn", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, - Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") - } - mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "AgentRuntime", "AgentRuntimeList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn), + Extract: resource.ExtractParamPath("agent_runtime_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") - } - mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } + } + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), - Extract: resource.ExtractParamPath("arn", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, - Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, - To: reference.To{List: l, Managed: m}, - }) + } + } + } } - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } } - mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference { m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemoryExecutionRoleArn), + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), Extract: common.ARNExtractor(), Namespace: mg.GetNamespace(), - Reference: mg.Spec.InitProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.InitProvider.MemoryExecutionRoleArnSelector, + Reference: mg.Spec.ForProvider.ExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.ExecutionRoleArnSelector, To: reference.To{List: l, Managed: m}, }) } if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.MemoryExecutionRoleArn") + return errors.Wrap(err, "mg.Spec.ForProvider.ExecutionRoleArn") } - mg.Spec.InitProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - - return nil -} + mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference -// ResolveReferences of this MemoryStrategy. -func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader) error { - var m xpresource.Managed - var l xpresource.ManagedList - r := reference.NewAPIResolver(c, mg) + if mg.Spec.ForProvider.Memory != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnRef, + Selector: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn") + } + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnRef = rsp.ResolvedReference - var rsp reference.ResolutionResponse - var err error - { - m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") } - mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Memory", "MemoryList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } + if mg.Spec.ForProvider.Memory != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "MemoryStrategy", "MemoryStrategyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID), + Extract: resource.ExtractParamPath("memory_strategy_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef, + Selector: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID") + } + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + } + } + } + if mg.Spec.ForProvider.Model != nil { + if mg.Spec.ForProvider.Model.GeminiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnRef, + Selector: mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn") + } + mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.ForProvider.Model != nil { + if mg.Spec.ForProvider.Model.OpenaiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnRef, + Selector: mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn") + } + mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Browser", "BrowserList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn), + Extract: resource.ExtractParamPath("browser_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "CodeInterpreter", "CodeInterpreterList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn), + Extract: resource.ExtractParamPath("code_interpreter_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn), + Extract: resource.ExtractParamPath("gateway_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + } + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "AgentRuntime", "AgentRuntimeList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn), + Extract: resource.ExtractParamPath("agent_runtime_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.upbound.io", "v1beta2", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + 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 + + if mg.Spec.InitProvider.Memory != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnRef, + Selector: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn") + } + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Memory != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "MemoryStrategy", "MemoryStrategyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID), + Extract: resource.ExtractParamPath("memory_strategy_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef, + Selector: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID") + } + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef = rsp.ResolvedReference + + } + } + } + if mg.Spec.InitProvider.Model != nil { + if mg.Spec.InitProvider.Model.GeminiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnRef, + Selector: mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn") + } + mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Model != nil { + if mg.Spec.InitProvider.Model.OpenaiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnRef, + Selector: mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn") + } + mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Browser", "BrowserList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn), + Extract: resource.ExtractParamPath("browser_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "CodeInterpreter", "CodeInterpreterList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn), + Extract: resource.ExtractParamPath("code_interpreter_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn), + Extract: resource.ExtractParamPath("gateway_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + } + } + } + + return nil +} + +// ResolveReferences of this Memory. +func (mg *Memory) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, + Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") + } + mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") + } + mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + + if mg.Spec.ForProvider.StreamDeliveryResources != nil { + if mg.Spec.ForProvider.StreamDeliveryResources.Resource != nil { + if mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis != nil { + { + m, l, err = apisresolver.GetManagedResource("kinesis.aws.upbound.io", "v1beta2", "Stream", "StreamList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef, + Selector: mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn") + } + mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + } + mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemoryExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemoryExecutionRoleArn") + } + mg.Spec.InitProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.StreamDeliveryResources != nil { + if mg.Spec.InitProvider.StreamDeliveryResources.Resource != nil { + if mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis != nil { + { + m, l, err = apisresolver.GetManagedResource("kinesis.aws.upbound.io", "v1beta2", "Stream", "StreamList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef, + Selector: mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn") + } + mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef = rsp.ResolvedReference + + } + } + } + + return nil +} + +// ResolveReferences of this MemoryStrategy. +func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") + } + mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryID), Extract: resource.ExtractResourceID(), Namespace: mg.GetNamespace(), @@ -932,6 +2106,256 @@ func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader return nil } +// ResolveReferences of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var mrsp reference.MultiResolutionResponse + var err error + + if mg.Spec.ForProvider.DataSourceConfig != nil { + if mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs != nil { + { + m, l, err = apisresolver.GetManagedResource("cloudwatchlogs.aws.upbound.io", "v1beta1", "Group", "GroupList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + References: mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs, + Selector: mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames") + } + mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs = mrsp.ResolvedReferences + + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EvaluationExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EvaluationExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.EvaluationExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EvaluationExecutionRoleArn") + } + mg.Spec.ForProvider.EvaluationExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EvaluationExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Evaluator); i3++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Evaluator", "EvaluatorList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Evaluator[i3].EvaluatorID), + Extract: resource.ExtractParamPath("evaluator_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDRef, + Selector: mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Evaluator[i3].EvaluatorID") + } + mg.Spec.ForProvider.Evaluator[i3].EvaluatorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDRef = rsp.ResolvedReference + + } + if mg.Spec.InitProvider.DataSourceConfig != nil { + if mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs != nil { + { + m, l, err = apisresolver.GetManagedResource("cloudwatchlogs.aws.upbound.io", "v1beta1", "Group", "GroupList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + References: mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs, + Selector: mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames") + } + mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs = mrsp.ResolvedReferences + + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EvaluationExecutionRoleArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EvaluationExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.EvaluationExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EvaluationExecutionRoleArn") + } + mg.Spec.InitProvider.EvaluationExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EvaluationExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Evaluator); i3++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "Evaluator", "EvaluatorList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Evaluator[i3].EvaluatorID), + Extract: resource.ExtractParamPath("evaluator_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDRef, + Selector: mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Evaluator[i3].EvaluatorID") + } + mg.Spec.InitProvider.Evaluator[i3].EvaluatorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDRef = rsp.ResolvedReference + + } + + return nil +} + +// ResolveReferences of this Policy. +func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PolicyEngineID), + Extract: resource.ExtractParamPath("policy_engine_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.PolicyEngineIDRef, + Selector: mg.Spec.ForProvider.PolicyEngineIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PolicyEngineID") + } + mg.Spec.ForProvider.PolicyEngineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PolicyEngineIDRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyEngineID), + Extract: resource.ExtractParamPath("policy_engine_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.PolicyEngineIDRef, + Selector: mg.Spec.InitProvider.PolicyEngineIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyEngineID") + } + mg.Spec.InitProvider.PolicyEngineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyEngineIDRef = rsp.ResolvedReference + + return nil +} + +// ResolveReferences of this PolicyEngine. +func (mg *PolicyEngine) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, + Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") + } + mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("kms.aws.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + } + mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference + + return nil +} + // ResolveReferences of this TokenVaultCmk. func (mg *TokenVaultCmk) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_harness_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_harness_terraformed.go new file mode 100755 index 0000000000..d751afd533 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_harness_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Harness +func (mg *Harness) GetTerraformResourceType() string { + return "aws_bedrockagentcore_harness" +} + +// GetConnectionDetailsMapping for this Harness +func (tr *Harness) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"environment_variables": "environmentVariablesSecretRef", "system_prompt[*].text": "systemPrompt[*].textSecretRef", "tool[*].config[*].inline_function[*].input_schema": "tool[*].config.inlineFunction.inputSchemaSecretRef", "tool[*].config[*].remote_mcp[*].headers": "tool[*].config.remoteMcp.headersSecretRef", "tool[*].config[*].remote_mcp[*].url": "tool[*].config.remoteMcp.urlSecretRef"} +} + +// GetObservation of this Harness +func (tr *Harness) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Harness +func (tr *Harness) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Harness +func (tr *Harness) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Harness +func (tr *Harness) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Harness +func (tr *Harness) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Harness +func (tr *Harness) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Harness +func (tr *Harness) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Harness using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Harness) LateInitialize(attrs []byte) (bool, error) { + params := &HarnessParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Harness) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_harness_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_harness_types.go new file mode 100755 index 0000000000..71cb839566 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_harness_types.go @@ -0,0 +1,2197 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type AgentcoreBrowserInitParameters struct { + + // ARN of the AgentCore browser resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Browser + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true) + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` + + // Reference to a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnRef *v1.Reference `json:"browserArnRef,omitempty" tf:"-"` + + // Selector for a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnSelector *v1.Selector `json:"browserArnSelector,omitempty" tf:"-"` +} + +type AgentcoreBrowserObservation struct { + + // ARN of the AgentCore browser resource. + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` +} + +type AgentcoreBrowserParameters struct { + + // ARN of the AgentCore browser resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Browser + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true) + // +kubebuilder:validation:Optional + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` + + // Reference to a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnRef *v1.Reference `json:"browserArnRef,omitempty" tf:"-"` + + // Selector for a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnSelector *v1.Selector `json:"browserArnSelector,omitempty" tf:"-"` +} + +type AgentcoreCodeInterpreterInitParameters struct { + + // ARN of the AgentCore code interpreter resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.CodeInterpreter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true) + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` + + // Reference to a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnRef *v1.Reference `json:"codeInterpreterArnRef,omitempty" tf:"-"` + + // Selector for a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnSelector *v1.Selector `json:"codeInterpreterArnSelector,omitempty" tf:"-"` +} + +type AgentcoreCodeInterpreterObservation struct { + + // ARN of the AgentCore code interpreter resource. + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` +} + +type AgentcoreCodeInterpreterParameters struct { + + // ARN of the AgentCore code interpreter resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.CodeInterpreter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true) + // +kubebuilder:validation:Optional + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` + + // Reference to a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnRef *v1.Reference `json:"codeInterpreterArnRef,omitempty" tf:"-"` + + // Selector for a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnSelector *v1.Selector `json:"codeInterpreterArnSelector,omitempty" tf:"-"` +} + +type AgentcoreGatewayInitParameters struct { + + // ARN of the AgentCore gateway resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true) + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Reference to a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnRef *v1.Reference `json:"gatewayArnRef,omitempty" tf:"-"` + + // Selector for a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnSelector *v1.Selector `json:"gatewayArnSelector,omitempty" tf:"-"` + + // Outbound authentication configuration. See outbound_auth below. + OutboundAuth *OutboundAuthInitParameters `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreGatewayObservation struct { + + // ARN of the AgentCore gateway resource. + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Outbound authentication configuration. See outbound_auth below. + OutboundAuth *OutboundAuthObservation `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreGatewayParameters struct { + + // ARN of the AgentCore gateway resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true) + // +kubebuilder:validation:Optional + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Reference to a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnRef *v1.Reference `json:"gatewayArnRef,omitempty" tf:"-"` + + // Selector for a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnSelector *v1.Selector `json:"gatewayArnSelector,omitempty" tf:"-"` + + // Outbound authentication configuration. See outbound_auth below. + // +kubebuilder:validation:Optional + OutboundAuth *OutboundAuthParameters `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreMemoryConfigurationInitParameters struct { + + // Actor ID for memory sessions. + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Memory + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + RetrievalConfig *RetrievalConfigInitParameters `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreMemoryConfigurationObservation struct { + + // Actor ID for memory sessions. + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + RetrievalConfig *RetrievalConfigObservation `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreMemoryConfigurationParameters struct { + + // Actor ID for memory sessions. + // +kubebuilder:validation:Optional + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Memory + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"` + + // Number of recent messages to keep in the conversation window. + // +kubebuilder:validation:Optional + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + // +kubebuilder:validation:Optional + RetrievalConfig *RetrievalConfigParameters `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + EFSAccessPoint []FilesystemConfigurationEFSAccessPointInitParameters `json:"efsAccessPoint,omitempty" tf:"efs_access_point"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointInitParameters `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + SessionStorage []FilesystemConfigurationSessionStorageInitParameters `json:"sessionStorage,omitempty" tf:"session_storage"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + EFSAccessPoint []FilesystemConfigurationEFSAccessPointObservation `json:"efsAccessPoint,omitempty" tf:"efs_access_point,omitempty"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointObservation `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point,omitempty"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + SessionStorage []FilesystemConfigurationSessionStorageObservation `json:"sessionStorage,omitempty" tf:"session_storage,omitempty"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + // +kubebuilder:validation:Optional + EFSAccessPoint []FilesystemConfigurationEFSAccessPointParameters `json:"efsAccessPoint,omitempty" tf:"efs_access_point"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + // +kubebuilder:validation:Optional + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointParameters `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + // +kubebuilder:validation:Optional + SessionStorage []FilesystemConfigurationSessionStorageParameters `json:"sessionStorage,omitempty" tf:"session_storage"` +} + +type AgentcoreRuntimeEnvironmentInitParameters struct { + + // ARN of the AgentCore memory resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.AgentRuntime + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true) + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn"` + + // Reference to a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnRef *v1.Reference `json:"agentRuntimeArnRef,omitempty" tf:"-"` + + // Selector for a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnSelector *v1.Selector `json:"agentRuntimeArnSelector,omitempty" tf:"-"` + + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id"` + + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name"` + + // Filesystem configurations. See filesystem_configuration below. + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration"` + + // Lifecycle configuration. See lifecycle_configuration below. + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration"` + + // Network configuration. See network_configuration below. + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters `json:"networkConfiguration,omitempty" tf:"network_configuration"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters struct { + + // Timeout in seconds for idle sessions. + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout"` + + // Maximum lifetime of the instance in seconds. + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation struct { + + // Timeout in seconds for idle sessions. + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout,omitempty"` + + // Maximum lifetime of the instance in seconds. + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime,omitempty"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters struct { + + // Timeout in seconds for idle sessions. + // +kubebuilder:validation:Optional + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout"` + + // Maximum lifetime of the instance in seconds. + // +kubebuilder:validation:Optional + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters struct { + + // Network mode. Valid values: PUBLIC, VPC. + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode"` + + // VPC configuration. See network_mode_config below. + NetworkModeConfig []NetworkConfigurationNetworkModeConfigInitParameters `json:"networkModeConfig,omitempty" tf:"network_mode_config"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationObservation struct { + + // Network mode. Valid values: PUBLIC, VPC. + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode,omitempty"` + + // VPC configuration. See network_mode_config below. + NetworkModeConfig []NetworkConfigurationNetworkModeConfigObservation `json:"networkModeConfig,omitempty" tf:"network_mode_config,omitempty"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationParameters struct { + + // Network mode. Valid values: PUBLIC, VPC. + // +kubebuilder:validation:Optional + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode"` + + // VPC configuration. See network_mode_config below. + // +kubebuilder:validation:Optional + NetworkModeConfig []NetworkConfigurationNetworkModeConfigParameters `json:"networkModeConfig,omitempty" tf:"network_mode_config"` +} + +type AgentcoreRuntimeEnvironmentObservation struct { + + // ARN of the AgentCore memory resource. + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn,omitempty"` + + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id,omitempty"` + + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name,omitempty"` + + // Filesystem configurations. See filesystem_configuration below. + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration,omitempty"` + + // Lifecycle configuration. See lifecycle_configuration below. + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration,omitempty"` + + // Network configuration. See network_configuration below. + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationObservation `json:"networkConfiguration,omitempty" tf:"network_configuration,omitempty"` +} + +type AgentcoreRuntimeEnvironmentParameters struct { + + // ARN of the AgentCore memory resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.AgentRuntime + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true) + // +kubebuilder:validation:Optional + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn"` + + // Reference to a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnRef *v1.Reference `json:"agentRuntimeArnRef,omitempty" tf:"-"` + + // Selector for a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnSelector *v1.Selector `json:"agentRuntimeArnSelector,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id"` + + // +kubebuilder:validation:Optional + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name"` + + // Filesystem configurations. See filesystem_configuration below. + // +kubebuilder:validation:Optional + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration"` + + // Lifecycle configuration. See lifecycle_configuration below. + // +kubebuilder:validation:Optional + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration"` + + // Network configuration. See network_configuration below. + // +kubebuilder:validation:Optional + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationParameters `json:"networkConfiguration,omitempty" tf:"network_configuration"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + // +kubebuilder:validation:Optional + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + // +kubebuilder:validation:Optional + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + InboundTokenClaimName *string `json:"inboundTokenClaimName,omitempty" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType,omitempty" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + InboundTokenClaimName *string `json:"inboundTokenClaimName,omitempty" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType,omitempty" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + // +kubebuilder:validation:Optional + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + // +kubebuilder:validation:Optional + InboundTokenClaimName *string `json:"inboundTokenClaimName" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + // +kubebuilder:validation:Optional + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + // +kubebuilder:validation:Optional + EndpointIPAddressType *string `json:"endpointIpAddressType" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + // +kubebuilder:validation:Optional + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of the VPC for the endpoint. + // +kubebuilder:validation:Optional + VPCIdentifier *string `json:"vpcIdentifier" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters struct { + + // Domain the override applies to. + Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation struct { + + // Domain the override applies to. + Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters struct { + + // Domain the override applies to. + // +kubebuilder:validation:Optional + Domain *string `json:"domain" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + // +kubebuilder:validation:Optional + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + // +kubebuilder:validation:Optional + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + // +kubebuilder:validation:Optional + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + // +kubebuilder:validation:Optional + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + // +kubebuilder:validation:Optional + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters struct { + + // Identifier of the VPC Lattice resource configuration. + // +kubebuilder:validation:Optional + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier" tf:"resource_configuration_identifier,omitempty"` +} + +type BedrockModelConfigInitParameters struct { + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type BedrockModelConfigObservation struct { + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type BedrockModelConfigParameters struct { + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type ConfigInitParameters struct { + + // AgentCore browser configuration. See agentcore_browser below. + AgentcoreBrowser *AgentcoreBrowserInitParameters `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterInitParameters `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + AgentcoreGateway *AgentcoreGatewayInitParameters `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + InlineFunction *InlineFunctionInitParameters `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + RemoteMcp *RemoteMcpInitParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type ConfigObservation struct { + + // AgentCore browser configuration. See agentcore_browser below. + AgentcoreBrowser *AgentcoreBrowserObservation `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterObservation `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + AgentcoreGateway *AgentcoreGatewayObservation `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + InlineFunction *InlineFunctionObservation `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + RemoteMcp *RemoteMcpParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type ConfigParameters struct { + + // AgentCore browser configuration. See agentcore_browser below. + // +kubebuilder:validation:Optional + AgentcoreBrowser *AgentcoreBrowserParameters `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + // +kubebuilder:validation:Optional + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterParameters `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + // +kubebuilder:validation:Optional + AgentcoreGateway *AgentcoreGatewayParameters `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + // +kubebuilder:validation:Optional + InlineFunction *InlineFunctionParameters `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + // +kubebuilder:validation:Optional + RemoteMcp *RemoteMcpParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + // +kubebuilder:validation:Optional + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +kubebuilder:validation:Optional + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters struct { + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation struct { + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters struct { + + // ARN of the hosting environment. + // +kubebuilder:validation:Optional + Arn *string `json:"arn" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + ClaimMatchOperator *string `json:"claimMatchOperator,omitempty" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + ClaimMatchOperator *string `json:"claimMatchOperator,omitempty" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + // +kubebuilder:validation:Optional + ClaimMatchOperator *string `json:"claimMatchOperator" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + // +kubebuilder:validation:Optional + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + // +kubebuilder:validation:Optional + EndpointIPAddressType *string `json:"endpointIpAddressType" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + // +kubebuilder:validation:Optional + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of the VPC for the endpoint. + // +kubebuilder:validation:Optional + VPCIdentifier *string `json:"vpcIdentifier" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters struct { + + // Identifier of the VPC Lattice resource configuration. + // +kubebuilder:validation:Optional + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier" tf:"resource_configuration_identifier,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationInitParameters struct { + + // URI of the container image. + ContainerURI *string `json:"containerUri,omitempty" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationObservation struct { + + // URI of the container image. + ContainerURI *string `json:"containerUri,omitempty" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationParameters struct { + + // URI of the container image. + // +kubebuilder:validation:Optional + ContainerURI *string `json:"containerUri" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactInitParameters struct { + + // Container configuration. See container_configuration below. + ContainerConfiguration *EnvironmentArtifactContainerConfigurationInitParameters `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentArtifactObservation struct { + + // Container configuration. See container_configuration below. + ContainerConfiguration *EnvironmentArtifactContainerConfigurationObservation `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentArtifactParameters struct { + + // Container configuration. See container_configuration below. + // +kubebuilder:validation:Optional + ContainerConfiguration *EnvironmentArtifactContainerConfigurationParameters `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentInitParameters struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentInitParameters `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment"` +} + +type EnvironmentObservation struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentObservation `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment,omitempty"` +} + +type EnvironmentParameters struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + // +kubebuilder:validation:Optional + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentParameters `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment"` +} + +type FilesystemConfigurationEFSAccessPointInitParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/efs/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.Reference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationEFSAccessPointObservation struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationEFSAccessPointParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/efs/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.Reference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.Selector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationS3FilesAccessPointInitParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/s3control/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // 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:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationS3FilesAccessPointObservation struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationS3FilesAccessPointParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/s3control/v1beta2.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // 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:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationSessionStorageInitParameters struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationSessionStorageObservation struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationSessionStorageParameters struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type GeminiModelConfigInitParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.Reference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.Selector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type GeminiModelConfigObservation struct { + + // ARN of the secret containing the API key. + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type GeminiModelConfigParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.Reference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.Selector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + // +kubebuilder:validation:Optional + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters struct { + + // Set of allowed audience values for JWT token validation. + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + DiscoveryURL *string `json:"discoveryUrl,omitempty" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation struct { + + // Set of allowed audience values for JWT token validation. + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + DiscoveryURL *string `json:"discoveryUrl,omitempty" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters struct { + + // Set of allowed audience values for JWT token validation. + // +kubebuilder:validation:Optional + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +kubebuilder:validation:Optional + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +kubebuilder:validation:Optional + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + // +kubebuilder:validation:Optional + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + // +kubebuilder:validation:Optional + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + // +kubebuilder:validation:Optional + DiscoveryURL *string `json:"discoveryUrl" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + // +kubebuilder:validation:Optional + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + // +kubebuilder:validation:Optional + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationInitParameters struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessAuthorizerConfigurationObservation struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessAuthorizerConfigurationParameters struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + // +kubebuilder:validation:Optional + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessInitParameters struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + AuthorizerConfiguration *HarnessAuthorizerConfigurationInitParameters `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + Environment *EnvironmentInitParameters `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + EnvironmentArtifact *EnvironmentArtifactInitParameters `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + EnvironmentVariables map[string]*string `json:"environmentVariablesSecretRef,omitempty" tf:"-"` + + // ARN of the IAM role that the harness assumes to access AWS services. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/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:"-"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + // Maximum number of iterations the agent loop can perform. + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + Memory *MemoryInitParameters `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + Model *ModelInitParameters `json:"model,omitempty" tf:"model,omitempty"` + + // Skill configurations. See skill below. + Skill []SkillInitParameters `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + SystemPrompt []SystemPromptInitParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Timeout in seconds for the harness execution. + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + Tool []ToolInitParameters `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + Truncation *TruncationInitParameters `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type HarnessObservation struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // ARN of the AgentCore memory resource. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + AuthorizerConfiguration *HarnessAuthorizerConfigurationObservation `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + Environment *EnvironmentObservation `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + EnvironmentArtifact *EnvironmentArtifactObservation `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + // ARN of the IAM role that the harness assumes to access AWS services. + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Unique identifier of the Harness. + HarnessID *string `json:"harnessId,omitempty" tf:"harness_id,omitempty"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Maximum number of iterations the agent loop can perform. + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + Memory *MemoryObservation `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + Model *ModelObservation `json:"model,omitempty" tf:"model,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Skill configurations. See skill below. + Skill []SkillObservation `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + SystemPrompt []SystemPromptParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` + + // Timeout in seconds for the harness execution. + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + Tool []ToolObservation `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + Truncation *TruncationObservation `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type HarnessParameters struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + // +kubebuilder:validation:Optional + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + // +kubebuilder:validation:Optional + AuthorizerConfiguration *HarnessAuthorizerConfigurationParameters `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + // +kubebuilder:validation:Optional + Environment *EnvironmentParameters `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + // +kubebuilder:validation:Optional + EnvironmentArtifact *EnvironmentArtifactParameters `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + // Map of environment variables. + // +kubebuilder:validation:Optional + EnvironmentVariablesSecretRef *v1.SecretReference `json:"environmentVariablesSecretRef,omitempty" tf:"-"` + + // ARN of the IAM role that the harness assumes to access AWS services. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + 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:"-"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + // +kubebuilder:validation:Optional + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + // Maximum number of iterations the agent loop can perform. + // +kubebuilder:validation:Optional + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + // +kubebuilder:validation:Optional + Memory *MemoryParameters `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + // +kubebuilder:validation:Optional + Model *ModelParameters `json:"model,omitempty" tf:"model,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Skill configurations. See skill below. + // +kubebuilder:validation:Optional + Skill []SkillParameters `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + // +kubebuilder:validation:Optional + SystemPrompt []SystemPromptParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Timeout in seconds for the harness execution. + // +kubebuilder:validation:Optional + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + // +kubebuilder:validation:Optional + Tool []ToolParameters `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + // +kubebuilder:validation:Optional + Truncation *TruncationParameters `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type InlineFunctionInitParameters struct { + + // Description of the inline function. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // JSON string defining the input schema for the function. + InputSchemaSecretRef v1.SecretKeySelector `json:"inputSchemaSecretRef" tf:"-"` +} + +type InlineFunctionObservation struct { + + // Description of the inline function. + Description *string `json:"description,omitempty" tf:"description,omitempty"` +} + +type InlineFunctionParameters struct { + + // Description of the inline function. + // +kubebuilder:validation:Optional + Description *string `json:"description" tf:"description,omitempty"` + + // JSON string defining the input schema for the function. + // +kubebuilder:validation:Optional + InputSchemaSecretRef v1.SecretKeySelector `json:"inputSchemaSecretRef" tf:"-"` +} + +type MemoryInitParameters struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationInitParameters `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type MemoryObservation struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationObservation `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type MemoryParameters struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + // +kubebuilder:validation:Optional + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationParameters `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type ModelInitParameters struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + BedrockModelConfig *BedrockModelConfigInitParameters `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + GeminiModelConfig *GeminiModelConfigInitParameters `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + OpenaiModelConfig *OpenaiModelConfigInitParameters `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type ModelObservation struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + BedrockModelConfig *BedrockModelConfigObservation `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + GeminiModelConfig *GeminiModelConfigObservation `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + OpenaiModelConfig *OpenaiModelConfigObservation `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type ModelParameters struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + // +kubebuilder:validation:Optional + BedrockModelConfig *BedrockModelConfigParameters `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + // +kubebuilder:validation:Optional + GeminiModelConfig *GeminiModelConfigParameters `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + // +kubebuilder:validation:Optional + OpenaiModelConfig *OpenaiModelConfigParameters `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type NetworkConfigurationNetworkModeConfigInitParameters struct { + + // Whether to require an S3 endpoint for the service in the VPC. + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint"` + + // Security groups for the VPC. + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` + + // Subnets for the VPC. + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets"` +} + +type NetworkConfigurationNetworkModeConfigObservation struct { + + // Whether to require an S3 endpoint for the service in the VPC. + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint,omitempty"` + + // Security groups for the VPC. + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // Subnets for the VPC. + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` +} + +type NetworkConfigurationNetworkModeConfigParameters struct { + + // Whether to require an S3 endpoint for the service in the VPC. + // +kubebuilder:validation:Optional + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint"` + + // Security groups for the VPC. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` + + // Subnets for the VPC. + // +kubebuilder:validation:Optional + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets"` +} + +type OpenaiModelConfigInitParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.Reference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.Selector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OpenaiModelConfigObservation struct { + + // ARN of the secret containing the API key. + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OpenaiModelConfigParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.Reference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.Selector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OutboundAuthInitParameters struct { + + // Set to true to use AWS IAM authentication. + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + Oauth *OutboundAuthOauthInitParameters `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type OutboundAuthOauthInitParameters struct { + + // Map of custom parameters. + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` + + // List of OAuth scopes. + Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` +} + +type OutboundAuthOauthObservation struct { + + // Map of custom parameters. + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // List of OAuth scopes. + Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` +} + +type OutboundAuthOauthParameters struct { + + // Map of custom parameters. + // +kubebuilder:validation:Optional + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + // +kubebuilder:validation:Optional + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + // +kubebuilder:validation:Optional + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + // +kubebuilder:validation:Optional + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.Reference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.Selector `json:"providerArnSelector,omitempty" tf:"-"` + + // List of OAuth scopes. + // +kubebuilder:validation:Optional + Scopes []*string `json:"scopes" tf:"scopes,omitempty"` +} + +type OutboundAuthObservation struct { + + // Set to true to use AWS IAM authentication. + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + Oauth *OutboundAuthOauthObservation `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type OutboundAuthParameters struct { + + // Set to true to use AWS IAM authentication. + // +kubebuilder:validation:Optional + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + // +kubebuilder:validation:Optional + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + // +kubebuilder:validation:Optional + Oauth *OutboundAuthOauthParameters `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type RemoteMcpInitParameters struct { + Headers map[string]*string `json:"headersSecretRef,omitempty" tf:"-"` + + // URL of the remote MCP server. + URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` +} + +type RemoteMcpObservation struct { +} + +type RemoteMcpParameters struct { + + // Map of HTTP headers to include in requests to the MCP server. + // +kubebuilder:validation:Optional + HeadersSecretRef *v1.SecretReference `json:"headersSecretRef,omitempty" tf:"-"` + + // URL of the remote MCP server. + // +kubebuilder:validation:Optional + URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` +} + +type RetrievalConfigInitParameters struct { + + // Key for the retrieval configuration map block. + MapBlockKey *string `json:"mapBlockKey,omitempty" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.MemoryStrategy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true) + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Reference to a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDRef *v1.Reference `json:"strategyIdRef,omitempty" tf:"-"` + + // Selector for a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDSelector *v1.Selector `json:"strategyIdSelector,omitempty" tf:"-"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type RetrievalConfigObservation struct { + + // Key for the retrieval configuration map block. + MapBlockKey *string `json:"mapBlockKey,omitempty" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type RetrievalConfigParameters struct { + + // Key for the retrieval configuration map block. + // +kubebuilder:validation:Optional + MapBlockKey *string `json:"mapBlockKey" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + // +kubebuilder:validation:Optional + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.MemoryStrategy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true) + // +kubebuilder:validation:Optional + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Reference to a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDRef *v1.Reference `json:"strategyIdRef,omitempty" tf:"-"` + + // Selector for a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDSelector *v1.Selector `json:"strategyIdSelector,omitempty" tf:"-"` + + // Top-k sampling parameter. + // +kubebuilder:validation:Optional + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type SkillInitParameters struct { + + // Path to the skill. + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type SkillObservation struct { + + // Path to the skill. + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type SkillParameters struct { + + // Path to the skill. + // +kubebuilder:validation:Optional + Path *string `json:"path" tf:"path,omitempty"` +} + +type SlidingWindowInitParameters struct { + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count"` +} + +type SlidingWindowObservation struct { + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` +} + +type SlidingWindowParameters struct { + + // Number of recent messages to keep in the conversation window. + // +kubebuilder:validation:Optional + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count"` +} + +type SummarizationInitParameters struct { + + // Number of recent messages to preserve without summarization. + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages"` + + // Custom system prompt for the summarization model. + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt"` + + // Ratio of the conversation to summarize (0 to 1). + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio"` +} + +type SummarizationObservation struct { + + // Number of recent messages to preserve without summarization. + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages,omitempty"` + + // Custom system prompt for the summarization model. + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt,omitempty"` + + // Ratio of the conversation to summarize (0 to 1). + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio,omitempty"` +} + +type SummarizationParameters struct { + + // Number of recent messages to preserve without summarization. + // +kubebuilder:validation:Optional + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages"` + + // Custom system prompt for the summarization model. + // +kubebuilder:validation:Optional + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt"` + + // Ratio of the conversation to summarize (0 to 1). + // +kubebuilder:validation:Optional + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio"` +} + +type SystemPromptInitParameters struct { + + // Text content of the system prompt. + TextSecretRef v1.SecretKeySelector `json:"textSecretRef" tf:"-"` +} + +type SystemPromptObservation struct { +} + +type SystemPromptParameters struct { + + // Text content of the system prompt. + // +kubebuilder:validation:Optional + TextSecretRef v1.SecretKeySelector `json:"textSecretRef" tf:"-"` +} + +type ToolInitParameters struct { + + // Tool-specific configuration. See tool config below. + Config *ConfigInitParameters `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ToolObservation struct { + + // Tool-specific configuration. See tool config below. + Config *ConfigObservation `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ToolParameters struct { + + // Tool-specific configuration. See tool config below. + // +kubebuilder:validation:Optional + Config *ConfigParameters `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + // +kubebuilder:validation:Optional + Type *string `json:"type" tf:"type,omitempty"` +} + +type TruncationConfigInitParameters struct { + + // Sliding window truncation configuration. See sliding_window below. + SlidingWindow []SlidingWindowInitParameters `json:"slidingWindow,omitempty" tf:"sliding_window"` + + // Summarization truncation configuration. See summarization below. + Summarization []SummarizationInitParameters `json:"summarization,omitempty" tf:"summarization"` +} + +type TruncationConfigObservation struct { + + // Sliding window truncation configuration. See sliding_window below. + SlidingWindow []SlidingWindowObservation `json:"slidingWindow,omitempty" tf:"sliding_window,omitempty"` + + // Summarization truncation configuration. See summarization below. + Summarization []SummarizationObservation `json:"summarization,omitempty" tf:"summarization,omitempty"` +} + +type TruncationConfigParameters struct { + + // Sliding window truncation configuration. See sliding_window below. + // +kubebuilder:validation:Optional + SlidingWindow []SlidingWindowParameters `json:"slidingWindow,omitempty" tf:"sliding_window"` + + // Summarization truncation configuration. See summarization below. + // +kubebuilder:validation:Optional + Summarization []SummarizationParameters `json:"summarization,omitempty" tf:"summarization"` +} + +type TruncationInitParameters struct { + + // Strategy-specific configuration. See truncation config below. + Config []TruncationConfigInitParameters `json:"config,omitempty" tf:"config"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + Strategy *string `json:"strategy,omitempty" tf:"strategy"` +} + +type TruncationObservation struct { + + // Strategy-specific configuration. See truncation config below. + Config []TruncationConfigObservation `json:"config,omitempty" tf:"config,omitempty"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + Strategy *string `json:"strategy,omitempty" tf:"strategy,omitempty"` +} + +type TruncationParameters struct { + + // Strategy-specific configuration. See truncation config below. + // +kubebuilder:validation:Optional + Config []TruncationConfigParameters `json:"config,omitempty" tf:"config"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + // +kubebuilder:validation:Optional + Strategy *string `json:"strategy,omitempty" tf:"strategy"` +} + +// HarnessSpec defines the desired state of Harness +type HarnessSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HarnessParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider HarnessInitParameters `json:"initProvider,omitempty"` +} + +// HarnessStatus defines the observed state of Harness. +type HarnessStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HarnessObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Harness is the Schema for the Harnesss API. Manages an AWS Bedrock AgentCore Harness. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type Harness struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.harnessName) || (has(self.initProvider) && has(self.initProvider.harnessName))",message="spec.forProvider.harnessName is a required parameter" + Spec HarnessSpec `json:"spec"` + Status HarnessStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HarnessList contains a list of Harnesss +type HarnessList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Harness `json:"items"` +} + +// Repository type metadata. +var ( + Harness_Kind = "Harness" + Harness_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Harness_Kind}.String() + Harness_KindAPIVersion = Harness_Kind + "." + CRDGroupVersion.String() + Harness_GroupVersionKind = CRDGroupVersion.WithKind(Harness_Kind) +) + +func init() { + SchemeBuilder.Register(&Harness{}, &HarnessList{}) +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_memory_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_memory_terraformed.go index 8d4d36f01c..565e2beef1 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_memory_terraformed.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_memory_terraformed.go @@ -115,7 +115,7 @@ func (tr *Memory) GetMergedParameters(shouldMergeInitProvider bool) (map[string] // LateInitialize this Memory using its observed tfState. // returns True if there are any spec changes for the resource. func (tr *Memory) LateInitialize(attrs []byte) (bool, error) { - params := &MemoryParameters{} + params := &MemoryParameters_2{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_memory_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_memory_types.go index 57321883ab..10417b37cf 100755 --- a/apis/cluster/bedrockagentcore/v1beta1/zz_memory_types.go +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_memory_types.go @@ -77,7 +77,17 @@ type KinesisInitParameters struct { ContentConfiguration *ContentConfigurationInitParameters `json:"contentConfiguration,omitempty" tf:"content_configuration,omitempty"` // ARN of the Kinesis Data Stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/kinesis/v1beta2.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() DataStreamArn *string `json:"dataStreamArn,omitempty" tf:"data_stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnRef *v1.Reference `json:"dataStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnSelector *v1.Selector `json:"dataStreamArnSelector,omitempty" tf:"-"` } type KinesisObservation struct { @@ -96,11 +106,21 @@ type KinesisParameters struct { ContentConfiguration *ContentConfigurationParameters `json:"contentConfiguration,omitempty" tf:"content_configuration,omitempty"` // ARN of the Kinesis Data Stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/kinesis/v1beta2.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + DataStreamArn *string `json:"dataStreamArn,omitempty" tf:"data_stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnRef *v1.Reference `json:"dataStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate dataStreamArn. // +kubebuilder:validation:Optional - DataStreamArn *string `json:"dataStreamArn" tf:"data_stream_arn,omitempty"` + DataStreamArnSelector *v1.Selector `json:"dataStreamArnSelector,omitempty" tf:"-"` } -type MemoryInitParameters struct { +type MemoryInitParameters_2 struct { // Description of the memory. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -148,7 +168,7 @@ type MemoryInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` } -type MemoryObservation struct { +type MemoryObservation_2 struct { // ARN of the Memory. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` @@ -190,7 +210,7 @@ type MemoryObservation struct { TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` } -type MemoryParameters struct { +type MemoryParameters_2 struct { // Description of the memory. // +kubebuilder:validation:Optional @@ -292,7 +312,7 @@ type StreamDeliveryResourcesParameters struct { // MemorySpec defines the desired state of Memory type MemorySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider MemoryParameters `json:"forProvider"` + ForProvider MemoryParameters_2 `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception @@ -303,13 +323,13 @@ type MemorySpec struct { // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. - InitProvider MemoryInitParameters `json:"initProvider,omitempty"` + InitProvider MemoryInitParameters_2 `json:"initProvider,omitempty"` } // MemoryStatus defines the observed state of Memory. type MemoryStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider MemoryObservation `json:"atProvider,omitempty"` + AtProvider MemoryObservation_2 `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go new file mode 100755 index 0000000000..5da602b20b --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this OnlineEvaluationConfig +func (mg *OnlineEvaluationConfig) GetTerraformResourceType() string { + return "aws_bedrockagentcore_online_evaluation_config" +} + +// GetConnectionDetailsMapping for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this OnlineEvaluationConfig using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *OnlineEvaluationConfig) LateInitialize(attrs []byte) (bool, error) { + params := &OnlineEvaluationConfigParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *OnlineEvaluationConfig) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go new file mode 100755 index 0000000000..c58798819c --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go @@ -0,0 +1,507 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type CloudwatchConfigInitParameters struct { +} + +type CloudwatchConfigObservation struct { + + // Name of the CloudWatch log group where evaluation results are written. + LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"` +} + +type CloudwatchConfigParameters struct { +} + +type CloudwatchLogsInitParameters struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/cloudwatchlogs/v1beta1.Group + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // References to Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesRefs []v1.Reference `json:"logGroupNamesRefs,omitempty" tf:"-"` + + // Selector for a list of Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesSelector *v1.Selector `json:"logGroupNamesSelector,omitempty" tf:"-"` + + // List of service names to filter traces within the specified log groups. + ServiceNames []*string `json:"serviceNames,omitempty" tf:"service_names,omitempty"` +} + +type CloudwatchLogsObservation struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // List of service names to filter traces within the specified log groups. + ServiceNames []*string `json:"serviceNames,omitempty" tf:"service_names,omitempty"` +} + +type CloudwatchLogsParameters struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/cloudwatchlogs/v1beta1.Group + // +kubebuilder:validation:Optional + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // References to Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesRefs []v1.Reference `json:"logGroupNamesRefs,omitempty" tf:"-"` + + // Selector for a list of Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesSelector *v1.Selector `json:"logGroupNamesSelector,omitempty" tf:"-"` + + // List of service names to filter traces within the specified log groups. + // +kubebuilder:validation:Optional + ServiceNames []*string `json:"serviceNames" tf:"service_names,omitempty"` +} + +type DataSourceConfigInitParameters struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + CloudwatchLogs *CloudwatchLogsInitParameters `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type DataSourceConfigObservation struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + CloudwatchLogs *CloudwatchLogsObservation `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type DataSourceConfigParameters struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + // +kubebuilder:validation:Optional + CloudwatchLogs *CloudwatchLogsParameters `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type FilterInitParameters struct { + + // Key or field name to filter on within the agent trace data. + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + Value *ValueInitParameters `json:"value,omitempty" tf:"value,omitempty"` +} + +type FilterObservation struct { + + // Key or field name to filter on within the agent trace data. + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + Value *ValueObservation `json:"value,omitempty" tf:"value,omitempty"` +} + +type FilterParameters struct { + + // Key or field name to filter on within the agent trace data. + // +kubebuilder:validation:Optional + Key *string `json:"key" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + // +kubebuilder:validation:Optional + Operator *string `json:"operator" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + // +kubebuilder:validation:Optional + Value *ValueParameters `json:"value,omitempty" tf:"value,omitempty"` +} + +type OnlineEvaluationConfigEvaluatorInitParameters struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Evaluator + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true) + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Reference to a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDRef *v1.Reference `json:"evaluatorIdRef,omitempty" tf:"-"` + + // Selector for a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDSelector *v1.Selector `json:"evaluatorIdSelector,omitempty" tf:"-"` +} + +type OnlineEvaluationConfigEvaluatorObservation struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` +} + +type OnlineEvaluationConfigEvaluatorParameters struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.Evaluator + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true) + // +kubebuilder:validation:Optional + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Reference to a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDRef *v1.Reference `json:"evaluatorIdRef,omitempty" tf:"-"` + + // Selector for a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDSelector *v1.Selector `json:"evaluatorIdSelector,omitempty" tf:"-"` +} + +type OnlineEvaluationConfigInitParameters struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + DataSourceConfig *DataSourceConfigInitParameters `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnRef *v1.Reference `json:"evaluationExecutionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnSelector *v1.Selector `json:"evaluationExecutionRoleArnSelector,omitempty" tf:"-"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + Evaluator []OnlineEvaluationConfigEvaluatorInitParameters `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + Rule *RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type OnlineEvaluationConfigObservation struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + DataSourceConfig *DataSourceConfigObservation `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + Evaluator []OnlineEvaluationConfigEvaluatorObservation `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // ARN of the online evaluation configuration. + OnlineEvaluationConfigArn *string `json:"onlineEvaluationConfigArn,omitempty" tf:"online_evaluation_config_arn,omitempty"` + + // Unique identifier of the online evaluation configuration. + OnlineEvaluationConfigID *string `json:"onlineEvaluationConfigId,omitempty" tf:"online_evaluation_config_id,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Configuration specifying where evaluation results are written. See output_config Block below. + OutputConfig []OutputConfigObservation `json:"outputConfig,omitempty" tf:"output_config,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + Rule *RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type OnlineEvaluationConfigParameters struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + // +kubebuilder:validation:Optional + DataSourceConfig *DataSourceConfigParameters `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + // +kubebuilder:validation:Optional + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnRef *v1.Reference `json:"evaluationExecutionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnSelector *v1.Selector `json:"evaluationExecutionRoleArnSelector,omitempty" tf:"-"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + // +kubebuilder:validation:Optional + Evaluator []OnlineEvaluationConfigEvaluatorParameters `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + // +kubebuilder:validation:Optional + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + // +kubebuilder:validation:Optional + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + // +kubebuilder:validation:Optional + Rule *RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type OutputConfigInitParameters struct { +} + +type OutputConfigObservation struct { + + // CloudWatch configuration for evaluation results. See cloudwatch_config Block below. + CloudwatchConfig []CloudwatchConfigObservation `json:"cloudwatchConfig,omitempty" tf:"cloudwatch_config,omitempty"` +} + +type OutputConfigParameters struct { +} + +type RuleInitParameters struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + Filter []FilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + SamplingConfig *SamplingConfigInitParameters `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + SessionConfig *SessionConfigInitParameters `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type RuleObservation struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + SamplingConfig *SamplingConfigObservation `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + SessionConfig *SessionConfigObservation `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type RuleParameters struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + // +kubebuilder:validation:Optional + Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + // +kubebuilder:validation:Optional + SamplingConfig *SamplingConfigParameters `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + // +kubebuilder:validation:Optional + SessionConfig *SessionConfigParameters `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type SamplingConfigInitParameters struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` +} + +type SamplingConfigObservation struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` +} + +type SamplingConfigParameters struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + // +kubebuilder:validation:Optional + SamplingPercentage *float64 `json:"samplingPercentage" tf:"sampling_percentage,omitempty"` +} + +type SessionConfigInitParameters struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes,omitempty" tf:"session_timeout_minutes,omitempty"` +} + +type SessionConfigObservation struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes,omitempty" tf:"session_timeout_minutes,omitempty"` +} + +type SessionConfigParameters struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + // +kubebuilder:validation:Optional + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes" tf:"session_timeout_minutes,omitempty"` +} + +type ValueInitParameters struct { + + // Boolean value for true/false filtering. + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +type ValueObservation struct { + + // Boolean value for true/false filtering. + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +type ValueParameters struct { + + // Boolean value for true/false filtering. + // +kubebuilder:validation:Optional + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + // +kubebuilder:validation:Optional + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + // +kubebuilder:validation:Optional + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +// OnlineEvaluationConfigSpec defines the desired state of OnlineEvaluationConfig +type OnlineEvaluationConfigSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider OnlineEvaluationConfigParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider OnlineEvaluationConfigInitParameters `json:"initProvider,omitempty"` +} + +// OnlineEvaluationConfigStatus defines the observed state of OnlineEvaluationConfig. +type OnlineEvaluationConfigStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider OnlineEvaluationConfigObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// OnlineEvaluationConfig is the Schema for the OnlineEvaluationConfigs API. Manages an AWS Bedrock AgentCore Online Evaluation Configuration. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type OnlineEvaluationConfig struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enableOnCreate) || (has(self.initProvider) && has(self.initProvider.enableOnCreate))",message="spec.forProvider.enableOnCreate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.onlineEvaluationConfigName) || (has(self.initProvider) && has(self.initProvider.onlineEvaluationConfigName))",message="spec.forProvider.onlineEvaluationConfigName is a required parameter" + Spec OnlineEvaluationConfigSpec `json:"spec"` + Status OnlineEvaluationConfigStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// OnlineEvaluationConfigList contains a list of OnlineEvaluationConfigs +type OnlineEvaluationConfigList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []OnlineEvaluationConfig `json:"items"` +} + +// Repository type metadata. +var ( + OnlineEvaluationConfig_Kind = "OnlineEvaluationConfig" + OnlineEvaluationConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: OnlineEvaluationConfig_Kind}.String() + OnlineEvaluationConfig_KindAPIVersion = OnlineEvaluationConfig_Kind + "." + CRDGroupVersion.String() + OnlineEvaluationConfig_GroupVersionKind = CRDGroupVersion.WithKind(OnlineEvaluationConfig_Kind) +) + +func init() { + SchemeBuilder.Register(&OnlineEvaluationConfig{}, &OnlineEvaluationConfigList{}) +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_policy_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_policy_terraformed.go new file mode 100755 index 0000000000..6fef56fe87 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_policy_terraformed.go @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Policy +func (mg *Policy) GetTerraformResourceType() string { + return "aws_bedrockagentcore_policy" +} + +// GetConnectionDetailsMapping for this Policy +func (tr *Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Policy +func (tr *Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Policy +func (tr *Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Policy +func (tr *Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Policy +func (tr *Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Policy +func (tr *Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Policy) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Policy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_policy_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_policy_types.go new file mode 100755 index 0000000000..77371d485d --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_policy_types.go @@ -0,0 +1,210 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type CedarInitParameters struct { + + // Cedar policy statement. + Statement *string `json:"statement,omitempty" tf:"statement,omitempty"` +} + +type CedarObservation struct { + + // Cedar policy statement. + Statement *string `json:"statement,omitempty" tf:"statement,omitempty"` +} + +type CedarParameters struct { + + // Cedar policy statement. + // +kubebuilder:validation:Optional + Statement *string `json:"statement" tf:"statement,omitempty"` +} + +type DefinitionInitParameters struct { + + // Inline Cedar policy. See cedar Block for details. + Cedar *CedarInitParameters `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type DefinitionObservation struct { + + // Inline Cedar policy. See cedar Block for details. + Cedar *CedarObservation `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type DefinitionParameters struct { + + // Inline Cedar policy. See cedar Block for details. + // +kubebuilder:validation:Optional + Cedar *CedarParameters `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type PolicyInitParameters struct { + + // Policy definition. See definition Block for details. + Definition *DefinitionInitParameters `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_id",true) + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDRef *v1.Reference `json:"policyEngineIdRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDSelector *v1.Selector `json:"policyEngineIdSelector,omitempty" tf:"-"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +type PolicyObservation struct { + + // Policy definition. See definition Block for details. + Definition *DefinitionObservation `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ARN of the Policy. + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Identifier of the Policy. + PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +type PolicyParameters struct { + + // Policy definition. See definition Block for details. + // +kubebuilder:validation:Optional + Definition *DefinitionParameters `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_id",true) + // +kubebuilder:validation:Optional + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDRef *v1.Reference `json:"policyEngineIdRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDSelector *v1.Selector `json:"policyEngineIdSelector,omitempty" tf:"-"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + // +kubebuilder:validation:Optional + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +// PolicySpec defines the desired state of Policy +type PolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider PolicyInitParameters `json:"initProvider,omitempty"` +} + +// PolicyStatus defines the observed state of Policy. +type PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Policy is the Schema for the Policys API. Manages an AWS Bedrock AgentCore Policy. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + Spec PolicySpec `json:"spec"` + Status PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyList contains a list of Policys +type PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Policy `json:"items"` +} + +// Repository type metadata. +var ( + Policy_Kind = "Policy" + Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() + Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() + Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Policy{}, &PolicyList{}) +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go new file mode 100755 index 0000000000..cd85df2e7e --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyEngine +func (mg *PolicyEngine) GetTerraformResourceType() string { + return "aws_bedrockagentcore_policy_engine" +} + +// GetConnectionDetailsMapping for this PolicyEngine +func (tr *PolicyEngine) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyEngine +func (tr *PolicyEngine) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyEngine +func (tr *PolicyEngine) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this PolicyEngine +func (tr *PolicyEngine) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this PolicyEngine +func (tr *PolicyEngine) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyEngine +func (tr *PolicyEngine) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this PolicyEngine +func (tr *PolicyEngine) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this PolicyEngine +func (tr *PolicyEngine) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this PolicyEngine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyEngine) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyEngineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyEngine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_types.go new file mode 100755 index 0000000000..5dfc5e0944 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_policyengine_types.go @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type PolicyEngineInitParameters struct { + + // Description of the policy engine. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + // Reference to a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnRef *v1.Reference `json:"encryptionKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnSelector *v1.Selector `json:"encryptionKeyArnSelector,omitempty" tf:"-"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type PolicyEngineObservation struct { + + // Description of the policy engine. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ARN of the Policy Engine. + PolicyEngineArn *string `json:"policyEngineArn,omitempty" tf:"policy_engine_arn,omitempty"` + + // Unique identifier of the Policy Engine. + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type PolicyEngineParameters struct { + + // Description of the policy engine. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/cluster/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + // +kubebuilder:validation:Optional + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + // Reference to a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnRef *v1.Reference `json:"encryptionKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnSelector *v1.Selector `json:"encryptionKeyArnSelector,omitempty" tf:"-"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PolicyEngineSpec defines the desired state of PolicyEngine +type PolicyEngineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyEngineParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider PolicyEngineInitParameters `json:"initProvider,omitempty"` +} + +// PolicyEngineStatus defines the observed state of PolicyEngine. +type PolicyEngineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyEngineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// PolicyEngine is the Schema for the PolicyEngines API. Manages an AWS Bedrock AgentCore Policy Engine. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type PolicyEngine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + Spec PolicyEngineSpec `json:"spec"` + Status PolicyEngineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyEngineList contains a list of PolicyEngines +type PolicyEngineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyEngine `json:"items"` +} + +// Repository type metadata. +var ( + PolicyEngine_Kind = "PolicyEngine" + PolicyEngine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyEngine_Kind}.String() + PolicyEngine_KindAPIVersion = PolicyEngine_Kind + "." + CRDGroupVersion.String() + PolicyEngine_GroupVersionKind = CRDGroupVersion.WithKind(PolicyEngine_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyEngine{}, &PolicyEngineList{}) +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go b/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go new file mode 100755 index 0000000000..47ceb35c0c --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ResourcePolicy +func (mg *ResourcePolicy) GetTerraformResourceType() string { + return "aws_bedrockagentcore_resource_policy" +} + +// GetConnectionDetailsMapping for this ResourcePolicy +func (tr *ResourcePolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ResourcePolicy +func (tr *ResourcePolicy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ResourcePolicy +func (tr *ResourcePolicy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this ResourcePolicy +func (tr *ResourcePolicy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ResourcePolicy +func (tr *ResourcePolicy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this ResourcePolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ResourcePolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ResourcePolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ResourcePolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go b/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go new file mode 100755 index 0000000000..8418f05c18 --- /dev/null +++ b/apis/cluster/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" +) + +type ResourcePolicyInitParameters struct { + + // Resource policy definition + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` +} + +type ResourcePolicyObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Resource policy definition + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` +} + +type ResourcePolicyParameters struct { + + // Resource policy definition + // +kubebuilder:validation:Optional + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. + // +kubebuilder:validation:Required + ResourceArn *string `json:"resourceArn" tf:"resource_arn,omitempty"` +} + +// ResourcePolicySpec defines the desired state of ResourcePolicy +type ResourcePolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ResourcePolicyParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider ResourcePolicyInitParameters `json:"initProvider,omitempty"` +} + +// ResourcePolicyStatus defines the observed state of ResourcePolicy. +type ResourcePolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ResourcePolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// ResourcePolicy is the Schema for the ResourcePolicys API. Manages an AWS Bedrock AgentCore Resource Policy. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type ResourcePolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" + Spec ResourcePolicySpec `json:"spec"` + Status ResourcePolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ResourcePolicyList contains a list of ResourcePolicys +type ResourcePolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ResourcePolicy `json:"items"` +} + +// Repository type metadata. +var ( + ResourcePolicy_Kind = "ResourcePolicy" + ResourcePolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicy_Kind}.String() + ResourcePolicy_KindAPIVersion = ResourcePolicy_Kind + "." + CRDGroupVersion.String() + ResourcePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ResourcePolicy{}, &ResourcePolicyList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_agentruntime_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_agentruntime_types.go index 6c2ec890bf..04714f45a1 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_agentruntime_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_agentruntime_types.go @@ -551,8 +551,18 @@ type CustomJwtAuthorizerParameters struct { type EFSAccessPointInitParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/efs/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` } @@ -569,8 +579,18 @@ type EFSAccessPointObservation struct { type EFSAccessPointParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/efs/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. // +kubebuilder:validation:Optional - AccessPointArn *string `json:"accessPointArn" tf:"access_point_arn,omitempty"` + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). // +kubebuilder:validation:Optional @@ -1037,8 +1057,18 @@ type RequestHeaderConfigurationParameters struct { type S3FilesAccessPointInitParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + // Reference to a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` } @@ -1055,8 +1085,18 @@ type S3FilesAccessPointObservation struct { type S3FilesAccessPointParameters struct { // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Reference to a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate accessPointArn. // +kubebuilder:validation:Optional - AccessPointArn *string `json:"accessPointArn" tf:"access_point_arn,omitempty"` + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). // +kubebuilder:validation:Optional diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_browser_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_browser_types.go index d4189ab998..0edd7c9c6a 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_browser_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_browser_types.go @@ -409,7 +409,17 @@ type S3LocationParameters struct { type SecretsManagerInitParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.NamespacedReference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.NamespacedSelector `json:"secretArnSelector,omitempty" tf:"-"` } type SecretsManagerObservation struct { @@ -421,8 +431,18 @@ type SecretsManagerObservation struct { type SecretsManagerParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.NamespacedReference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. // +kubebuilder:validation:Optional - SecretArn *string `json:"secretArn" tf:"secret_arn,omitempty"` + SecretArnSelector *v1.NamespacedSelector `json:"secretArnSelector,omitempty" tf:"-"` } type VPCConfigInitParameters struct { diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go index 5a83919059..09e3e48a7d 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_codeinterpreter_types.go @@ -197,7 +197,17 @@ type CodeInterpreterParameters struct { type LocationSecretsManagerInitParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.NamespacedReference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnSelector *v1.NamespacedSelector `json:"secretArnSelector,omitempty" tf:"-"` } type LocationSecretsManagerObservation struct { @@ -209,8 +219,18 @@ type LocationSecretsManagerObservation struct { type LocationSecretsManagerParameters struct { // ARN of the AWS Secrets Manager secret containing the certificate. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + SecretArn *string `json:"secretArn,omitempty" tf:"secret_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate secretArn. + // +kubebuilder:validation:Optional + SecretArnRef *v1.NamespacedReference `json:"secretArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate secretArn. // +kubebuilder:validation:Optional - SecretArn *string `json:"secretArn" tf:"secret_arn,omitempty"` + SecretArnSelector *v1.NamespacedSelector `json:"secretArnSelector,omitempty" tf:"-"` } type NetworkConfigurationVPCConfigInitParameters struct { diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go new file mode 100755 index 0000000000..61a9d0d742 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Evaluator +func (mg *Evaluator) GetTerraformResourceType() string { + return "aws_bedrockagentcore_evaluator" +} + +// GetConnectionDetailsMapping for this Evaluator +func (tr *Evaluator) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"evaluator_config[*].llm_as_a_judge[*].instructions": "evaluatorConfig.llmAsAJudge.instructionsSecretRef"} +} + +// GetObservation of this Evaluator +func (tr *Evaluator) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Evaluator +func (tr *Evaluator) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Evaluator +func (tr *Evaluator) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Evaluator +func (tr *Evaluator) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Evaluator +func (tr *Evaluator) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Evaluator +func (tr *Evaluator) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Evaluator +func (tr *Evaluator) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Evaluator using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Evaluator) LateInitialize(attrs []byte) (bool, error) { + params := &EvaluatorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Evaluator) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_types.go new file mode 100755 index 0000000000..e03a8d1a8e --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_evaluator_types.go @@ -0,0 +1,535 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type BedrockEvaluatorModelConfigInitParameters struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + InferenceConfig *InferenceConfigInitParameters `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` +} + +type BedrockEvaluatorModelConfigObservation struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + InferenceConfig *InferenceConfigObservation `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` +} + +type BedrockEvaluatorModelConfigParameters struct { + + // JSON-encoded model-specific request fields, for settings not covered by inference_config. + // +kubebuilder:validation:Optional + AdditionalModelRequestFields *string `json:"additionalModelRequestFields,omitempty" tf:"additional_model_request_fields,omitempty"` + + // Settings that control how the model generates its response. See inference_config below. + // +kubebuilder:validation:Optional + InferenceConfig *InferenceConfigParameters `json:"inferenceConfig,omitempty" tf:"inference_config,omitempty"` + + // Identifier of the Amazon Bedrock model to use for evaluation. + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` +} + +type CategoricalInitParameters struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` +} + +type CategoricalObservation struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` +} + +type CategoricalParameters struct { + + // Description that explains what this numerical rating represents. + // +kubebuilder:validation:Optional + Definition *string `json:"definition" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + // +kubebuilder:validation:Optional + Label *string `json:"label" tf:"label,omitempty"` +} + +type CodeBasedInitParameters struct { + + // Lambda function configuration. See lambda_config below. + LambdaConfig *LambdaConfigInitParameters `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type CodeBasedObservation struct { + + // Lambda function configuration. See lambda_config below. + LambdaConfig *LambdaConfigObservation `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type CodeBasedParameters struct { + + // Lambda function configuration. See lambda_config below. + // +kubebuilder:validation:Optional + LambdaConfig *LambdaConfigParameters `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"` +} + +type EvaluatorConfigInitParameters struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + CodeBased *CodeBasedInitParameters `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + LlmAsAJudge *LlmAsAJudgeInitParameters `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorConfigObservation struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + CodeBased *CodeBasedObservation `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + LlmAsAJudge *LlmAsAJudgeObservation `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorConfigParameters struct { + + // Configuration that runs a Lambda function you provide to score the agent. See code_based below. + // +kubebuilder:validation:Optional + CodeBased *CodeBasedParameters `json:"codeBased,omitempty" tf:"code_based,omitempty"` + + // Configuration that uses a Bedrock model to score the agent. See llm_as_a_judge below. + // +kubebuilder:validation:Optional + LlmAsAJudge *LlmAsAJudgeParameters `json:"llmAsAJudge,omitempty" tf:"llm_as_a_judge,omitempty"` +} + +type EvaluatorInitParameters struct { + + // Description of the evaluator. Length 1–200. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + EvaluatorConfig *EvaluatorConfigInitParameters `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/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.NamespacedReference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.NamespacedSelector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type EvaluatorObservation struct { + + // Timestamp when the evaluator was created. + CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` + + // Description of the evaluator. Length 1–200. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the evaluator. + EvaluatorArn *string `json:"evaluatorArn,omitempty" tf:"evaluator_arn,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + EvaluatorConfig *EvaluatorConfigObservation `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Unique identifier of the evaluator. + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Whether the evaluator is locked because it is in use by an active online evaluation. + LockedForModification *bool `json:"lockedForModification,omitempty" tf:"locked_for_modification,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Current status of the evaluator. + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type EvaluatorParameters struct { + + // Description of the evaluator. Length 1–200. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Configuration that defines how the evaluator assesses agent performance. See evaluator_config below. + // +kubebuilder:validation:Optional + EvaluatorConfig *EvaluatorConfigParameters `json:"evaluatorConfig,omitempty" tf:"evaluator_config,omitempty"` + + // Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + // +kubebuilder:validation:Optional + EvaluatorName *string `json:"evaluatorName,omitempty" tf:"evaluator_name,omitempty"` + + // ARN of a customer-managed KMS key used to encrypt the evaluator's sensitive data. Only symmetric encryption keys are supported. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/kms/v1beta1.Key + // +kubebuilder:validation:Optional + KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` + + // Reference to a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnRef *v1.NamespacedReference `json:"kmsKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate kmsKeyArn. + // +kubebuilder:validation:Optional + KMSKeyArnSelector *v1.NamespacedSelector `json:"kmsKeyArnSelector,omitempty" tf:"-"` + + // Evaluation level that determines the scope of evaluation. Valid values: TOOL_CALL, TRACE, SESSION. + // +kubebuilder:validation:Optional + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type InferenceConfigInitParameters struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type InferenceConfigObservation struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type InferenceConfigParameters struct { + + // Maximum number of tokens to generate in the model response. Must be at least 1. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // List of sequences that cause the model to stop generating tokens. + // +kubebuilder:validation:Optional + StopSequences []*string `json:"stopSequences,omitempty" tf:"stop_sequences,omitempty"` + + // Temperature value that controls randomness. Range 0–1. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p sampling parameter. Range 0–1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type LambdaConfigInitParameters struct { + + // ARN of the Lambda function that runs the evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("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.NamespacedReference `json:"lambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnSelector *v1.NamespacedSelector `json:"lambdaArnSelector,omitempty" tf:"-"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LambdaConfigObservation struct { + + // ARN of the Lambda function that runs the evaluation. + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LambdaConfigParameters struct { + + // ARN of the Lambda function that runs the evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/lambda/v1beta1.Function + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + // +kubebuilder:validation:Optional + LambdaArn *string `json:"lambdaArn,omitempty" tf:"lambda_arn,omitempty"` + + // Reference to a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnRef *v1.NamespacedReference `json:"lambdaArnRef,omitempty" tf:"-"` + + // Selector for a Function in lambda to populate lambdaArn. + // +kubebuilder:validation:Optional + LambdaArnSelector *v1.NamespacedSelector `json:"lambdaArnSelector,omitempty" tf:"-"` + + // Time in seconds to wait for the Lambda function before timing out. Defaults to 60. Range 1–300. + // +kubebuilder:validation:Optional + LambdaTimeoutInSeconds *float64 `json:"lambdaTimeoutInSeconds,omitempty" tf:"lambda_timeout_in_seconds,omitempty"` +} + +type LlmAsAJudgeInitParameters struct { + + // Instructions that tell the model how to score the agent. + InstructionsSecretRef v1.LocalSecretKeySelector `json:"instructionsSecretRef" tf:"-"` + + // Which Bedrock model to use. See model_config below. + ModelConfig *ModelConfigInitParameters `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + RatingScale *RatingScaleInitParameters `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type LlmAsAJudgeObservation struct { + + // Which Bedrock model to use. See model_config below. + ModelConfig *ModelConfigObservation `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + RatingScale *RatingScaleObservation `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type LlmAsAJudgeParameters struct { + + // Instructions that tell the model how to score the agent. + // +kubebuilder:validation:Optional + InstructionsSecretRef v1.LocalSecretKeySelector `json:"instructionsSecretRef" tf:"-"` + + // Which Bedrock model to use. See model_config below. + // +kubebuilder:validation:Optional + ModelConfig *ModelConfigParameters `json:"modelConfig,omitempty" tf:"model_config,omitempty"` + + // Scale used to score the agent. See rating_scale below. + // +kubebuilder:validation:Optional + RatingScale *RatingScaleParameters `json:"ratingScale,omitempty" tf:"rating_scale,omitempty"` +} + +type ModelConfigInitParameters struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigInitParameters `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type ModelConfigObservation struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigObservation `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type ModelConfigParameters struct { + + // Amazon Bedrock model configuration. See bedrock_evaluator_model_config below. + // +kubebuilder:validation:Optional + BedrockEvaluatorModelConfig *BedrockEvaluatorModelConfigParameters `json:"bedrockEvaluatorModelConfig,omitempty" tf:"bedrock_evaluator_model_config,omitempty"` +} + +type NumericalInitParameters struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type NumericalObservation struct { + + // Description that explains what this numerical rating represents. + Definition *string `json:"definition,omitempty" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + Value *float64 `json:"value,omitempty" tf:"value,omitempty"` +} + +type NumericalParameters struct { + + // Description that explains what this numerical rating represents. + // +kubebuilder:validation:Optional + Definition *string `json:"definition" tf:"definition,omitempty"` + + // Label for this numerical rating option. Length 1–100. + // +kubebuilder:validation:Optional + Label *string `json:"label" tf:"label,omitempty"` + + // Numerical value for this rating option. Must be at least 0. + // +kubebuilder:validation:Optional + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type RatingScaleInitParameters struct { + + // One or more categorical rating scale definitions. See categorical below. + Categorical []CategoricalInitParameters `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + Numerical []NumericalInitParameters `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +type RatingScaleObservation struct { + + // One or more categorical rating scale definitions. See categorical below. + Categorical []CategoricalObservation `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + Numerical []NumericalObservation `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +type RatingScaleParameters struct { + + // One or more categorical rating scale definitions. See categorical below. + // +kubebuilder:validation:Optional + Categorical []CategoricalParameters `json:"categorical,omitempty" tf:"categorical,omitempty"` + + // One or more numerical rating scale definitions. See numerical below. + // +kubebuilder:validation:Optional + Numerical []NumericalParameters `json:"numerical,omitempty" tf:"numerical,omitempty"` +} + +// EvaluatorSpec defines the desired state of Evaluator +type EvaluatorSpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider EvaluatorParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider EvaluatorInitParameters `json:"initProvider,omitempty"` +} + +// EvaluatorStatus defines the observed state of Evaluator. +type EvaluatorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EvaluatorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Evaluator is the Schema for the Evaluators API. Manages an AWS Bedrock AgentCore Evaluator. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type Evaluator struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.evaluatorName) || (has(self.initProvider) && has(self.initProvider.evaluatorName))",message="spec.forProvider.evaluatorName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.level) || (has(self.initProvider) && has(self.initProvider.level))",message="spec.forProvider.level is a required parameter" + Spec EvaluatorSpec `json:"spec"` + Status EvaluatorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EvaluatorList contains a list of Evaluators +type EvaluatorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Evaluator `json:"items"` +} + +// Repository type metadata. +var ( + Evaluator_Kind = "Evaluator" + Evaluator_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Evaluator_Kind}.String() + Evaluator_KindAPIVersion = Evaluator_Kind + "." + CRDGroupVersion.String() + Evaluator_GroupVersionKind = CRDGroupVersion.WithKind(Evaluator_Kind) +) + +func init() { + SchemeBuilder.Register(&Evaluator{}, &EvaluatorList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_gateway_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_gateway_types.go index 9aefe69615..73ec138843 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_gateway_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_gateway_types.go @@ -875,8 +875,18 @@ type McpParameters struct { type PolicyEngineConfigurationInitParameters struct { // ARN of the policy engine. The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true) Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + // Reference to a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.NamespacedReference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.NamespacedSelector `json:"arnSelector,omitempty" tf:"-"` + // Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy engine evaluates actions and records traces but does not enforce decisions. In ENFORCE mode, the policy engine evaluates actions and enforces allow/deny decisions. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` } @@ -893,8 +903,18 @@ type PolicyEngineConfigurationObservation struct { type PolicyEngineConfigurationParameters struct { // ARN of the policy engine. The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true) // +kubebuilder:validation:Optional - Arn *string `json:"arn" tf:"arn,omitempty"` + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.NamespacedReference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.NamespacedSelector `json:"arnSelector,omitempty" tf:"-"` // Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy engine evaluates actions and records traces but does not enforce decisions. In ENFORCE mode, the policy engine evaluates actions and enforces allow/deny decisions. // +kubebuilder:validation:Optional diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go index 6997597213..dfdf2e8f7c 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_gatewaytarget_types.go @@ -20,8 +20,18 @@ type APIGatewayInitParameters struct { APIGatewayToolConfiguration *APIGatewayToolConfigurationInitParameters `json:"apiGatewayToolConfiguration,omitempty" tf:"api_gateway_tool_configuration,omitempty"` // ID of the API Gateway REST API to invoke. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/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.NamespacedReference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.NamespacedSelector `json:"restApiIdSelector,omitempty" tf:"-"` + // Stage name of the REST API to add as a target. Stage *string `json:"stage,omitempty" tf:"stage,omitempty"` } @@ -45,8 +55,18 @@ type APIGatewayParameters struct { APIGatewayToolConfiguration *APIGatewayToolConfigurationParameters `json:"apiGatewayToolConfiguration,omitempty" tf:"api_gateway_tool_configuration,omitempty"` // ID of the API Gateway REST API to invoke. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/apigateway/v1beta1.RestAPI + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional - RestAPIID *string `json:"restApiId" tf:"rest_api_id,omitempty"` + RestAPIID *string `json:"restApiId,omitempty" tf:"rest_api_id,omitempty"` + + // Reference to a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDRef *v1.NamespacedReference `json:"restApiIdRef,omitempty" tf:"-"` + + // Selector for a RestAPI in apigateway to populate restApiId. + // +kubebuilder:validation:Optional + RestAPIIDSelector *v1.NamespacedSelector `json:"restApiIdSelector,omitempty" tf:"-"` // Stage name of the REST API to add as a target. // +kubebuilder:validation:Optional @@ -94,7 +114,17 @@ type APIKeyInitParameters struct { CredentialPrefix *string `json:"credentialPrefix,omitempty" tf:"credential_prefix,omitempty"` // ARN of the OIDC provider for API key authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.APIKeyCredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` } type APIKeyObservation struct { @@ -127,8 +157,18 @@ type APIKeyParameters struct { CredentialPrefix *string `json:"credentialPrefix,omitempty" tf:"credential_prefix,omitempty"` // ARN of the OIDC provider for API key authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.APIKeyCredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) // +kubebuilder:validation:Optional - ProviderArn *string `json:"providerArn" tf:"provider_arn,omitempty"` + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a APIKeyCredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` } type AgentcoreRuntimeInitParameters struct { @@ -1127,8 +1167,18 @@ type OauthInitParameters struct { GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` // ARN of the Oauth credential provider for OAuth authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` + // Set of OAuth scopes to request. // +listType=set Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` @@ -1174,8 +1224,18 @@ type OauthParameters struct { GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` // ARN of the Oauth credential provider for OAuth authentication. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + // +kubebuilder:validation:Optional + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. // +kubebuilder:validation:Optional - ProviderArn *string `json:"providerArn" tf:"provider_arn,omitempty"` + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` // Set of OAuth scopes to request. // +kubebuilder:validation:Optional diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go index 08e72959dc..892f2967e1 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.conversion_hubs.go @@ -21,12 +21,18 @@ func (tr *Browser) Hub() {} // Hub marks this type as a conversion hub. func (tr *CodeInterpreter) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *Evaluator) Hub() {} + // Hub marks this type as a conversion hub. func (tr *Gateway) Hub() {} // Hub marks this type as a conversion hub. func (tr *GatewayTarget) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *Harness) Hub() {} + // Hub marks this type as a conversion hub. func (tr *Memory) Hub() {} @@ -36,6 +42,18 @@ func (tr *MemoryStrategy) Hub() {} // Hub marks this type as a conversion hub. func (tr *Oauth2CredentialProvider) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *OnlineEvaluationConfig) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *Policy) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *PolicyEngine) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *ResourcePolicy) Hub() {} + // Hub marks this type as a conversion hub. func (tr *TokenVaultCmk) Hub() {} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.deepcopy.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.deepcopy.go index 7ae282f75a..22cf78873b 100644 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.deepcopy.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.deepcopy.go @@ -26,6 +26,16 @@ func (in *APIGatewayInitParameters) DeepCopyInto(out *APIGatewayInitParameters) *out = new(string) **out = **in } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } if in.Stage != nil { in, out := &in.Stage, &out.Stage *out = new(string) @@ -86,6 +96,16 @@ func (in *APIGatewayParameters) DeepCopyInto(out *APIGatewayParameters) { *out = new(string) **out = **in } + if in.RestAPIIDRef != nil { + in, out := &in.RestAPIIDRef, &out.RestAPIIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.RestAPIIDSelector != nil { + in, out := &in.RestAPIIDSelector, &out.RestAPIIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } if in.Stage != nil { in, out := &in.Stage, &out.Stage *out = new(string) @@ -483,6 +503,16 @@ func (in *APIKeyInitParameters) DeepCopyInto(out *APIKeyInitParameters) { *out = new(string) **out = **in } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyInitParameters. @@ -553,6 +583,16 @@ func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters) { *out = new(string) **out = **in } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyParameters. @@ -1443,1556 +1483,1738 @@ func (in *AgentRuntimeStatus) DeepCopy() *AgentRuntimeStatus { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeInitParameters) DeepCopyInto(out *AgentcoreRuntimeInitParameters) { +func (in *AgentcoreBrowserInitParameters) DeepCopyInto(out *AgentcoreBrowserInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef + if in.BrowserArnRef != nil { + in, out := &in.BrowserArnRef, &out.BrowserArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector + if in.BrowserArnSelector != nil { + in, out := &in.BrowserArnSelector, &out.BrowserArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeInitParameters. -func (in *AgentcoreRuntimeInitParameters) DeepCopy() *AgentcoreRuntimeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserInitParameters. +func (in *AgentcoreBrowserInitParameters) DeepCopy() *AgentcoreBrowserInitParameters { if in == nil { return nil } - out := new(AgentcoreRuntimeInitParameters) + out := new(AgentcoreBrowserInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeObservation) DeepCopyInto(out *AgentcoreRuntimeObservation) { +func (in *AgentcoreBrowserObservation) DeepCopyInto(out *AgentcoreBrowserObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeObservation. -func (in *AgentcoreRuntimeObservation) DeepCopy() *AgentcoreRuntimeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserObservation. +func (in *AgentcoreBrowserObservation) DeepCopy() *AgentcoreBrowserObservation { if in == nil { return nil } - out := new(AgentcoreRuntimeObservation) + out := new(AgentcoreBrowserObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AgentcoreRuntimeParameters) DeepCopyInto(out *AgentcoreRuntimeParameters) { +func (in *AgentcoreBrowserParameters) DeepCopyInto(out *AgentcoreBrowserParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn *out = new(string) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef + if in.BrowserArnRef != nil { + in, out := &in.BrowserArnRef, &out.BrowserArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector + if in.BrowserArnSelector != nil { + in, out := &in.BrowserArnSelector, &out.BrowserArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Qualifier != nil { - in, out := &in.Qualifier, &out.Qualifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeParameters. -func (in *AgentcoreRuntimeParameters) DeepCopy() *AgentcoreRuntimeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreBrowserParameters. +func (in *AgentcoreBrowserParameters) DeepCopy() *AgentcoreBrowserParameters { if in == nil { return nil } - out := new(AgentcoreRuntimeParameters) + out := new(AgentcoreBrowserParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) { +func (in *AgentcoreCodeInterpreterInitParameters) DeepCopyInto(out *AgentcoreCodeInterpreterInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } + if in.CodeInterpreterArnRef != nil { + in, out := &in.CodeInterpreterArnRef, &out.CodeInterpreterArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.CodeInterpreterArnSelector != nil { + in, out := &in.CodeInterpreterArnSelector, &out.CodeInterpreterArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentInitParameters. -func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterInitParameters. +func (in *AgentcoreCodeInterpreterInitParameters) DeepCopy() *AgentcoreCodeInterpreterInitParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentInitParameters) + out := new(AgentcoreCodeInterpreterInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentObservation) { +func (in *AgentcoreCodeInterpreterObservation) DeepCopyInto(out *AgentcoreCodeInterpreterObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentObservation. -func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterObservation. +func (in *AgentcoreCodeInterpreterObservation) DeepCopy() *AgentcoreCodeInterpreterObservation { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentObservation) + out := new(AgentcoreCodeInterpreterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentParameters) { +func (in *AgentcoreCodeInterpreterParameters) DeepCopyInto(out *AgentcoreCodeInterpreterParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn *out = new(string) **out = **in } + if in.CodeInterpreterArnRef != nil { + in, out := &in.CodeInterpreterArnRef, &out.CodeInterpreterArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.CodeInterpreterArnSelector != nil { + in, out := &in.CodeInterpreterArnSelector, &out.CodeInterpreterArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentParameters. -func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreCodeInterpreterParameters. +func (in *AgentcoreCodeInterpreterParameters) DeepCopy() *AgentcoreCodeInterpreterParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationHostingEnvironmentParameters) + out := new(AgentcoreCodeInterpreterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationInitParameters) { +func (in *AgentcoreGatewayInitParameters) DeepCopyInto(out *AgentcoreGatewayInitParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.GatewayArnRef != nil { + in, out := &in.GatewayArnRef, &out.GatewayArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.GatewayArnSelector != nil { + in, out := &in.GatewayArnSelector, &out.GatewayArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationInitParameters. -func (in *AllowedWorkloadConfigurationInitParameters) DeepCopy() *AllowedWorkloadConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayInitParameters. +func (in *AgentcoreGatewayInitParameters) DeepCopy() *AgentcoreGatewayInitParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationInitParameters) + out := new(AgentcoreGatewayInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationObservation) DeepCopyInto(out *AllowedWorkloadConfigurationObservation) { +func (in *AgentcoreGatewayObservation) DeepCopyInto(out *AgentcoreGatewayObservation) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationObservation. -func (in *AllowedWorkloadConfigurationObservation) DeepCopy() *AllowedWorkloadConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayObservation. +func (in *AgentcoreGatewayObservation) DeepCopy() *AgentcoreGatewayObservation { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationObservation) + out := new(AgentcoreGatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AllowedWorkloadConfigurationParameters) DeepCopyInto(out *AllowedWorkloadConfigurationParameters) { +func (in *AgentcoreGatewayParameters) DeepCopyInto(out *AgentcoreGatewayParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]HostingEnvironmentParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.GatewayArnRef != nil { + in, out := &in.GatewayArnRef, &out.GatewayArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.GatewayArnSelector != nil { + in, out := &in.GatewayArnSelector, &out.GatewayArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.OutboundAuth != nil { + in, out := &in.OutboundAuth, &out.OutboundAuth + *out = new(OutboundAuthParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationParameters. -func (in *AllowedWorkloadConfigurationParameters) DeepCopy() *AllowedWorkloadConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreGatewayParameters. +func (in *AgentcoreGatewayParameters) DeepCopy() *AgentcoreGatewayParameters { if in == nil { return nil } - out := new(AllowedWorkloadConfigurationParameters) + out := new(AgentcoreGatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataInitParameters) DeepCopyInto(out *AuthorizationServerMetadataInitParameters) { +func (in *AgentcoreMemoryConfigurationInitParameters) DeepCopyInto(out *AgentcoreMemoryConfigurationInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataInitParameters. -func (in *AuthorizationServerMetadataInitParameters) DeepCopy() *AuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationInitParameters. +func (in *AgentcoreMemoryConfigurationInitParameters) DeepCopy() *AgentcoreMemoryConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizationServerMetadataInitParameters) + out := new(AgentcoreMemoryConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataObservation) DeepCopyInto(out *AuthorizationServerMetadataObservation) { +func (in *AgentcoreMemoryConfigurationObservation) DeepCopyInto(out *AgentcoreMemoryConfigurationObservation) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataObservation. -func (in *AuthorizationServerMetadataObservation) DeepCopy() *AuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationObservation. +func (in *AgentcoreMemoryConfigurationObservation) DeepCopy() *AgentcoreMemoryConfigurationObservation { if in == nil { return nil } - out := new(AuthorizationServerMetadataObservation) + out := new(AgentcoreMemoryConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizationServerMetadataParameters) DeepCopyInto(out *AuthorizationServerMetadataParameters) { +func (in *AgentcoreMemoryConfigurationParameters) DeepCopyInto(out *AgentcoreMemoryConfigurationParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.ActorID != nil { + in, out := &in.ActorID, &out.ActorID *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) **out = **in } + if in.RetrievalConfig != nil { + in, out := &in.RetrievalConfig, &out.RetrievalConfig + *out = new(RetrievalConfigParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataParameters. -func (in *AuthorizationServerMetadataParameters) DeepCopy() *AuthorizationServerMetadataParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreMemoryConfigurationParameters. +func (in *AgentcoreMemoryConfigurationParameters) DeepCopy() *AgentcoreMemoryConfigurationParameters { if in == nil { return nil } - out := new(AuthorizationServerMetadataParameters) + out := new(AgentcoreMemoryConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) { +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *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.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *out = make([]*string, len(*in)) + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointInitParameters, 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.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimInitParameters, len(*in)) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerInitParameters. -func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerObservation) { +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *out = make([]*string, len(*in)) + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointObservation, 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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *out = make([]*string, len(*in)) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointObservation, 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.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *out = make([]*string, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageObservation, 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.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation { + if in == nil { + return nil } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimObservation, len(*in)) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = make([]FilesystemConfigurationEFSAccessPointParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointObservation) - (*in).DeepCopyInto(*out) + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = make([]FilesystemConfigurationS3FilesAccessPointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = make([]FilesystemConfigurationSessionStorageParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerObservation. -func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + out := new(AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerParameters) { +func (in *AgentcoreRuntimeEnvironmentInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentInitParameters) { *out = *in - if in.AllowedAudience != nil { - in, out := &in.AllowedAudience, &out.AllowedAudience - *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.AllowedClients != nil { - in, out := &in.AllowedClients, &out.AllowedClients - *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.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn + *out = new(string) + **out = **in } - if in.AllowedScopes != nil { - in, out := &in.AllowedScopes, &out.AllowedScopes - *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.AgentRuntimeArnRef != nil { + in, out := &in.AgentRuntimeArnRef, &out.AgentRuntimeArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + if in.AgentRuntimeArnSelector != nil { + in, out := &in.AgentRuntimeArnSelector, &out.AgentRuntimeArnSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomJwtAuthorizerCustomClaimParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointParameters) - (*in).DeepCopyInto(*out) + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerParameters. -func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentInitParameters. +func (in *AgentcoreRuntimeEnvironmentInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + out := new(AgentcoreRuntimeEnvironmentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationInitParameters) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerInitParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationInitParameters. -func (in *AuthorizerConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationInitParameters) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationObservation) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerObservation) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationObservation. -func (in *AuthorizerConfigurationObservation) DeepCopy() *AuthorizerConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation { if in == nil { return nil } - out := new(AuthorizerConfigurationObservation) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizerConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationParameters) { +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(CustomJwtAuthorizerParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationParameters. -func (in *AuthorizerConfigurationParameters) DeepCopy() *AuthorizerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters { if in == nil { return nil } - out := new(AuthorizerConfigurationParameters) + out := new(AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueInitParameters) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigInitParameters, 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 AuthorizingClaimMatchValueClaimMatchValueInitParameters. -func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueObservation) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigObservation, 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 AuthorizingClaimMatchValueClaimMatchValueObservation. -func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationObservation. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationObservation { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueObservation) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueParameters) { +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = make([]NetworkConfigurationNetworkModeConfigParameters, 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 AuthorizingClaimMatchValueClaimMatchValueParameters. -func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentNetworkConfigurationParameters. +func (in *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) DeepCopy() *AgentcoreRuntimeEnvironmentNetworkConfigurationParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueClaimMatchValueParameters) + out := new(AgentcoreRuntimeEnvironmentNetworkConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueInitParameters) { +func (in *AgentcoreRuntimeEnvironmentObservation) DeepCopyInto(out *AgentcoreRuntimeEnvironmentObservation) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in + } + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName + *out = new(string) + **out = **in + } + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueInitParameters. -func (in *AuthorizingClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentObservation. +func (in *AgentcoreRuntimeEnvironmentObservation) DeepCopy() *AgentcoreRuntimeEnvironmentObservation { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueInitParameters) + out := new(AgentcoreRuntimeEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueObservation) { +func (in *AgentcoreRuntimeEnvironmentParameters) DeepCopyInto(out *AgentcoreRuntimeEnvironmentParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AgentRuntimeArn != nil { + in, out := &in.AgentRuntimeArn, &out.AgentRuntimeArn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueObservation) + if in.AgentRuntimeArnRef != nil { + in, out := &in.AgentRuntimeArnRef, &out.AgentRuntimeArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AgentRuntimeArnSelector != nil { + in, out := &in.AgentRuntimeArnSelector, &out.AgentRuntimeArnSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } + if in.AgentRuntimeID != nil { + in, out := &in.AgentRuntimeID, &out.AgentRuntimeID + *out = new(string) + **out = **in + } + if in.AgentRuntimeName != nil { + in, out := &in.AgentRuntimeName, &out.AgentRuntimeName + *out = new(string) + **out = **in + } + if in.FilesystemConfiguration != nil { + in, out := &in.FilesystemConfiguration, &out.FilesystemConfiguration + *out = make([]AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifecycleConfiguration != nil { + in, out := &in.LifecycleConfiguration, &out.LifecycleConfiguration + *out = make([]AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]AgentcoreRuntimeEnvironmentNetworkConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueObservation. -func (in *AuthorizingClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeEnvironmentParameters. +func (in *AgentcoreRuntimeEnvironmentParameters) DeepCopy() *AgentcoreRuntimeEnvironmentParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueObservation) + out := new(AgentcoreRuntimeEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AuthorizingClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueParameters) { +func (in *AgentcoreRuntimeInitParameters) DeepCopyInto(out *AgentcoreRuntimeInitParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(ClaimMatchValueParameters) + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueParameters. -func (in *AuthorizingClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeInitParameters. +func (in *AgentcoreRuntimeInitParameters) DeepCopy() *AgentcoreRuntimeInitParameters { if in == nil { return nil } - out := new(AuthorizingClaimMatchValueParameters) + out := new(AgentcoreRuntimeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Browser) DeepCopyInto(out *Browser) { +func (in *AgentcoreRuntimeObservation) DeepCopyInto(out *AgentcoreRuntimeObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Browser. -func (in *Browser) DeepCopy() *Browser { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeObservation. +func (in *AgentcoreRuntimeObservation) DeepCopy() *AgentcoreRuntimeObservation { if in == nil { return nil } - out := new(Browser) + out := new(AgentcoreRuntimeObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Browser) 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 *BrowserInitParameters) DeepCopyInto(out *BrowserInitParameters) { +func (in *AgentcoreRuntimeParameters) DeepCopyInto(out *AgentcoreRuntimeParameters) { *out = *in - if in.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningInitParameters) + 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.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyInitParameters, 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.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingInitParameters) - (*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 BrowserInitParameters. -func (in *BrowserInitParameters) DeepCopy() *BrowserInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentcoreRuntimeParameters. +func (in *AgentcoreRuntimeParameters) DeepCopy() *AgentcoreRuntimeParameters { if in == nil { return nil } - out := new(BrowserInitParameters) + out := new(AgentcoreRuntimeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserList) DeepCopyInto(out *BrowserList) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Browser, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserList. -func (in *BrowserList) DeepCopy() *BrowserList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentInitParameters. +func (in *AllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentInitParameters { if in == nil { return nil } - out := new(BrowserList) + out := new(AllowedWorkloadConfigurationHostingEnvironmentInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *BrowserList) 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 *BrowserNetworkConfigurationInitParameters) DeepCopyInto(out *BrowserNetworkConfigurationInitParameters) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationInitParameters. -func (in *BrowserNetworkConfigurationInitParameters) DeepCopy() *BrowserNetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentObservation. +func (in *AllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentObservation { if in == nil { return nil } - out := new(BrowserNetworkConfigurationInitParameters) + out := new(AllowedWorkloadConfigurationHostingEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserNetworkConfigurationObservation) DeepCopyInto(out *BrowserNetworkConfigurationObservation) { +func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *AllowedWorkloadConfigurationHostingEnvironmentParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigObservation) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationObservation. -func (in *BrowserNetworkConfigurationObservation) DeepCopy() *BrowserNetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationHostingEnvironmentParameters. +func (in *AllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *AllowedWorkloadConfigurationHostingEnvironmentParameters { if in == nil { return nil } - out := new(BrowserNetworkConfigurationObservation) + out := new(AllowedWorkloadConfigurationHostingEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserNetworkConfigurationParameters) DeepCopyInto(out *BrowserNetworkConfigurationParameters) { +func (in *AllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AllowedWorkloadConfigurationInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(VPCConfigParameters) - (*in).DeepCopyInto(*out) + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserNetworkConfigurationParameters. -func (in *BrowserNetworkConfigurationParameters) DeepCopy() *BrowserNetworkConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationInitParameters. +func (in *AllowedWorkloadConfigurationInitParameters) DeepCopy() *AllowedWorkloadConfigurationInitParameters { if in == nil { return nil } - out := new(BrowserNetworkConfigurationParameters) + out := new(AllowedWorkloadConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserObservation) DeepCopyInto(out *BrowserObservation) { +func (in *AllowedWorkloadConfigurationObservation) DeepCopyInto(out *AllowedWorkloadConfigurationObservation) { *out = *in - if in.BrowserArn != nil { - in, out := &in.BrowserArn, &out.BrowserArn - *out = new(string) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.BrowserID != nil { - in, out := &in.BrowserID, &out.BrowserID - *out = new(string) - **out = **in + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationObservation. +func (in *AllowedWorkloadConfigurationObservation) DeepCopy() *AllowedWorkloadConfigurationObservation { + if in == nil { + return nil } - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateObservation, len(*in)) + out := new(AllowedWorkloadConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedWorkloadConfigurationParameters) DeepCopyInto(out *AllowedWorkloadConfigurationParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]HostingEnvironmentParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyObservation, len(*in)) + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkloadConfigurationParameters. +func (in *AllowedWorkloadConfigurationParameters) DeepCopy() *AllowedWorkloadConfigurationParameters { + if in == nil { + return nil } - if in.ID != nil { - in, out := &in.ID, &out.ID + out := new(AllowedWorkloadConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationServerMetadataInitParameters) DeepCopyInto(out *AuthorizationServerMetadataInitParameters) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingObservation) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserObservation. -func (in *BrowserObservation) DeepCopy() *BrowserObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataInitParameters. +func (in *AuthorizationServerMetadataInitParameters) DeepCopy() *AuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(BrowserObservation) + out := new(AuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserParameters) DeepCopyInto(out *BrowserParameters) { +func (in *AuthorizationServerMetadataObservation) DeepCopyInto(out *AuthorizationServerMetadataObservation) { *out = *in - if in.BrowserSigning != nil { - in, out := &in.BrowserSigning, &out.BrowserSigning - *out = new(BrowserSigningParameters) - (*in).DeepCopyInto(*out) - } - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.EnterprisePolicy != nil { - in, out := &in.EnterprisePolicy, &out.EnterprisePolicy - *out = make([]EnterprisePolicyParameters, len(*in)) + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint *out = new(string) **out = **in } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataObservation. +func (in *AuthorizationServerMetadataObservation) DeepCopy() *AuthorizationServerMetadataObservation { + if in == nil { + return nil } - if in.Name != nil { - in, out := &in.Name, &out.Name + out := new(AuthorizationServerMetadataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationServerMetadataParameters) DeepCopyInto(out *AuthorizationServerMetadataParameters) { + *out = *in + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(BrowserNetworkConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Recording != nil { - in, out := &in.Recording, &out.Recording - *out = new(RecordingParameters) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *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.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserParameters. -func (in *BrowserParameters) DeepCopy() *BrowserParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationServerMetadataParameters. +func (in *AuthorizationServerMetadataParameters) DeepCopy() *AuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(BrowserParameters) + out := new(AuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningInitParameters) DeepCopyInto(out *BrowserSigningInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningInitParameters. -func (in *BrowserSigningInitParameters) DeepCopy() *BrowserSigningInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { if in == nil { return nil } - out := new(BrowserSigningInitParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningObservation) DeepCopyInto(out *BrowserSigningObservation) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningObservation. -func (in *BrowserSigningObservation) DeepCopy() *BrowserSigningObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation { if in == nil { return nil } - out := new(BrowserSigningObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSigningParameters) DeepCopyInto(out *BrowserSigningParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 BrowserSigningParameters. -func (in *BrowserSigningParameters) DeepCopy() *BrowserSigningParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters { if in == nil { return nil } - out := new(BrowserSigningParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserSpec) DeepCopyInto(out *BrowserSpec) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSpec. -func (in *BrowserSpec) DeepCopy() *BrowserSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters { if in == nil { return nil } - out := new(BrowserSpec) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BrowserStatus) DeepCopyInto(out *BrowserStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserStatus. -func (in *BrowserStatus) DeepCopy() *BrowserStatus { - if in == nil { - return nil - } - out := new(BrowserStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsInitParameters) DeepCopyInto(out *CallerIAMCredentialsInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) { *out = *in - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsInitParameters. -func (in *CallerIAMCredentialsInitParameters) DeepCopy() *CallerIAMCredentialsInitParameters { - if in == nil { - return nil + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) } - out := new(CallerIAMCredentialsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsObservation) DeepCopyInto(out *CallerIAMCredentialsObservation) { - *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName *out = new(string) **out = **in } - if in.Service != nil { - in, out := &in.Service, &out.Service + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsObservation. -func (in *CallerIAMCredentialsObservation) DeepCopy() *CallerIAMCredentialsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation { if in == nil { return nil } - out := new(CallerIAMCredentialsObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CallerIAMCredentialsParameters) DeepCopyInto(out *CallerIAMCredentialsParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName *out = new(string) **out = **in } - if in.Service != nil { - in, out := &in.Service, &out.Service + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsParameters. -func (in *CallerIAMCredentialsParameters) DeepCopy() *CallerIAMCredentialsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters { if in == nil { return nil } - out := new(CallerIAMCredentialsParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationInitParameters) - (*in).DeepCopyInto(*out) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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 CertificateInitParameters. -func (in *CertificateInitParameters) DeepCopy() *CertificateInitParameters { - if in == nil { - return nil + if in.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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(CertificateInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationInitParameters) DeepCopyInto(out *CertificateLocationInitParameters) { - *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerInitParameters) + if in.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationInitParameters. -func (in *CertificateLocationInitParameters) DeepCopy() *CertificateLocationInitParameters { - if in == nil { - return nil + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(CertificateLocationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationObservation) DeepCopyInto(out *CertificateLocationObservation) { - *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerObservation) + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointInitParameters) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationObservation. -func (in *CertificateLocationObservation) DeepCopy() *CertificateLocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerInitParameters { if in == nil { return nil } - out := new(CertificateLocationObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateLocationParameters) DeepCopyInto(out *CertificateLocationParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerObservation) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(LocationSecretsManagerParameters) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationParameters. -func (in *CertificateLocationParameters) DeepCopy() *CertificateLocationParameters { - if in == nil { - return nil + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(CertificateLocationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { - *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationObservation) + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointObservation) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. -func (in *CertificateObservation) DeepCopy() *CertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerObservation { if in == nil { return nil } - out := new(CertificateObservation) + out := new(AuthorizerConfigurationCustomJwtAuthorizerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(LocationParameters) + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomJwtAuthorizerCustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointParameters) (*in).DeepCopyInto(*out) } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]CustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. -func (in *CertificateParameters) DeepCopy() *CertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerParameters { if in == nil { return nil } - out := new(CertificateParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitParameters) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -3002,28 +3224,65 @@ func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitPa } } } + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMatchValueInitParameters. -func (in *ClaimMatchValueInitParameters) DeepCopy() *ClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(ClaimMatchValueInitParameters) + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservation) { +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -3033,408 +3292,7011 @@ func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservati } } } + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationInitParameters) DeepCopyInto(out *AuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationInitParameters. +func (in *AuthorizerConfigurationInitParameters) DeepCopy() *AuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationObservation) DeepCopyInto(out *AuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationObservation. +func (in *AuthorizerConfigurationObservation) DeepCopy() *AuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizerConfigurationParameters) DeepCopyInto(out *AuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(CustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfigurationParameters. +func (in *AuthorizerConfigurationParameters) DeepCopy() *AuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(AuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueInitParameters. +func (in *AuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueObservation. +func (in *AuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 AuthorizingClaimMatchValueClaimMatchValueParameters. +func (in *AuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *AuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueInitParameters. +func (in *AuthorizingClaimMatchValueInitParameters) DeepCopy() *AuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueObservation) DeepCopyInto(out *AuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueObservation. +func (in *AuthorizingClaimMatchValueObservation) DeepCopy() *AuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizingClaimMatchValueParameters) DeepCopyInto(out *AuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(ClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizingClaimMatchValueParameters. +func (in *AuthorizingClaimMatchValueParameters) DeepCopy() *AuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(AuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigInitParameters) DeepCopyInto(out *BedrockEvaluatorModelConfigInitParameters) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigInitParameters. +func (in *BedrockEvaluatorModelConfigInitParameters) DeepCopy() *BedrockEvaluatorModelConfigInitParameters { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigObservation) DeepCopyInto(out *BedrockEvaluatorModelConfigObservation) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigObservation. +func (in *BedrockEvaluatorModelConfigObservation) DeepCopy() *BedrockEvaluatorModelConfigObservation { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockEvaluatorModelConfigParameters) DeepCopyInto(out *BedrockEvaluatorModelConfigParameters) { + *out = *in + if in.AdditionalModelRequestFields != nil { + in, out := &in.AdditionalModelRequestFields, &out.AdditionalModelRequestFields + *out = new(string) + **out = **in + } + if in.InferenceConfig != nil { + in, out := &in.InferenceConfig, &out.InferenceConfig + *out = new(InferenceConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockEvaluatorModelConfigParameters. +func (in *BedrockEvaluatorModelConfigParameters) DeepCopy() *BedrockEvaluatorModelConfigParameters { + if in == nil { + return nil + } + out := new(BedrockEvaluatorModelConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigInitParameters) DeepCopyInto(out *BedrockModelConfigInitParameters) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigInitParameters. +func (in *BedrockModelConfigInitParameters) DeepCopy() *BedrockModelConfigInitParameters { + if in == nil { + return nil + } + out := new(BedrockModelConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigObservation) DeepCopyInto(out *BedrockModelConfigObservation) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigObservation. +func (in *BedrockModelConfigObservation) DeepCopy() *BedrockModelConfigObservation { + if in == nil { + return nil + } + out := new(BedrockModelConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BedrockModelConfigParameters) DeepCopyInto(out *BedrockModelConfigParameters) { + *out = *in + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BedrockModelConfigParameters. +func (in *BedrockModelConfigParameters) DeepCopy() *BedrockModelConfigParameters { + if in == nil { + return nil + } + out := new(BedrockModelConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Browser) DeepCopyInto(out *Browser) { + *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 Browser. +func (in *Browser) DeepCopy() *Browser { + if in == nil { + return nil + } + out := new(Browser) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Browser) 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 *BrowserInitParameters) DeepCopyInto(out *BrowserInitParameters) { + *out = *in + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyInitParameters, 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.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingInitParameters) + (*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 BrowserInitParameters. +func (in *BrowserInitParameters) DeepCopy() *BrowserInitParameters { + if in == nil { + return nil + } + out := new(BrowserInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserList) DeepCopyInto(out *BrowserList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Browser, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserList. +func (in *BrowserList) DeepCopy() *BrowserList { + if in == nil { + return nil + } + out := new(BrowserList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BrowserList) 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 *BrowserNetworkConfigurationInitParameters) DeepCopyInto(out *BrowserNetworkConfigurationInitParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationInitParameters. +func (in *BrowserNetworkConfigurationInitParameters) DeepCopy() *BrowserNetworkConfigurationInitParameters { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserNetworkConfigurationObservation) DeepCopyInto(out *BrowserNetworkConfigurationObservation) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationObservation. +func (in *BrowserNetworkConfigurationObservation) DeepCopy() *BrowserNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserNetworkConfigurationParameters) DeepCopyInto(out *BrowserNetworkConfigurationParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(VPCConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserNetworkConfigurationParameters. +func (in *BrowserNetworkConfigurationParameters) DeepCopy() *BrowserNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(BrowserNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserObservation) DeepCopyInto(out *BrowserObservation) { + *out = *in + if in.BrowserArn != nil { + in, out := &in.BrowserArn, &out.BrowserArn + *out = new(string) + **out = **in + } + if in.BrowserID != nil { + in, out := &in.BrowserID, &out.BrowserID + *out = new(string) + **out = **in + } + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningObservation) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyObservation, 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.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.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 BrowserObservation. +func (in *BrowserObservation) DeepCopy() *BrowserObservation { + if in == nil { + return nil + } + out := new(BrowserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserParameters) DeepCopyInto(out *BrowserParameters) { + *out = *in + if in.BrowserSigning != nil { + in, out := &in.BrowserSigning, &out.BrowserSigning + *out = new(BrowserSigningParameters) + (*in).DeepCopyInto(*out) + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EnterprisePolicy != nil { + in, out := &in.EnterprisePolicy, &out.EnterprisePolicy + *out = make([]EnterprisePolicyParameters, 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.ExecutionRoleArnRef != nil { + in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(BrowserNetworkConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Recording != nil { + in, out := &in.Recording, &out.Recording + *out = new(RecordingParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserParameters. +func (in *BrowserParameters) DeepCopy() *BrowserParameters { + if in == nil { + return nil + } + out := new(BrowserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningInitParameters) DeepCopyInto(out *BrowserSigningInitParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningInitParameters. +func (in *BrowserSigningInitParameters) DeepCopy() *BrowserSigningInitParameters { + if in == nil { + return nil + } + out := new(BrowserSigningInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningObservation) DeepCopyInto(out *BrowserSigningObservation) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningObservation. +func (in *BrowserSigningObservation) DeepCopy() *BrowserSigningObservation { + if in == nil { + return nil + } + out := new(BrowserSigningObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSigningParameters) DeepCopyInto(out *BrowserSigningParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSigningParameters. +func (in *BrowserSigningParameters) DeepCopy() *BrowserSigningParameters { + if in == nil { + return nil + } + out := new(BrowserSigningParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserSpec) DeepCopyInto(out *BrowserSpec) { + *out = *in + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserSpec. +func (in *BrowserSpec) DeepCopy() *BrowserSpec { + if in == nil { + return nil + } + out := new(BrowserSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserStatus) DeepCopyInto(out *BrowserStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserStatus. +func (in *BrowserStatus) DeepCopy() *BrowserStatus { + if in == nil { + return nil + } + out := new(BrowserStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsInitParameters) DeepCopyInto(out *CallerIAMCredentialsInitParameters) { + *out = *in + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsInitParameters. +func (in *CallerIAMCredentialsInitParameters) DeepCopy() *CallerIAMCredentialsInitParameters { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsObservation) DeepCopyInto(out *CallerIAMCredentialsObservation) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsObservation. +func (in *CallerIAMCredentialsObservation) DeepCopy() *CallerIAMCredentialsObservation { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CallerIAMCredentialsParameters) DeepCopyInto(out *CallerIAMCredentialsParameters) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallerIAMCredentialsParameters. +func (in *CallerIAMCredentialsParameters) DeepCopy() *CallerIAMCredentialsParameters { + if in == nil { + return nil + } + out := new(CallerIAMCredentialsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalInitParameters) DeepCopyInto(out *CategoricalInitParameters) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalInitParameters. +func (in *CategoricalInitParameters) DeepCopy() *CategoricalInitParameters { + if in == nil { + return nil + } + out := new(CategoricalInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalObservation) DeepCopyInto(out *CategoricalObservation) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalObservation. +func (in *CategoricalObservation) DeepCopy() *CategoricalObservation { + if in == nil { + return nil + } + out := new(CategoricalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CategoricalParameters) DeepCopyInto(out *CategoricalParameters) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoricalParameters. +func (in *CategoricalParameters) DeepCopy() *CategoricalParameters { + if in == nil { + return nil + } + out := new(CategoricalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarInitParameters) DeepCopyInto(out *CedarInitParameters) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarInitParameters. +func (in *CedarInitParameters) DeepCopy() *CedarInitParameters { + if in == nil { + return nil + } + out := new(CedarInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarObservation) DeepCopyInto(out *CedarObservation) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarObservation. +func (in *CedarObservation) DeepCopy() *CedarObservation { + if in == nil { + return nil + } + out := new(CedarObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CedarParameters) DeepCopyInto(out *CedarParameters) { + *out = *in + if in.Statement != nil { + in, out := &in.Statement, &out.Statement + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CedarParameters. +func (in *CedarParameters) DeepCopy() *CedarParameters { + if in == nil { + return nil + } + out := new(CedarParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateInitParameters. +func (in *CertificateInitParameters) DeepCopy() *CertificateInitParameters { + if in == nil { + return nil + } + out := new(CertificateInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationInitParameters) DeepCopyInto(out *CertificateLocationInitParameters) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationInitParameters. +func (in *CertificateLocationInitParameters) DeepCopy() *CertificateLocationInitParameters { + if in == nil { + return nil + } + out := new(CertificateLocationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationObservation) DeepCopyInto(out *CertificateLocationObservation) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationObservation. +func (in *CertificateLocationObservation) DeepCopy() *CertificateLocationObservation { + if in == nil { + return nil + } + out := new(CertificateLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateLocationParameters) DeepCopyInto(out *CertificateLocationParameters) { + *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(LocationSecretsManagerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateLocationParameters. +func (in *CertificateLocationParameters) DeepCopy() *CertificateLocationParameters { + if in == nil { + return nil + } + out := new(CertificateLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(LocationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueInitParameters) DeepCopyInto(out *ClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueInitParameters. +func (in *ClaimMatchValueInitParameters) DeepCopy() *ClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(ClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueObservation) DeepCopyInto(out *ClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueObservation. +func (in *ClaimMatchValueObservation) DeepCopy() *ClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(ClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClaimMatchValueParameters) DeepCopyInto(out *ClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 ClaimMatchValueParameters. +func (in *ClaimMatchValueParameters) DeepCopy() *ClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(ClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnInitParameters) DeepCopyInto(out *ClientSecretArnInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnInitParameters. +func (in *ClientSecretArnInitParameters) DeepCopy() *ClientSecretArnInitParameters { + if in == nil { + return nil + } + out := new(ClientSecretArnInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnObservation) DeepCopyInto(out *ClientSecretArnObservation) { + *out = *in + 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 ClientSecretArnObservation. +func (in *ClientSecretArnObservation) DeepCopy() *ClientSecretArnObservation { + if in == nil { + return nil + } + out := new(ClientSecretArnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientSecretArnParameters) DeepCopyInto(out *ClientSecretArnParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnParameters. +func (in *ClientSecretArnParameters) DeepCopy() *ClientSecretArnParameters { + if in == nil { + return nil + } + out := new(ClientSecretArnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigInitParameters) DeepCopyInto(out *CloudwatchConfigInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigInitParameters. +func (in *CloudwatchConfigInitParameters) DeepCopy() *CloudwatchConfigInitParameters { + if in == nil { + return nil + } + out := new(CloudwatchConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigObservation) DeepCopyInto(out *CloudwatchConfigObservation) { + *out = *in + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigObservation. +func (in *CloudwatchConfigObservation) DeepCopy() *CloudwatchConfigObservation { + if in == nil { + return nil + } + out := new(CloudwatchConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchConfigParameters) DeepCopyInto(out *CloudwatchConfigParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudwatchConfigParameters. +func (in *CloudwatchConfigParameters) DeepCopy() *CloudwatchConfigParameters { + if in == nil { + return nil + } + out := new(CloudwatchConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsInitParameters) DeepCopyInto(out *CloudwatchLogsInitParameters) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.LogGroupNamesRefs != nil { + in, out := &in.LogGroupNamesRefs, &out.LogGroupNamesRefs + *out = make([]v1.NamespacedReference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogGroupNamesSelector != nil { + in, out := &in.LogGroupNamesSelector, &out.LogGroupNamesSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsInitParameters. +func (in *CloudwatchLogsInitParameters) DeepCopy() *CloudwatchLogsInitParameters { + if in == nil { + return nil + } + out := new(CloudwatchLogsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsObservation) DeepCopyInto(out *CloudwatchLogsObservation) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsObservation. +func (in *CloudwatchLogsObservation) DeepCopy() *CloudwatchLogsObservation { + if in == nil { + return nil + } + out := new(CloudwatchLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudwatchLogsParameters) DeepCopyInto(out *CloudwatchLogsParameters) { + *out = *in + if in.LogGroupNames != nil { + in, out := &in.LogGroupNames, &out.LogGroupNames + *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.LogGroupNamesRefs != nil { + in, out := &in.LogGroupNamesRefs, &out.LogGroupNamesRefs + *out = make([]v1.NamespacedReference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogGroupNamesSelector != nil { + in, out := &in.LogGroupNamesSelector, &out.LogGroupNamesSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.ServiceNames != nil { + in, out := &in.ServiceNames, &out.ServiceNames + *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 CloudwatchLogsParameters. +func (in *CloudwatchLogsParameters) DeepCopy() *CloudwatchLogsParameters { + if in == nil { + return nil + } + out := new(CloudwatchLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedInitParameters) DeepCopyInto(out *CodeBasedInitParameters) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedInitParameters. +func (in *CodeBasedInitParameters) DeepCopy() *CodeBasedInitParameters { + if in == nil { + return nil + } + out := new(CodeBasedInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedObservation) DeepCopyInto(out *CodeBasedObservation) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedObservation. +func (in *CodeBasedObservation) DeepCopy() *CodeBasedObservation { + if in == nil { + return nil + } + out := new(CodeBasedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeBasedParameters) DeepCopyInto(out *CodeBasedParameters) { + *out = *in + if in.LambdaConfig != nil { + in, out := &in.LambdaConfig, &out.LambdaConfig + *out = new(LambdaConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeBasedParameters. +func (in *CodeBasedParameters) DeepCopy() *CodeBasedParameters { + if in == nil { + return nil + } + out := new(CodeBasedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationInitParameters) DeepCopyInto(out *CodeConfigurationInitParameters) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationInitParameters. +func (in *CodeConfigurationInitParameters) DeepCopy() *CodeConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CodeConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationObservation) DeepCopyInto(out *CodeConfigurationObservation) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeObservation) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationObservation. +func (in *CodeConfigurationObservation) DeepCopy() *CodeConfigurationObservation { + if in == nil { + return nil + } + out := new(CodeConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeConfigurationParameters) DeepCopyInto(out *CodeConfigurationParameters) { + *out = *in + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(CodeParameters) + (*in).DeepCopyInto(*out) + } + if in.EntryPoint != nil { + in, out := &in.EntryPoint, &out.EntryPoint + *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.Runtime != nil { + in, out := &in.Runtime, &out.Runtime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationParameters. +func (in *CodeConfigurationParameters) DeepCopy() *CodeConfigurationParameters { + if in == nil { + return nil + } + out := new(CodeConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInitParameters) DeepCopyInto(out *CodeInitParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInitParameters. +func (in *CodeInitParameters) DeepCopy() *CodeInitParameters { + if in == nil { + return nil + } + out := new(CodeInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreter) DeepCopyInto(out *CodeInterpreter) { + *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 CodeInterpreter. +func (in *CodeInterpreter) DeepCopy() *CodeInterpreter { + if in == nil { + return nil + } + out := new(CodeInterpreter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeInterpreter) 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 *CodeInterpreterCertificateInitParameters) DeepCopyInto(out *CodeInterpreterCertificateInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateInitParameters. +func (in *CodeInterpreterCertificateInitParameters) DeepCopy() *CodeInterpreterCertificateInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterCertificateObservation) DeepCopyInto(out *CodeInterpreterCertificateObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateObservation. +func (in *CodeInterpreterCertificateObservation) DeepCopy() *CodeInterpreterCertificateObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterCertificateParameters) DeepCopyInto(out *CodeInterpreterCertificateParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(CertificateLocationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateParameters. +func (in *CodeInterpreterCertificateParameters) DeepCopy() *CodeInterpreterCertificateParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterInitParameters) DeepCopyInto(out *CodeInterpreterInitParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationInitParameters) + (*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 CodeInterpreterInitParameters. +func (in *CodeInterpreterInitParameters) DeepCopy() *CodeInterpreterInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterList) DeepCopyInto(out *CodeInterpreterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CodeInterpreter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterList. +func (in *CodeInterpreterList) DeepCopy() *CodeInterpreterList { + if in == nil { + return nil + } + out := new(CodeInterpreterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CodeInterpreterList) 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 *CodeInterpreterNetworkConfigurationInitParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationInitParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationInitParameters. +func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopy() *CodeInterpreterNetworkConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopyInto(out *CodeInterpreterNetworkConfigurationObservation) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationObservation. +func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopy() *CodeInterpreterNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationParameters) { + *out = *in + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) + **out = **in + } + if in.VPCConfig != nil { + in, out := &in.VPCConfig, &out.VPCConfig + *out = new(NetworkConfigurationVPCConfigParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationParameters. +func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopy() *CodeInterpreterNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservation) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CodeInterpreterArn != nil { + in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn + *out = new(string) + **out = **in + } + if in.CodeInterpreterID != nil { + in, out := &in.CodeInterpreterID, &out.CodeInterpreterID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.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 CodeInterpreterObservation. +func (in *CodeInterpreterObservation) DeepCopy() *CodeInterpreterObservation { + if in == nil { + return nil + } + out := new(CodeInterpreterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CodeInterpreterCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = new(CodeInterpreterNetworkConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterParameters. +func (in *CodeInterpreterParameters) DeepCopy() *CodeInterpreterParameters { + if in == nil { + return nil + } + out := new(CodeInterpreterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterSpec) DeepCopyInto(out *CodeInterpreterSpec) { + *out = *in + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterSpec. +func (in *CodeInterpreterSpec) DeepCopy() *CodeInterpreterSpec { + if in == nil { + return nil + } + out := new(CodeInterpreterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeInterpreterStatus) DeepCopyInto(out *CodeInterpreterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterStatus. +func (in *CodeInterpreterStatus) DeepCopy() *CodeInterpreterStatus { + if in == nil { + return nil + } + out := new(CodeInterpreterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeObservation) DeepCopyInto(out *CodeObservation) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3Observation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeObservation. +func (in *CodeObservation) DeepCopy() *CodeObservation { + if in == nil { + return nil + } + out := new(CodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodeParameters) DeepCopyInto(out *CodeParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(S3Parameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeParameters. +func (in *CodeParameters) DeepCopy() *CodeParameters { + if in == nil { + return nil + } + out := new(CodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigInitParameters) DeepCopyInto(out *ConfigInitParameters) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionInitParameters) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigInitParameters. +func (in *ConfigInitParameters) DeepCopy() *ConfigInitParameters { + if in == nil { + return nil + } + out := new(ConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserObservation) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterObservation) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayObservation) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionObservation) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigObservation. +func (in *ConfigObservation) DeepCopy() *ConfigObservation { + if in == nil { + return nil + } + out := new(ConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters) { + *out = *in + if in.AgentcoreBrowser != nil { + in, out := &in.AgentcoreBrowser, &out.AgentcoreBrowser + *out = new(AgentcoreBrowserParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreCodeInterpreter != nil { + in, out := &in.AgentcoreCodeInterpreter, &out.AgentcoreCodeInterpreter + *out = new(AgentcoreCodeInterpreterParameters) + (*in).DeepCopyInto(*out) + } + if in.AgentcoreGateway != nil { + in, out := &in.AgentcoreGateway, &out.AgentcoreGateway + *out = new(AgentcoreGatewayParameters) + (*in).DeepCopyInto(*out) + } + if in.InlineFunction != nil { + in, out := &in.InlineFunction, &out.InlineFunction + *out = new(InlineFunctionParameters) + (*in).DeepCopyInto(*out) + } + if in.RemoteMcp != nil { + in, out := &in.RemoteMcp, &out.RemoteMcp + *out = new(RemoteMcpParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigParameters. +func (in *ConfigParameters) DeepCopy() *ConfigParameters { + if in == nil { + return nil + } + out := new(ConfigParameters) + in.DeepCopyInto(out) + return out +} + +// 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.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters. +func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in + if in.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationObservation) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionObservation) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Consolidation != nil { + in, out := &in.Consolidation, &out.Consolidation + *out = new(ConsolidationParameters) + (*in).DeepCopyInto(*out) + } + if in.Extraction != nil { + in, out := &in.Extraction, &out.Extraction + *out = new(ExtractionParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationInitParameters) DeepCopyInto(out *ConsolidationInitParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationInitParameters. +func (in *ConsolidationInitParameters) DeepCopy() *ConsolidationInitParameters { + if in == nil { + return nil + } + out := new(ConsolidationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationObservation) DeepCopyInto(out *ConsolidationObservation) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationObservation. +func (in *ConsolidationObservation) DeepCopy() *ConsolidationObservation { + if in == nil { + return nil + } + out := new(ConsolidationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsolidationParameters) DeepCopyInto(out *ConsolidationParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationParameters. +func (in *ConsolidationParameters) DeepCopy() *ConsolidationParameters { + if in == nil { + return nil + } + out := new(ConsolidationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationInitParameters) DeepCopyInto(out *ContainerConfigurationInitParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationInitParameters. +func (in *ContainerConfigurationInitParameters) DeepCopy() *ContainerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ContainerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationObservation) DeepCopyInto(out *ContainerConfigurationObservation) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationObservation. +func (in *ContainerConfigurationObservation) DeepCopy() *ContainerConfigurationObservation { + if in == nil { + return nil + } + out := new(ContainerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationParameters) DeepCopyInto(out *ContainerConfigurationParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationParameters. +func (in *ContainerConfigurationParameters) DeepCopy() *ContainerConfigurationParameters { + if in == nil { + return nil + } + out := new(ContainerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationInitParameters) DeepCopyInto(out *ContentConfigurationInitParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationInitParameters. +func (in *ContentConfigurationInitParameters) DeepCopy() *ContentConfigurationInitParameters { + if in == nil { + return nil + } + out := new(ContentConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationObservation) DeepCopyInto(out *ContentConfigurationObservation) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationObservation. +func (in *ContentConfigurationObservation) DeepCopy() *ContentConfigurationObservation { + if in == nil { + return nil + } + out := new(ContentConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentConfigurationParameters) DeepCopyInto(out *ContentConfigurationParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationParameters. +func (in *ContentConfigurationParameters) DeepCopy() *ContentConfigurationParameters { + if in == nil { + return nil + } + out := new(ContentConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationInitParameters) DeepCopyInto(out *CredentialProviderConfigurationInitParameters) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyInitParameters) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleInitParameters) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughInitParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationInitParameters. +func (in *CredentialProviderConfigurationInitParameters) DeepCopy() *CredentialProviderConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationObservation) DeepCopyInto(out *CredentialProviderConfigurationObservation) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyObservation) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsObservation) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleObservation) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationObservation. +func (in *CredentialProviderConfigurationObservation) DeepCopy() *CredentialProviderConfigurationObservation { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialProviderConfigurationParameters) DeepCopyInto(out *CredentialProviderConfigurationParameters) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(APIKeyParameters) + (*in).DeepCopyInto(*out) + } + if in.CallerIAMCredentials != nil { + in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials + *out = new(CallerIAMCredentialsParameters) + (*in).DeepCopyInto(*out) + } + if in.GatewayIAMRole != nil { + in, out := &in.GatewayIAMRole, &out.GatewayIAMRole + *out = new(GatewayIAMRoleParameters) + (*in).DeepCopyInto(*out) + } + if in.JwtPassthrough != nil { + in, out := &in.JwtPassthrough, &out.JwtPassthrough + *out = new(JwtPassthroughParameters) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OauthParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationParameters. +func (in *CredentialProviderConfigurationParameters) DeepCopy() *CredentialProviderConfigurationParameters { + if in == nil { + return nil + } + out := new(CredentialProviderConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) { + *out = *in + if in.MatchValueString != nil { + in, out := &in.MatchValueString, &out.MatchValueString + *out = new(string) + **out = **in + } + if in.MatchValueStringList != nil { + in, out := &in.MatchValueStringList, &out.MatchValueStringList + *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 CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters. +func (in *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueInitParameters. +func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueObservation. +func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(AuthorizingClaimMatchValueClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueParameters. +func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomClaimAuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimInitParameters) DeepCopyInto(out *CustomClaimInitParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimInitParameters. +func (in *CustomClaimInitParameters) DeepCopy() *CustomClaimInitParameters { + if in == nil { + return nil + } + out := new(CustomClaimInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimObservation) DeepCopyInto(out *CustomClaimObservation) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimObservation. +func (in *CustomClaimObservation) DeepCopy() *CustomClaimObservation { + if in == nil { + return nil + } + out := new(CustomClaimObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomClaimParameters) DeepCopyInto(out *CustomClaimParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(AuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimParameters. +func (in *CustomClaimParameters) DeepCopy() *CustomClaimParameters { + if in == nil { + return nil + } + out := new(CustomClaimParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) { + *out = *in + 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 CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationObservation. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { + *out = *in + if in.HostingEnvironment != nil { + in, out := &in.HostingEnvironment, &out.HostingEnvironment + *out = make([]AllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkloadIdentities != nil { + in, out := &in.WorkloadIdentities, &out.WorkloadIdentities + *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 CustomJwtAuthorizerAllowedWorkloadConfigurationParameters. +func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) { + *out = *in + if in.ClaimMatchOperator != nil { + in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + *out = new(string) + **out = **in + } + if in.ClaimMatchValue != nil { + in, out := &in.ClaimMatchValue, &out.ClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters. +func (in *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimInitParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueInitParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimInitParameters. +func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimObservation) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueObservation) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimObservation. +func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimParameters) { + *out = *in + if in.AuthorizingClaimMatchValue != nil { + in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue + *out = new(CustomClaimAuthorizingClaimMatchValueParameters) + (*in).DeepCopyInto(*out) + } + if in.InboundTokenClaimName != nil { + in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName + *out = new(string) + **out = **in + } + if in.InboundTokenClaimValueType != nil { + in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimParameters. +func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerCustomClaimParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthorizerInitParameters) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerInitParameters. +func (in *CustomJwtAuthorizerInitParameters) DeepCopy() *CustomJwtAuthorizerInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerObservation) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerObservation. +func (in *CustomJwtAuthorizerObservation) DeepCopy() *CustomJwtAuthorizerObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerParameters) { + *out = *in + if in.AllowedAudience != nil { + in, out := &in.AllowedAudience, &out.AllowedAudience + *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.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *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.AllowedScopes != nil { + in, out := &in.AllowedScopes, &out.AllowedScopes + *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.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]CustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]PrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerParameters. +func (in *CustomJwtAuthorizerParameters) DeepCopy() *CustomJwtAuthorizerParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointObservation. +func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesObservation) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesParameters) { + *out = *in + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointParameters. +func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { + if in == nil { + return nil + } + out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigInitParameters) DeepCopyInto(out *CustomOauth2ProviderConfigInitParameters) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigInitParameters. +func (in *CustomOauth2ProviderConfigInitParameters) DeepCopy() *CustomOauth2ProviderConfigInitParameters { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigObservation) DeepCopyInto(out *CustomOauth2ProviderConfigObservation) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigObservation. +func (in *CustomOauth2ProviderConfigObservation) DeepCopy() *CustomOauth2ProviderConfigObservation { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomOauth2ProviderConfigParameters) DeepCopyInto(out *CustomOauth2ProviderConfigParameters) { + *out = *in + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = new(OauthDiscoveryParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigParameters. +func (in *CustomOauth2ProviderConfigParameters) DeepCopy() *CustomOauth2ProviderConfigParameters { + if in == nil { + return nil + } + out := new(CustomOauth2ProviderConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigInitParameters) DeepCopyInto(out *DataSourceConfigInitParameters) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigInitParameters. +func (in *DataSourceConfigInitParameters) DeepCopy() *DataSourceConfigInitParameters { + if in == nil { + return nil + } + out := new(DataSourceConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigObservation) DeepCopyInto(out *DataSourceConfigObservation) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigObservation. +func (in *DataSourceConfigObservation) DeepCopy() *DataSourceConfigObservation { + if in == nil { + return nil + } + out := new(DataSourceConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSourceConfigParameters) DeepCopyInto(out *DataSourceConfigParameters) { + *out = *in + if in.CloudwatchLogs != nil { + in, out := &in.CloudwatchLogs, &out.CloudwatchLogs + *out = new(CloudwatchLogsParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceConfigParameters. +func (in *DataSourceConfigParameters) DeepCopy() *DataSourceConfigParameters { + if in == nil { + return nil + } + out := new(DataSourceConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionInitParameters) DeepCopyInto(out *DefinitionInitParameters) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionInitParameters. +func (in *DefinitionInitParameters) DeepCopy() *DefinitionInitParameters { + if in == nil { + return nil + } + out := new(DefinitionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { + if in == nil { + return nil + } + out := new(DefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { + *out = *in + if in.Cedar != nil { + in, out := &in.Cedar, &out.Cedar + *out = new(CedarParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { + if in == nil { + return nil + } + out := new(DefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointInitParameters) DeepCopyInto(out *EFSAccessPointInitParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 EFSAccessPointInitParameters. +func (in *EFSAccessPointInitParameters) DeepCopy() *EFSAccessPointInitParameters { + if in == nil { + return nil + } + out := new(EFSAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointObservation) DeepCopyInto(out *EFSAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 EFSAccessPointObservation. +func (in *EFSAccessPointObservation) DeepCopy() *EFSAccessPointObservation { + if in == nil { + return nil + } + out := new(EFSAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EFSAccessPointParameters) DeepCopyInto(out *EFSAccessPointParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 EFSAccessPointParameters. +func (in *EFSAccessPointParameters) DeepCopy() *EFSAccessPointParameters { + if in == nil { + return nil + } + out := new(EFSAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyInitParameters) DeepCopyInto(out *EnterprisePolicyInitParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyInitParameters. +func (in *EnterprisePolicyInitParameters) DeepCopy() *EnterprisePolicyInitParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationInitParameters) DeepCopyInto(out *EnterprisePolicyLocationInitParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationInitParameters. +func (in *EnterprisePolicyLocationInitParameters) DeepCopy() *EnterprisePolicyLocationInitParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationObservation) DeepCopyInto(out *EnterprisePolicyLocationObservation) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3Observation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationObservation. +func (in *EnterprisePolicyLocationObservation) DeepCopy() *EnterprisePolicyLocationObservation { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyLocationParameters) DeepCopyInto(out *EnterprisePolicyLocationParameters) { + *out = *in + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(LocationS3Parameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationParameters. +func (in *EnterprisePolicyLocationParameters) DeepCopy() *EnterprisePolicyLocationParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyObservation) DeepCopyInto(out *EnterprisePolicyObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationObservation) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyObservation. +func (in *EnterprisePolicyObservation) DeepCopy() *EnterprisePolicyObservation { + if in == nil { + return nil + } + out := new(EnterprisePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterprisePolicyParameters) DeepCopyInto(out *EnterprisePolicyParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(EnterprisePolicyLocationParameters) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyParameters. +func (in *EnterprisePolicyParameters) DeepCopy() *EnterprisePolicyParameters { + if in == nil { + return nil + } + out := new(EnterprisePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationInitParameters) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationInitParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationInitParameters. +func (in *EnvironmentArtifactContainerConfigurationInitParameters) DeepCopy() *EnvironmentArtifactContainerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationObservation) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationObservation) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationObservation. +func (in *EnvironmentArtifactContainerConfigurationObservation) DeepCopy() *EnvironmentArtifactContainerConfigurationObservation { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactContainerConfigurationParameters) DeepCopyInto(out *EnvironmentArtifactContainerConfigurationParameters) { + *out = *in + if in.ContainerURI != nil { + in, out := &in.ContainerURI, &out.ContainerURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactContainerConfigurationParameters. +func (in *EnvironmentArtifactContainerConfigurationParameters) DeepCopy() *EnvironmentArtifactContainerConfigurationParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactContainerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactInitParameters) DeepCopyInto(out *EnvironmentArtifactInitParameters) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactInitParameters. +func (in *EnvironmentArtifactInitParameters) DeepCopy() *EnvironmentArtifactInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactObservation) DeepCopyInto(out *EnvironmentArtifactObservation) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactObservation. +func (in *EnvironmentArtifactObservation) DeepCopy() *EnvironmentArtifactObservation { + if in == nil { + return nil + } + out := new(EnvironmentArtifactObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentArtifactParameters) DeepCopyInto(out *EnvironmentArtifactParameters) { + *out = *in + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = new(EnvironmentArtifactContainerConfigurationParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentArtifactParameters. +func (in *EnvironmentArtifactParameters) DeepCopy() *EnvironmentArtifactParameters { + if in == nil { + return nil + } + out := new(EnvironmentArtifactParameters) + in.DeepCopyInto(out) + return out +} + +// 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.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentInitParameters. +func (in *EnvironmentInitParameters) DeepCopy() *EnvironmentInitParameters { + if in == nil { + return nil + } + out := new(EnvironmentInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation) { + *out = *in + if in.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentObservation. +func (in *EnvironmentObservation) DeepCopy() *EnvironmentObservation { + if in == nil { + return nil + } + out := new(EnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters) { + *out = *in + if in.AgentcoreRuntimeEnvironment != nil { + in, out := &in.AgentcoreRuntimeEnvironment, &out.AgentcoreRuntimeEnvironment + *out = make([]AgentcoreRuntimeEnvironmentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentParameters. +func (in *EnvironmentParameters) DeepCopy() *EnvironmentParameters { + if in == nil { + return nil + } + out := new(EnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Evaluator) DeepCopyInto(out *Evaluator) { + *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 Evaluator. +func (in *Evaluator) DeepCopy() *Evaluator { + if in == nil { + return nil + } + out := new(Evaluator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Evaluator) 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 *EvaluatorConfigInitParameters) DeepCopyInto(out *EvaluatorConfigInitParameters) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedInitParameters) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigInitParameters. +func (in *EvaluatorConfigInitParameters) DeepCopy() *EvaluatorConfigInitParameters { + if in == nil { + return nil + } + out := new(EvaluatorConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorConfigObservation) DeepCopyInto(out *EvaluatorConfigObservation) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedObservation) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigObservation. +func (in *EvaluatorConfigObservation) DeepCopy() *EvaluatorConfigObservation { + if in == nil { + return nil + } + out := new(EvaluatorConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorConfigParameters) DeepCopyInto(out *EvaluatorConfigParameters) { + *out = *in + if in.CodeBased != nil { + in, out := &in.CodeBased, &out.CodeBased + *out = new(CodeBasedParameters) + (*in).DeepCopyInto(*out) + } + if in.LlmAsAJudge != nil { + in, out := &in.LlmAsAJudge, &out.LlmAsAJudge + *out = new(LlmAsAJudgeParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorConfigParameters. +func (in *EvaluatorConfigParameters) DeepCopy() *EvaluatorConfigParameters { + if in == nil { + return nil + } + out := new(EvaluatorConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorInitParameters) DeepCopyInto(out *EvaluatorInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Level != nil { + in, out := &in.Level, &out.Level + *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 EvaluatorInitParameters. +func (in *EvaluatorInitParameters) DeepCopy() *EvaluatorInitParameters { + if in == nil { + return nil + } + out := new(EvaluatorInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorList) DeepCopyInto(out *EvaluatorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Evaluator, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorList. +func (in *EvaluatorList) DeepCopy() *EvaluatorList { + if in == nil { + return nil + } + out := new(EvaluatorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EvaluatorList) 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 *EvaluatorObservation) DeepCopyInto(out *EvaluatorObservation) { + *out = *in + if in.CreatedAt != nil { + in, out := &in.CreatedAt, &out.CreatedAt + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorArn != nil { + in, out := &in.EvaluatorArn, &out.EvaluatorArn + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *out = new(string) + **out = **in + } + 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.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.LockedForModification != nil { + in, out := &in.LockedForModification, &out.LockedForModification + *out = new(bool) + **out = **in + } + 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 + *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 EvaluatorObservation. +func (in *EvaluatorObservation) DeepCopy() *EvaluatorObservation { + if in == nil { + return nil + } + out := new(EvaluatorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorParameters) DeepCopyInto(out *EvaluatorParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorConfig != nil { + in, out := &in.EvaluatorConfig, &out.EvaluatorConfig + *out = new(EvaluatorConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorName != nil { + in, out := &in.EvaluatorName, &out.EvaluatorName + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Level != nil { + in, out := &in.Level, &out.Level + *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 EvaluatorParameters. +func (in *EvaluatorParameters) DeepCopy() *EvaluatorParameters { + if in == nil { + return nil + } + out := new(EvaluatorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorSpec) DeepCopyInto(out *EvaluatorSpec) { + *out = *in + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorSpec. +func (in *EvaluatorSpec) DeepCopy() *EvaluatorSpec { + if in == nil { + return nil + } + out := new(EvaluatorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EvaluatorStatus) DeepCopyInto(out *EvaluatorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluatorStatus. +func (in *EvaluatorStatus) DeepCopy() *EvaluatorStatus { + if in == nil { + return nil + } + out := new(EvaluatorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionInitParameters) DeepCopyInto(out *ExtractionInitParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionInitParameters. +func (in *ExtractionInitParameters) DeepCopy() *ExtractionInitParameters { + if in == nil { + return nil + } + out := new(ExtractionInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionObservation) DeepCopyInto(out *ExtractionObservation) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionObservation. +func (in *ExtractionObservation) DeepCopy() *ExtractionObservation { + if in == nil { + return nil + } + out := new(ExtractionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtractionParameters) DeepCopyInto(out *ExtractionParameters) { + *out = *in + if in.AppendToPrompt != nil { + in, out := &in.AppendToPrompt, &out.AppendToPrompt + *out = new(string) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionParameters. +func (in *ExtractionParameters) DeepCopy() *ExtractionParameters { + if in == nil { + return nil + } + out := new(ExtractionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointInitParameters) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointInitParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 FilesystemConfigurationEFSAccessPointInitParameters. +func (in *FilesystemConfigurationEFSAccessPointInitParameters) DeepCopy() *FilesystemConfigurationEFSAccessPointInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointObservation) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 FilesystemConfigurationEFSAccessPointObservation. +func (in *FilesystemConfigurationEFSAccessPointObservation) DeepCopy() *FilesystemConfigurationEFSAccessPointObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationEFSAccessPointParameters) DeepCopyInto(out *FilesystemConfigurationEFSAccessPointParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 FilesystemConfigurationEFSAccessPointParameters. +func (in *FilesystemConfigurationEFSAccessPointParameters) DeepCopy() *FilesystemConfigurationEFSAccessPointParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationEFSAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationInitParameters) DeepCopyInto(out *FilesystemConfigurationInitParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationInitParameters. +func (in *FilesystemConfigurationInitParameters) DeepCopy() *FilesystemConfigurationInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationObservation) DeepCopyInto(out *FilesystemConfigurationObservation) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointObservation) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointObservation) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationObservation. +func (in *FilesystemConfigurationObservation) DeepCopy() *FilesystemConfigurationObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationParameters) DeepCopyInto(out *FilesystemConfigurationParameters) { + *out = *in + if in.EFSAccessPoint != nil { + in, out := &in.EFSAccessPoint, &out.EFSAccessPoint + *out = new(EFSAccessPointParameters) + (*in).DeepCopyInto(*out) + } + if in.S3FilesAccessPoint != nil { + in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint + *out = new(S3FilesAccessPointParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionStorage != nil { + in, out := &in.SessionStorage, &out.SessionStorage + *out = new(SessionStorageParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationParameters. +func (in *FilesystemConfigurationParameters) DeepCopy() *FilesystemConfigurationParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointInitParameters) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointInitParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 FilesystemConfigurationS3FilesAccessPointInitParameters. +func (in *FilesystemConfigurationS3FilesAccessPointInitParameters) DeepCopy() *FilesystemConfigurationS3FilesAccessPointInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointObservation) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointObservation) { + *out = *in + if in.AccessPointArn != nil { + in, out := &in.AccessPointArn, &out.AccessPointArn + *out = new(string) + **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 FilesystemConfigurationS3FilesAccessPointObservation. +func (in *FilesystemConfigurationS3FilesAccessPointObservation) DeepCopy() *FilesystemConfigurationS3FilesAccessPointObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationS3FilesAccessPointParameters) DeepCopyInto(out *FilesystemConfigurationS3FilesAccessPointParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 FilesystemConfigurationS3FilesAccessPointParameters. +func (in *FilesystemConfigurationS3FilesAccessPointParameters) DeepCopy() *FilesystemConfigurationS3FilesAccessPointParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationS3FilesAccessPointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageInitParameters) DeepCopyInto(out *FilesystemConfigurationSessionStorageInitParameters) { + *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 FilesystemConfigurationSessionStorageInitParameters. +func (in *FilesystemConfigurationSessionStorageInitParameters) DeepCopy() *FilesystemConfigurationSessionStorageInitParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageObservation) DeepCopyInto(out *FilesystemConfigurationSessionStorageObservation) { + *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 FilesystemConfigurationSessionStorageObservation. +func (in *FilesystemConfigurationSessionStorageObservation) DeepCopy() *FilesystemConfigurationSessionStorageObservation { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilesystemConfigurationSessionStorageParameters) DeepCopyInto(out *FilesystemConfigurationSessionStorageParameters) { + *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 FilesystemConfigurationSessionStorageParameters. +func (in *FilesystemConfigurationSessionStorageParameters) DeepCopy() *FilesystemConfigurationSessionStorageParameters { + if in == nil { + return nil + } + out := new(FilesystemConfigurationSessionStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterInitParameters) DeepCopyInto(out *FilterInitParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterInitParameters. +func (in *FilterInitParameters) DeepCopy() *FilterInitParameters { + if in == nil { + return nil + } + out := new(FilterInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { + if in == nil { + return nil + } + out := new(FilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(ValueParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { + if in == nil { + return nil + } + out := new(FilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Gateway) DeepCopyInto(out *Gateway) { + *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 Gateway. +func (in *Gateway) DeepCopy() *Gateway { + if in == nil { + return nil + } + out := new(Gateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Gateway) 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 *GatewayAuthorizerConfigurationInitParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationInitParameters. +func (in *GatewayAuthorizerConfigurationInitParameters) DeepCopy() *GatewayAuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayAuthorizerConfigurationObservation) DeepCopyInto(out *GatewayAuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationObservation. +func (in *GatewayAuthorizerConfigurationObservation) DeepCopy() *GatewayAuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayAuthorizerConfigurationParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationParameters. +func (in *GatewayAuthorizerConfigurationParameters) DeepCopy() *GatewayAuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(GatewayAuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleInitParameters) DeepCopyInto(out *GatewayIAMRoleInitParameters) { + *out = *in + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleInitParameters. +func (in *GatewayIAMRoleInitParameters) DeepCopy() *GatewayIAMRoleInitParameters { + if in == nil { + return nil + } + out := new(GatewayIAMRoleInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleObservation) DeepCopyInto(out *GatewayIAMRoleObservation) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleObservation. +func (in *GatewayIAMRoleObservation) DeepCopy() *GatewayIAMRoleObservation { + if in == nil { + return nil + } + out := new(GatewayIAMRoleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIAMRoleParameters) DeepCopyInto(out *GatewayIAMRoleParameters) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleParameters. +func (in *GatewayIAMRoleParameters) DeepCopy() *GatewayIAMRoleParameters { + if in == nil { + return nil + } + out := new(GatewayIAMRoleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters) { + *out = *in + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationInitParameters, 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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.NamespacedSelector) + (*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 GatewayInitParameters. +func (in *GatewayInitParameters) DeepCopy() *GatewayInitParameters { + if in == nil { + return nil + } + out := new(GatewayInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayList) DeepCopyInto(out *GatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Gateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. +func (in *GatewayList) DeepCopy() *GatewayList { + if in == nil { + return nil + } + out := new(GatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayList) 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 *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.GatewayArn != nil { + in, out := &in.GatewayArn, &out.GatewayArn + *out = new(string) + **out = **in + } + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } + if in.GatewayURL != nil { + in, out := &in.GatewayURL, &out.GatewayURL + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationObservation, 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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *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.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.WorkloadIdentityDetails != nil { + in, out := &in.WorkloadIdentityDetails, &out.WorkloadIdentityDetails + *out = make([]GatewayWorkloadIdentityDetailsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMatchValueObservation. -func (in *ClaimMatchValueObservation) DeepCopy() *ClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { if in == nil { return nil } - out := new(ClaimMatchValueObservation) + out := new(GatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClaimMatchValueParameters) DeepCopyInto(out *ClaimMatchValueParameters) { +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { *out = *in - if in.MatchValueString != nil { - in, out := &in.MatchValueString, &out.MatchValueString + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(GatewayAuthorizerConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.AuthorizerType != nil { + in, out := &in.AuthorizerType, &out.AuthorizerType *out = new(string) **out = **in } - if in.MatchValueStringList != nil { - in, out := &in.MatchValueStringList, &out.MatchValueStringList - *out = make([]*string, len(*in)) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExceptionLevel != nil { + in, out := &in.ExceptionLevel, &out.ExceptionLevel + *out = new(string) + **out = **in + } + if in.InterceptorConfiguration != nil { + in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration + *out = make([]InterceptorConfigurationParameters, 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 ClaimMatchValueParameters. -func (in *ClaimMatchValueParameters) DeepCopy() *ClaimMatchValueParameters { - if in == nil { - return nil + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn + *out = new(string) + **out = **in } - out := new(ClaimMatchValueParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnInitParameters) DeepCopyInto(out *ClientSecretArnInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnInitParameters. -func (in *ClientSecretArnInitParameters) DeepCopy() *ClientSecretArnInitParameters { - if in == nil { - return nil + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - out := new(ClientSecretArnInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnObservation) DeepCopyInto(out *ClientSecretArnObservation) { - *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 ClientSecretArnObservation. -func (in *ClientSecretArnObservation) DeepCopy() *ClientSecretArnObservation { - if in == nil { - return nil - } - out := new(ClientSecretArnObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClientSecretArnParameters) DeepCopyInto(out *ClientSecretArnParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSecretArnParameters. -func (in *ClientSecretArnParameters) DeepCopy() *ClientSecretArnParameters { - if in == nil { - return nil + if in.PolicyEngineConfiguration != nil { + in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration + *out = new(PolicyEngineConfigurationParameters) + (*in).DeepCopyInto(*out) } - out := new(ClientSecretArnParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationInitParameters) DeepCopyInto(out *CodeConfigurationInitParameters) { - *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeInitParameters) + if in.ProtocolConfiguration != nil { + in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration + *out = new(GatewayProtocolConfigurationParameters) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *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.ProtocolType != nil { + in, out := &in.ProtocolType, &out.ProtocolType + *out = new(string) + **out = **in } - if in.Runtime != nil { - in, out := &in.Runtime, &out.Runtime + 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 CodeConfigurationInitParameters. -func (in *CodeConfigurationInitParameters) DeepCopy() *CodeConfigurationInitParameters { - if in == nil { - return nil + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in } - out := new(CodeConfigurationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationObservation) DeepCopyInto(out *CodeConfigurationObservation) { - *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeObservation) + if in.RoleArnRef != nil { + in, out := &in.RoleArnRef, &out.RoleArnRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.RoleArnSelector != nil { + in, out := &in.RoleArnSelector, &out.RoleArnSelector + *out = new(v1.NamespacedSelector) + (*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.Runtime != nil { - in, out := &in.Runtime, &out.Runtime - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationObservation. -func (in *CodeConfigurationObservation) DeepCopy() *CodeConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { if in == nil { return nil } - out := new(CodeConfigurationObservation) + out := new(GatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeConfigurationParameters) DeepCopyInto(out *CodeConfigurationParameters) { +func (in *GatewayProtocolConfigurationInitParameters) DeepCopyInto(out *GatewayProtocolConfigurationInitParameters) { *out = *in - if in.Code != nil { - in, out := &in.Code, &out.Code - *out = new(CodeParameters) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpInitParameters) (*in).DeepCopyInto(*out) } - if in.EntryPoint != nil { - in, out := &in.EntryPoint, &out.EntryPoint - *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.Runtime != nil { - in, out := &in.Runtime, &out.Runtime - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeConfigurationParameters. -func (in *CodeConfigurationParameters) DeepCopy() *CodeConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationInitParameters. +func (in *GatewayProtocolConfigurationInitParameters) DeepCopy() *GatewayProtocolConfigurationInitParameters { if in == nil { return nil } - out := new(CodeConfigurationParameters) + out := new(GatewayProtocolConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInitParameters) DeepCopyInto(out *CodeInitParameters) { +func (in *GatewayProtocolConfigurationObservation) DeepCopyInto(out *GatewayProtocolConfigurationObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3InitParameters) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInitParameters. -func (in *CodeInitParameters) DeepCopy() *CodeInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationObservation. +func (in *GatewayProtocolConfigurationObservation) DeepCopy() *GatewayProtocolConfigurationObservation { if in == nil { return nil } - out := new(CodeInitParameters) + out := new(GatewayProtocolConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreter) DeepCopyInto(out *CodeInterpreter) { +func (in *GatewayProtocolConfigurationParameters) DeepCopyInto(out *GatewayProtocolConfigurationParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Mcp != nil { + in, out := &in.Mcp, &out.Mcp + *out = new(McpParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreter. -func (in *CodeInterpreter) DeepCopy() *CodeInterpreter { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationParameters. +func (in *GatewayProtocolConfigurationParameters) DeepCopy() *GatewayProtocolConfigurationParameters { if in == nil { return nil } - out := new(CodeInterpreter) + out := new(GatewayProtocolConfigurationParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeInterpreter) 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 *CodeInterpreterCertificateInitParameters) DeepCopyInto(out *CodeInterpreterCertificateInitParameters) { +func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationInitParameters) - (*in).DeepCopyInto(*out) - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateInitParameters. -func (in *CodeInterpreterCertificateInitParameters) DeepCopy() *CodeInterpreterCertificateInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. +func (in *GatewaySpec) DeepCopy() *GatewaySpec { if in == nil { return nil } - out := new(CodeInterpreterCertificateInitParameters) + out := new(GatewaySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterCertificateObservation) DeepCopyInto(out *CodeInterpreterCertificateObservation) { +func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterCertificateObservation. -func (in *CodeInterpreterCertificateObservation) DeepCopy() *CodeInterpreterCertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. +func (in *GatewayStatus) DeepCopy() *GatewayStatus { if in == nil { return nil } - out := new(CodeInterpreterCertificateObservation) + out := new(GatewayStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterCertificateParameters) DeepCopyInto(out *CodeInterpreterCertificateParameters) { +func (in *GatewayTarget) DeepCopyInto(out *GatewayTarget) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(CertificateLocationParameters) - (*in).DeepCopyInto(*out) - } + 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 CodeInterpreterCertificateParameters. -func (in *CodeInterpreterCertificateParameters) DeepCopy() *CodeInterpreterCertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTarget. +func (in *GatewayTarget) DeepCopy() *GatewayTarget { if in == nil { return nil } - out := new(CodeInterpreterCertificateParameters) + out := new(GatewayTarget) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayTarget) 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 *CodeInterpreterInitParameters) DeepCopyInto(out *CodeInterpreterInitParameters) { +func (in *GatewayTargetInitParameters) DeepCopyInto(out *GatewayTargetInitParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationInitParameters) + (*in).DeepCopyInto(*out) } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier *out = new(string) **out = **in } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + if in.GatewayIdentifierRef != nil { + in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + if in.GatewayIdentifierSelector != nil { + in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationInitParameters) + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointInitParameters) (*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.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterInitParameters. -func (in *CodeInterpreterInitParameters) DeepCopy() *CodeInterpreterInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetInitParameters. +func (in *GatewayTargetInitParameters) DeepCopy() *GatewayTargetInitParameters { if in == nil { return nil } - out := new(CodeInterpreterInitParameters) + out := new(GatewayTargetInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterList) DeepCopyInto(out *CodeInterpreterList) { +func (in *GatewayTargetList) DeepCopyInto(out *GatewayTargetList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]CodeInterpreter, len(*in)) + *out = make([]GatewayTarget, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterList. -func (in *CodeInterpreterList) DeepCopy() *CodeInterpreterList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetList. +func (in *GatewayTargetList) DeepCopy() *GatewayTargetList { if in == nil { return nil } - out := new(CodeInterpreterList) + out := new(GatewayTargetList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodeInterpreterList) DeepCopyObject() runtime.Object { +func (in *GatewayTargetList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -3442,129 +10304,216 @@ func (in *CodeInterpreterList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationInitParameters) { +func (in *GatewayTargetObservation) DeepCopyInto(out *GatewayTargetObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigInitParameters) + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationObservation) (*in).DeepCopyInto(*out) } + if in.TargetID != nil { + in, out := &in.TargetID, &out.TargetID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationInitParameters. -func (in *CodeInterpreterNetworkConfigurationInitParameters) DeepCopy() *CodeInterpreterNetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetObservation. +func (in *GatewayTargetObservation) DeepCopy() *GatewayTargetObservation { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationInitParameters) + out := new(GatewayTargetObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopyInto(out *CodeInterpreterNetworkConfigurationObservation) { +func (in *GatewayTargetParameters) DeepCopyInto(out *GatewayTargetParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode + if in.CredentialProviderConfiguration != nil { + in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration + *out = new(CredentialProviderConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigObservation) + if in.GatewayIdentifier != nil { + in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + *out = new(string) + **out = **in + } + if in.GatewayIdentifierRef != nil { + in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.GatewayIdentifierSelector != nil { + in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MetadataConfiguration != nil { + in, out := &in.MetadataConfiguration, &out.MetadataConfiguration + *out = new(MetadataConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(GatewayTargetPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.TargetConfiguration != nil { + in, out := &in.TargetConfiguration, &out.TargetConfiguration + *out = new(TargetConfigurationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationObservation. -func (in *CodeInterpreterNetworkConfigurationObservation) DeepCopy() *CodeInterpreterNetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetParameters. +func (in *GatewayTargetParameters) DeepCopy() *GatewayTargetParameters { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationObservation) + out := new(GatewayTargetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopyInto(out *CodeInterpreterNetworkConfigurationParameters) { +func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) } - if in.VPCConfig != nil { - in, out := &in.VPCConfig, &out.VPCConfig - *out = new(NetworkConfigurationVPCConfigParameters) + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterNetworkConfigurationParameters. -func (in *CodeInterpreterNetworkConfigurationParameters) DeepCopy() *CodeInterpreterNetworkConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointInitParameters. +func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopy() *GatewayTargetPrivateEndpointInitParameters { if in == nil { return nil } - out := new(CodeInterpreterNetworkConfigurationParameters) + out := new(GatewayTargetPrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservation) { +func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CodeInterpreterArn != nil { - in, out := &in.CodeInterpreterArn, &out.CodeInterpreterArn + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.CodeInterpreterID != nil { - in, out := &in.CodeInterpreterID, &out.CodeInterpreterID + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.RoutingDomainRef != nil { + in, out := &in.RoutingDomainRef, &out.RoutingDomainRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn - *out = new(string) - **out = **in + if in.RoutingDomainSelector != nil { + in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + 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.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.SecurityGroupIdsRefs != nil { + in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs + *out = make([]v1.NamespacedReference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationObservation) + if in.SecurityGroupIdsSelector != nil { + in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region - *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 @@ -3582,8 +10531,70 @@ func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservati (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } + if in.VPCIdentifierRef != nil { + in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.VPCIdentifierSelector != nil { + in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceInitParameters. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters { + if in == nil { + return nil + } + out := new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceObservation) { + *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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 @@ -3598,62 +10609,79 @@ func (in *CodeInterpreterObservation) DeepCopyInto(out *CodeInterpreterObservati (*out)[key] = outVal } } + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterObservation. -func (in *CodeInterpreterObservation) DeepCopy() *CodeInterpreterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceObservation. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(CodeInterpreterObservation) + out := new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters) { +func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Certificate != nil { - in, out := &in.Certificate, &out.Certificate - *out = make([]CodeInterpreterCertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.ExecutionRoleArn != nil { - in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.ExecutionRoleArnRef != nil { - in, out := &in.ExecutionRoleArnRef, &out.ExecutionRoleArnRef + if in.RoutingDomainRef != nil { + in, out := &in.RoutingDomainRef, &out.RoutingDomainRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.ExecutionRoleArnSelector != nil { - in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + if in.RoutingDomainSelector != nil { + in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + 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.NetworkConfiguration != nil { - in, out := &in.NetworkConfiguration, &out.NetworkConfiguration - *out = new(CodeInterpreterNetworkConfigurationParameters) + if in.SecurityGroupIdsRefs != nil { + in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs + *out = make([]v1.NamespacedReference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupIdsSelector != nil { + in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region - *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 @@ -3671,869 +10699,891 @@ func (in *CodeInterpreterParameters) DeepCopyInto(out *CodeInterpreterParameters (*out)[key] = outVal } } + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } + if in.VPCIdentifierRef != nil { + in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.VPCIdentifierSelector != nil { + in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterParameters. -func (in *CodeInterpreterParameters) DeepCopy() *CodeInterpreterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceParameters. +func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(CodeInterpreterParameters) + out := new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterSpec) DeepCopyInto(out *CodeInterpreterSpec) { +func (in *GatewayTargetPrivateEndpointObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointObservation) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterSpec. -func (in *CodeInterpreterSpec) DeepCopy() *CodeInterpreterSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointObservation. +func (in *GatewayTargetPrivateEndpointObservation) DeepCopy() *GatewayTargetPrivateEndpointObservation { if in == nil { return nil } - out := new(CodeInterpreterSpec) + out := new(GatewayTargetPrivateEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeInterpreterStatus) DeepCopyInto(out *CodeInterpreterStatus) { +func (in *GatewayTargetPrivateEndpointParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeInterpreterStatus. -func (in *CodeInterpreterStatus) DeepCopy() *CodeInterpreterStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointParameters. +func (in *GatewayTargetPrivateEndpointParameters) DeepCopy() *GatewayTargetPrivateEndpointParameters { if in == nil { return nil } - out := new(CodeInterpreterStatus) + out := new(GatewayTargetPrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeObservation) DeepCopyInto(out *CodeObservation) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3Observation) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in + } + if in.ResourceConfigurationIdentifierRef != nil { + in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ResourceConfigurationIdentifierSelector != nil { + in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeObservation. -func (in *CodeObservation) DeepCopy() *CodeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters { if in == nil { return nil } - out := new(CodeObservation) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodeParameters) DeepCopyInto(out *CodeParameters) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(S3Parameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeParameters. -func (in *CodeParameters) DeepCopy() *CodeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation { if in == nil { return nil } - out := new(CodeParameters) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParameters) { +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationInitParameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionInitParameters) + if in.ResourceConfigurationIdentifierRef != nil { + in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.ResourceConfigurationIdentifierSelector != nil { + in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters. -func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(ConfigurationInitParameters) + out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { +func (in *GatewayTargetSpec) DeepCopyInto(out *GatewayTargetSpec) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationObservation) - (*in).DeepCopyInto(*out) - } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionObservation) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. -func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetSpec. +func (in *GatewayTargetSpec) DeepCopy() *GatewayTargetSpec { if in == nil { return nil } - out := new(ConfigurationObservation) + out := new(GatewayTargetSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { +func (in *GatewayTargetStatus) DeepCopyInto(out *GatewayTargetStatus) { *out = *in - if in.Consolidation != nil { - in, out := &in.Consolidation, &out.Consolidation - *out = new(ConsolidationParameters) - (*in).DeepCopyInto(*out) - } - if in.Extraction != nil { - in, out := &in.Extraction, &out.Extraction - *out = new(ExtractionParameters) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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 ConfigurationParameters. -func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetStatus. +func (in *GatewayTargetStatus) DeepCopy() *GatewayTargetStatus { if in == nil { return nil } - out := new(ConfigurationParameters) + out := new(GatewayTargetStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationInitParameters) DeepCopyInto(out *ConsolidationInitParameters) { +func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt - *out = new(string) - **out = **in - } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationInitParameters. -func (in *ConsolidationInitParameters) DeepCopy() *ConsolidationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsInitParameters. +func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopy() *GatewayWorkloadIdentityDetailsInitParameters { if in == nil { return nil } - out := new(ConsolidationInitParameters) + out := new(GatewayWorkloadIdentityDetailsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationObservation) DeepCopyInto(out *ConsolidationObservation) { +func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopyInto(out *GatewayWorkloadIdentityDetailsObservation) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.WorkloadIdentityArn != nil { + in, out := &in.WorkloadIdentityArn, &out.WorkloadIdentityArn *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsObservation. +func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopy() *GatewayWorkloadIdentityDetailsObservation { + if in == nil { + return nil } + out := new(GatewayWorkloadIdentityDetailsObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationObservation. -func (in *ConsolidationObservation) DeepCopy() *ConsolidationObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsParameters. +func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopy() *GatewayWorkloadIdentityDetailsParameters { if in == nil { return nil } - out := new(ConsolidationObservation) + out := new(GatewayWorkloadIdentityDetailsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ConsolidationParameters) DeepCopyInto(out *ConsolidationParameters) { +func (in *GeminiModelConfigInitParameters) DeepCopyInto(out *GeminiModelConfigInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn *out = new(string) **out = **in } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } if in.ModelID != nil { in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsolidationParameters. -func (in *ConsolidationParameters) DeepCopy() *ConsolidationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigInitParameters. +func (in *GeminiModelConfigInitParameters) DeepCopy() *GeminiModelConfigInitParameters { if in == nil { return nil } - out := new(ConsolidationParameters) + out := new(GeminiModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationInitParameters) DeepCopyInto(out *ContainerConfigurationInitParameters) { +func (in *GeminiModelConfigObservation) DeepCopyInto(out *GeminiModelConfigObservation) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationInitParameters. -func (in *ContainerConfigurationInitParameters) DeepCopy() *ContainerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigObservation. +func (in *GeminiModelConfigObservation) DeepCopy() *GeminiModelConfigObservation { if in == nil { return nil } - out := new(ContainerConfigurationInitParameters) + out := new(GeminiModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationObservation) DeepCopyInto(out *ContainerConfigurationObservation) { +func (in *GeminiModelConfigParameters) DeepCopyInto(out *GeminiModelConfigParameters) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationObservation. -func (in *ContainerConfigurationObservation) DeepCopy() *ContainerConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiModelConfigParameters. +func (in *GeminiModelConfigParameters) DeepCopy() *GeminiModelConfigParameters { if in == nil { return nil } - out := new(ContainerConfigurationObservation) + out := new(GeminiModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerConfigurationParameters) DeepCopyInto(out *ContainerConfigurationParameters) { +func (in *GithubOauth2ProviderConfigInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigInitParameters) { *out = *in - if in.ContainerURI != nil { - in, out := &in.ContainerURI, &out.ContainerURI - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in + } + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationParameters. -func (in *ContainerConfigurationParameters) DeepCopy() *ContainerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigInitParameters. +func (in *GithubOauth2ProviderConfigInitParameters) DeepCopy() *GithubOauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(ContainerConfigurationParameters) + out := new(GithubOauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationInitParameters) DeepCopyInto(out *ContentConfigurationInitParameters) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationInitParameters. -func (in *ContentConfigurationInitParameters) DeepCopy() *ContentConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryInitParameters { if in == nil { return nil } - out := new(ContentConfigurationInitParameters) + out := new(GithubOauth2ProviderConfigOauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationObservation) DeepCopyInto(out *ContentConfigurationObservation) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryObservation) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]OauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationObservation. -func (in *ContentConfigurationObservation) DeepCopy() *ContentConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryObservation. +func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(ContentConfigurationObservation) + out := new(GithubOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContentConfigurationParameters) DeepCopyInto(out *ContentConfigurationParameters) { +func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.Level != nil { - in, out := &in.Level, &out.Level - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationParameters. -func (in *ContentConfigurationParameters) DeepCopy() *ContentConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryParameters. +func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(ContentConfigurationParameters) + out := new(GithubOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationInitParameters) DeepCopyInto(out *CredentialProviderConfigurationInitParameters) { +func (in *GithubOauth2ProviderConfigObservation) DeepCopyInto(out *GithubOauth2ProviderConfigObservation) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyInitParameters) - (*in).DeepCopyInto(*out) - } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleInitParameters) - (*in).DeepCopyInto(*out) - } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughInitParameters) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthInitParameters) - (*in).DeepCopyInto(*out) + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]GithubOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationInitParameters. -func (in *CredentialProviderConfigurationInitParameters) DeepCopy() *CredentialProviderConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigObservation. +func (in *GithubOauth2ProviderConfigObservation) DeepCopy() *GithubOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(CredentialProviderConfigurationInitParameters) + out := new(GithubOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationObservation) DeepCopyInto(out *CredentialProviderConfigurationObservation) { +func (in *GithubOauth2ProviderConfigParameters) DeepCopyInto(out *GithubOauth2ProviderConfigParameters) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyObservation) - (*in).DeepCopyInto(*out) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsObservation) - (*in).DeepCopyInto(*out) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleObservation) - (*in).DeepCopyInto(*out) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughParameters) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthObservation) - (*in).DeepCopyInto(*out) + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationObservation. -func (in *CredentialProviderConfigurationObservation) DeepCopy() *CredentialProviderConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigParameters. +func (in *GithubOauth2ProviderConfigParameters) DeepCopy() *GithubOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(CredentialProviderConfigurationObservation) + out := new(GithubOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CredentialProviderConfigurationParameters) DeepCopyInto(out *CredentialProviderConfigurationParameters) { +func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigInitParameters) { *out = *in - if in.APIKey != nil { - in, out := &in.APIKey, &out.APIKey - *out = new(APIKeyParameters) - (*in).DeepCopyInto(*out) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.CallerIAMCredentials != nil { - in, out := &in.CallerIAMCredentials, &out.CallerIAMCredentials - *out = new(CallerIAMCredentialsParameters) - (*in).DeepCopyInto(*out) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } - if in.GatewayIAMRole != nil { - in, out := &in.GatewayIAMRole, &out.GatewayIAMRole - *out = new(GatewayIAMRoleParameters) - (*in).DeepCopyInto(*out) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } - if in.JwtPassthrough != nil { - in, out := &in.JwtPassthrough, &out.JwtPassthrough - *out = new(JwtPassthroughParameters) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.Oauth != nil { - in, out := &in.Oauth, &out.Oauth - *out = new(OauthParameters) - (*in).DeepCopyInto(*out) + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfigurationParameters. -func (in *CredentialProviderConfigurationParameters) DeepCopy() *CredentialProviderConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigInitParameters. +func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopy() *GoogleOauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(CredentialProviderConfigurationParameters) + out := new(GoogleOauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueInitParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator - *out = new(string) - **out = **in - } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueInitParameters. -func (in *CustomClaimAuthorizingClaimMatchValueInitParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueInitParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueObservation) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueObservation) - (*in).DeepCopyInto(*out) + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueObservation. -func (in *CustomClaimAuthorizingClaimMatchValueObservation) DeepCopy() *CustomClaimAuthorizingClaimMatchValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueObservation) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopyInto(out *CustomClaimAuthorizingClaimMatchValueParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.ClaimMatchOperator != nil { - in, out := &in.ClaimMatchOperator, &out.ClaimMatchOperator - *out = new(string) - **out = **in - } - if in.ClaimMatchValue != nil { - in, out := &in.ClaimMatchValue, &out.ClaimMatchValue - *out = new(AuthorizingClaimMatchValueClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimAuthorizingClaimMatchValueParameters. -func (in *CustomClaimAuthorizingClaimMatchValueParameters) DeepCopy() *CustomClaimAuthorizingClaimMatchValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(CustomClaimAuthorizingClaimMatchValueParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimInitParameters) DeepCopyInto(out *CustomClaimInitParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueInitParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimInitParameters. -func (in *CustomClaimInitParameters) DeepCopy() *CustomClaimInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters { if in == nil { return nil } - out := new(CustomClaimInitParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimObservation) DeepCopyInto(out *CustomClaimObservation) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryObservation) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueObservation) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimObservation. -func (in *CustomClaimObservation) DeepCopy() *CustomClaimObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryObservation. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(CustomClaimObservation) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomClaimParameters) DeepCopyInto(out *CustomClaimParameters) { +func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(AuthorizingClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomClaimParameters. -func (in *CustomClaimParameters) DeepCopy() *CustomClaimParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryParameters. +func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(CustomClaimParameters) + out := new(GoogleOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) { +func (in *GoogleOauth2ProviderConfigObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigObservation) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *out = make([]*string, len(*in)) + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryObservation, 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 CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigObservation. +func (in *GoogleOauth2ProviderConfigObservation) DeepCopy() *GoogleOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) + out := new(GoogleOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) { +func (in *GoogleOauth2ProviderConfigParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) + **out = **in } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerAllowedWorkloadConfigurationObservation. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigParameters. +func (in *GoogleOauth2ProviderConfigParameters) DeepCopy() *GoogleOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationObservation) + out := new(GoogleOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopyInto(out *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) { +func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters) { *out = *in - if in.HostingEnvironment != nil { - in, out := &in.HostingEnvironment, &out.HostingEnvironment - *out = make([]AllowedWorkloadConfigurationHostingEnvironmentParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.WorkloadIdentities != nil { - in, out := &in.WorkloadIdentities, &out.WorkloadIdentities - *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.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerAllowedWorkloadConfigurationParameters. -func (in *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) DeepCopy() *CustomJwtAuthorizerAllowedWorkloadConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPInitParameters. +func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + out := new(HTTPInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimInitParameters) { +func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueInitParameters) + if in.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeObservation) (*in).DeepCopyInto(*out) } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimInitParameters. -func (in *CustomJwtAuthorizerCustomClaimInitParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPObservation. +func (in *HTTPObservation) DeepCopy() *HTTPObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimInitParameters) + out := new(HTTPObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimObservation) { +func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueObservation) + if in.AgentcoreRuntime != nil { + in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime + *out = new(AgentcoreRuntimeParameters) (*in).DeepCopyInto(*out) } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerCustomClaimObservation. -func (in *CustomJwtAuthorizerCustomClaimObservation) DeepCopy() *CustomJwtAuthorizerCustomClaimObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPParameters. +func (in *HTTPParameters) DeepCopy() *HTTPParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimObservation) + out := new(HTTPParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopyInto(out *CustomJwtAuthorizerCustomClaimParameters) { +func (in *Harness) DeepCopyInto(out *Harness) { *out = *in - if in.AuthorizingClaimMatchValue != nil { - in, out := &in.AuthorizingClaimMatchValue, &out.AuthorizingClaimMatchValue - *out = new(CustomClaimAuthorizingClaimMatchValueParameters) - (*in).DeepCopyInto(*out) - } - if in.InboundTokenClaimName != nil { - in, out := &in.InboundTokenClaimName, &out.InboundTokenClaimName - *out = new(string) - **out = **in - } - if in.InboundTokenClaimValueType != nil { - in, out := &in.InboundTokenClaimValueType, &out.InboundTokenClaimValueType - *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 CustomJwtAuthorizerCustomClaimParameters. -func (in *CustomJwtAuthorizerCustomClaimParameters) DeepCopy() *CustomJwtAuthorizerCustomClaimParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Harness. +func (in *Harness) DeepCopy() *Harness { if in == nil { return nil } - out := new(CustomJwtAuthorizerCustomClaimParameters) + out := new(Harness) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Harness) 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 *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthorizerInitParameters) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4570,12 +11620,12 @@ func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthoriz } if in.AllowedWorkloadConfiguration != nil { in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationInitParameters) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters) (*in).DeepCopyInto(*out) } if in.CustomClaim != nil { in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimInitParameters, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4587,30 +11637,30 @@ func (in *CustomJwtAuthorizerInitParameters) DeepCopyInto(out *CustomJwtAuthoriz } if in.PrivateEndpoint != nil { in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointInitParameters) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters) (*in).DeepCopyInto(*out) } if in.PrivateEndpointOverrides != nil { in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesInitParameters, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerInitParameters. -func (in *CustomJwtAuthorizerInitParameters) DeepCopy() *CustomJwtAuthorizerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerInitParameters) + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerObservation) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4647,12 +11697,12 @@ func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerO } if in.AllowedWorkloadConfiguration != nil { in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationObservation) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation) (*in).DeepCopyInto(*out) } if in.CustomClaim != nil { in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimObservation, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4664,30 +11714,30 @@ func (in *CustomJwtAuthorizerObservation) DeepCopyInto(out *CustomJwtAuthorizerO } if in.PrivateEndpoint != nil { in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointObservation) + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation) (*in).DeepCopyInto(*out) } if in.PrivateEndpointOverrides != nil { in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesObservation, len(*in)) + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerObservation. -func (in *CustomJwtAuthorizerObservation) DeepCopy() *CustomJwtAuthorizerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerObservation) + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerParameters) { +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) { *out = *in if in.AllowedAudience != nil { in, out := &in.AllowedAudience, &out.AllowedAudience @@ -4722,87 +11772,288 @@ func (in *CustomJwtAuthorizerParameters) DeepCopyInto(out *CustomJwtAuthorizerPa } } } - if in.AllowedWorkloadConfiguration != nil { - in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration - *out = new(AllowedWorkloadConfigurationParameters) - (*in).DeepCopyInto(*out) + if in.AllowedWorkloadConfiguration != nil { + in, out := &in.AllowedWorkloadConfiguration, &out.AllowedWorkloadConfiguration + *out = new(AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.CustomClaim != nil { + in, out := &in.CustomClaim, &out.CustomClaim + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters) + (*in).DeepCopyInto(*out) + } + if in.PrivateEndpointOverrides != nil { + in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides + *out = make([]AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters. +func (in *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) DeepCopy() *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationInitParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationInitParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationInitParameters. +func (in *HarnessAuthorizerConfigurationInitParameters) DeepCopy() *HarnessAuthorizerConfigurationInitParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationObservation) DeepCopyInto(out *HarnessAuthorizerConfigurationObservation) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationObservation. +func (in *HarnessAuthorizerConfigurationObservation) DeepCopy() *HarnessAuthorizerConfigurationObservation { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessAuthorizerConfigurationParameters) DeepCopyInto(out *HarnessAuthorizerConfigurationParameters) { + *out = *in + if in.CustomJwtAuthorizer != nil { + in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer + *out = new(HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessAuthorizerConfigurationParameters. +func (in *HarnessAuthorizerConfigurationParameters) DeepCopy() *HarnessAuthorizerConfigurationParameters { + if in == nil { + return nil + } + out := new(HarnessAuthorizerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HarnessInitParameters) DeepCopyInto(out *HarnessInitParameters) { + *out = *in + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools + *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.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactInitParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentVariables != nil { + in, out := &in.EnvironmentVariables, &out.EnvironmentVariables + *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.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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName + *out = new(string) + **out = **in + } + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptInitParameters, 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.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) + **out = **in } - if in.CustomClaim != nil { - in, out := &in.CustomClaim, &out.CustomClaim - *out = make([]CustomClaimParameters, len(*in)) + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointParameters) + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationInitParameters) (*in).DeepCopyInto(*out) } - if in.PrivateEndpointOverrides != nil { - in, out := &in.PrivateEndpointOverrides, &out.PrivateEndpointOverrides - *out = make([]PrivateEndpointOverridesParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerParameters. -func (in *CustomJwtAuthorizerParameters) DeepCopy() *CustomJwtAuthorizerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessInitParameters. +func (in *HarnessInitParameters) DeepCopy() *HarnessInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerParameters) + out := new(HarnessInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointInitParameters) { +func (in *HarnessList) DeepCopyInto(out *HarnessList) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Harness, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessList. +func (in *HarnessList) DeepCopy() *HarnessList { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointInitParameters) + out := new(HarnessList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HarnessList) 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 *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) { +func (in *HarnessObservation) DeepCopyInto(out *HarnessObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain - *out = new(string) - **out = **in - } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4812,87 +12063,103 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) De } } } - 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.Arn != nil { + in, out := &in.Arn, &out.Arn + *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.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentObservation) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactObservation) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArn != nil { + in, out := &in.ExecutionRoleArn, &out.ExecutionRoleArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters { - if in == nil { - return nil + if in.HarnessID != nil { + in, out := &in.HarnessID, &out.HarnessID + *out = new(string) + **out = **in } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) { - *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds - *out = make([]*string, len(*in)) + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryObservation) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillObservation, 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.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds - *out = make([]*string, len(*in)) + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptParameters, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + (*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.Tags != nil { - in, out := &in.Tags, &out.Tags + 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 @@ -4907,38 +12174,40 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepC (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) **out = **in } + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessObservation. +func (in *HarnessObservation) DeepCopy() *HarnessObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) + out := new(HarnessObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) { +func (in *HarnessParameters) DeepCopyInto(out *HarnessParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain - *out = new(string) - **out = **in - } - if in.SecurityGroupIds != nil { - in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + if in.AllowedTools != nil { + in, out := &in.AllowedTools, &out.AllowedTools *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -4948,15 +12217,83 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCo } } } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds - *out = make([]*string, len(*in)) + if in.AuthorizerConfiguration != nil { + in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration + *out = new(HarnessAuthorizerConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = new(EnvironmentParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentArtifact != nil { + in, out := &in.EnvironmentArtifact, &out.EnvironmentArtifact + *out = new(EnvironmentArtifactParameters) + (*in).DeepCopyInto(*out) + } + if in.EnvironmentVariablesSecretRef != nil { + in, out := &in.EnvironmentVariablesSecretRef, &out.EnvironmentVariablesSecretRef + *out = new(v1.LocalSecretReference) + **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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ExecutionRoleArnSelector != nil { + in, out := &in.ExecutionRoleArnSelector, &out.ExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.HarnessName != nil { + in, out := &in.HarnessName, &out.HarnessName + *out = new(string) + **out = **in + } + if in.MaxIterations != nil { + in, out := &in.MaxIterations, &out.MaxIterations + *out = new(float64) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(MemoryParameters) + (*in).DeepCopyInto(*out) + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(ModelParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Skill != nil { + in, out := &in.Skill, &out.Skill + *out = make([]SkillParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SystemPrompt != nil { + in, out := &in.SystemPrompt, &out.SystemPrompt + *out = make([]SystemPromptParameters, 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.Tags != nil { @@ -4975,2405 +12312,2347 @@ func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCo (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.TimeoutSeconds != nil { + in, out := &in.TimeoutSeconds, &out.TimeoutSeconds + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters. -func (in *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters { - if in == nil { - return nil - } - out := new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointObservation) { - *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Tool != nil { + in, out := &in.Tool, &out.Tool + *out = make([]ToolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) + if in.Truncation != nil { + in, out := &in.Truncation, &out.Truncation + *out = new(TruncationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointObservation. -func (in *CustomJwtAuthorizerPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessParameters. +func (in *HarnessParameters) DeepCopy() *HarnessParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointObservation) + out := new(HarnessParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) { +func (in *HarnessSpec) DeepCopyInto(out *HarnessSpec) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessSpec. +func (in *HarnessSpec) DeepCopy() *HarnessSpec { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesInitParameters) + out := new(HarnessSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesObservation) { +func (in *HarnessStatus) DeepCopyInto(out *HarnessStatus) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesObservation. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarnessStatus. +func (in *HarnessStatus) DeepCopy() *HarnessStatus { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesObservation) + out := new(HarnessStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesParameters) { +func (in *HostingEnvironmentInitParameters) DeepCopyInto(out *HostingEnvironmentInitParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentInitParameters. +func (in *HostingEnvironmentInitParameters) DeepCopy() *HostingEnvironmentInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesParameters) + out := new(HostingEnvironmentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) { +func (in *HostingEnvironmentObservation) DeepCopyInto(out *HostingEnvironmentObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + 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 CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentObservation. +func (in *HostingEnvironmentObservation) DeepCopy() *HostingEnvironmentObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters) + out := new(HostingEnvironmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) { +func (in *HostingEnvironmentParameters) DeepCopyInto(out *HostingEnvironmentParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + 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 CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentParameters. +func (in *HostingEnvironmentParameters) DeepCopy() *HostingEnvironmentParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation) + out := new(HostingEnvironmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) { +func (in *IndexedKeyInitParameters) DeepCopyInto(out *IndexedKeyInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters. -func (in *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyInitParameters. +func (in *IndexedKeyInitParameters) DeepCopy() *IndexedKeyInitParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters) + out := new(IndexedKeyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointParameters) { +func (in *IndexedKeyObservation) DeepCopyInto(out *IndexedKeyObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(CustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointParameters. -func (in *CustomJwtAuthorizerPrivateEndpointParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointParameters { - if in == nil { - return nil + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - out := new(CustomJwtAuthorizerPrivateEndpointParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) { - *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyObservation. +func (in *IndexedKeyObservation) DeepCopy() *IndexedKeyObservation { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(IndexedKeyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *IndexedKeyParameters) DeepCopyInto(out *IndexedKeyParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Key != nil { + in, out := &in.Key, &out.Key *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation { - if in == nil { - return nil - } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) { - *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyParameters. +func (in *IndexedKeyParameters) DeepCopy() *IndexedKeyParameters { if in == nil { return nil } - out := new(CustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(IndexedKeyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigInitParameters) DeepCopyInto(out *CustomOauth2ProviderConfigInitParameters) { +func (in *InferenceConfigInitParameters) DeepCopyInto(out *InferenceConfigInitParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryInitParameters) - (*in).DeepCopyInto(*out) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigInitParameters. -func (in *CustomOauth2ProviderConfigInitParameters) DeepCopy() *CustomOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigInitParameters. +func (in *InferenceConfigInitParameters) DeepCopy() *InferenceConfigInitParameters { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigInitParameters) + out := new(InferenceConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigObservation) DeepCopyInto(out *CustomOauth2ProviderConfigObservation) { +func (in *InferenceConfigObservation) DeepCopyInto(out *InferenceConfigObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryObservation) - (*in).DeepCopyInto(*out) + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigObservation. -func (in *CustomOauth2ProviderConfigObservation) DeepCopy() *CustomOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigObservation. +func (in *InferenceConfigObservation) DeepCopy() *InferenceConfigObservation { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigObservation) + out := new(InferenceConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomOauth2ProviderConfigParameters) DeepCopyInto(out *CustomOauth2ProviderConfigParameters) { +func (in *InferenceConfigParameters) DeepCopyInto(out *InferenceConfigParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens *out = new(float64) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.StopSequences != nil { + in, out := &in.StopSequences, &out.StopSequences + *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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = new(OauthDiscoveryParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomOauth2ProviderConfigParameters. -func (in *CustomOauth2ProviderConfigParameters) DeepCopy() *CustomOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceConfigParameters. +func (in *InferenceConfigParameters) DeepCopy() *InferenceConfigParameters { if in == nil { return nil } - out := new(CustomOauth2ProviderConfigParameters) + out := new(InferenceConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointInitParameters) DeepCopyInto(out *EFSAccessPointInitParameters) { +func (in *InlineFunctionInitParameters) DeepCopyInto(out *InlineFunctionInitParameters) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + in.InputSchemaSecretRef.DeepCopyInto(&out.InputSchemaSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSAccessPointInitParameters. -func (in *EFSAccessPointInitParameters) DeepCopy() *EFSAccessPointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionInitParameters. +func (in *InlineFunctionInitParameters) DeepCopy() *InlineFunctionInitParameters { if in == nil { return nil } - out := new(EFSAccessPointInitParameters) + out := new(InlineFunctionInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointObservation) DeepCopyInto(out *EFSAccessPointObservation) { +func (in *InlineFunctionObservation) DeepCopyInto(out *InlineFunctionObservation) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + 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 EFSAccessPointObservation. -func (in *EFSAccessPointObservation) DeepCopy() *EFSAccessPointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionObservation. +func (in *InlineFunctionObservation) DeepCopy() *InlineFunctionObservation { if in == nil { return nil } - out := new(EFSAccessPointObservation) + out := new(InlineFunctionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EFSAccessPointParameters) DeepCopyInto(out *EFSAccessPointParameters) { +func (in *InlineFunctionParameters) DeepCopyInto(out *InlineFunctionParameters) { *out = *in - if in.AccessPointArn != nil { - in, out := &in.AccessPointArn, &out.AccessPointArn - *out = new(string) - **out = **in - } - if in.MountPath != nil { - in, out := &in.MountPath, &out.MountPath + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + in.InputSchemaSecretRef.DeepCopyInto(&out.InputSchemaSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSAccessPointParameters. -func (in *EFSAccessPointParameters) DeepCopy() *EFSAccessPointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineFunctionParameters. +func (in *InlineFunctionParameters) DeepCopy() *InlineFunctionParameters { if in == nil { return nil } - out := new(EFSAccessPointParameters) + out := new(InlineFunctionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyInitParameters) DeepCopyInto(out *EnterprisePolicyInitParameters) { +func (in *InlinePayloadInitParameters) DeepCopyInto(out *InlinePayloadInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaInitParameters) (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyInitParameters. -func (in *EnterprisePolicyInitParameters) DeepCopy() *EnterprisePolicyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadInitParameters. +func (in *InlinePayloadInitParameters) DeepCopy() *InlinePayloadInitParameters { if in == nil { return nil } - out := new(EnterprisePolicyInitParameters) + out := new(InlinePayloadInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationInitParameters) DeepCopyInto(out *EnterprisePolicyLocationInitParameters) { +func (in *InlinePayloadObservation) DeepCopyInto(out *InlinePayloadObservation) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3InitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaObservation) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationInitParameters. -func (in *EnterprisePolicyLocationInitParameters) DeepCopy() *EnterprisePolicyLocationInitParameters { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(EnterprisePolicyLocationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationObservation) DeepCopyInto(out *EnterprisePolicyLocationObservation) { - *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3Observation) + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationObservation. -func (in *EnterprisePolicyLocationObservation) DeepCopy() *EnterprisePolicyLocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadObservation. +func (in *InlinePayloadObservation) DeepCopy() *InlinePayloadObservation { if in == nil { return nil } - out := new(EnterprisePolicyLocationObservation) + out := new(InlinePayloadObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyLocationParameters) DeepCopyInto(out *EnterprisePolicyLocationParameters) { +func (in *InlinePayloadParameters) DeepCopyInto(out *InlinePayloadParameters) { *out = *in - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(LocationS3Parameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(InputSchemaParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputSchema != nil { + in, out := &in.OutputSchema, &out.OutputSchema + *out = new(OutputSchemaParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyLocationParameters. -func (in *EnterprisePolicyLocationParameters) DeepCopy() *EnterprisePolicyLocationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadParameters. +func (in *InlinePayloadParameters) DeepCopy() *InlinePayloadParameters { if in == nil { return nil } - out := new(EnterprisePolicyLocationParameters) + out := new(InlinePayloadParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyObservation) DeepCopyInto(out *EnterprisePolicyObservation) { +func (in *InputConfigurationInitParameters) DeepCopyInto(out *InputConfigurationInitParameters) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationObservation) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyObservation. -func (in *EnterprisePolicyObservation) DeepCopy() *EnterprisePolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationInitParameters. +func (in *InputConfigurationInitParameters) DeepCopy() *InputConfigurationInitParameters { if in == nil { return nil } - out := new(EnterprisePolicyObservation) + out := new(InputConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EnterprisePolicyParameters) DeepCopyInto(out *EnterprisePolicyParameters) { +func (in *InputConfigurationObservation) DeepCopyInto(out *InputConfigurationObservation) { *out = *in - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(EnterprisePolicyLocationParameters) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterprisePolicyParameters. -func (in *EnterprisePolicyParameters) DeepCopy() *EnterprisePolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationObservation. +func (in *InputConfigurationObservation) DeepCopy() *InputConfigurationObservation { if in == nil { return nil } - out := new(EnterprisePolicyParameters) + out := new(InputConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionInitParameters) DeepCopyInto(out *ExtractionInitParameters) { +func (in *InputConfigurationParameters) DeepCopyInto(out *InputConfigurationParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt - *out = new(string) - **out = **in - } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID - *out = new(string) + if in.PassRequestHeaders != nil { + in, out := &in.PassRequestHeaders, &out.PassRequestHeaders + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionInitParameters. -func (in *ExtractionInitParameters) DeepCopy() *ExtractionInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationParameters. +func (in *InputConfigurationParameters) DeepCopy() *InputConfigurationParameters { if in == nil { return nil } - out := new(ExtractionInitParameters) + out := new(InputConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionObservation) DeepCopyInto(out *ExtractionObservation) { +func (in *InputSchemaInitParameters) DeepCopyInto(out *InputSchemaInitParameters) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyInitParameters, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionObservation. -func (in *ExtractionObservation) DeepCopy() *ExtractionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaInitParameters. +func (in *InputSchemaInitParameters) DeepCopy() *InputSchemaInitParameters { if in == nil { return nil } - out := new(ExtractionObservation) + out := new(InputSchemaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtractionParameters) DeepCopyInto(out *ExtractionParameters) { +func (in *InputSchemaObservation) DeepCopyInto(out *InputSchemaObservation) { *out = *in - if in.AppendToPrompt != nil { - in, out := &in.AppendToPrompt, &out.AppendToPrompt + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ModelID != nil { - in, out := &in.ModelID, &out.ModelID + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsObservation) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyObservation, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionParameters. -func (in *ExtractionParameters) DeepCopy() *ExtractionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaObservation. +func (in *InputSchemaObservation) DeepCopy() *InputSchemaObservation { if in == nil { return nil } - out := new(ExtractionParameters) + out := new(InputSchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationInitParameters) DeepCopyInto(out *FilesystemConfigurationInitParameters) { +func (in *InputSchemaParameters) DeepCopyInto(out *InputSchemaParameters) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsParameters) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageInitParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]InputSchemaPropertyParameters, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationInitParameters. -func (in *FilesystemConfigurationInitParameters) DeepCopy() *FilesystemConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaParameters. +func (in *InputSchemaParameters) DeepCopy() *InputSchemaParameters { if in == nil { return nil } - out := new(FilesystemConfigurationInitParameters) + out := new(InputSchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationObservation) DeepCopyInto(out *FilesystemConfigurationObservation) { +func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaPropertyInitParameters) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsInitParameters) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageObservation) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemConfigurationObservation. -func (in *FilesystemConfigurationObservation) DeepCopy() *FilesystemConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyInitParameters. +func (in *InputSchemaPropertyInitParameters) DeepCopy() *InputSchemaPropertyInitParameters { if in == nil { return nil } - out := new(FilesystemConfigurationObservation) + out := new(InputSchemaPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FilesystemConfigurationParameters) DeepCopyInto(out *FilesystemConfigurationParameters) { +func (in *InputSchemaPropertyObservation) DeepCopyInto(out *InputSchemaPropertyObservation) { *out = *in - if in.EFSAccessPoint != nil { - in, out := &in.EFSAccessPoint, &out.EFSAccessPoint - *out = new(EFSAccessPointParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3FilesAccessPoint != nil { - in, out := &in.S3FilesAccessPoint, &out.S3FilesAccessPoint - *out = new(S3FilesAccessPointParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsObservation) (*in).DeepCopyInto(*out) } - if in.SessionStorage != nil { - in, out := &in.SessionStorage, &out.SessionStorage - *out = new(SessionStorageParameters) - (*in).DeepCopyInto(*out) + 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 FilesystemConfigurationParameters. -func (in *FilesystemConfigurationParameters) DeepCopy() *FilesystemConfigurationParameters { - if in == nil { - return nil + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(FilesystemConfigurationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Gateway) DeepCopyInto(out *Gateway) { - *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 Gateway. -func (in *Gateway) DeepCopy() *Gateway { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyObservation. +func (in *InputSchemaPropertyObservation) DeepCopy() *InputSchemaPropertyObservation { if in == nil { return nil } - out := new(Gateway) + out := new(InputSchemaPropertyObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Gateway) 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 *GatewayAuthorizerConfigurationInitParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationInitParameters) { +func (in *InputSchemaPropertyParameters) DeepCopyInto(out *InputSchemaPropertyParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsParameters) (*in).DeepCopyInto(*out) } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationInitParameters. -func (in *GatewayAuthorizerConfigurationInitParameters) DeepCopy() *GatewayAuthorizerConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyParameters. +func (in *InputSchemaPropertyParameters) DeepCopy() *InputSchemaPropertyParameters { if in == nil { return nil } - out := new(GatewayAuthorizerConfigurationInitParameters) + out := new(InputSchemaPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayAuthorizerConfigurationObservation) DeepCopyInto(out *GatewayAuthorizerConfigurationObservation) { +func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorConfigurationInitParameters) { *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerObservation) + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationInitParameters) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationObservation. -func (in *GatewayAuthorizerConfigurationObservation) DeepCopy() *GatewayAuthorizerConfigurationObservation { - if in == nil { - return nil + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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(GatewayAuthorizerConfigurationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayAuthorizerConfigurationParameters) DeepCopyInto(out *GatewayAuthorizerConfigurationParameters) { - *out = *in - if in.CustomJwtAuthorizer != nil { - in, out := &in.CustomJwtAuthorizer, &out.CustomJwtAuthorizer - *out = new(AuthorizerConfigurationCustomJwtAuthorizerParameters) + if in.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAuthorizerConfigurationParameters. -func (in *GatewayAuthorizerConfigurationParameters) DeepCopy() *GatewayAuthorizerConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationInitParameters. +func (in *InterceptorConfigurationInitParameters) DeepCopy() *InterceptorConfigurationInitParameters { if in == nil { return nil } - out := new(GatewayAuthorizerConfigurationParameters) + out := new(InterceptorConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleInitParameters) DeepCopyInto(out *GatewayIAMRoleInitParameters) { +func (in *InterceptorConfigurationObservation) DeepCopyInto(out *InterceptorConfigurationObservation) { *out = *in - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationObservation) + (*in).DeepCopyInto(*out) + } + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleInitParameters. -func (in *GatewayIAMRoleInitParameters) DeepCopy() *GatewayIAMRoleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationObservation. +func (in *InterceptorConfigurationObservation) DeepCopy() *InterceptorConfigurationObservation { if in == nil { return nil } - out := new(GatewayIAMRoleInitParameters) + out := new(InterceptorConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleObservation) DeepCopyInto(out *GatewayIAMRoleObservation) { +func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfigurationParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.InputConfiguration != nil { + in, out := &in.InputConfiguration, &out.InputConfiguration + *out = new(InputConfigurationParameters) + (*in).DeepCopyInto(*out) } - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.InterceptionPoints != nil { + in, out := &in.InterceptionPoints, &out.InterceptionPoints + *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.Interceptor != nil { + in, out := &in.Interceptor, &out.Interceptor + *out = new(InterceptorParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleObservation. -func (in *GatewayIAMRoleObservation) DeepCopy() *GatewayIAMRoleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationParameters. +func (in *InterceptorConfigurationParameters) DeepCopy() *InterceptorConfigurationParameters { if in == nil { return nil } - out := new(GatewayIAMRoleObservation) + out := new(InterceptorConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayIAMRoleParameters) DeepCopyInto(out *GatewayIAMRoleParameters) { +func (in *InterceptorInitParameters) DeepCopyInto(out *InterceptorInitParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Service != nil { - in, out := &in.Service, &out.Service - *out = new(string) - **out = **in + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIAMRoleParameters. -func (in *GatewayIAMRoleParameters) DeepCopy() *GatewayIAMRoleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorInitParameters. +func (in *InterceptorInitParameters) DeepCopy() *InterceptorInitParameters { if in == nil { return nil } - out := new(GatewayIAMRoleParameters) + out := new(InterceptorInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters) { +func (in *InterceptorObservation) DeepCopyInto(out *InterceptorObservation) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel - *out = new(string) - **out = **in - } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationInitParameters, 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.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType - *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.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector - *out = new(v1.NamespacedSelector) + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaObservation) (*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 GatewayInitParameters. -func (in *GatewayInitParameters) DeepCopy() *GatewayInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorObservation. +func (in *InterceptorObservation) DeepCopy() *InterceptorObservation { if in == nil { return nil } - out := new(GatewayInitParameters) + out := new(InterceptorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayList) DeepCopyInto(out *GatewayList) { +func (in *InterceptorParameters) DeepCopyInto(out *InterceptorParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Gateway, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Lambda != nil { + in, out := &in.Lambda, &out.Lambda + *out = new(LambdaParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. -func (in *GatewayList) DeepCopy() *GatewayList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorParameters. +func (in *InterceptorParameters) DeepCopy() *InterceptorParameters { if in == nil { return nil } - out := new(GatewayList) + out := new(InterceptorParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayList) 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 *GatewayObservation) DeepCopyInto(out *GatewayObservation) { +func (in *ItemsInitParameters) DeepCopyInto(out *ItemsInitParameters) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel - *out = new(string) - **out = **in - } - if in.GatewayArn != nil { - in, out := &in.GatewayArn, &out.GatewayArn - *out = new(string) - **out = **in - } - if in.GatewayID != nil { - in, out := &in.GatewayID, &out.GatewayID - *out = new(string) - **out = **in - } - if in.GatewayURL != nil { - in, out := &in.GatewayURL, &out.GatewayURL - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsInitParameters) + (*in).DeepCopyInto(*out) } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationObservation, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsInitParameters. +func (in *ItemsInitParameters) DeepCopy() *ItemsInitParameters { + if in == nil { + return nil + } + out := new(ItemsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemsItemsInitParameters) DeepCopyInto(out *ItemsItemsInitParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.Type != nil { + in, out := &in.Type, &out.Type *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.WorkloadIdentityDetails != nil { - in, out := &in.WorkloadIdentityDetails, &out.WorkloadIdentityDetails - *out = make([]GatewayWorkloadIdentityDetailsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. -func (in *GatewayObservation) DeepCopy() *GatewayObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsInitParameters. +func (in *ItemsItemsInitParameters) DeepCopy() *ItemsItemsInitParameters { if in == nil { return nil } - out := new(GatewayObservation) + out := new(ItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { +func (in *ItemsItemsObservation) DeepCopyInto(out *ItemsItemsObservation) { *out = *in - if in.AuthorizerConfiguration != nil { - in, out := &in.AuthorizerConfiguration, &out.AuthorizerConfiguration - *out = new(GatewayAuthorizerConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.AuthorizerType != nil { - in, out := &in.AuthorizerType, &out.AuthorizerType - *out = new(string) - **out = **in - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ExceptionLevel != nil { - in, out := &in.ExceptionLevel, &out.ExceptionLevel + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.InterceptorConfiguration != nil { - in, out := &in.InterceptorConfiguration, &out.InterceptorConfiguration - *out = make([]InterceptorConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *out = new(string) **out = **in } - if in.KMSKeyArnRef != nil { - in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.PolicyEngineConfiguration != nil { - in, out := &in.PolicyEngineConfiguration, &out.PolicyEngineConfiguration - *out = new(PolicyEngineConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.ProtocolConfiguration != nil { - in, out := &in.ProtocolConfiguration, &out.ProtocolConfiguration - *out = new(GatewayProtocolConfigurationParameters) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsObservation. +func (in *ItemsItemsObservation) DeepCopy() *ItemsItemsObservation { + if in == nil { + return nil } - if in.ProtocolType != nil { - in, out := &in.ProtocolType, &out.ProtocolType + out := new(ItemsItemsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemsItemsParameters) DeepCopyInto(out *ItemsItemsParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *out = new(string) **out = **in } - if in.RoleArnRef != nil { - in, out := &in.RoleArnRef, &out.RoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.RoleArnSelector != nil { - in, out := &in.RoleArnSelector, &out.RoleArnSelector - *out = new(v1.NamespacedSelector) - (*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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. -func (in *GatewayParameters) DeepCopy() *GatewayParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsParameters. +func (in *ItemsItemsParameters) DeepCopy() *ItemsItemsParameters { if in == nil { return nil } - out := new(GatewayParameters) + out := new(ItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationInitParameters) DeepCopyInto(out *GatewayProtocolConfigurationInitParameters) { +func (in *ItemsObservation) DeepCopyInto(out *ItemsObservation) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpInitParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsObservation) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationInitParameters. -func (in *GatewayProtocolConfigurationInitParameters) DeepCopy() *GatewayProtocolConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsObservation. +func (in *ItemsObservation) DeepCopy() *ItemsObservation { if in == nil { return nil } - out := new(GatewayProtocolConfigurationInitParameters) + out := new(ItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationObservation) DeepCopyInto(out *GatewayProtocolConfigurationObservation) { +func (in *ItemsParameters) DeepCopyInto(out *ItemsParameters) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpObservation) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(ItemsItemsParameters) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationObservation. -func (in *GatewayProtocolConfigurationObservation) DeepCopy() *GatewayProtocolConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsParameters. +func (in *ItemsParameters) DeepCopy() *ItemsParameters { if in == nil { return nil } - out := new(GatewayProtocolConfigurationObservation) + out := new(ItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayProtocolConfigurationParameters) DeepCopyInto(out *GatewayProtocolConfigurationParameters) { +func (in *ItemsPropertyInitParameters) DeepCopyInto(out *ItemsPropertyInitParameters) { *out = *in - if in.Mcp != nil { - in, out := &in.Mcp, &out.Mcp - *out = new(McpParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProtocolConfigurationParameters. -func (in *GatewayProtocolConfigurationParameters) DeepCopy() *GatewayProtocolConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyInitParameters. +func (in *ItemsPropertyInitParameters) DeepCopy() *ItemsPropertyInitParameters { if in == nil { return nil } - out := new(GatewayProtocolConfigurationParameters) + out := new(ItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { +func (in *ItemsPropertyObservation) DeepCopyInto(out *ItemsPropertyObservation) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - 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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. -func (in *GatewaySpec) DeepCopy() *GatewaySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyObservation. +func (in *ItemsPropertyObservation) DeepCopy() *ItemsPropertyObservation { if in == nil { return nil } - out := new(GatewaySpec) + out := new(ItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { +func (in *ItemsPropertyParameters) DeepCopyInto(out *ItemsPropertyParameters) { *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. -func (in *GatewayStatus) DeepCopy() *GatewayStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyParameters. +func (in *ItemsPropertyParameters) DeepCopy() *ItemsPropertyParameters { if in == nil { return nil } - out := new(GatewayStatus) + out := new(ItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTarget) DeepCopyInto(out *GatewayTarget) { +func (in *JwtPassthroughInitParameters) DeepCopyInto(out *JwtPassthroughInitParameters) { *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 GatewayTarget. -func (in *GatewayTarget) DeepCopy() *GatewayTarget { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughInitParameters. +func (in *JwtPassthroughInitParameters) DeepCopy() *JwtPassthroughInitParameters { if in == nil { return nil } - out := new(GatewayTarget) + out := new(JwtPassthroughInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayTarget) 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 *GatewayTargetInitParameters) DeepCopyInto(out *GatewayTargetInitParameters) { +func (in *JwtPassthroughObservation) DeepCopyInto(out *JwtPassthroughObservation) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier - *out = new(string) - **out = **in - } - if in.GatewayIdentifierRef != nil { - in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.GatewayIdentifierSelector != nil { - in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) - } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetInitParameters. -func (in *GatewayTargetInitParameters) DeepCopy() *GatewayTargetInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughObservation. +func (in *JwtPassthroughObservation) DeepCopy() *JwtPassthroughObservation { if in == nil { return nil } - out := new(GatewayTargetInitParameters) + out := new(JwtPassthroughObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetList) DeepCopyInto(out *GatewayTargetList) { +func (in *JwtPassthroughParameters) DeepCopyInto(out *JwtPassthroughParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]GatewayTarget, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetList. -func (in *GatewayTargetList) DeepCopy() *GatewayTargetList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughParameters. +func (in *JwtPassthroughParameters) DeepCopy() *JwtPassthroughParameters { if in == nil { return nil } - out := new(GatewayTargetList) + out := new(JwtPassthroughParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GatewayTargetList) 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 *GatewayTargetObservation) DeepCopyInto(out *GatewayTargetObservation) { +func (in *KMSConfigurationInitParameters) DeepCopyInto(out *KMSConfigurationInitParameters) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationObservation) + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointObservation) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationInitParameters. +func (in *KMSConfigurationInitParameters) DeepCopy() *KMSConfigurationInitParameters { + if in == nil { + return nil } - if in.Region != nil { - in, out := &in.Region, &out.Region + out := new(KMSConfigurationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KMSConfigurationObservation) DeepCopyInto(out *KMSConfigurationObservation) { + *out = *in + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.TargetID != nil { - in, out := &in.TargetID, &out.TargetID + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetObservation. -func (in *GatewayTargetObservation) DeepCopy() *GatewayTargetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationObservation. +func (in *KMSConfigurationObservation) DeepCopy() *KMSConfigurationObservation { if in == nil { return nil } - out := new(GatewayTargetObservation) + out := new(KMSConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetParameters) DeepCopyInto(out *GatewayTargetParameters) { +func (in *KMSConfigurationParameters) DeepCopyInto(out *KMSConfigurationParameters) { *out = *in - if in.CredentialProviderConfiguration != nil { - in, out := &in.CredentialProviderConfiguration, &out.CredentialProviderConfiguration - *out = new(CredentialProviderConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.GatewayIdentifier != nil { - in, out := &in.GatewayIdentifier, &out.GatewayIdentifier + if in.KMSKeyArn != nil { + in, out := &in.KMSKeyArn, &out.KMSKeyArn *out = new(string) **out = **in } - if in.GatewayIdentifierRef != nil { - in, out := &in.GatewayIdentifierRef, &out.GatewayIdentifierRef + if in.KMSKeyArnRef != nil { + in, out := &in.KMSKeyArnRef, &out.KMSKeyArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.GatewayIdentifierSelector != nil { - in, out := &in.GatewayIdentifierSelector, &out.GatewayIdentifierSelector + if in.KMSKeyArnSelector != nil { + in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.MetadataConfiguration != nil { - in, out := &in.MetadataConfiguration, &out.MetadataConfiguration - *out = new(MetadataConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(GatewayTargetPrivateEndpointParameters) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } - if in.TargetConfiguration != nil { - in, out := &in.TargetConfiguration, &out.TargetConfiguration - *out = new(TargetConfigurationParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetParameters. -func (in *GatewayTargetParameters) DeepCopy() *GatewayTargetParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationParameters. +func (in *KMSConfigurationParameters) DeepCopy() *KMSConfigurationParameters { if in == nil { return nil } - out := new(GatewayTargetParameters) + out := new(KMSConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointInitParameters) { +func (in *KinesisInitParameters) DeepCopyInto(out *KinesisInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationInitParameters) (*in).DeepCopyInto(*out) } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn + *out = new(string) + **out = **in + } + if in.DataStreamArnRef != nil { + in, out := &in.DataStreamArnRef, &out.DataStreamArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.DataStreamArnSelector != nil { + in, out := &in.DataStreamArnSelector, &out.DataStreamArnSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointInitParameters. -func (in *GatewayTargetPrivateEndpointInitParameters) DeepCopy() *GatewayTargetPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisInitParameters. +func (in *KinesisInitParameters) DeepCopy() *KinesisInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointInitParameters) + out := new(KinesisInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) { +func (in *KinesisObservation) DeepCopyInto(out *KinesisObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn *out = new(string) **out = **in } - if in.RoutingDomainRef != nil { - in, out := &in.RoutingDomainRef, &out.RoutingDomainRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.RoutingDomainSelector != nil { - in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector - *out = new(v1.NamespacedSelector) - (*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.SecurityGroupIdsRefs != nil { - in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs - *out = make([]v1.NamespacedReference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupIdsSelector != nil { - in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector - *out = new(v1.NamespacedSelector) - (*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 - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisObservation. +func (in *KinesisObservation) DeepCopy() *KinesisObservation { + if in == nil { + return nil } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + out := new(KinesisObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KinesisParameters) DeepCopyInto(out *KinesisParameters) { + *out = *in + if in.ContentConfiguration != nil { + in, out := &in.ContentConfiguration, &out.ContentConfiguration + *out = new(ContentConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.DataStreamArn != nil { + in, out := &in.DataStreamArn, &out.DataStreamArn *out = new(string) **out = **in } - if in.VPCIdentifierRef != nil { - in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + if in.DataStreamArnRef != nil { + in, out := &in.DataStreamArnRef, &out.DataStreamArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.VPCIdentifierSelector != nil { - in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + if in.DataStreamArnSelector != nil { + in, out := &in.DataStreamArnSelector, &out.DataStreamArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceInitParameters. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisParameters. +func (in *KinesisParameters) DeepCopy() *KinesisParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceInitParameters) + out := new(KinesisParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceObservation) { +func (in *LambdaConfigInitParameters) DeepCopyInto(out *LambdaConfigInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - 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.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.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.NamespacedReference) + (*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.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) + if in.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceObservation. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigInitParameters. +func (in *LambdaConfigInitParameters) DeepCopy() *LambdaConfigInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) + out := new(LambdaConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointManagedVPCResourceParameters) { +func (in *LambdaConfigObservation) DeepCopyInto(out *LambdaConfigObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigObservation. +func (in *LambdaConfigObservation) DeepCopy() *LambdaConfigObservation { + if in == nil { + return nil + } + out := new(LambdaConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaConfigParameters) DeepCopyInto(out *LambdaConfigParameters) { + *out = *in + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } - if in.RoutingDomainRef != nil { - in, out := &in.RoutingDomainRef, &out.RoutingDomainRef + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.RoutingDomainSelector != nil { - in, out := &in.RoutingDomainSelector, &out.RoutingDomainSelector + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector *out = new(v1.NamespacedSelector) (*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.LambdaTimeoutInSeconds != nil { + in, out := &in.LambdaTimeoutInSeconds, &out.LambdaTimeoutInSeconds + *out = new(float64) + **out = **in } - if in.SecurityGroupIdsRefs != nil { - in, out := &in.SecurityGroupIdsRefs, &out.SecurityGroupIdsRefs - *out = make([]v1.NamespacedReference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConfigParameters. +func (in *LambdaConfigParameters) DeepCopy() *LambdaConfigParameters { + if in == nil { + return nil } - if in.SecurityGroupIdsSelector != nil { - in, out := &in.SecurityGroupIdsSelector, &out.SecurityGroupIdsSelector + out := new(LambdaConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaInitParameters) DeepCopyInto(out *LambdaInitParameters) { + *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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector *out = new(v1.NamespacedSelector) (*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 LambdaInitParameters. +func (in *LambdaInitParameters) DeepCopy() *LambdaInitParameters { + 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(LambdaInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaObservation) DeepCopyInto(out *LambdaObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaObservation. +func (in *LambdaObservation) DeepCopy() *LambdaObservation { + if in == nil { + return nil + } + out := new(LambdaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LambdaParameters) DeepCopyInto(out *LambdaParameters) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.VPCIdentifierRef != nil { - in, out := &in.VPCIdentifierRef, &out.VPCIdentifierRef + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.VPCIdentifierSelector != nil { - in, out := &in.VPCIdentifierSelector, &out.VPCIdentifierSelector + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointManagedVPCResourceParameters. -func (in *GatewayTargetPrivateEndpointManagedVPCResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaParameters. +func (in *LambdaParameters) DeepCopy() *LambdaParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) + out := new(LambdaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointObservation) { +func (in *LifecycleConfigurationInitParameters) DeepCopyInto(out *LifecycleConfigurationInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in + } + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointObservation. -func (in *GatewayTargetPrivateEndpointObservation) DeepCopy() *GatewayTargetPrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationInitParameters. +func (in *LifecycleConfigurationInitParameters) DeepCopy() *LifecycleConfigurationInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointObservation) + out := new(LifecycleConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointParameters) { +func (in *LifecycleConfigurationObservation) DeepCopyInto(out *LifecycleConfigurationObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(GatewayTargetPrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointParameters. -func (in *GatewayTargetPrivateEndpointParameters) DeepCopy() *GatewayTargetPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationObservation. +func (in *LifecycleConfigurationObservation) DeepCopy() *LifecycleConfigurationObservation { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointParameters) + out := new(LifecycleConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *LifecycleConfigurationParameters) DeepCopyInto(out *LifecycleConfigurationParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) + if in.IdleRuntimeSessionTimeout != nil { + in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout + *out = new(float64) **out = **in } - if in.ResourceConfigurationIdentifierRef != nil { - in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.ResourceConfigurationIdentifierSelector != nil { - in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) + if in.MaxLifetime != nil { + in, out := &in.MaxLifetime, &out.MaxLifetime + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationParameters. +func (in *LifecycleConfigurationParameters) DeepCopy() *LifecycleConfigurationParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(LifecycleConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *LlmAsAJudgeInitParameters) DeepCopyInto(out *LlmAsAJudgeInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in + in.InstructionsSecretRef.DeepCopyInto(&out.InstructionsSecretRef) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeInitParameters. +func (in *LlmAsAJudgeInitParameters) DeepCopy() *LlmAsAJudgeInitParameters { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceObservation) + out := new(LlmAsAJudgeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *LlmAsAJudgeObservation) DeepCopyInto(out *LlmAsAJudgeObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in - } - if in.ResourceConfigurationIdentifierRef != nil { - in, out := &in.ResourceConfigurationIdentifierRef, &out.ResourceConfigurationIdentifierRef - *out = new(v1.NamespacedReference) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.ResourceConfigurationIdentifierSelector != nil { - in, out := &in.ResourceConfigurationIdentifierSelector, &out.ResourceConfigurationIdentifierSelector - *out = new(v1.NamespacedSelector) + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeObservation. +func (in *LlmAsAJudgeObservation) DeepCopy() *LlmAsAJudgeObservation { if in == nil { return nil } - out := new(GatewayTargetPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(LlmAsAJudgeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetSpec) DeepCopyInto(out *GatewayTargetSpec) { +func (in *LlmAsAJudgeParameters) DeepCopyInto(out *LlmAsAJudgeParameters) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + in.InstructionsSecretRef.DeepCopyInto(&out.InstructionsSecretRef) + if in.ModelConfig != nil { + in, out := &in.ModelConfig, &out.ModelConfig + *out = new(ModelConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.RatingScale != nil { + in, out := &in.RatingScale, &out.RatingScale + *out = new(RatingScaleParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetSpec. -func (in *GatewayTargetSpec) DeepCopy() *GatewayTargetSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LlmAsAJudgeParameters. +func (in *LlmAsAJudgeParameters) DeepCopy() *LlmAsAJudgeParameters { if in == nil { return nil } - out := new(GatewayTargetSpec) + out := new(LlmAsAJudgeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayTargetStatus) DeepCopyInto(out *GatewayTargetStatus) { +func (in *LocationInitParameters) DeepCopyInto(out *LocationInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTargetStatus. -func (in *GatewayTargetStatus) DeepCopy() *GatewayTargetStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationInitParameters. +func (in *LocationInitParameters) DeepCopy() *LocationInitParameters { if in == nil { return nil } - out := new(GatewayTargetStatus) + out := new(LocationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsInitParameters) { +func (in *LocationObservation) DeepCopyInto(out *LocationObservation) { *out = *in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsInitParameters. -func (in *GatewayWorkloadIdentityDetailsInitParameters) DeepCopy() *GatewayWorkloadIdentityDetailsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationObservation. +func (in *LocationObservation) DeepCopy() *LocationObservation { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsInitParameters) + out := new(LocationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopyInto(out *GatewayWorkloadIdentityDetailsObservation) { +func (in *LocationParameters) DeepCopyInto(out *LocationParameters) { *out = *in - if in.WorkloadIdentityArn != nil { - in, out := &in.WorkloadIdentityArn, &out.WorkloadIdentityArn - *out = new(string) - **out = **in + if in.SecretsManager != nil { + in, out := &in.SecretsManager, &out.SecretsManager + *out = new(SecretsManagerParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsObservation. -func (in *GatewayWorkloadIdentityDetailsObservation) DeepCopy() *GatewayWorkloadIdentityDetailsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationParameters. +func (in *LocationParameters) DeepCopy() *LocationParameters { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsObservation) + out := new(LocationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopyInto(out *GatewayWorkloadIdentityDetailsParameters) { +func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayWorkloadIdentityDetailsParameters. -func (in *GatewayWorkloadIdentityDetailsParameters) DeepCopy() *GatewayWorkloadIdentityDetailsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3InitParameters. +func (in *LocationS3InitParameters) DeepCopy() *LocationS3InitParameters { if in == nil { return nil } - out := new(GatewayWorkloadIdentityDetailsParameters) + out := new(LocationS3InitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigInitParameters) { +func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in - } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) **out = **in } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigInitParameters. -func (in *GithubOauth2ProviderConfigInitParameters) DeepCopy() *GithubOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Observation. +func (in *LocationS3Observation) DeepCopy() *LocationS3Observation { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigInitParameters) + out := new(LocationS3Observation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) { +func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters) { *out = *in + if in.Bucket != nil { + in, out := &in.Bucket, &out.Bucket + *out = new(string) + **out = **in + } + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *GithubOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Parameters. +func (in *LocationS3Parameters) DeepCopy() *LocationS3Parameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(LocationS3Parameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *LocationSecretsManagerInitParameters) DeepCopyInto(out *LocationSecretsManagerInitParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]OauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + 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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigOauthDiscoveryObservation. -func (in *GithubOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerInitParameters. +func (in *LocationSecretsManagerInitParameters) DeepCopy() *LocationSecretsManagerInitParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryObservation) + out := new(LocationSecretsManagerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GithubOauth2ProviderConfigOauthDiscoveryParameters) { +func (in *LocationSecretsManagerObservation) DeepCopyInto(out *LocationSecretsManagerObservation) { *out = *in + 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 GithubOauth2ProviderConfigOauthDiscoveryParameters. -func (in *GithubOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GithubOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerObservation. +func (in *LocationSecretsManagerObservation) DeepCopy() *LocationSecretsManagerObservation { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigOauthDiscoveryParameters) + out := new(LocationSecretsManagerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigObservation) DeepCopyInto(out *GithubOauth2ProviderConfigObservation) { +func (in *LocationSecretsManagerParameters) DeepCopyInto(out *LocationSecretsManagerParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.SecretArn != nil { + in, out := &in.SecretArn, &out.SecretArn + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]GithubOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigObservation. -func (in *GithubOauth2ProviderConfigObservation) DeepCopy() *GithubOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationSecretsManagerParameters. +func (in *LocationSecretsManagerParameters) DeepCopy() *LocationSecretsManagerParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigObservation) + out := new(LocationSecretsManagerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GithubOauth2ProviderConfigParameters) DeepCopyInto(out *GithubOauth2ProviderConfigParameters) { +func (in *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResourceInitParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + 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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) - **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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubOauth2ProviderConfigParameters. -func (in *GithubOauth2ProviderConfigParameters) DeepCopy() *GithubOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceInitParameters. +func (in *ManagedVPCResourceInitParameters) DeepCopy() *ManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(GithubOauth2ProviderConfigParameters) + out := new(ManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigInitParameters) { +func (in *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + 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.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) - **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.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigInitParameters. -func (in *GoogleOauth2ProviderConfigInitParameters) DeepCopy() *GoogleOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceObservation. +func (in *ManagedVPCResourceObservation) DeepCopy() *ManagedVPCResourceObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigInitParameters) + out := new(ManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { +func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourceParameters) { *out = *in + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + *out = new(string) + **out = **in + } + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in + } + 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.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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceParameters. +func (in *ManagedVPCResourceParameters) DeepCopy() *ManagedVPCResourceParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(ManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *McpInitParameters) DeepCopyInto(out *McpInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -7383,644 +14662,782 @@ func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObs } } } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpInitParameters. +func (in *McpInitParameters) DeepCopy() *McpInitParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) + out := new(McpInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *McpLambdaInitParameters) DeepCopyInto(out *McpLambdaInitParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { - if in == nil { - return nil + 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.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaInitParameters) + (*in).DeepCopyInto(*out) } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaInitParameters. +func (in *McpLambdaInitParameters) DeepCopy() *McpLambdaInitParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(McpLambdaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *McpLambdaObservation) DeepCopyInto(out *McpLambdaObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryObservation. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryObservation { - if in == nil { - return nil + if in.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaObservation) + (*in).DeepCopyInto(*out) } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigOauthDiscoveryParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigOauthDiscoveryParameters. -func (in *GoogleOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *GoogleOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaObservation. +func (in *McpLambdaObservation) DeepCopy() *McpLambdaObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigOauthDiscoveryParameters) + out := new(McpLambdaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigObservation) DeepCopyInto(out *GoogleOauth2ProviderConfigObservation) { +func (in *McpLambdaParameters) DeepCopyInto(out *McpLambdaParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.LambdaArn != nil { + in, out := &in.LambdaArn, &out.LambdaArn + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]GoogleOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LambdaArnRef != nil { + in, out := &in.LambdaArnRef, &out.LambdaArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.LambdaArnSelector != nil { + in, out := &in.LambdaArnSelector, &out.LambdaArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.ToolSchema != nil { + in, out := &in.ToolSchema, &out.ToolSchema + *out = new(ToolSchemaParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauth2ProviderConfigObservation. -func (in *GoogleOauth2ProviderConfigObservation) DeepCopy() *GoogleOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaParameters. +func (in *McpLambdaParameters) DeepCopy() *McpLambdaParameters { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigObservation) + out := new(McpLambdaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GoogleOauth2ProviderConfigParameters) DeepCopyInto(out *GoogleOauth2ProviderConfigParameters) { +func (in *McpObservation) DeepCopyInto(out *McpObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions + *out = new(string) **out = **in } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationObservation) + (*in).DeepCopyInto(*out) } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions + *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 GoogleOauth2ProviderConfigParameters. -func (in *GoogleOauth2ProviderConfigParameters) DeepCopy() *GoogleOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpObservation. +func (in *McpObservation) DeepCopy() *McpObservation { if in == nil { return nil } - out := new(GoogleOauth2ProviderConfigParameters) + out := new(McpObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters) { +func (in *McpParameters) DeepCopyInto(out *McpParameters) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeInitParameters) + if in.Instructions != nil { + in, out := &in.Instructions, &out.Instructions + *out = new(string) + **out = **in + } + if in.SearchType != nil { + in, out := &in.SearchType, &out.SearchType + *out = new(string) + **out = **in + } + if in.SessionConfiguration != nil { + in, out := &in.SessionConfiguration, &out.SessionConfiguration + *out = new(SessionConfigurationParameters) (*in).DeepCopyInto(*out) } + if in.StreamingConfiguration != nil { + in, out := &in.StreamingConfiguration, &out.StreamingConfiguration + *out = new(StreamingConfigurationParameters) + (*in).DeepCopyInto(*out) + } + if in.SupportedVersions != nil { + in, out := &in.SupportedVersions, &out.SupportedVersions + *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 HTTPInitParameters. -func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpParameters. +func (in *McpParameters) DeepCopy() *McpParameters { if in == nil { return nil } - out := new(HTTPInitParameters) + out := new(McpParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation) { +func (in *McpServerInitParameters) DeepCopyInto(out *McpServerInitParameters) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeObservation) - (*in).DeepCopyInto(*out) + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPObservation. -func (in *HTTPObservation) DeepCopy() *HTTPObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerInitParameters. +func (in *McpServerInitParameters) DeepCopy() *McpServerInitParameters { if in == nil { return nil } - out := new(HTTPObservation) + out := new(McpServerInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters) { +func (in *McpServerObservation) DeepCopyInto(out *McpServerObservation) { *out = *in - if in.AgentcoreRuntime != nil { - in, out := &in.AgentcoreRuntime, &out.AgentcoreRuntime - *out = new(AgentcoreRuntimeParameters) - (*in).DeepCopyInto(*out) + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPParameters. -func (in *HTTPParameters) DeepCopy() *HTTPParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerObservation. +func (in *McpServerObservation) DeepCopy() *McpServerObservation { if in == nil { return nil } - out := new(HTTPParameters) + out := new(McpServerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostingEnvironmentInitParameters) DeepCopyInto(out *HostingEnvironmentInitParameters) { +func (in *McpServerParameters) DeepCopyInto(out *McpServerParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.ListingMode != nil { + in, out := &in.ListingMode, &out.ListingMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentInitParameters. -func (in *HostingEnvironmentInitParameters) DeepCopy() *HostingEnvironmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerParameters. +func (in *McpServerParameters) DeepCopy() *McpServerParameters { if in == nil { return nil } - out := new(HostingEnvironmentInitParameters) + out := new(McpServerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostingEnvironmentObservation) DeepCopyInto(out *HostingEnvironmentObservation) { +func (in *Memory) DeepCopyInto(out *Memory) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *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 HostingEnvironmentObservation. -func (in *HostingEnvironmentObservation) DeepCopy() *HostingEnvironmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory. +func (in *Memory) DeepCopy() *Memory { if in == nil { return nil } - out := new(HostingEnvironmentObservation) + out := new(Memory) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Memory) 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 *HostingEnvironmentParameters) DeepCopyInto(out *HostingEnvironmentParameters) { +func (in *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostingEnvironmentParameters. -func (in *HostingEnvironmentParameters) DeepCopy() *HostingEnvironmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters. +func (in *MemoryInitParameters) DeepCopy() *MemoryInitParameters { if in == nil { return nil } - out := new(HostingEnvironmentParameters) + out := new(MemoryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IndexedKeyInitParameters) DeepCopyInto(out *IndexedKeyInitParameters) { +func (in *MemoryInitParameters_2) DeepCopyInto(out *MemoryInitParameters_2) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesInitParameters) + (*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 IndexedKeyInitParameters. -func (in *IndexedKeyInitParameters) DeepCopy() *IndexedKeyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters_2. +func (in *MemoryInitParameters_2) DeepCopy() *MemoryInitParameters_2 { if in == nil { return nil } - out := new(IndexedKeyInitParameters) + out := new(MemoryInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IndexedKeyObservation) DeepCopyInto(out *IndexedKeyObservation) { +func (in *MemoryList) DeepCopyInto(out *MemoryList) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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([]Memory, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyObservation. -func (in *IndexedKeyObservation) DeepCopy() *IndexedKeyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryList. +func (in *MemoryList) DeepCopy() *MemoryList { if in == nil { return nil } - out := new(IndexedKeyObservation) + out := new(MemoryList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryList) 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 *IndexedKeyParameters) DeepCopyInto(out *IndexedKeyParameters) { +func (in *MemoryObservation) DeepCopyInto(out *MemoryObservation) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexedKeyParameters. -func (in *IndexedKeyParameters) DeepCopy() *IndexedKeyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryObservation. +func (in *MemoryObservation) DeepCopy() *MemoryObservation { if in == nil { return nil } - out := new(IndexedKeyParameters) + out := new(MemoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadInitParameters) DeepCopyInto(out *InlinePayloadInitParameters) { +func (in *MemoryObservation_2) DeepCopyInto(out *MemoryObservation_2) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaInitParameters) - (*in).DeepCopyInto(*out) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaInitParameters) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesObservation) (*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.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 InlinePayloadInitParameters. -func (in *InlinePayloadInitParameters) DeepCopy() *InlinePayloadInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryObservation_2. +func (in *MemoryObservation_2) DeepCopy() *MemoryObservation_2 { if in == nil { return nil } - out := new(InlinePayloadInitParameters) + out := new(MemoryObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadObservation) DeepCopyInto(out *InlinePayloadObservation) { +func (in *MemoryParameters) DeepCopyInto(out *MemoryParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaObservation) + if in.AgentcoreMemoryConfiguration != nil { + in, out := &in.AgentcoreMemoryConfiguration, &out.AgentcoreMemoryConfiguration + *out = new(AgentcoreMemoryConfigurationParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadObservation. -func (in *InlinePayloadObservation) DeepCopy() *InlinePayloadObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryParameters. +func (in *MemoryParameters) DeepCopy() *MemoryParameters { if in == nil { return nil } - out := new(InlinePayloadObservation) + out := new(MemoryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InlinePayloadParameters) DeepCopyInto(out *InlinePayloadParameters) { +func (in *MemoryParameters_2) DeepCopyInto(out *MemoryParameters_2) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.InputSchema != nil { - in, out := &in.InputSchema, &out.InputSchema - *out = new(InputSchemaParameters) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.EventExpiryDuration != nil { + in, out := &in.EventExpiryDuration, &out.EventExpiryDuration + *out = new(float64) + **out = **in + } + if in.IndexedKey != nil { + in, out := &in.IndexedKey, &out.IndexedKey + *out = make([]IndexedKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn *out = new(string) **out = **in } - if in.OutputSchema != nil { - in, out := &in.OutputSchema, &out.OutputSchema - *out = new(OutputSchemaParameters) + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinePayloadParameters. -func (in *InlinePayloadParameters) DeepCopy() *InlinePayloadParameters { - if in == nil { - return nil + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - out := new(InlinePayloadParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationInitParameters) DeepCopyInto(out *InputConfigurationInitParameters) { - *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) + 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 InputConfigurationInitParameters. -func (in *InputConfigurationInitParameters) DeepCopy() *InputConfigurationInitParameters { - if in == nil { - return nil - } - out := new(InputConfigurationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationObservation) DeepCopyInto(out *InputConfigurationObservation) { - *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } + if in.StreamDeliveryResources != nil { + in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources + *out = new(StreamDeliveryResourcesParameters) + (*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 InputConfigurationObservation. -func (in *InputConfigurationObservation) DeepCopy() *InputConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryParameters_2. +func (in *MemoryParameters_2) DeepCopy() *MemoryParameters_2 { if in == nil { return nil } - out := new(InputConfigurationObservation) + out := new(MemoryParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputConfigurationParameters) DeepCopyInto(out *InputConfigurationParameters) { +func (in *MemorySpec) DeepCopyInto(out *MemorySpec) { *out = *in - if in.PassRequestHeaders != nil { - in, out := &in.PassRequestHeaders, &out.PassRequestHeaders - *out = new(bool) - **out = **in - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputConfigurationParameters. -func (in *InputConfigurationParameters) DeepCopy() *InputConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySpec. +func (in *MemorySpec) DeepCopy() *MemorySpec { if in == nil { return nil } - out := new(InputConfigurationParameters) + out := new(MemorySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaInitParameters) DeepCopyInto(out *InputSchemaInitParameters) { +func (in *MemoryStatus) DeepCopyInto(out *MemoryStatus) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyInitParameters, 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 - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaInitParameters. -func (in *InputSchemaInitParameters) DeepCopy() *InputSchemaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStatus. +func (in *MemoryStatus) DeepCopy() *MemoryStatus { if in == nil { return nil } - out := new(InputSchemaInitParameters) + out := new(MemoryStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaObservation) DeepCopyInto(out *InputSchemaObservation) { +func (in *MemoryStrategy) DeepCopyInto(out *MemoryStrategy) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyObservation, 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 - } + 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 InputSchemaObservation. -func (in *InputSchemaObservation) DeepCopy() *InputSchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategy. +func (in *MemoryStrategy) DeepCopy() *MemoryStrategy { if in == nil { return nil } - out := new(InputSchemaObservation) + out := new(MemoryStrategy) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaParameters) DeepCopyInto(out *InputSchemaParameters) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]InputSchemaPropertyParameters, 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 - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaParameters. -func (in *InputSchemaParameters) DeepCopy() *InputSchemaParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryStrategy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(InputSchemaParameters) - 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 *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaPropertyInitParameters) { +func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitParameters) { *out = *in + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationInitParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsInitParameters) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID + *out = new(string) + **out = **in + } + if in.MemoryIDRef != nil { + in, out := &in.MemoryIDRef, &out.MemoryIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.MemoryIDSelector != nil { + in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } if in.Name != nil { @@ -8028,18 +15445,17 @@ func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaProper *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyInitParameters, len(*in)) + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -8047,120 +15463,88 @@ func (in *InputSchemaPropertyInitParameters) DeepCopyInto(out *InputSchemaProper } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyInitParameters. -func (in *InputSchemaPropertyInitParameters) DeepCopy() *InputSchemaPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyInitParameters. +func (in *MemoryStrategyInitParameters) DeepCopy() *MemoryStrategyInitParameters { if in == nil { return nil } - out := new(InputSchemaPropertyInitParameters) + out := new(MemoryStrategyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputSchemaPropertyObservation) DeepCopyInto(out *InputSchemaPropertyObservation) { +func (in *MemoryStrategyList) DeepCopyInto(out *MemoryStrategyList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *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 = new(PropertyItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyObservation, len(*in)) + *out = make([]MemoryStrategy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyObservation. -func (in *InputSchemaPropertyObservation) DeepCopy() *InputSchemaPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyList. +func (in *MemoryStrategyList) DeepCopy() *MemoryStrategyList { if in == nil { return nil } - out := new(InputSchemaPropertyObservation) + out := new(MemoryStrategyList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MemoryStrategyList) 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 *InputSchemaPropertyParameters) DeepCopyInto(out *InputSchemaPropertyParameters) { +func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation) { *out = *in + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationObservation) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyPropertyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputSchemaPropertyParameters. -func (in *InputSchemaPropertyParameters) DeepCopy() *InputSchemaPropertyParameters { - if in == nil { - return nil + if in.MemoryStrategyID != nil { + in, out := &in.MemoryStrategyID, &out.MemoryStrategyID + *out = new(string) + **out = **in } - out := new(InputSchemaPropertyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorConfigurationInitParameters) { - *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationInitParameters) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8170,69 +15554,78 @@ func (in *InterceptorConfigurationInitParameters) DeepCopyInto(out *InterceptorC } } } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorInitParameters) - (*in).DeepCopyInto(*out) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationInitParameters. -func (in *InterceptorConfigurationInitParameters) DeepCopy() *InterceptorConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyObservation. +func (in *MemoryStrategyObservation) DeepCopy() *MemoryStrategyObservation { if in == nil { return nil } - out := new(InterceptorConfigurationInitParameters) + out := new(MemoryStrategyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationObservation) DeepCopyInto(out *InterceptorConfigurationObservation) { +func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) { *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationObservation) + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(ConfigurationParameters) (*in).DeepCopyInto(*out) } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorObservation) + if in.MemoryExecutionRoleArn != nil { + in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + *out = new(string) + **out = **in + } + if in.MemoryExecutionRoleArnRef != nil { + in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationObservation. -func (in *InterceptorConfigurationObservation) DeepCopy() *InterceptorConfigurationObservation { - if in == nil { - return nil + if in.MemoryExecutionRoleArnSelector != nil { + in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - out := new(InterceptorConfigurationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfigurationParameters) { - *out = *in - if in.InputConfiguration != nil { - in, out := &in.InputConfiguration, &out.InputConfiguration - *out = new(InputConfigurationParameters) + if in.MemoryID != nil { + in, out := &in.MemoryID, &out.MemoryID + *out = new(string) + **out = **in + } + if in.MemoryIDRef != nil { + in, out := &in.MemoryIDRef, &out.MemoryIDRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.InterceptionPoints != nil { - in, out := &in.InterceptionPoints, &out.InterceptionPoints + if in.MemoryIDSelector != nil { + in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Namespaces != nil { + in, out := &in.Namespaces, &out.Namespaces *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -8242,1048 +15635,1149 @@ func (in *InterceptorConfigurationParameters) DeepCopyInto(out *InterceptorConfi } } } - if in.Interceptor != nil { - in, out := &in.Interceptor, &out.Interceptor - *out = new(InterceptorParameters) - (*in).DeepCopyInto(*out) + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorConfigurationParameters. -func (in *InterceptorConfigurationParameters) DeepCopy() *InterceptorConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyParameters. +func (in *MemoryStrategyParameters) DeepCopy() *MemoryStrategyParameters { if in == nil { return nil } - out := new(InterceptorConfigurationParameters) + out := new(MemoryStrategyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorInitParameters) DeepCopyInto(out *InterceptorInitParameters) { +func (in *MemoryStrategySpec) DeepCopyInto(out *MemoryStrategySpec) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaInitParameters) - (*in).DeepCopyInto(*out) - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorInitParameters. -func (in *InterceptorInitParameters) DeepCopy() *InterceptorInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategySpec. +func (in *MemoryStrategySpec) DeepCopy() *MemoryStrategySpec { if in == nil { return nil } - out := new(InterceptorInitParameters) + out := new(MemoryStrategySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorObservation) DeepCopyInto(out *InterceptorObservation) { +func (in *MemoryStrategyStatus) DeepCopyInto(out *MemoryStrategyStatus) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaObservation) - (*in).DeepCopyInto(*out) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorObservation. -func (in *InterceptorObservation) DeepCopy() *InterceptorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyStatus. +func (in *MemoryStrategyStatus) DeepCopy() *MemoryStrategyStatus { if in == nil { return nil } - out := new(InterceptorObservation) + out := new(MemoryStrategyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InterceptorParameters) DeepCopyInto(out *InterceptorParameters) { +func (in *MetadataConfigurationInitParameters) DeepCopyInto(out *MetadataConfigurationInitParameters) { *out = *in - if in.Lambda != nil { - in, out := &in.Lambda, &out.Lambda - *out = new(LambdaParameters) - (*in).DeepCopyInto(*out) + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 InterceptorParameters. -func (in *InterceptorParameters) DeepCopy() *InterceptorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationInitParameters. +func (in *MetadataConfigurationInitParameters) DeepCopy() *MetadataConfigurationInitParameters { if in == nil { return nil } - out := new(InterceptorParameters) + out := new(MetadataConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsInitParameters) DeepCopyInto(out *ItemsInitParameters) { +func (in *MetadataConfigurationObservation) DeepCopyInto(out *MetadataConfigurationObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyInitParameters, len(*in)) + if in.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 ItemsInitParameters. -func (in *ItemsInitParameters) DeepCopy() *ItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationObservation. +func (in *MetadataConfigurationObservation) DeepCopy() *MetadataConfigurationObservation { if in == nil { return nil } - out := new(ItemsInitParameters) + out := new(MetadataConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsInitParameters) DeepCopyInto(out *ItemsItemsInitParameters) { +func (in *MetadataConfigurationParameters) DeepCopyInto(out *MetadataConfigurationParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in + if in.AllowedQueryParameters != nil { + in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters + *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.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.AllowedRequestHeaders != nil { + in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.AllowedResponseHeaders != nil { + in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders + *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 ItemsItemsInitParameters. -func (in *ItemsItemsInitParameters) DeepCopy() *ItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationParameters. +func (in *MetadataConfigurationParameters) DeepCopy() *MetadataConfigurationParameters { if in == nil { return nil } - out := new(ItemsItemsInitParameters) + out := new(MetadataConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsObservation) DeepCopyInto(out *ItemsItemsObservation) { +func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in + } + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsObservation. -func (in *ItemsItemsObservation) DeepCopy() *ItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigInitParameters. +func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigInitParameters { + if in == nil { + return nil + } + out := new(MicrosoftOauth2ProviderConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(ItemsItemsObservation) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsItemsParameters) DeepCopyInto(out *ItemsItemsParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes + *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.Type != nil { - in, out := &in.Type, &out.Type + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsItemsParameters. -func (in *ItemsItemsParameters) DeepCopy() *ItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(ItemsItemsParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsObservation) DeepCopyInto(out *ItemsObservation) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsObservation. -func (in *ItemsObservation) DeepCopy() *ItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(ItemsObservation) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsParameters) DeepCopyInto(out *ItemsParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(ItemsItemsParameters) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyParameters, len(*in)) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) { + *out = *in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsParameters. -func (in *ItemsParameters) DeepCopy() *ItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryObservation. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation { if in == nil { return nil } - out := new(ItemsParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyInitParameters) DeepCopyInto(out *ItemsPropertyInitParameters) { +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyInitParameters. -func (in *ItemsPropertyInitParameters) DeepCopy() *ItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryParameters. +func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters { if in == nil { return nil } - out := new(ItemsPropertyInitParameters) + out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyObservation) DeepCopyInto(out *ItemsPropertyObservation) { +func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.OauthDiscovery != nil { + in, out := &in.OauthDiscovery, &out.OauthDiscovery + *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyObservation. -func (in *ItemsPropertyObservation) DeepCopy() *ItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigObservation. +func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopy() *MicrosoftOauth2ProviderConfigObservation { if in == nil { return nil } - out := new(ItemsPropertyObservation) + out := new(MicrosoftOauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ItemsPropertyParameters) DeepCopyInto(out *ItemsPropertyParameters) { +func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.ClientCredentialsWoVersion != nil { + in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion + *out = new(float64) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.ClientIDSecretRef != nil { + in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.ClientIDWoSecretRef != nil { + in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.LocalSecretKeySelector) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemsPropertyParameters. -func (in *ItemsPropertyParameters) DeepCopy() *ItemsPropertyParameters { - if in == nil { - return nil - } - out := new(ItemsPropertyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughInitParameters) DeepCopyInto(out *JwtPassthroughInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughInitParameters. -func (in *JwtPassthroughInitParameters) DeepCopy() *JwtPassthroughInitParameters { - if in == nil { - return nil + if in.ClientSecretWoSecretRef != nil { + in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef + *out = new(v1.LocalSecretKeySelector) + **out = **in } - out := new(JwtPassthroughInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughObservation) DeepCopyInto(out *JwtPassthroughObservation) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughObservation. -func (in *JwtPassthroughObservation) DeepCopy() *JwtPassthroughObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigParameters. +func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopy() *MicrosoftOauth2ProviderConfigParameters { if in == nil { return nil } - out := new(JwtPassthroughObservation) + out := new(MicrosoftOauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JwtPassthroughParameters) DeepCopyInto(out *JwtPassthroughParameters) { +func (in *ModelConfigInitParameters) DeepCopyInto(out *ModelConfigInitParameters) { *out = *in + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtPassthroughParameters. -func (in *JwtPassthroughParameters) DeepCopy() *JwtPassthroughParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigInitParameters. +func (in *ModelConfigInitParameters) DeepCopy() *ModelConfigInitParameters { if in == nil { return nil } - out := new(JwtPassthroughParameters) + out := new(ModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationInitParameters) DeepCopyInto(out *KMSConfigurationInitParameters) { +func (in *ModelConfigObservation) DeepCopyInto(out *ModelConfigObservation) { *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.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.NamespacedSelector) + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationInitParameters. -func (in *KMSConfigurationInitParameters) DeepCopy() *KMSConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigObservation. +func (in *ModelConfigObservation) DeepCopy() *ModelConfigObservation { if in == nil { return nil } - out := new(KMSConfigurationInitParameters) + out := new(ModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationObservation) DeepCopyInto(out *KMSConfigurationObservation) { +func (in *ModelConfigParameters) DeepCopyInto(out *ModelConfigParameters) { *out = *in - if in.KMSKeyArn != nil { - in, out := &in.KMSKeyArn, &out.KMSKeyArn - *out = new(string) - **out = **in - } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in + if in.BedrockEvaluatorModelConfig != nil { + in, out := &in.BedrockEvaluatorModelConfig, &out.BedrockEvaluatorModelConfig + *out = new(BedrockEvaluatorModelConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationObservation. -func (in *KMSConfigurationObservation) DeepCopy() *KMSConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelConfigParameters. +func (in *ModelConfigParameters) DeepCopy() *ModelConfigParameters { if in == nil { return nil } - out := new(KMSConfigurationObservation) + out := new(ModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KMSConfigurationParameters) DeepCopyInto(out *KMSConfigurationParameters) { +func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { *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.NamespacedReference) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.KMSKeyArnSelector != nil { - in, out := &in.KMSKeyArnSelector, &out.KMSKeyArnSelector - *out = new(v1.NamespacedSelector) + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType - *out = new(string) - **out = **in + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfigurationParameters. -func (in *KMSConfigurationParameters) DeepCopy() *KMSConfigurationParameters { +// 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(KMSConfigurationParameters) + 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 *KinesisInitParameters) DeepCopyInto(out *KinesisInitParameters) { +func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationInitParameters) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigObservation) (*in).DeepCopyInto(*out) } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn - *out = new(string) - **out = **in + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisInitParameters. -func (in *KinesisInitParameters) DeepCopy() *KinesisInitParameters { +// 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(KinesisInitParameters) + 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 *KinesisObservation) DeepCopyInto(out *KinesisObservation) { +func (in *ModelParameters) DeepCopyInto(out *ModelParameters) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationObservation) + if in.BedrockModelConfig != nil { + in, out := &in.BedrockModelConfig, &out.BedrockModelConfig + *out = new(BedrockModelConfigParameters) (*in).DeepCopyInto(*out) } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn - *out = new(string) - **out = **in + if in.GeminiModelConfig != nil { + in, out := &in.GeminiModelConfig, &out.GeminiModelConfig + *out = new(GeminiModelConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.OpenaiModelConfig != nil { + in, out := &in.OpenaiModelConfig, &out.OpenaiModelConfig + *out = new(OpenaiModelConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisObservation. -func (in *KinesisObservation) DeepCopy() *KinesisObservation { +// 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(KinesisObservation) + 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 *KinesisParameters) DeepCopyInto(out *KinesisParameters) { +func (in *NetworkConfigurationInitParameters) DeepCopyInto(out *NetworkConfigurationInitParameters) { *out = *in - if in.ContentConfiguration != nil { - in, out := &in.ContentConfiguration, &out.ContentConfiguration - *out = new(ContentConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.DataStreamArn != nil { - in, out := &in.DataStreamArn, &out.DataStreamArn + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode *out = new(string) **out = **in } + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinesisParameters. -func (in *KinesisParameters) DeepCopy() *KinesisParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationInitParameters. +func (in *NetworkConfigurationInitParameters) DeepCopy() *NetworkConfigurationInitParameters { if in == nil { return nil } - out := new(KinesisParameters) + out := new(NetworkConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaInitParameters) DeepCopyInto(out *LambdaInitParameters) { +func (in *NetworkConfigurationNetworkModeConfigInitParameters) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *out = new(v1.NamespacedReference) - (*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.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *out = new(v1.NamespacedSelector) - (*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 LambdaInitParameters. -func (in *LambdaInitParameters) DeepCopy() *LambdaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigInitParameters. +func (in *NetworkConfigurationNetworkModeConfigInitParameters) DeepCopy() *NetworkConfigurationNetworkModeConfigInitParameters { if in == nil { return nil } - out := new(LambdaInitParameters) + out := new(NetworkConfigurationNetworkModeConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaObservation) DeepCopyInto(out *LambdaObservation) { +func (in *NetworkConfigurationNetworkModeConfigObservation) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **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.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 LambdaObservation. -func (in *LambdaObservation) DeepCopy() *LambdaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigObservation. +func (in *NetworkConfigurationNetworkModeConfigObservation) DeepCopy() *NetworkConfigurationNetworkModeConfigObservation { if in == nil { return nil } - out := new(LambdaObservation) + out := new(NetworkConfigurationNetworkModeConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LambdaParameters) DeepCopyInto(out *LambdaParameters) { +func (in *NetworkConfigurationNetworkModeConfigParameters) DeepCopyInto(out *NetworkConfigurationNetworkModeConfigParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *out = new(v1.NamespacedReference) - (*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.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *out = new(v1.NamespacedSelector) - (*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 LambdaParameters. -func (in *LambdaParameters) DeepCopy() *LambdaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationNetworkModeConfigParameters. +func (in *NetworkConfigurationNetworkModeConfigParameters) DeepCopy() *NetworkConfigurationNetworkModeConfigParameters { if in == nil { return nil } - out := new(LambdaParameters) + out := new(NetworkConfigurationNetworkModeConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationInitParameters) DeepCopyInto(out *LifecycleConfigurationInitParameters) { +func (in *NetworkConfigurationObservation) DeepCopyInto(out *NetworkConfigurationObservation) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) **out = **in } - if in.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **out = **in + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationInitParameters. -func (in *LifecycleConfigurationInitParameters) DeepCopy() *LifecycleConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationObservation. +func (in *NetworkConfigurationObservation) DeepCopy() *NetworkConfigurationObservation { if in == nil { return nil } - out := new(LifecycleConfigurationInitParameters) + out := new(NetworkConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationObservation) DeepCopyInto(out *LifecycleConfigurationObservation) { +func (in *NetworkConfigurationParameters) DeepCopyInto(out *NetworkConfigurationParameters) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) + if in.NetworkMode != nil { + in, out := &in.NetworkMode, &out.NetworkMode + *out = new(string) **out = **in } - if in.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **out = **in + if in.NetworkModeConfig != nil { + in, out := &in.NetworkModeConfig, &out.NetworkModeConfig + *out = new(NetworkModeConfigParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationObservation. -func (in *LifecycleConfigurationObservation) DeepCopy() *LifecycleConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationParameters. +func (in *NetworkConfigurationParameters) DeepCopy() *NetworkConfigurationParameters { if in == nil { return nil } - out := new(LifecycleConfigurationObservation) + out := new(NetworkConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LifecycleConfigurationParameters) DeepCopyInto(out *LifecycleConfigurationParameters) { +func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigInitParameters) { *out = *in - if in.IdleRuntimeSessionTimeout != nil { - in, out := &in.IdleRuntimeSessionTimeout, &out.IdleRuntimeSessionTimeout - *out = new(float64) - **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.MaxLifetime != nil { - in, out := &in.MaxLifetime, &out.MaxLifetime - *out = new(float64) - **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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleConfigurationParameters. -func (in *LifecycleConfigurationParameters) DeepCopy() *LifecycleConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigInitParameters. +func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopy() *NetworkConfigurationVPCConfigInitParameters { if in == nil { return nil } - out := new(LifecycleConfigurationParameters) + out := new(NetworkConfigurationVPCConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationInitParameters) DeepCopyInto(out *LocationInitParameters) { +func (in *NetworkConfigurationVPCConfigObservation) DeepCopyInto(out *NetworkConfigurationVPCConfigObservation) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerInitParameters) - (*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.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 LocationInitParameters. -func (in *LocationInitParameters) DeepCopy() *LocationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigObservation. +func (in *NetworkConfigurationVPCConfigObservation) DeepCopy() *NetworkConfigurationVPCConfigObservation { if in == nil { return nil } - out := new(LocationInitParameters) + out := new(NetworkConfigurationVPCConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationObservation) DeepCopyInto(out *LocationObservation) { +func (in *NetworkConfigurationVPCConfigParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigParameters) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerObservation) - (*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.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 LocationObservation. -func (in *LocationObservation) DeepCopy() *LocationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigParameters. +func (in *NetworkConfigurationVPCConfigParameters) DeepCopy() *NetworkConfigurationVPCConfigParameters { if in == nil { return nil } - out := new(LocationObservation) + out := new(NetworkConfigurationVPCConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationParameters) DeepCopyInto(out *LocationParameters) { +func (in *NetworkModeConfigInitParameters) DeepCopyInto(out *NetworkModeConfigInitParameters) { *out = *in - if in.SecretsManager != nil { - in, out := &in.SecretsManager, &out.SecretsManager - *out = new(SecretsManagerParameters) - (*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.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 LocationParameters. -func (in *LocationParameters) DeepCopy() *LocationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigInitParameters. +func (in *NetworkModeConfigInitParameters) DeepCopy() *NetworkModeConfigInitParameters { if in == nil { return nil } - out := new(LocationParameters) + out := new(NetworkModeConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) { +func (in *NetworkModeConfigObservation) DeepCopyInto(out *NetworkModeConfigObservation) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) + if in.RequireServiceS3Endpoint != nil { + in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint + *out = new(bool) **out = **in } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *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.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3InitParameters. -func (in *LocationS3InitParameters) DeepCopy() *LocationS3InitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigObservation. +func (in *NetworkModeConfigObservation) DeepCopy() *NetworkModeConfigObservation { if in == nil { return nil } - out := new(LocationS3InitParameters) + out := new(NetworkModeConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { +func (in *NetworkModeConfigParameters) DeepCopyInto(out *NetworkModeConfigParameters) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket - *out = new(string) - **out = **in - } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix - *out = new(string) - **out = **in + if in.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.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *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 + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationS3Observation. -func (in *LocationS3Observation) DeepCopy() *LocationS3Observation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigParameters. +func (in *NetworkModeConfigParameters) DeepCopy() *NetworkModeConfigParameters { if in == nil { return nil } - out := new(LocationS3Observation) + out := new(NetworkModeConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters) { +func (in *NumericalInitParameters) DeepCopyInto(out *NumericalInitParameters) { *out = *in - if in.Bucket != nil { - in, out := &in.Bucket, &out.Bucket + if in.Definition != nil { + in, out := &in.Definition, &out.Definition *out = new(string) **out = **in } - if in.Prefix != nil { - in, out := &in.Prefix, &out.Prefix + if in.Label != nil { + in, out := &in.Label, &out.Label *out = new(string) **out = **in } - if in.VersionID != nil { - in, out := &in.VersionID, &out.VersionID - *out = new(string) + 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 LocationS3Parameters. -func (in *LocationS3Parameters) DeepCopy() *LocationS3Parameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalInitParameters. +func (in *NumericalInitParameters) DeepCopy() *NumericalInitParameters { if in == nil { return nil } - out := new(LocationS3Parameters) + out := new(NumericalInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerInitParameters) DeepCopyInto(out *LocationSecretsManagerInitParameters) { +func (in *NumericalObservation) DeepCopyInto(out *NumericalObservation) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label *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 LocationSecretsManagerInitParameters. -func (in *LocationSecretsManagerInitParameters) DeepCopy() *LocationSecretsManagerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalObservation. +func (in *NumericalObservation) DeepCopy() *NumericalObservation { if in == nil { return nil } - out := new(LocationSecretsManagerInitParameters) + out := new(NumericalObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerObservation) DeepCopyInto(out *LocationSecretsManagerObservation) { +func (in *NumericalParameters) DeepCopyInto(out *NumericalParameters) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label *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 LocationSecretsManagerObservation. -func (in *LocationSecretsManagerObservation) DeepCopy() *LocationSecretsManagerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumericalParameters. +func (in *NumericalParameters) DeepCopy() *NumericalParameters { if in == nil { return nil } - out := new(LocationSecretsManagerObservation) + out := new(NumericalParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LocationSecretsManagerParameters) DeepCopyInto(out *LocationSecretsManagerParameters) { +func (in *Oauth2CredentialProvider) DeepCopyInto(out *Oauth2CredentialProvider) { *out = *in - if in.SecretArn != nil { - in, out := &in.SecretArn, &out.SecretArn - *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 LocationSecretsManagerParameters. -func (in *LocationSecretsManagerParameters) DeepCopy() *LocationSecretsManagerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProvider. +func (in *Oauth2CredentialProvider) DeepCopy() *Oauth2CredentialProvider { if in == nil { return nil } - out := new(LocationSecretsManagerParameters) + out := new(Oauth2CredentialProvider) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Oauth2CredentialProvider) 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 *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResourceInitParameters) { +func (in *Oauth2CredentialProviderInitParameters) DeepCopyInto(out *Oauth2CredentialProviderInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - 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.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.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -9301,60 +16795,108 @@ func (in *ManagedVPCResourceInitParameters) DeepCopyInto(out *ManagedVPCResource (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderInitParameters. +func (in *Oauth2CredentialProviderInitParameters) DeepCopy() *Oauth2CredentialProviderInitParameters { + if in == nil { + return nil + } + out := new(Oauth2CredentialProviderInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2CredentialProviderList) DeepCopyInto(out *Oauth2CredentialProviderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Oauth2CredentialProvider, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceInitParameters. -func (in *ManagedVPCResourceInitParameters) DeepCopy() *ManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderList. +func (in *Oauth2CredentialProviderList) DeepCopy() *Oauth2CredentialProviderList { if in == nil { return nil } - out := new(ManagedVPCResourceInitParameters) + out := new(Oauth2CredentialProviderList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Oauth2CredentialProviderList) 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 *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObservation) { +func (in *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2CredentialProviderObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.ClientSecretArn != nil { + in, out := &in.ClientSecretArn, &out.ClientSecretArn + *out = make([]ClientSecretArnObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CredentialProviderArn != nil { + in, out := &in.CredentialProviderArn, &out.CredentialProviderArn *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - 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.ID != nil { + in, out := &in.ID, &out.ID + *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] + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + 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 @@ -9369,58 +16911,36 @@ func (in *ManagedVPCResourceObservation) DeepCopyInto(out *ManagedVPCResourceObs (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceObservation. -func (in *ManagedVPCResourceObservation) DeepCopy() *ManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderObservation. +func (in *Oauth2CredentialProviderObservation) DeepCopy() *Oauth2CredentialProviderObservation { if in == nil { return nil } - out := new(ManagedVPCResourceObservation) + out := new(Oauth2CredentialProviderObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourceParameters) { +func (in *Oauth2CredentialProviderParameters) DeepCopyInto(out *Oauth2CredentialProviderParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.CredentialProviderVendor != nil { + in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.Oauth2ProviderConfig != nil { + in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig + *out = new(Oauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - 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.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)) @@ -9437,235 +16957,218 @@ func (in *ManagedVPCResourceParameters) DeepCopyInto(out *ManagedVPCResourcePara (*out)[key] = outVal } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderParameters. +func (in *Oauth2CredentialProviderParameters) DeepCopy() *Oauth2CredentialProviderParameters { + if in == nil { + return nil } + out := new(Oauth2CredentialProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2CredentialProviderSpec) DeepCopyInto(out *Oauth2CredentialProviderSpec) { + *out = *in + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedVPCResourceParameters. -func (in *ManagedVPCResourceParameters) DeepCopy() *ManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderSpec. +func (in *Oauth2CredentialProviderSpec) DeepCopy() *Oauth2CredentialProviderSpec { if in == nil { return nil } - out := new(ManagedVPCResourceParameters) + out := new(Oauth2CredentialProviderSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpInitParameters) DeepCopyInto(out *McpInitParameters) { +func (in *Oauth2CredentialProviderStatus) DeepCopyInto(out *Oauth2CredentialProviderStatus) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions - *out = new(string) - **out = **in - } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType - *out = new(string) - **out = **in - } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions - *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 McpInitParameters. -func (in *McpInitParameters) DeepCopy() *McpInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderStatus. +func (in *Oauth2CredentialProviderStatus) DeepCopy() *Oauth2CredentialProviderStatus { if in == nil { return nil } - out := new(McpInitParameters) + out := new(Oauth2CredentialProviderStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaInitParameters) DeepCopyInto(out *McpLambdaInitParameters) { +func (in *Oauth2ProviderConfigInitParameters) DeepCopyInto(out *Oauth2ProviderConfigInitParameters) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) } - if in.LambdaArnRef != nil { - in, out := &in.LambdaArnRef, &out.LambdaArnRef - *out = new(v1.NamespacedReference) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.LambdaArnSelector != nil { - in, out := &in.LambdaArnSelector, &out.LambdaArnSelector - *out = new(v1.NamespacedSelector) + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaInitParameters) + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigInitParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaInitParameters. -func (in *McpLambdaInitParameters) DeepCopy() *McpLambdaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigInitParameters. +func (in *Oauth2ProviderConfigInitParameters) DeepCopy() *Oauth2ProviderConfigInitParameters { if in == nil { return nil } - out := new(McpLambdaInitParameters) + out := new(Oauth2ProviderConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaObservation) DeepCopyInto(out *McpLambdaObservation) { +func (in *Oauth2ProviderConfigObservation) DeepCopyInto(out *Oauth2ProviderConfigObservation) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaObservation) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaObservation. -func (in *McpLambdaObservation) DeepCopy() *McpLambdaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigObservation. +func (in *Oauth2ProviderConfigObservation) DeepCopy() *Oauth2ProviderConfigObservation { if in == nil { return nil } - out := new(McpLambdaObservation) + out := new(Oauth2ProviderConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpLambdaParameters) DeepCopyInto(out *McpLambdaParameters) { +func (in *Oauth2ProviderConfigParameters) DeepCopyInto(out *Oauth2ProviderConfigParameters) { *out = *in - if in.LambdaArn != nil { - in, out := &in.LambdaArn, &out.LambdaArn - *out = new(string) - **out = **in + if in.CustomOauth2ProviderConfig != nil { + in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig + *out = new(CustomOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) } - if in.LambdaArnRef != nil { - in, out := &in.LambdaArnRef, &out.LambdaArnRef - *out = new(v1.NamespacedReference) + if in.GithubOauth2ProviderConfig != nil { + in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig + *out = new(GithubOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } - if in.LambdaArnSelector != nil { - in, out := &in.LambdaArnSelector, &out.LambdaArnSelector - *out = new(v1.NamespacedSelector) + if in.GoogleOauth2ProviderConfig != nil { + in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig + *out = new(GoogleOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } - if in.ToolSchema != nil { - in, out := &in.ToolSchema, &out.ToolSchema - *out = new(ToolSchemaParameters) + if in.MicrosoftOauth2ProviderConfig != nil { + in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig + *out = new(MicrosoftOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.SalesforceOauth2ProviderConfig != nil { + in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig + *out = new(SalesforceOauth2ProviderConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.SlackOauth2ProviderConfig != nil { + in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig + *out = new(SlackOauth2ProviderConfigParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpLambdaParameters. -func (in *McpLambdaParameters) DeepCopy() *McpLambdaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigParameters. +func (in *Oauth2ProviderConfigParameters) DeepCopy() *Oauth2ProviderConfigParameters { if in == nil { return nil } - out := new(McpLambdaParameters) + out := new(Oauth2ProviderConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpObservation) DeepCopyInto(out *McpObservation) { +func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataInitParameters) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions - *out = new(string) - **out = **in - } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType - *out = new(string) - **out = **in - } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationObservation) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions - *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 McpObservation. -func (in *McpObservation) DeepCopy() *McpObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataInitParameters. +func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataInitParameters { if in == nil { return nil } - out := new(McpObservation) + out := new(OauthDiscoveryAuthorizationServerMetadataInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpParameters) DeepCopyInto(out *McpParameters) { +func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataObservation) { *out = *in - if in.Instructions != nil { - in, out := &in.Instructions, &out.Instructions + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint *out = new(string) **out = **in } - if in.SearchType != nil { - in, out := &in.SearchType, &out.SearchType + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } - if in.SessionConfiguration != nil { - in, out := &in.SessionConfiguration, &out.SessionConfiguration - *out = new(SessionConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.StreamingConfiguration != nil { - in, out := &in.StreamingConfiguration, &out.StreamingConfiguration - *out = new(StreamingConfigurationParameters) - (*in).DeepCopyInto(*out) - } - if in.SupportedVersions != nil { - in, out := &in.SupportedVersions, &out.SupportedVersions + if in.ResponseTypes != nil { + in, out := &in.ResponseTypes, &out.ResponseTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -9675,182 +17178,118 @@ func (in *McpParameters) DeepCopyInto(out *McpParameters) { } } } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpParameters. -func (in *McpParameters) DeepCopy() *McpParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataObservation. +func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataObservation { if in == nil { return nil } - out := new(McpParameters) + out := new(OauthDiscoveryAuthorizationServerMetadataObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerInitParameters) DeepCopyInto(out *McpServerInitParameters) { +func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataParameters) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in - } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerInitParameters. -func (in *McpServerInitParameters) DeepCopy() *McpServerInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataParameters. +func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataParameters { if in == nil { return nil } - out := new(McpServerInitParameters) + out := new(OauthDiscoveryAuthorizationServerMetadataParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerObservation) DeepCopyInto(out *McpServerObservation) { +func (in *OauthDiscoveryInitParameters) DeepCopyInto(out *OauthDiscoveryInitParameters) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataInitParameters) + (*in).DeepCopyInto(*out) } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerObservation. -func (in *McpServerObservation) DeepCopy() *McpServerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryInitParameters. +func (in *OauthDiscoveryInitParameters) DeepCopy() *OauthDiscoveryInitParameters { if in == nil { return nil } - out := new(McpServerObservation) + out := new(OauthDiscoveryInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *McpServerParameters) DeepCopyInto(out *McpServerParameters) { +func (in *OauthDiscoveryObservation) DeepCopyInto(out *OauthDiscoveryObservation) { *out = *in - if in.Endpoint != nil { - in, out := &in.Endpoint, &out.Endpoint - *out = new(string) - **out = **in + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataObservation) + (*in).DeepCopyInto(*out) } - if in.ListingMode != nil { - in, out := &in.ListingMode, &out.ListingMode + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McpServerParameters. -func (in *McpServerParameters) DeepCopy() *McpServerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryObservation. +func (in *OauthDiscoveryObservation) DeepCopy() *OauthDiscoveryObservation { if in == nil { return nil } - out := new(McpServerParameters) + out := new(OauthDiscoveryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Memory) DeepCopyInto(out *Memory) { +func (in *OauthDiscoveryParameters) DeepCopyInto(out *OauthDiscoveryParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.AuthorizationServerMetadata != nil { + in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata + *out = new(AuthorizationServerMetadataParameters) + (*in).DeepCopyInto(*out) + } + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory. -func (in *Memory) DeepCopy() *Memory { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryParameters. +func (in *OauthDiscoveryParameters) DeepCopy() *OauthDiscoveryParameters { if in == nil { return nil } - out := new(Memory) + out := new(OauthDiscoveryParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Memory) 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 *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { +func (in *OauthInitParameters) DeepCopyInto(out *OauthInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn - *out = new(string) - **out = **in - } - if in.EncryptionKeyArnRef != nil { - in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.EncryptionKeyArnSelector != nil { - in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) - **out = **in - } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) - **out = **in - } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9865,107 +17304,59 @@ func (in *MemoryInitParameters) DeepCopyInto(out *MemoryInitParameters) { (*out)[key] = outVal } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryInitParameters. -func (in *MemoryInitParameters) DeepCopy() *MemoryInitParameters { - if in == nil { - return nil - } - out := new(MemoryInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryList) DeepCopyInto(out *MemoryList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Memory, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryList. -func (in *MemoryList) DeepCopy() *MemoryList { - if in == nil { - return nil - } - out := new(MemoryList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryList) 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 *MemoryObservation) DeepCopyInto(out *MemoryObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType *out = new(string) **out = **in } - if in.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn *out = new(string) **out = **in } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) - **out = **in + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyObservation, len(*in)) + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesObservation) - (*in).DeepCopyInto(*out) + 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 +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthInitParameters. +func (in *OauthInitParameters) DeepCopy() *OauthInitParameters { + if in == nil { + return nil + } + out := new(OauthInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OauthObservation) DeepCopyInto(out *OauthObservation) { + *out = *in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9980,195 +17371,224 @@ func (in *MemoryObservation) DeepCopyInto(out *MemoryObservation) { (*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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) + **out = **in + } + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MemoryObservation. -func (in *MemoryObservation) DeepCopy() *MemoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthObservation. +func (in *OauthObservation) DeepCopy() *OauthObservation { if in == nil { return nil } - out := new(MemoryObservation) + out := new(OauthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryParameters) DeepCopyInto(out *MemoryParameters) { +func (in *OauthParameters) DeepCopyInto(out *OauthParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.EncryptionKeyArn != nil { - in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL *out = new(string) **out = **in } - if in.EncryptionKeyArnRef != nil { - in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.EncryptionKeyArnSelector != nil { - in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.EventExpiryDuration != nil { - in, out := &in.EventExpiryDuration, &out.EventExpiryDuration - *out = new(float64) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) **out = **in } - if in.IndexedKey != nil { - in, out := &in.IndexedKey, &out.IndexedKey - *out = make([]IndexedKeyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn *out = new(string) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.StreamDeliveryResources != nil { - in, out := &in.StreamDeliveryResources, &out.StreamDeliveryResources - *out = new(StreamDeliveryResourcesParameters) - (*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 + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MemoryParameters. -func (in *MemoryParameters) DeepCopy() *MemoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthParameters. +func (in *OauthParameters) DeepCopy() *OauthParameters { if in == nil { return nil } - out := new(MemoryParameters) + out := new(OauthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemorySpec) DeepCopyInto(out *MemorySpec) { +func (in *OnlineEvaluationConfig) DeepCopyInto(out *OnlineEvaluationConfig) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySpec. -func (in *MemorySpec) DeepCopy() *MemorySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfig. +func (in *OnlineEvaluationConfig) DeepCopy() *OnlineEvaluationConfig { if in == nil { return nil } - out := new(MemorySpec) + out := new(OnlineEvaluationConfig) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *OnlineEvaluationConfig) 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 *MemoryStatus) DeepCopyInto(out *MemoryStatus) { +func (in *OnlineEvaluationConfigEvaluatorInitParameters) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } + if in.EvaluatorIDRef != nil { + in, out := &in.EvaluatorIDRef, &out.EvaluatorIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorIDSelector != nil { + in, out := &in.EvaluatorIDSelector, &out.EvaluatorIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStatus. -func (in *MemoryStatus) DeepCopy() *MemoryStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorInitParameters. +func (in *OnlineEvaluationConfigEvaluatorInitParameters) DeepCopy() *OnlineEvaluationConfigEvaluatorInitParameters { if in == nil { return nil } - out := new(MemoryStatus) + out := new(OnlineEvaluationConfigEvaluatorInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategy) DeepCopyInto(out *MemoryStrategy) { +func (in *OnlineEvaluationConfigEvaluatorObservation) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategy. -func (in *MemoryStrategy) DeepCopy() *MemoryStrategy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorObservation. +func (in *OnlineEvaluationConfigEvaluatorObservation) DeepCopy() *OnlineEvaluationConfigEvaluatorObservation { if in == nil { return nil } - out := new(MemoryStrategy) + out := new(OnlineEvaluationConfigEvaluatorObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryStrategy) 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 *OnlineEvaluationConfigEvaluatorParameters) DeepCopyInto(out *OnlineEvaluationConfigEvaluatorParameters) { + *out = *in + if in.EvaluatorID != nil { + in, out := &in.EvaluatorID, &out.EvaluatorID + *out = new(string) + **out = **in } - return nil + if in.EvaluatorIDRef != nil { + in, out := &in.EvaluatorIDRef, &out.EvaluatorIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.EvaluatorIDSelector != nil { + in, out := &in.EvaluatorIDSelector, &out.EvaluatorIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigEvaluatorParameters. +func (in *OnlineEvaluationConfigEvaluatorParameters) DeepCopy() *OnlineEvaluationConfigEvaluatorParameters { + if in == nil { + return nil + } + out := new(OnlineEvaluationConfigEvaluatorParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitParameters) { +func (in *OnlineEvaluationConfigInitParameters) DeepCopyInto(out *OnlineEvaluationConfigInitParameters) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationInitParameters) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigInitParameters) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10176,95 +17596,102 @@ func (in *MemoryStrategyInitParameters) DeepCopyInto(out *MemoryStrategyInitPara *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryIDRef != nil { - in, out := &in.MemoryIDRef, &out.MemoryIDRef + if in.EvaluationExecutionRoleArnRef != nil { + in, out := &in.EvaluationExecutionRoleArnRef, &out.EvaluationExecutionRoleArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.MemoryIDSelector != nil { - in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + if in.EvaluationExecutionRoleArnSelector != nil { + in, out := &in.EvaluationExecutionRoleArnSelector, &out.EvaluationExecutionRoleArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleInitParameters) + (*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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyInitParameters. -func (in *MemoryStrategyInitParameters) DeepCopy() *MemoryStrategyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigInitParameters. +func (in *OnlineEvaluationConfigInitParameters) DeepCopy() *OnlineEvaluationConfigInitParameters { if in == nil { return nil } - out := new(MemoryStrategyInitParameters) + out := new(OnlineEvaluationConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyList) DeepCopyInto(out *MemoryStrategyList) { +func (in *OnlineEvaluationConfigList) DeepCopyInto(out *OnlineEvaluationConfigList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]MemoryStrategy, len(*in)) + *out = make([]OnlineEvaluationConfig, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyList. -func (in *MemoryStrategyList) DeepCopy() *MemoryStrategyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigList. +func (in *OnlineEvaluationConfigList) DeepCopy() *OnlineEvaluationConfigList { if in == nil { return nil } - out := new(MemoryStrategyList) + out := new(OnlineEvaluationConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MemoryStrategyList) DeepCopyObject() runtime.Object { +func (in *OnlineEvaluationConfigList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -10272,11 +17699,11 @@ func (in *MemoryStrategyList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation) { +func (in *OnlineEvaluationConfigObservation) DeepCopyInto(out *OnlineEvaluationConfigObservation) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationObservation) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigObservation) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10284,40 +17711,53 @@ func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) + **out = **in + } + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.MemoryStrategyID != nil { - in, out := &in.MemoryStrategyID, &out.MemoryStrategyID + if in.OnlineEvaluationConfigArn != nil { + in, out := &in.OnlineEvaluationConfigArn, &out.OnlineEvaluationConfigArn *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.OnlineEvaluationConfigID != nil { + in, out := &in.OnlineEvaluationConfigID, &out.OnlineEvaluationConfigID *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *out = make([]*string, len(*in)) + if in.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in + } + if in.OutputConfig != nil { + in, out := &in.OutputConfig, &out.OutputConfig + *out = make([]OutputConfigObservation, 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.Region != nil { @@ -10325,29 +17765,61 @@ func (in *MemoryStrategyObservation) DeepCopyInto(out *MemoryStrategyObservation *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleObservation) + (*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.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 MemoryStrategyObservation. -func (in *MemoryStrategyObservation) DeepCopy() *MemoryStrategyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigObservation. +func (in *OnlineEvaluationConfigObservation) DeepCopy() *OnlineEvaluationConfigObservation { if in == nil { return nil } - out := new(MemoryStrategyObservation) + out := new(OnlineEvaluationConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) { +func (in *OnlineEvaluationConfigParameters) DeepCopyInto(out *OnlineEvaluationConfigParameters) { *out = *in - if in.Configuration != nil { - in, out := &in.Configuration, &out.Configuration - *out = new(ConfigurationParameters) + if in.DataSourceConfig != nil { + in, out := &in.DataSourceConfig, &out.DataSourceConfig + *out = new(DataSourceConfigParameters) (*in).DeepCopyInto(*out) } if in.Description != nil { @@ -10355,912 +17827,1062 @@ func (in *MemoryStrategyParameters) DeepCopyInto(out *MemoryStrategyParameters) *out = new(string) **out = **in } - if in.MemoryExecutionRoleArn != nil { - in, out := &in.MemoryExecutionRoleArn, &out.MemoryExecutionRoleArn - *out = new(string) + if in.EnableOnCreate != nil { + in, out := &in.EnableOnCreate, &out.EnableOnCreate + *out = new(bool) **out = **in } - if in.MemoryExecutionRoleArnRef != nil { - in, out := &in.MemoryExecutionRoleArnRef, &out.MemoryExecutionRoleArnRef - *out = new(v1.NamespacedReference) - (*in).DeepCopyInto(*out) - } - if in.MemoryExecutionRoleArnSelector != nil { - in, out := &in.MemoryExecutionRoleArnSelector, &out.MemoryExecutionRoleArnSelector - *out = new(v1.NamespacedSelector) - (*in).DeepCopyInto(*out) - } - if in.MemoryID != nil { - in, out := &in.MemoryID, &out.MemoryID + if in.EvaluationExecutionRoleArn != nil { + in, out := &in.EvaluationExecutionRoleArn, &out.EvaluationExecutionRoleArn *out = new(string) **out = **in } - if in.MemoryIDRef != nil { - in, out := &in.MemoryIDRef, &out.MemoryIDRef + if in.EvaluationExecutionRoleArnRef != nil { + in, out := &in.EvaluationExecutionRoleArnRef, &out.EvaluationExecutionRoleArnRef *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.MemoryIDSelector != nil { - in, out := &in.MemoryIDSelector, &out.MemoryIDSelector + if in.EvaluationExecutionRoleArnSelector != nil { + in, out := &in.EvaluationExecutionRoleArnSelector, &out.EvaluationExecutionRoleArnSelector *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Evaluator != nil { + in, out := &in.Evaluator, &out.Evaluator + *out = make([]OnlineEvaluationConfigEvaluatorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExecutionStatus != nil { + in, out := &in.ExecutionStatus, &out.ExecutionStatus *out = new(string) **out = **in } - if in.Namespaces != nil { - in, out := &in.Namespaces, &out.Namespaces - *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.OnlineEvaluationConfigName != nil { + in, out := &in.OnlineEvaluationConfigName, &out.OnlineEvaluationConfigName + *out = new(string) + **out = **in } if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(RuleParameters) + (*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 MemoryStrategyParameters. -func (in *MemoryStrategyParameters) DeepCopy() *MemoryStrategyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigParameters. +func (in *OnlineEvaluationConfigParameters) DeepCopy() *OnlineEvaluationConfigParameters { if in == nil { return nil } - out := new(MemoryStrategyParameters) + out := new(OnlineEvaluationConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategySpec) DeepCopyInto(out *MemoryStrategySpec) { +func (in *OnlineEvaluationConfigSpec) DeepCopyInto(out *OnlineEvaluationConfigSpec) { *out = *in in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategySpec. -func (in *MemoryStrategySpec) DeepCopy() *MemoryStrategySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigSpec. +func (in *OnlineEvaluationConfigSpec) DeepCopy() *OnlineEvaluationConfigSpec { if in == nil { return nil } - out := new(MemoryStrategySpec) + out := new(OnlineEvaluationConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryStrategyStatus) DeepCopyInto(out *MemoryStrategyStatus) { +func (in *OnlineEvaluationConfigStatus) DeepCopyInto(out *OnlineEvaluationConfigStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryStrategyStatus. -func (in *MemoryStrategyStatus) DeepCopy() *MemoryStrategyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineEvaluationConfigStatus. +func (in *OnlineEvaluationConfigStatus) DeepCopy() *OnlineEvaluationConfigStatus { + if in == nil { + return nil + } + out := new(OnlineEvaluationConfigStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInitParameters) DeepCopyInto(out *OpenAPISchemaInitParameters) { + *out = *in + if in.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadInitParameters) + (*in).DeepCopyInto(*out) + } + if in.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3InitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInitParameters. +func (in *OpenAPISchemaInitParameters) DeepCopy() *OpenAPISchemaInitParameters { + if in == nil { + return nil + } + out := new(OpenAPISchemaInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadInitParameters) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadInitParameters. +func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopy() *OpenAPISchemaInlinePayloadInitParameters { + if in == nil { + return nil + } + out := new(OpenAPISchemaInlinePayloadInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadObservation) DeepCopyInto(out *OpenAPISchemaInlinePayloadObservation) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadObservation. +func (in *OpenAPISchemaInlinePayloadObservation) DeepCopy() *OpenAPISchemaInlinePayloadObservation { + if in == nil { + return nil + } + out := new(OpenAPISchemaInlinePayloadObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenAPISchemaInlinePayloadParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadParameters) { + *out = *in + if in.Payload != nil { + in, out := &in.Payload, &out.Payload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadParameters. +func (in *OpenAPISchemaInlinePayloadParameters) DeepCopy() *OpenAPISchemaInlinePayloadParameters { if in == nil { return nil } - out := new(MemoryStrategyStatus) + out := new(OpenAPISchemaInlinePayloadParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationInitParameters) DeepCopyInto(out *MetadataConfigurationInitParameters) { +func (in *OpenAPISchemaObservation) DeepCopyInto(out *OpenAPISchemaObservation) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadObservation) + (*in).DeepCopyInto(*out) } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3Observation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationInitParameters. -func (in *MetadataConfigurationInitParameters) DeepCopy() *MetadataConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaObservation. +func (in *OpenAPISchemaObservation) DeepCopy() *OpenAPISchemaObservation { if in == nil { return nil } - out := new(MetadataConfigurationInitParameters) + out := new(OpenAPISchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationObservation) DeepCopyInto(out *MetadataConfigurationObservation) { +func (in *OpenAPISchemaParameters) DeepCopyInto(out *OpenAPISchemaParameters) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.InlinePayload != nil { + in, out := &in.InlinePayload, &out.InlinePayload + *out = new(OpenAPISchemaInlinePayloadParameters) + (*in).DeepCopyInto(*out) } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.S3 != nil { + in, out := &in.S3, &out.S3 + *out = new(OpenAPISchemaS3Parameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationObservation. -func (in *MetadataConfigurationObservation) DeepCopy() *MetadataConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaParameters. +func (in *OpenAPISchemaParameters) DeepCopy() *OpenAPISchemaParameters { if in == nil { return nil } - out := new(MetadataConfigurationObservation) + out := new(OpenAPISchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataConfigurationParameters) DeepCopyInto(out *MetadataConfigurationParameters) { +func (in *OpenAPISchemaS3InitParameters) DeepCopyInto(out *OpenAPISchemaS3InitParameters) { *out = *in - if in.AllowedQueryParameters != nil { - in, out := &in.AllowedQueryParameters, &out.AllowedQueryParameters - *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.AllowedRequestHeaders != nil { - in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders - *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.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) + **out = **in } - if in.AllowedResponseHeaders != nil { - in, out := &in.AllowedResponseHeaders, &out.AllowedResponseHeaders - *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.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfigurationParameters. -func (in *MetadataConfigurationParameters) DeepCopy() *MetadataConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3InitParameters. +func (in *OpenAPISchemaS3InitParameters) DeepCopy() *OpenAPISchemaS3InitParameters { if in == nil { return nil } - out := new(MetadataConfigurationParameters) + out := new(OpenAPISchemaS3InitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigInitParameters) { +func (in *OpenAPISchemaS3Observation) DeepCopyInto(out *OpenAPISchemaS3Observation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in - } - if in.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in - } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigInitParameters. -func (in *MicrosoftOauth2ProviderConfigInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3Observation. +func (in *OpenAPISchemaS3Observation) DeepCopy() *OpenAPISchemaS3Observation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigInitParameters) + out := new(OpenAPISchemaS3Observation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) { +func (in *OpenAPISchemaS3Parameters) DeepCopyInto(out *OpenAPISchemaS3Parameters) { *out = *in + if in.BucketOwnerAccountID != nil { + in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + *out = new(string) + **out = **in + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaS3Parameters. +func (in *OpenAPISchemaS3Parameters) DeepCopy() *OpenAPISchemaS3Parameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(OpenAPISchemaS3Parameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *OpenaiModelConfigInitParameters) DeepCopyInto(out *OpenaiModelConfigInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID *out = new(string) **out = **in } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *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.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in } - if in.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint - *out = new(string) + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigInitParameters. +func (in *OpenaiModelConfigInitParameters) DeepCopy() *OpenaiModelConfigInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation) + out := new(OpenaiModelConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *OpenaiModelConfigObservation) DeepCopyInto(out *OpenaiModelConfigObservation) { *out = *in + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigObservation. +func (in *OpenaiModelConfigObservation) DeepCopy() *OpenaiModelConfigObservation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataParameters) + out := new(OpenaiModelConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) { +func (in *OpenaiModelConfigParameters) DeepCopyInto(out *OpenaiModelConfigParameters) { *out = *in + if in.APIKeyArn != nil { + in, out := &in.APIKeyArn, &out.APIKeyArn + *out = new(string) + **out = **in + } + if in.APIKeyArnRef != nil { + in, out := &in.APIKeyArnRef, &out.APIKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.APIKeyArnSelector != nil { + in, out := &in.APIKeyArnSelector, &out.APIKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.MaxTokens != nil { + in, out := &in.MaxTokens, &out.MaxTokens + *out = new(float64) + **out = **in + } + if in.ModelID != nil { + in, out := &in.ModelID, &out.ModelID + *out = new(string) + **out = **in + } + if in.Temperature != nil { + in, out := &in.Temperature, &out.Temperature + *out = new(float64) + **out = **in + } + if in.TopP != nil { + in, out := &in.TopP, &out.TopP + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenaiModelConfigParameters. +func (in *OpenaiModelConfigParameters) DeepCopy() *OpenaiModelConfigParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryInitParameters) + out := new(OpenaiModelConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) { +func (in *OutboundAuthInitParameters) DeepCopyInto(out *OutboundAuthInitParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL - *out = new(string) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) **out = **in } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOauth2ProviderConfigOauthDiscoveryObservation. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthInitParameters. +func (in *OutboundAuthInitParameters) DeepCopy() *OutboundAuthInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryObservation) + out := new(OutboundAuthInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) { +func (in *OutboundAuthOauthInitParameters) DeepCopyInto(out *OutboundAuthOauthInitParameters) { *out = *in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) + **out = **in + } + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigOauthDiscoveryParameters. -func (in *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) DeepCopy() *MicrosoftOauth2ProviderConfigOauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthInitParameters. +func (in *OutboundAuthOauthInitParameters) DeepCopy() *OutboundAuthOauthInitParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigOauthDiscoveryParameters) + out := new(OutboundAuthOauthInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopyInto(out *MicrosoftOauth2ProviderConfigObservation) { +func (in *OutboundAuthOauthObservation) DeepCopyInto(out *OutboundAuthOauthObservation) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) **out = **in } - if in.OauthDiscovery != nil { - in, out := &in.OauthDiscovery, &out.OauthDiscovery - *out = make([]MicrosoftOauth2ProviderConfigOauthDiscoveryObservation, len(*in)) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) + **out = **in + } + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigObservation. -func (in *MicrosoftOauth2ProviderConfigObservation) DeepCopy() *MicrosoftOauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthObservation. +func (in *OutboundAuthOauthObservation) DeepCopy() *OutboundAuthOauthObservation { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigObservation) + out := new(OutboundAuthOauthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopyInto(out *MicrosoftOauth2ProviderConfigParameters) { +func (in *OutboundAuthOauthParameters) DeepCopyInto(out *OutboundAuthOauthParameters) { *out = *in - if in.ClientCredentialsWoVersion != nil { - in, out := &in.ClientCredentialsWoVersion, &out.ClientCredentialsWoVersion - *out = new(float64) - **out = **in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *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.ClientIDSecretRef != nil { - in, out := &in.ClientIDSecretRef, &out.ClientIDSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.DefaultReturnURL != nil { + in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + *out = new(string) **out = **in } - if in.ClientIDWoSecretRef != nil { - in, out := &in.ClientIDWoSecretRef, &out.ClientIDWoSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.GrantType != nil { + in, out := &in.GrantType, &out.GrantType + *out = new(string) **out = **in } - if in.ClientSecretSecretRef != nil { - in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef - *out = new(v1.LocalSecretKeySelector) + if in.ProviderArn != nil { + in, out := &in.ProviderArn, &out.ProviderArn + *out = new(string) **out = **in } - if in.ClientSecretWoSecretRef != nil { - in, out := &in.ClientSecretWoSecretRef, &out.ClientSecretWoSecretRef - *out = new(v1.LocalSecretKeySelector) - **out = **in + if in.ProviderArnRef != nil { + in, out := &in.ProviderArnRef, &out.ProviderArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ProviderArnSelector != nil { + in, out := &in.ProviderArnSelector, &out.ProviderArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *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 MicrosoftOauth2ProviderConfigParameters. -func (in *MicrosoftOauth2ProviderConfigParameters) DeepCopy() *MicrosoftOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthOauthParameters. +func (in *OutboundAuthOauthParameters) DeepCopy() *OutboundAuthOauthParameters { if in == nil { return nil } - out := new(MicrosoftOauth2ProviderConfigParameters) + out := new(OutboundAuthOauthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationInitParameters) DeepCopyInto(out *NetworkConfigurationInitParameters) { +func (in *OutboundAuthObservation) DeepCopyInto(out *OutboundAuthObservation) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) **out = **in } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigInitParameters) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationInitParameters. -func (in *NetworkConfigurationInitParameters) DeepCopy() *NetworkConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthObservation. +func (in *OutboundAuthObservation) DeepCopy() *OutboundAuthObservation { if in == nil { return nil } - out := new(NetworkConfigurationInitParameters) + out := new(OutboundAuthObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationObservation) DeepCopyInto(out *NetworkConfigurationObservation) { +func (in *OutboundAuthParameters) DeepCopyInto(out *OutboundAuthParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) + if in.AwsIAM != nil { + in, out := &in.AwsIAM, &out.AwsIAM + *out = new(bool) **out = **in } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigObservation) + if in.None != nil { + in, out := &in.None, &out.None + *out = new(bool) + **out = **in + } + if in.Oauth != nil { + in, out := &in.Oauth, &out.Oauth + *out = new(OutboundAuthOauthParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationObservation. -func (in *NetworkConfigurationObservation) DeepCopy() *NetworkConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundAuthParameters. +func (in *OutboundAuthParameters) DeepCopy() *OutboundAuthParameters { if in == nil { return nil } - out := new(NetworkConfigurationObservation) + out := new(OutboundAuthParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigurationParameters) DeepCopyInto(out *NetworkConfigurationParameters) { +func (in *OutputConfigInitParameters) DeepCopyInto(out *OutputConfigInitParameters) { *out = *in - if in.NetworkMode != nil { - in, out := &in.NetworkMode, &out.NetworkMode - *out = new(string) - **out = **in - } - if in.NetworkModeConfig != nil { - in, out := &in.NetworkModeConfig, &out.NetworkModeConfig - *out = new(NetworkModeConfigParameters) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationParameters. -func (in *NetworkConfigurationParameters) DeepCopy() *NetworkConfigurationParameters { +// 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(NetworkConfigurationParameters) + 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 *NetworkConfigurationVPCConfigInitParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigInitParameters) { +func (in *OutputConfigObservation) DeepCopyInto(out *OutputConfigObservation) { *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.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.CloudwatchConfig != nil { + in, out := &in.CloudwatchConfig, &out.CloudwatchConfig + *out = make([]CloudwatchConfigObservation, 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 NetworkConfigurationVPCConfigInitParameters. -func (in *NetworkConfigurationVPCConfigInitParameters) DeepCopy() *NetworkConfigurationVPCConfigInitParameters { +// 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(NetworkConfigurationVPCConfigInitParameters) + 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 *NetworkConfigurationVPCConfigObservation) DeepCopyInto(out *NetworkConfigurationVPCConfigObservation) { +func (in *OutputConfigParameters) DeepCopyInto(out *OutputConfigParameters) { *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.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 NetworkConfigurationVPCConfigObservation. -func (in *NetworkConfigurationVPCConfigObservation) DeepCopy() *NetworkConfigurationVPCConfigObservation { +// 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(NetworkConfigurationVPCConfigObservation) + 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 *NetworkConfigurationVPCConfigParameters) DeepCopyInto(out *NetworkConfigurationVPCConfigParameters) { +func (in *OutputSchemaInitParameters) DeepCopyInto(out *OutputSchemaInitParameters) { *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.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyInitParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationVPCConfigParameters. -func (in *NetworkConfigurationVPCConfigParameters) DeepCopy() *NetworkConfigurationVPCConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaInitParameters. +func (in *OutputSchemaInitParameters) DeepCopy() *OutputSchemaInitParameters { if in == nil { return nil } - out := new(NetworkConfigurationVPCConfigParameters) + out := new(OutputSchemaInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigInitParameters) DeepCopyInto(out *NetworkModeConfigInitParameters) { +func (in *OutputSchemaItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsInitParameters) { *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.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]*string, len(*in)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsItemsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyInitParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigInitParameters. -func (in *NetworkModeConfigInitParameters) DeepCopy() *NetworkModeConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsInitParameters. +func (in *OutputSchemaItemsInitParameters) DeepCopy() *OutputSchemaItemsInitParameters { if in == nil { return nil } - out := new(NetworkModeConfigInitParameters) + out := new(OutputSchemaItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigObservation) DeepCopyInto(out *NetworkModeConfigObservation) { +func (in *OutputSchemaItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsItemsInitParameters) { *out = *in - if in.RequireServiceS3Endpoint != nil { - in, out := &in.RequireServiceS3Endpoint, &out.RequireServiceS3Endpoint - *out = new(bool) + if in.Description != nil { + in, out := &in.Description, &out.Description + *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigObservation. -func (in *NetworkModeConfigObservation) DeepCopy() *NetworkModeConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsInitParameters. +func (in *OutputSchemaItemsItemsInitParameters) DeepCopy() *OutputSchemaItemsItemsInitParameters { if in == nil { return nil } - out := new(NetworkModeConfigObservation) + out := new(OutputSchemaItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkModeConfigParameters) DeepCopyInto(out *NetworkModeConfigParameters) { +func (in *OutputSchemaItemsItemsObservation) DeepCopyInto(out *OutputSchemaItemsItemsObservation) { *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.Description != nil { + in, out := &in.Description, &out.Description + *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.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkModeConfigParameters. -func (in *NetworkModeConfigParameters) DeepCopy() *NetworkModeConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsObservation. +func (in *OutputSchemaItemsItemsObservation) DeepCopy() *OutputSchemaItemsItemsObservation { if in == nil { return nil } - out := new(NetworkModeConfigParameters) + out := new(OutputSchemaItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProvider) DeepCopyInto(out *Oauth2CredentialProvider) { +func (in *OutputSchemaItemsItemsParameters) DeepCopyInto(out *OutputSchemaItemsItemsParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProvider. -func (in *Oauth2CredentialProvider) DeepCopy() *Oauth2CredentialProvider { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsItemsParameters. +func (in *OutputSchemaItemsItemsParameters) DeepCopy() *OutputSchemaItemsItemsParameters { if in == nil { return nil } - out := new(Oauth2CredentialProvider) + out := new(OutputSchemaItemsItemsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Oauth2CredentialProvider) 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 *Oauth2CredentialProviderInitParameters) DeepCopyInto(out *Oauth2CredentialProviderInitParameters) { +func (in *OutputSchemaItemsObservation) DeepCopyInto(out *OutputSchemaItemsObservation) { *out = *in - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsItemsObservation) (*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.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderInitParameters. -func (in *Oauth2CredentialProviderInitParameters) DeepCopy() *Oauth2CredentialProviderInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsObservation. +func (in *OutputSchemaItemsObservation) DeepCopy() *OutputSchemaItemsObservation { if in == nil { return nil } - out := new(Oauth2CredentialProviderInitParameters) + out := new(OutputSchemaItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderList) DeepCopyInto(out *Oauth2CredentialProviderList) { +func (in *OutputSchemaItemsParameters) DeepCopyInto(out *OutputSchemaItemsParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Oauth2CredentialProvider, len(*in)) + *out = new(OutputSchemaItemsItemsParameters) + (*in).DeepCopyInto(*out) + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaItemsPropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderList. -func (in *Oauth2CredentialProviderList) DeepCopy() *Oauth2CredentialProviderList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsParameters. +func (in *OutputSchemaItemsParameters) DeepCopy() *OutputSchemaItemsParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderList) + out := new(OutputSchemaItemsParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Oauth2CredentialProviderList) 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 *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2CredentialProviderObservation) { +func (in *OutputSchemaItemsPropertyInitParameters) DeepCopyInto(out *OutputSchemaItemsPropertyInitParameters) { *out = *in - if in.ClientSecretArn != nil { - in, out := &in.ClientSecretArn, &out.ClientSecretArn - *out = make([]ClientSecretArnObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CredentialProviderArn != nil { - in, out := &in.CredentialProviderArn, &out.CredentialProviderArn - *out = new(string) - **out = **in - } - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } @@ -11269,1111 +18891,1201 @@ func (in *Oauth2CredentialProviderObservation) DeepCopyInto(out *Oauth2Credentia *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON *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.Required != nil { + in, out := &in.Required, &out.Required + *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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderObservation. -func (in *Oauth2CredentialProviderObservation) DeepCopy() *Oauth2CredentialProviderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyInitParameters. +func (in *OutputSchemaItemsPropertyInitParameters) DeepCopy() *OutputSchemaItemsPropertyInitParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderObservation) + out := new(OutputSchemaItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderParameters) DeepCopyInto(out *Oauth2CredentialProviderParameters) { +func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaItemsPropertyObservation) { *out = *in - if in.CredentialProviderVendor != nil { - in, out := &in.CredentialProviderVendor, &out.CredentialProviderVendor + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Oauth2ProviderConfig != nil { - in, out := &in.Oauth2ProviderConfig, &out.Oauth2ProviderConfig - *out = new(Oauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Name != nil { + in, out := &in.Name, &out.Name *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderParameters. -func (in *Oauth2CredentialProviderParameters) DeepCopy() *Oauth2CredentialProviderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyObservation. +func (in *OutputSchemaItemsPropertyObservation) DeepCopy() *OutputSchemaItemsPropertyObservation { if in == nil { return nil } - out := new(Oauth2CredentialProviderParameters) + out := new(OutputSchemaItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderSpec) DeepCopyInto(out *Oauth2CredentialProviderSpec) { +func (in *OutputSchemaItemsPropertyParameters) DeepCopyInto(out *OutputSchemaItemsPropertyParameters) { *out = *in - in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderSpec. -func (in *Oauth2CredentialProviderSpec) DeepCopy() *Oauth2CredentialProviderSpec { - if in == nil { - return nil + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(Oauth2CredentialProviderSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2CredentialProviderStatus) DeepCopyInto(out *Oauth2CredentialProviderStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2CredentialProviderStatus. -func (in *Oauth2CredentialProviderStatus) DeepCopy() *Oauth2CredentialProviderStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyParameters. +func (in *OutputSchemaItemsPropertyParameters) DeepCopy() *OutputSchemaItemsPropertyParameters { if in == nil { return nil } - out := new(Oauth2CredentialProviderStatus) + out := new(OutputSchemaItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigInitParameters) DeepCopyInto(out *Oauth2ProviderConfigInitParameters) { +func (in *OutputSchemaObservation) DeepCopyInto(out *OutputSchemaObservation) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) - } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigInitParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsObservation) (*in).DeepCopyInto(*out) } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigInitParameters) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigInitParameters. -func (in *Oauth2ProviderConfigInitParameters) DeepCopy() *Oauth2ProviderConfigInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaObservation. +func (in *OutputSchemaObservation) DeepCopy() *OutputSchemaObservation { if in == nil { return nil } - out := new(Oauth2ProviderConfigInitParameters) + out := new(OutputSchemaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigObservation) DeepCopyInto(out *Oauth2ProviderConfigObservation) { +func (in *OutputSchemaParameters) DeepCopyInto(out *OutputSchemaParameters) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) - } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaItemsParameters) (*in).DeepCopyInto(*out) } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigObservation) - (*in).DeepCopyInto(*out) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigObservation. -func (in *Oauth2ProviderConfigObservation) DeepCopy() *Oauth2ProviderConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaParameters. +func (in *OutputSchemaParameters) DeepCopy() *OutputSchemaParameters { if in == nil { return nil } - out := new(Oauth2ProviderConfigObservation) + out := new(OutputSchemaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Oauth2ProviderConfigParameters) DeepCopyInto(out *Oauth2ProviderConfigParameters) { +func (in *OutputSchemaPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyInitParameters) { *out = *in - if in.CustomOauth2ProviderConfig != nil { - in, out := &in.CustomOauth2ProviderConfig, &out.CustomOauth2ProviderConfig - *out = new(CustomOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) - } - if in.GithubOauth2ProviderConfig != nil { - in, out := &in.GithubOauth2ProviderConfig, &out.GithubOauth2ProviderConfig - *out = new(GithubOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.GoogleOauth2ProviderConfig != nil { - in, out := &in.GoogleOauth2ProviderConfig, &out.GoogleOauth2ProviderConfig - *out = new(GoogleOauth2ProviderConfigParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsInitParameters) (*in).DeepCopyInto(*out) } - if in.MicrosoftOauth2ProviderConfig != nil { - in, out := &in.MicrosoftOauth2ProviderConfig, &out.MicrosoftOauth2ProviderConfig - *out = new(MicrosoftOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.SalesforceOauth2ProviderConfig != nil { - in, out := &in.SalesforceOauth2ProviderConfig, &out.SalesforceOauth2ProviderConfig - *out = new(SalesforceOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.SlackOauth2ProviderConfig != nil { - in, out := &in.SlackOauth2ProviderConfig, &out.SlackOauth2ProviderConfig - *out = new(SlackOauth2ProviderConfigParameters) - (*in).DeepCopyInto(*out) + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2ProviderConfigParameters. -func (in *Oauth2ProviderConfigParameters) DeepCopy() *Oauth2ProviderConfigParameters { - if in == nil { - return nil + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } - out := new(Oauth2ProviderConfigParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataInitParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataInitParameters. -func (in *OauthDiscoveryAuthorizationServerMetadataInitParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyInitParameters. +func (in *OutputSchemaPropertyInitParameters) DeepCopy() *OutputSchemaPropertyInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataInitParameters) + out := new(OutputSchemaPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataObservation) { +func (in *OutputSchemaPropertyItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsInitParameters) { *out = *in - if in.AuthorizationEndpoint != nil { - in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Issuer != nil { - in, out := &in.Issuer, &out.Issuer - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsInitParameters) + (*in).DeepCopyInto(*out) } - if in.ResponseTypes != nil { - in, out := &in.ResponseTypes, &out.ResponseTypes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyInitParameters, 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.TokenEndpoint != nil { - in, out := &in.TokenEndpoint, &out.TokenEndpoint + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataObservation. -func (in *OauthDiscoveryAuthorizationServerMetadataObservation) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsInitParameters. +func (in *OutputSchemaPropertyItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataObservation) + out := new(OutputSchemaPropertyItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopyInto(out *OauthDiscoveryAuthorizationServerMetadataParameters) { +func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsInitParameters) { *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryAuthorizationServerMetadataParameters. -func (in *OauthDiscoveryAuthorizationServerMetadataParameters) DeepCopy() *OauthDiscoveryAuthorizationServerMetadataParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsInitParameters. +func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsItemsInitParameters { if in == nil { return nil } - out := new(OauthDiscoveryAuthorizationServerMetadataParameters) + out := new(OutputSchemaPropertyItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryInitParameters) DeepCopyInto(out *OauthDiscoveryInitParameters) { +func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsItemsObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryInitParameters. -func (in *OauthDiscoveryInitParameters) DeepCopy() *OauthDiscoveryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsObservation. +func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopy() *OutputSchemaPropertyItemsItemsObservation { if in == nil { return nil } - out := new(OauthDiscoveryInitParameters) + out := new(OutputSchemaPropertyItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryObservation) DeepCopyInto(out *OauthDiscoveryObservation) { +func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsParameters) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryObservation. -func (in *OauthDiscoveryObservation) DeepCopy() *OauthDiscoveryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsParameters. +func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopy() *OutputSchemaPropertyItemsItemsParameters { if in == nil { return nil } - out := new(OauthDiscoveryObservation) + out := new(OutputSchemaPropertyItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthDiscoveryParameters) DeepCopyInto(out *OauthDiscoveryParameters) { +func (in *OutputSchemaPropertyItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsObservation) { *out = *in - if in.AuthorizationServerMetadata != nil { - in, out := &in.AuthorizationServerMetadata, &out.AuthorizationServerMetadata - *out = new(AuthorizationServerMetadataParameters) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsObservation) (*in).DeepCopyInto(*out) } - if in.DiscoveryURL != nil { - in, out := &in.DiscoveryURL, &out.DiscoveryURL + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyObservation, 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 } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthDiscoveryParameters. -func (in *OauthDiscoveryParameters) DeepCopy() *OauthDiscoveryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsObservation. +func (in *OutputSchemaPropertyItemsObservation) DeepCopy() *OutputSchemaPropertyItemsObservation { if in == nil { return nil } - out := new(OauthDiscoveryParameters) + out := new(OutputSchemaPropertyItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthInitParameters) DeepCopyInto(out *OauthInitParameters) { +func (in *OutputSchemaPropertyItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsParameters) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL - *out = new(string) - **out = **in - } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsItemsParameters) + (*in).DeepCopyInto(*out) } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]PropertyItemsPropertyParameters, 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.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthInitParameters. -func (in *OauthInitParameters) DeepCopy() *OauthInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsParameters. +func (in *OutputSchemaPropertyItemsParameters) DeepCopy() *OutputSchemaPropertyItemsParameters { if in == nil { return nil } - out := new(OauthInitParameters) + out := new(OutputSchemaPropertyItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthObservation) DeepCopyInto(out *OauthObservation) { +func (in *OutputSchemaPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyObservation) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType - *out = new(string) - **out = **in + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsObservation) + (*in).DeepCopyInto(*out) } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *out = make([]*string, len(*in)) + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyObservation, 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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthObservation. -func (in *OauthObservation) DeepCopy() *OauthObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyObservation. +func (in *OutputSchemaPropertyObservation) DeepCopy() *OutputSchemaPropertyObservation { if in == nil { return nil } - out := new(OauthObservation) + out := new(OutputSchemaPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OauthParameters) DeepCopyInto(out *OauthParameters) { +func (in *OutputSchemaPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyParameters) { *out = *in - if in.CustomParameters != nil { - in, out := &in.CustomParameters, &out.CustomParameters - *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.DefaultReturnURL != nil { - in, out := &in.DefaultReturnURL, &out.DefaultReturnURL + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.GrantType != nil { - in, out := &in.GrantType, &out.GrantType + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(OutputSchemaPropertyItemsParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ProviderArn != nil { - in, out := &in.ProviderArn, &out.ProviderArn + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]OutputSchemaPropertyPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *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 OauthParameters. -func (in *OauthParameters) DeepCopy() *OauthParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyParameters. +func (in *OutputSchemaPropertyParameters) DeepCopy() *OutputSchemaPropertyParameters { if in == nil { return nil } - out := new(OauthParameters) + out := new(OutputSchemaPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInitParameters) DeepCopyInto(out *OpenAPISchemaInitParameters) { +func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyInitParameters) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3InitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInitParameters. -func (in *OpenAPISchemaInitParameters) DeepCopy() *OpenAPISchemaInitParameters { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(OpenAPISchemaInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadInitParameters) { - *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadInitParameters. -func (in *OpenAPISchemaInlinePayloadInitParameters) DeepCopy() *OpenAPISchemaInlinePayloadInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyInitParameters. +func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopy() *OutputSchemaPropertyPropertyInitParameters { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadInitParameters) + out := new(OutputSchemaPropertyPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadObservation) DeepCopyInto(out *OpenAPISchemaInlinePayloadObservation) { +func (in *OutputSchemaPropertyPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyPropertyObservation) { *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadObservation. -func (in *OpenAPISchemaInlinePayloadObservation) DeepCopy() *OpenAPISchemaInlinePayloadObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyObservation. +func (in *OutputSchemaPropertyPropertyObservation) DeepCopy() *OutputSchemaPropertyPropertyObservation { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadObservation) + out := new(OutputSchemaPropertyPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaInlinePayloadParameters) DeepCopyInto(out *OpenAPISchemaInlinePayloadParameters) { +func (in *OutputSchemaPropertyPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyParameters) { *out = *in - if in.Payload != nil { - in, out := &in.Payload, &out.Payload + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPISchemaInlinePayloadParameters. -func (in *OpenAPISchemaInlinePayloadParameters) DeepCopy() *OpenAPISchemaInlinePayloadParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyParameters. +func (in *OutputSchemaPropertyPropertyParameters) DeepCopy() *OutputSchemaPropertyPropertyParameters { if in == nil { return nil } - out := new(OpenAPISchemaInlinePayloadParameters) + out := new(OutputSchemaPropertyPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaObservation) DeepCopyInto(out *OpenAPISchemaObservation) { +func (in *Policy) DeepCopyInto(out *Policy) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadObservation) - (*in).DeepCopyInto(*out) - } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3Observation) - (*in).DeepCopyInto(*out) - } + 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 OpenAPISchemaObservation. -func (in *OpenAPISchemaObservation) DeepCopy() *OpenAPISchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { if in == nil { return nil } - out := new(OpenAPISchemaObservation) + out := new(Policy) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Policy) 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 *OpenAPISchemaParameters) DeepCopyInto(out *OpenAPISchemaParameters) { +func (in *PolicyEngine) DeepCopyInto(out *PolicyEngine) { *out = *in - if in.InlinePayload != nil { - in, out := &in.InlinePayload, &out.InlinePayload - *out = new(OpenAPISchemaInlinePayloadParameters) - (*in).DeepCopyInto(*out) - } - if in.S3 != nil { - in, out := &in.S3, &out.S3 - *out = new(OpenAPISchemaS3Parameters) - (*in).DeepCopyInto(*out) - } + 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 OpenAPISchemaParameters. -func (in *OpenAPISchemaParameters) DeepCopy() *OpenAPISchemaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngine. +func (in *PolicyEngine) DeepCopy() *PolicyEngine { if in == nil { return nil } - out := new(OpenAPISchemaParameters) + out := new(PolicyEngine) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyEngine) 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 *OpenAPISchemaS3InitParameters) DeepCopyInto(out *OpenAPISchemaS3InitParameters) { +func (in *PolicyEngineConfigurationInitParameters) DeepCopyInto(out *PolicyEngineConfigurationInitParameters) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 OpenAPISchemaS3InitParameters. -func (in *OpenAPISchemaS3InitParameters) DeepCopy() *OpenAPISchemaS3InitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationInitParameters. +func (in *PolicyEngineConfigurationInitParameters) DeepCopy() *PolicyEngineConfigurationInitParameters { if in == nil { return nil } - out := new(OpenAPISchemaS3InitParameters) + out := new(PolicyEngineConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaS3Observation) DeepCopyInto(out *OpenAPISchemaS3Observation) { +func (in *PolicyEngineConfigurationObservation) DeepCopyInto(out *PolicyEngineConfigurationObservation) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + 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 OpenAPISchemaS3Observation. -func (in *OpenAPISchemaS3Observation) DeepCopy() *OpenAPISchemaS3Observation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationObservation. +func (in *PolicyEngineConfigurationObservation) DeepCopy() *PolicyEngineConfigurationObservation { if in == nil { return nil } - out := new(OpenAPISchemaS3Observation) + out := new(PolicyEngineConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpenAPISchemaS3Parameters) DeepCopyInto(out *OpenAPISchemaS3Parameters) { +func (in *PolicyEngineConfigurationParameters) DeepCopyInto(out *PolicyEngineConfigurationParameters) { *out = *in - if in.BucketOwnerAccountID != nil { - in, out := &in.BucketOwnerAccountID, &out.BucketOwnerAccountID + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.URI != nil { - in, out := &in.URI, &out.URI + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + 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 OpenAPISchemaS3Parameters. -func (in *OpenAPISchemaS3Parameters) DeepCopy() *OpenAPISchemaS3Parameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationParameters. +func (in *PolicyEngineConfigurationParameters) DeepCopy() *PolicyEngineConfigurationParameters { if in == nil { return nil } - out := new(OpenAPISchemaS3Parameters) + out := new(PolicyEngineConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaInitParameters) DeepCopyInto(out *OutputSchemaInitParameters) { +func (in *PolicyEngineInitParameters) DeepCopyInto(out *PolicyEngineInitParameters) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsInitParameters) + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn + *out = new(string) + **out = **in + } + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Name != nil { + in, out := &in.Name, &out.Name *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 OutputSchemaInitParameters. -func (in *OutputSchemaInitParameters) DeepCopy() *OutputSchemaInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineInitParameters. +func (in *PolicyEngineInitParameters) DeepCopy() *PolicyEngineInitParameters { if in == nil { return nil } - out := new(OutputSchemaInitParameters) + out := new(PolicyEngineInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsInitParameters) { +func (in *PolicyEngineList) DeepCopyInto(out *PolicyEngineList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *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 = new(OutputSchemaItemsItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyInitParameters, len(*in)) + *out = make([]PolicyEngine, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsInitParameters. -func (in *OutputSchemaItemsInitParameters) DeepCopy() *OutputSchemaItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineList. +func (in *PolicyEngineList) DeepCopy() *PolicyEngineList { if in == nil { return nil } - out := new(OutputSchemaItemsInitParameters) + out := new(PolicyEngineList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyEngineList) 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 *OutputSchemaItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaItemsItemsInitParameters) { +func (in *PolicyEngineObservation) DeepCopyInto(out *PolicyEngineObservation) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + 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 OutputSchemaItemsItemsInitParameters. -func (in *OutputSchemaItemsItemsInitParameters) DeepCopy() *OutputSchemaItemsItemsInitParameters { - if in == nil { - return nil - } - out := new(OutputSchemaItemsItemsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsItemsObservation) DeepCopyInto(out *OutputSchemaItemsItemsObservation) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.PolicyEngineArn != nil { + in, out := &in.PolicyEngineArn, &out.PolicyEngineArn *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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 OutputSchemaItemsItemsObservation. -func (in *OutputSchemaItemsItemsObservation) DeepCopy() *OutputSchemaItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineObservation. +func (in *PolicyEngineObservation) DeepCopy() *PolicyEngineObservation { if in == nil { return nil } - out := new(OutputSchemaItemsItemsObservation) + out := new(PolicyEngineObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsItemsParameters) DeepCopyInto(out *OutputSchemaItemsItemsParameters) { +func (in *PolicyEngineParameters) DeepCopyInto(out *PolicyEngineParameters) { *out = *in if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.EncryptionKeyArn != nil { + in, out := &in.EncryptionKeyArn, &out.EncryptionKeyArn *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.EncryptionKeyArnRef != nil { + in, out := &in.EncryptionKeyArnRef, &out.EncryptionKeyArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.EncryptionKeyArnSelector != nil { + in, out := &in.EncryptionKeyArnSelector, &out.EncryptionKeyArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + 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 OutputSchemaItemsItemsParameters. -func (in *OutputSchemaItemsItemsParameters) DeepCopy() *OutputSchemaItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineParameters. +func (in *PolicyEngineParameters) DeepCopy() *PolicyEngineParameters { if in == nil { return nil } - out := new(OutputSchemaItemsItemsParameters) + out := new(PolicyEngineParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsObservation) DeepCopyInto(out *OutputSchemaItemsObservation) { +func (in *PolicyEngineSpec) DeepCopyInto(out *PolicyEngineSpec) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyObservation, 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 - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsObservation. -func (in *OutputSchemaItemsObservation) DeepCopy() *OutputSchemaItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineSpec. +func (in *PolicyEngineSpec) DeepCopy() *PolicyEngineSpec { if in == nil { return nil } - out := new(OutputSchemaItemsObservation) + out := new(PolicyEngineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsParameters) DeepCopyInto(out *OutputSchemaItemsParameters) { +func (in *PolicyEngineStatus) DeepCopyInto(out *PolicyEngineStatus) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaItemsPropertyParameters, 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 - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsParameters. -func (in *OutputSchemaItemsParameters) DeepCopy() *OutputSchemaItemsParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineStatus. +func (in *PolicyEngineStatus) DeepCopy() *PolicyEngineStatus { if in == nil { return nil } - out := new(OutputSchemaItemsParameters) + out := new(PolicyEngineStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyInitParameters) DeepCopyInto(out *OutputSchemaItemsPropertyInitParameters) { +func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionInitParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.PolicyEngineIDRef != nil { + in, out := &in.PolicyEngineIDRef, &out.PolicyEngineIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.PolicyEngineIDSelector != nil { + in, out := &in.PolicyEngineIDSelector, &out.PolicyEngineIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyInitParameters. -func (in *OutputSchemaItemsPropertyInitParameters) DeepCopy() *OutputSchemaItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters. +func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyInitParameters) + out := new(PolicyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaItemsPropertyObservation) { +func (in *PolicyList) DeepCopyInto(out *PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. +func (in *PolicyList) DeepCopy() *PolicyList { + if in == nil { + return nil + } + out := new(PolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyList) 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 *PolicyObservation) DeepCopyInto(out *PolicyObservation) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionObservation) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } @@ -12382,2362 +20094,2331 @@ func (in *OutputSchemaItemsPropertyObservation) DeepCopyInto(out *OutputSchemaIt *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyArn != nil { + in, out := &in.PolicyArn, &out.PolicyArn *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.PolicyID != nil { + in, out := &in.PolicyID, &out.PolicyID + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyObservation. -func (in *OutputSchemaItemsPropertyObservation) DeepCopy() *OutputSchemaItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation. +func (in *PolicyObservation) DeepCopy() *PolicyObservation { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyObservation) + out := new(PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaItemsPropertyParameters) DeepCopyInto(out *OutputSchemaItemsPropertyParameters) { +func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = new(DefinitionParameters) + (*in).DeepCopyInto(*out) + } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.PolicyEngineID != nil { + in, out := &in.PolicyEngineID, &out.PolicyEngineID *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) + if in.PolicyEngineIDRef != nil { + in, out := &in.PolicyEngineIDRef, &out.PolicyEngineIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.PolicyEngineIDSelector != nil { + in, out := &in.PolicyEngineIDSelector, &out.PolicyEngineIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.ValidationMode != nil { + in, out := &in.ValidationMode, &out.ValidationMode *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaItemsPropertyParameters. -func (in *OutputSchemaItemsPropertyParameters) DeepCopy() *OutputSchemaItemsPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters. +func (in *PolicyParameters) DeepCopy() *PolicyParameters { if in == nil { return nil } - out := new(OutputSchemaItemsPropertyParameters) + out := new(PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaObservation) DeepCopyInto(out *OutputSchemaObservation) { +func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. +func (in *PolicySpec) DeepCopy() *PolicySpec { + if in == nil { + return nil } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsObservation) - (*in).DeepCopyInto(*out) + out := new(PolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. +func (in *PolicyStatus) DeepCopy() *PolicyStatus { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointInitParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceInitParameters) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaObservation. -func (in *OutputSchemaObservation) DeepCopy() *OutputSchemaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointInitParameters. +func (in *PrivateEndpointInitParameters) DeepCopy() *PrivateEndpointInitParameters { if in == nil { return nil } - out := new(OutputSchemaObservation) + out := new(PrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaParameters) DeepCopyInto(out *OutputSchemaParameters) { +func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaItemsParameters) - (*in).DeepCopyInto(*out) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaParameters. -func (in *OutputSchemaParameters) DeepCopy() *OutputSchemaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceInitParameters. +func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(OutputSchemaParameters) + out := new(PrivateEndpointManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyInitParameters) { +func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointManagedVPCResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsInitParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyInitParameters, len(*in)) + 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.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyInitParameters. -func (in *OutputSchemaPropertyInitParameters) DeepCopy() *OutputSchemaPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceObservation. +func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyInitParameters) + out := new(PrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsInitParameters) { +func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain + *out = new(string) + **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyInitParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsInitParameters. -func (in *OutputSchemaPropertyItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceParameters. +func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsInitParameters) + out := new(PrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsInitParameters) { +func (in *PrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsInitParameters. -func (in *OutputSchemaPropertyItemsItemsInitParameters) DeepCopy() *OutputSchemaPropertyItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointObservation. +func (in *PrivateEndpointObservation) DeepCopy() *PrivateEndpointObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsInitParameters) + out := new(PrivateEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsItemsObservation) { +func (in *PrivateEndpointOverridesInitParameters) DeepCopyInto(out *PrivateEndpointOverridesInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsObservation. -func (in *OutputSchemaPropertyItemsItemsObservation) DeepCopy() *OutputSchemaPropertyItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesInitParameters. +func (in *PrivateEndpointOverridesInitParameters) DeepCopy() *PrivateEndpointOverridesInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsObservation) + out := new(PrivateEndpointOverridesInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsItemsParameters) { +func (in *PrivateEndpointOverridesObservation) DeepCopyInto(out *PrivateEndpointOverridesObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsItemsParameters. -func (in *OutputSchemaPropertyItemsItemsParameters) DeepCopy() *OutputSchemaPropertyItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesObservation. +func (in *PrivateEndpointOverridesObservation) DeepCopy() *PrivateEndpointOverridesObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsItemsParameters) + out := new(PrivateEndpointOverridesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsObservation) DeepCopyInto(out *OutputSchemaPropertyItemsObservation) { +func (in *PrivateEndpointOverridesParameters) DeepCopyInto(out *PrivateEndpointOverridesParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Domain != nil { + in, out := &in.Domain, &out.Domain *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsObservation) + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = new(PrivateEndpointOverridesPrivateEndpointParameters) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsObservation. -func (in *OutputSchemaPropertyItemsObservation) DeepCopy() *OutputSchemaPropertyItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesParameters. +func (in *PrivateEndpointOverridesParameters) DeepCopy() *PrivateEndpointOverridesParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsObservation) + out := new(PrivateEndpointOverridesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyItemsParameters) DeepCopyInto(out *OutputSchemaPropertyItemsParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsItemsParameters) + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceInitParameters) (*in).DeepCopyInto(*out) } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]PropertyItemsPropertyParameters, 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.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyItemsParameters. -func (in *OutputSchemaPropertyItemsParameters) DeepCopy() *OutputSchemaPropertyItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyItemsParameters) + out := new(PrivateEndpointOverridesPrivateEndpointInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyObservation) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyObservation, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyObservation. -func (in *OutputSchemaPropertyObservation) DeepCopy() *OutputSchemaPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyObservation) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(OutputSchemaPropertyItemsParameters) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]OutputSchemaPropertyPropertyParameters, len(*in)) + if in.SecurityGroupIds != nil { + in, out := &in.SecurityGroupIds, &out.SecurityGroupIds + *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **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.Type != nil { - in, out := &in.Type, &out.Type + 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.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyParameters. -func (in *OutputSchemaPropertyParameters) DeepCopy() *OutputSchemaPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { if in == nil { return nil } - out := new(OutputSchemaPropertyParameters) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyInitParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.EndpointIPAddressType != nil { + in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType *out = new(string) **out = **in } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.RoutingDomain != nil { + in, out := &in.RoutingDomain, &out.RoutingDomain *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + 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.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *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.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.VPCIdentifier != nil { + in, out := &in.VPCIdentifier, &out.VPCIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyInitParameters. -func (in *OutputSchemaPropertyPropertyInitParameters) DeepCopy() *OutputSchemaPropertyPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. +func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyInitParameters) + out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyObservation) DeepCopyInto(out *OutputSchemaPropertyPropertyObservation) { +func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceObservation) + (*in).DeepCopyInto(*out) } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceObservation) + (*in).DeepCopyInto(*out) } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointObservation. +func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointObservation { + if in == nil { + return nil } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + out := new(PrivateEndpointOverridesPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointParameters) { + *out = *in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(PrivateEndpointManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) + } + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(PrivateEndpointSelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyObservation. -func (in *OutputSchemaPropertyPropertyObservation) DeepCopy() *OutputSchemaPropertyPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointParameters. +func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyObservation) + out := new(PrivateEndpointOverridesPrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutputSchemaPropertyPropertyParameters) DeepCopyInto(out *OutputSchemaPropertyPropertyParameters) { +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *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 PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { + if in == nil { + return nil } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { + if in == nil { + return nil } - if in.Type != nil { - in, out := &in.Type, &out.Type + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { + *out = *in + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSchemaPropertyPropertyParameters. -func (in *OutputSchemaPropertyPropertyParameters) DeepCopy() *OutputSchemaPropertyPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. +func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(OutputSchemaPropertyPropertyParameters) + out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationInitParameters) DeepCopyInto(out *PolicyEngineConfigurationInitParameters) { +func (in *PrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in + if in.ManagedVPCResource != nil { + in, out := &in.ManagedVPCResource, &out.ManagedVPCResource + *out = new(ManagedVPCResourceParameters) + (*in).DeepCopyInto(*out) } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode - *out = new(string) - **out = **in + if in.SelfManagedLatticeResource != nil { + in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource + *out = new(SelfManagedLatticeResourceParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationInitParameters. -func (in *PolicyEngineConfigurationInitParameters) DeepCopy() *PolicyEngineConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointParameters. +func (in *PrivateEndpointParameters) DeepCopy() *PrivateEndpointParameters { if in == nil { return nil } - out := new(PolicyEngineConfigurationInitParameters) + out := new(PrivateEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationObservation) DeepCopyInto(out *PolicyEngineConfigurationObservation) { +func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationObservation. -func (in *PolicyEngineConfigurationObservation) DeepCopy() *PolicyEngineConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceInitParameters. +func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceInitParameters { if in == nil { return nil } - out := new(PolicyEngineConfigurationObservation) + out := new(PrivateEndpointSelfManagedLatticeResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PolicyEngineConfigurationParameters) DeepCopyInto(out *PolicyEngineConfigurationParameters) { +func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyEngineConfigurationParameters. -func (in *PolicyEngineConfigurationParameters) DeepCopy() *PolicyEngineConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceObservation. +func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceObservation { if in == nil { return nil } - out := new(PolicyEngineConfigurationParameters) + out := new(PrivateEndpointSelfManagedLatticeResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointInitParameters) { +func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.ResourceConfigurationIdentifier != nil { + in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointInitParameters. -func (in *PrivateEndpointInitParameters) DeepCopy() *PrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceParameters. +func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceParameters { if in == nil { return nil } - out := new(PrivateEndpointInitParameters) + out := new(PrivateEndpointSelfManagedLatticeResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceInitParameters) { +func (in *PropertyInitParameters) DeepCopyInto(out *PropertyInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceInitParameters. -func (in *PrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyInitParameters. +func (in *PropertyInitParameters) DeepCopy() *PropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceInitParameters) + out := new(PropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointManagedVPCResourceObservation) { +func (in *PropertyItemsInitParameters) DeepCopyInto(out *PropertyItemsInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType - *out = new(string) - **out = **in - } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - 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.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.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsInitParameters) + (*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.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceObservation. -func (in *PrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsInitParameters. +func (in *PropertyItemsInitParameters) DeepCopy() *PropertyItemsInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceObservation) + out := new(PropertyItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointManagedVPCResourceParameters) { +func (in *PropertyItemsItemsInitParameters) DeepCopyInto(out *PropertyItemsItemsInitParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointManagedVPCResourceParameters. -func (in *PrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsInitParameters. +func (in *PropertyItemsItemsInitParameters) DeepCopy() *PropertyItemsItemsInitParameters { if in == nil { return nil } - out := new(PrivateEndpointManagedVPCResourceParameters) + out := new(PropertyItemsItemsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointObservation) { +func (in *PropertyItemsItemsObservation) DeepCopyInto(out *PropertyItemsItemsObservation) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointObservation. -func (in *PrivateEndpointObservation) DeepCopy() *PrivateEndpointObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsObservation. +func (in *PropertyItemsItemsObservation) DeepCopy() *PropertyItemsItemsObservation { if in == nil { return nil } - out := new(PrivateEndpointObservation) + out := new(PropertyItemsItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesInitParameters) DeepCopyInto(out *PrivateEndpointOverridesInitParameters) { +func (in *PropertyItemsItemsParameters) DeepCopyInto(out *PropertyItemsItemsParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointInitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesInitParameters. -func (in *PrivateEndpointOverridesInitParameters) DeepCopy() *PrivateEndpointOverridesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsParameters. +func (in *PropertyItemsItemsParameters) DeepCopy() *PropertyItemsItemsParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesInitParameters) + out := new(PropertyItemsItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesObservation) DeepCopyInto(out *PrivateEndpointOverridesObservation) { +func (in *PropertyItemsObservation) DeepCopyInto(out *PropertyItemsObservation) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointObservation) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsObservation) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyObservation, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesObservation. -func (in *PrivateEndpointOverridesObservation) DeepCopy() *PrivateEndpointOverridesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsObservation. +func (in *PropertyItemsObservation) DeepCopy() *PropertyItemsObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesObservation) + out := new(PropertyItemsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesParameters) DeepCopyInto(out *PrivateEndpointOverridesParameters) { +func (in *PropertyItemsParameters) DeepCopyInto(out *PropertyItemsParameters) { *out = *in - if in.Domain != nil { - in, out := &in.Domain, &out.Domain + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.PrivateEndpoint != nil { - in, out := &in.PrivateEndpoint, &out.PrivateEndpoint - *out = new(PrivateEndpointOverridesPrivateEndpointParameters) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = new(PropertyItemsItemsParameters) (*in).DeepCopyInto(*out) } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = make([]ItemsPropertyParameters, 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 + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesParameters. -func (in *PrivateEndpointOverridesParameters) DeepCopy() *PrivateEndpointOverridesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsParameters. +func (in *PropertyItemsParameters) DeepCopy() *PropertyItemsParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesParameters) + out := new(PropertyItemsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointInitParameters) { +func (in *PropertyItemsPropertyInitParameters) DeepCopyInto(out *PropertyItemsPropertyInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceInitParameters) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyInitParameters. +func (in *PropertyItemsPropertyInitParameters) DeepCopy() *PropertyItemsPropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointInitParameters) + out := new(PropertyItemsPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) { +func (in *PropertyItemsPropertyObservation) DeepCopyInto(out *PropertyItemsPropertyObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyObservation. +func (in *PropertyItemsPropertyObservation) DeepCopy() *PropertyItemsPropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters) + out := new(PropertyItemsPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) { +func (in *PropertyItemsPropertyParameters) DeepCopyInto(out *PropertyItemsPropertyParameters) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyParameters. +func (in *PropertyItemsPropertyParameters) DeepCopy() *PropertyItemsPropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation) + out := new(PropertyItemsPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) { +func (in *PropertyObservation) DeepCopyInto(out *PropertyObservation) { *out = *in - if in.EndpointIPAddressType != nil { - in, out := &in.EndpointIPAddressType, &out.EndpointIPAddressType + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.RoutingDomain != nil { - in, out := &in.RoutingDomain, &out.RoutingDomain + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON *out = new(string) **out = **in } - 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.Name != nil { + in, out := &in.Name, &out.Name + *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.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *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.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in } - if in.VPCIdentifier != nil { - in, out := &in.VPCIdentifier, &out.VPCIdentifier + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters. -func (in *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyObservation. +func (in *PropertyObservation) DeepCopy() *PropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters) + out := new(PropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointObservation) { +func (in *PropertyParameters) DeepCopyInto(out *PropertyParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceObservation) - (*in).DeepCopyInto(*out) + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceObservation) - (*in).DeepCopyInto(*out) + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointObservation. -func (in *PrivateEndpointOverridesPrivateEndpointObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointObservation { - if in == nil { - return nil + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - out := new(PrivateEndpointOverridesPrivateEndpointObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointParameters) { - *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(PrivateEndpointManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(PrivateEndpointSelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointParameters. -func (in *PrivateEndpointOverridesPrivateEndpointParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyParameters. +func (in *PropertyParameters) DeepCopy() *PropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointParameters) + out := new(PropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *PropertyPropertyInitParameters) DeepCopyInto(out *PropertyPropertyInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyInitParameters. +func (in *PropertyPropertyInitParameters) DeepCopy() *PropertyPropertyInitParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(PropertyPropertyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *PropertyPropertyObservation) DeepCopyInto(out *PropertyPropertyObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyObservation. +func (in *PropertyPropertyObservation) DeepCopy() *PropertyPropertyObservation { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation) + out := new(PropertyPropertyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *PropertyPropertyParameters) DeepCopyInto(out *PropertyPropertyParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ItemsJSON != nil { + in, out := &in.ItemsJSON, &out.ItemsJSON + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertiesJSON != nil { + in, out := &in.PropertiesJSON, &out.PropertiesJSON + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters. -func (in *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyParameters. +func (in *PropertyPropertyParameters) DeepCopy() *PropertyPropertyParameters { if in == nil { return nil } - out := new(PrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters) + out := new(PropertyPropertyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointParameters) { +func (in *ProtocolConfigurationInitParameters) DeepCopyInto(out *ProtocolConfigurationInitParameters) { *out = *in - if in.ManagedVPCResource != nil { - in, out := &in.ManagedVPCResource, &out.ManagedVPCResource - *out = new(ManagedVPCResourceParameters) - (*in).DeepCopyInto(*out) - } - if in.SelfManagedLatticeResource != nil { - in, out := &in.SelfManagedLatticeResource, &out.SelfManagedLatticeResource - *out = new(SelfManagedLatticeResourceParameters) - (*in).DeepCopyInto(*out) + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointParameters. -func (in *PrivateEndpointParameters) DeepCopy() *PrivateEndpointParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationInitParameters. +func (in *ProtocolConfigurationInitParameters) DeepCopy() *ProtocolConfigurationInitParameters { if in == nil { return nil } - out := new(PrivateEndpointParameters) + out := new(ProtocolConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceInitParameters) { +func (in *ProtocolConfigurationObservation) DeepCopyInto(out *ProtocolConfigurationObservation) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceInitParameters. -func (in *PrivateEndpointSelfManagedLatticeResourceInitParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationObservation. +func (in *ProtocolConfigurationObservation) DeepCopy() *ProtocolConfigurationObservation { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceInitParameters) + out := new(ProtocolConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceObservation) { +func (in *ProtocolConfigurationParameters) DeepCopyInto(out *ProtocolConfigurationParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier + if in.ServerProtocol != nil { + in, out := &in.ServerProtocol, &out.ServerProtocol *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceObservation. -func (in *PrivateEndpointSelfManagedLatticeResourceObservation) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationParameters. +func (in *ProtocolConfigurationParameters) DeepCopy() *ProtocolConfigurationParameters { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceObservation) + out := new(ProtocolConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopyInto(out *PrivateEndpointSelfManagedLatticeResourceParameters) { +func (in *RatingScaleInitParameters) DeepCopyInto(out *RatingScaleInitParameters) { *out = *in - if in.ResourceConfigurationIdentifier != nil { - in, out := &in.ResourceConfigurationIdentifier, &out.ResourceConfigurationIdentifier - *out = new(string) - **out = **in + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSelfManagedLatticeResourceParameters. -func (in *PrivateEndpointSelfManagedLatticeResourceParameters) DeepCopy() *PrivateEndpointSelfManagedLatticeResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleInitParameters. +func (in *RatingScaleInitParameters) DeepCopy() *RatingScaleInitParameters { if in == nil { return nil } - out := new(PrivateEndpointSelfManagedLatticeResourceParameters) + out := new(RatingScaleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyInitParameters) DeepCopyInto(out *PropertyInitParameters) { +func (in *RatingScaleObservation) DeepCopyInto(out *RatingScaleObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalObservation, 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.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyInitParameters. -func (in *PropertyInitParameters) DeepCopy() *PropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleObservation. +func (in *RatingScaleObservation) DeepCopy() *RatingScaleObservation { if in == nil { return nil } - out := new(PropertyInitParameters) + out := new(RatingScaleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsInitParameters) DeepCopyInto(out *PropertyItemsInitParameters) { +func (in *RatingScaleParameters) DeepCopyInto(out *RatingScaleParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsInitParameters) - (*in).DeepCopyInto(*out) + if in.Categorical != nil { + in, out := &in.Categorical, &out.Categorical + *out = make([]CategoricalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyInitParameters, len(*in)) + if in.Numerical != nil { + in, out := &in.Numerical, &out.Numerical + *out = make([]NumericalParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RatingScaleParameters. +func (in *RatingScaleParameters) DeepCopy() *RatingScaleParameters { + if in == nil { + return nil + } + out := new(RatingScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordingInitParameters) DeepCopyInto(out *RecordingInitParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsInitParameters. -func (in *PropertyItemsInitParameters) DeepCopy() *PropertyItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingInitParameters. +func (in *RecordingInitParameters) DeepCopy() *RecordingInitParameters { if in == nil { return nil } - out := new(PropertyItemsInitParameters) + out := new(RecordingInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsInitParameters) DeepCopyInto(out *PropertyItemsItemsInitParameters) { +func (in *RecordingObservation) DeepCopyInto(out *RecordingObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsInitParameters. -func (in *PropertyItemsItemsInitParameters) DeepCopy() *PropertyItemsItemsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingObservation. +func (in *RecordingObservation) DeepCopy() *RecordingObservation { if in == nil { return nil } - out := new(PropertyItemsItemsInitParameters) + out := new(RecordingObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsObservation) DeepCopyInto(out *PropertyItemsItemsObservation) { +func (in *RecordingParameters) DeepCopyInto(out *RecordingParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.S3Location != nil { + in, out := &in.S3Location, &out.S3Location + *out = new(S3LocationParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsObservation. -func (in *PropertyItemsItemsObservation) DeepCopy() *PropertyItemsItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingParameters. +func (in *RecordingParameters) DeepCopy() *RecordingParameters { if in == nil { return nil } - out := new(PropertyItemsItemsObservation) + out := new(RecordingParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsItemsParameters) DeepCopyInto(out *PropertyItemsItemsParameters) { +func (in *RemoteMcpInitParameters) DeepCopyInto(out *RemoteMcpInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } + in.URLSecretRef.DeepCopyInto(&out.URLSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsItemsParameters. -func (in *PropertyItemsItemsParameters) DeepCopy() *PropertyItemsItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpInitParameters. +func (in *RemoteMcpInitParameters) DeepCopy() *RemoteMcpInitParameters { if in == nil { return nil } - out := new(PropertyItemsItemsParameters) + out := new(RemoteMcpInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsObservation) DeepCopyInto(out *PropertyItemsObservation) { +func (in *RemoteMcpObservation) DeepCopyInto(out *RemoteMcpObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsObservation) - (*in).DeepCopyInto(*out) - } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyObservation, 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 - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsObservation. -func (in *PropertyItemsObservation) DeepCopy() *PropertyItemsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpObservation. +func (in *RemoteMcpObservation) DeepCopy() *RemoteMcpObservation { if in == nil { return nil } - out := new(PropertyItemsObservation) + out := new(RemoteMcpObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsParameters) DeepCopyInto(out *PropertyItemsParameters) { +func (in *RemoteMcpParameters) DeepCopyInto(out *RemoteMcpParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.HeadersSecretRef != nil { + in, out := &in.HeadersSecretRef, &out.HeadersSecretRef + *out = new(v1.LocalSecretReference) **out = **in } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = new(PropertyItemsItemsParameters) - (*in).DeepCopyInto(*out) + in.URLSecretRef.DeepCopyInto(&out.URLSecretRef) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteMcpParameters. +func (in *RemoteMcpParameters) DeepCopy() *RemoteMcpParameters { + if in == nil { + return nil } - if in.Property != nil { - in, out := &in.Property, &out.Property - *out = make([]ItemsPropertyParameters, len(*in)) + out := new(RemoteMcpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConfigurationInitParameters) DeepCopyInto(out *RequestHeaderConfigurationInitParameters) { + *out = *in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsParameters. -func (in *PropertyItemsParameters) DeepCopy() *PropertyItemsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationInitParameters. +func (in *RequestHeaderConfigurationInitParameters) DeepCopy() *RequestHeaderConfigurationInitParameters { if in == nil { return nil } - out := new(PropertyItemsParameters) + out := new(RequestHeaderConfigurationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyInitParameters) DeepCopyInto(out *PropertyItemsPropertyInitParameters) { +func (in *RequestHeaderConfigurationObservation) DeepCopyInto(out *RequestHeaderConfigurationObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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 PropertyItemsPropertyInitParameters. -func (in *PropertyItemsPropertyInitParameters) DeepCopy() *PropertyItemsPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationObservation. +func (in *RequestHeaderConfigurationObservation) DeepCopy() *RequestHeaderConfigurationObservation { if in == nil { return nil } - out := new(PropertyItemsPropertyInitParameters) + out := new(RequestHeaderConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyObservation) DeepCopyInto(out *PropertyItemsPropertyObservation) { +func (in *RequestHeaderConfigurationParameters) DeepCopyInto(out *RequestHeaderConfigurationParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.RequestHeaderAllowlist != nil { + in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist + *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 PropertyItemsPropertyObservation. -func (in *PropertyItemsPropertyObservation) DeepCopy() *PropertyItemsPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationParameters. +func (in *RequestHeaderConfigurationParameters) DeepCopy() *RequestHeaderConfigurationParameters { if in == nil { return nil } - out := new(PropertyItemsPropertyObservation) + out := new(RequestHeaderConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyItemsPropertyParameters) DeepCopyInto(out *PropertyItemsPropertyParameters) { +func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisInitParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyItemsPropertyParameters. -func (in *PropertyItemsPropertyParameters) DeepCopy() *PropertyItemsPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. +func (in *ResourceInitParameters) DeepCopy() *ResourceInitParameters { if in == nil { return nil } - out := new(PropertyItemsPropertyParameters) + out := new(ResourceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyObservation) DeepCopyInto(out *PropertyObservation) { +func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisObservation) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyObservation. -func (in *PropertyObservation) DeepCopy() *PropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceObservation. +func (in *ResourceObservation) DeepCopy() *ResourceObservation { if in == nil { return nil } - out := new(PropertyObservation) + out := new(ResourceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyParameters) DeepCopyInto(out *PropertyParameters) { +func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.Kinesis != nil { + in, out := &in.Kinesis, &out.Kinesis + *out = new(KinesisParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyParameters. -func (in *PropertyParameters) DeepCopy() *PropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceParameters. +func (in *ResourceParameters) DeepCopy() *ResourceParameters { if in == nil { return nil } - out := new(PropertyParameters) + out := new(ResourceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyPropertyInitParameters) DeepCopyInto(out *PropertyPropertyInitParameters) { +func (in *ResourcePolicy) DeepCopyInto(out *ResourcePolicy) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *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 ResourcePolicy. +func (in *ResourcePolicy) DeepCopy() *ResourcePolicy { + if in == nil { + return nil } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in + out := new(ResourcePolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourcePolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.Type != nil { - in, out := &in.Type, &out.Type + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourcePolicyInitParameters) DeepCopyInto(out *ResourcePolicyInitParameters) { + *out = *in + if in.Policy != nil { + in, out := &in.Policy, &out.Policy *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyInitParameters. -func (in *PropertyPropertyInitParameters) DeepCopy() *PropertyPropertyInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyInitParameters. +func (in *ResourcePolicyInitParameters) DeepCopy() *ResourcePolicyInitParameters { if in == nil { return nil } - out := new(PropertyPropertyInitParameters) + out := new(ResourcePolicyInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PropertyPropertyObservation) DeepCopyInto(out *PropertyPropertyObservation) { +func (in *ResourcePolicyList) DeepCopyInto(out *ResourcePolicyList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON - *out = new(string) - **out = **in - } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *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([]ResourcePolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyObservation. -func (in *PropertyPropertyObservation) DeepCopy() *PropertyPropertyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyList. +func (in *ResourcePolicyList) DeepCopy() *ResourcePolicyList { if in == nil { return nil } - out := new(PropertyPropertyObservation) + out := new(ResourcePolicyList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ResourcePolicyList) 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 *PropertyPropertyParameters) DeepCopyInto(out *PropertyPropertyParameters) { +func (in *ResourcePolicyObservation) DeepCopyInto(out *ResourcePolicyObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.ItemsJSON != nil { - in, out := &in.ItemsJSON, &out.ItemsJSON + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Policy != nil { + in, out := &in.Policy, &out.Policy *out = new(string) **out = **in } - if in.PropertiesJSON != nil { - in, out := &in.PropertiesJSON, &out.PropertiesJSON + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.Required != nil { - in, out := &in.Required, &out.Required - *out = new(bool) - **out = **in - } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPropertyParameters. -func (in *PropertyPropertyParameters) DeepCopy() *PropertyPropertyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyObservation. +func (in *ResourcePolicyObservation) DeepCopy() *ResourcePolicyObservation { if in == nil { return nil } - out := new(PropertyPropertyParameters) + out := new(ResourcePolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationInitParameters) DeepCopyInto(out *ProtocolConfigurationInitParameters) { +func (in *ResourcePolicyParameters) DeepCopyInto(out *ResourcePolicyParameters) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol + if in.Policy != nil { + in, out := &in.Policy, &out.Policy + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.ResourceArn != nil { + in, out := &in.ResourceArn, &out.ResourceArn *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationInitParameters. -func (in *ProtocolConfigurationInitParameters) DeepCopy() *ProtocolConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyParameters. +func (in *ResourcePolicyParameters) DeepCopy() *ResourcePolicyParameters { if in == nil { return nil } - out := new(ProtocolConfigurationInitParameters) + out := new(ResourcePolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationObservation) DeepCopyInto(out *ProtocolConfigurationObservation) { +func (in *ResourcePolicySpec) DeepCopyInto(out *ResourcePolicySpec) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol - *out = new(string) - **out = **in - } + in.ManagedResourceSpec.DeepCopyInto(&out.ManagedResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolConfigurationObservation. -func (in *ProtocolConfigurationObservation) DeepCopy() *ProtocolConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicySpec. +func (in *ResourcePolicySpec) DeepCopy() *ResourcePolicySpec { if in == nil { return nil } - out := new(ProtocolConfigurationObservation) + out := new(ResourcePolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProtocolConfigurationParameters) DeepCopyInto(out *ProtocolConfigurationParameters) { +func (in *ResourcePolicyStatus) DeepCopyInto(out *ResourcePolicyStatus) { *out = *in - if in.ServerProtocol != nil { - in, out := &in.ServerProtocol, &out.ServerProtocol - *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 ProtocolConfigurationParameters. -func (in *ProtocolConfigurationParameters) DeepCopy() *ProtocolConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyStatus. +func (in *ResourcePolicyStatus) DeepCopy() *ResourcePolicyStatus { if in == nil { return nil } - out := new(ProtocolConfigurationParameters) + out := new(ResourcePolicyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingInitParameters) DeepCopyInto(out *RecordingInitParameters) { +func (in *RetrievalConfigInitParameters) DeepCopyInto(out *RetrievalConfigInitParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationInitParameters) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.StrategyIDRef != nil { + in, out := &in.StrategyIDRef, &out.StrategyIDRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.StrategyIDSelector != nil { + in, out := &in.StrategyIDSelector, &out.StrategyIDSelector + *out = new(v1.NamespacedSelector) (*in).DeepCopyInto(*out) } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingInitParameters. -func (in *RecordingInitParameters) DeepCopy() *RecordingInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigInitParameters. +func (in *RetrievalConfigInitParameters) DeepCopy() *RetrievalConfigInitParameters { if in == nil { return nil } - out := new(RecordingInitParameters) + out := new(RetrievalConfigInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingObservation) DeepCopyInto(out *RecordingObservation) { +func (in *RetrievalConfigObservation) DeepCopyInto(out *RetrievalConfigObservation) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationObservation) - (*in).DeepCopyInto(*out) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingObservation. -func (in *RecordingObservation) DeepCopy() *RecordingObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigObservation. +func (in *RetrievalConfigObservation) DeepCopy() *RetrievalConfigObservation { if in == nil { return nil } - out := new(RecordingObservation) + out := new(RetrievalConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RecordingParameters) DeepCopyInto(out *RecordingParameters) { +func (in *RetrievalConfigParameters) DeepCopyInto(out *RetrievalConfigParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.MapBlockKey != nil { + in, out := &in.MapBlockKey, &out.MapBlockKey + *out = new(string) **out = **in } - if in.S3Location != nil { - in, out := &in.S3Location, &out.S3Location - *out = new(S3LocationParameters) + if in.RelevanceScore != nil { + in, out := &in.RelevanceScore, &out.RelevanceScore + *out = new(float64) + **out = **in + } + if in.StrategyID != nil { + in, out := &in.StrategyID, &out.StrategyID + *out = new(string) + **out = **in + } + if in.StrategyIDRef != nil { + in, out := &in.StrategyIDRef, &out.StrategyIDRef + *out = new(v1.NamespacedReference) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordingParameters. -func (in *RecordingParameters) DeepCopy() *RecordingParameters { - if in == nil { - return nil + if in.StrategyIDSelector != nil { + in, out := &in.StrategyIDSelector, &out.StrategyIDSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) } - out := new(RecordingParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationInitParameters) DeepCopyInto(out *RequestHeaderConfigurationInitParameters) { - *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *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.TopK != nil { + in, out := &in.TopK, &out.TopK + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationInitParameters. -func (in *RequestHeaderConfigurationInitParameters) DeepCopy() *RequestHeaderConfigurationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetrievalConfigParameters. +func (in *RetrievalConfigParameters) DeepCopy() *RetrievalConfigParameters { if in == nil { return nil } - out := new(RequestHeaderConfigurationInitParameters) + out := new(RetrievalConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationObservation) DeepCopyInto(out *RequestHeaderConfigurationObservation) { +func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *out = make([]*string, len(*in)) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterInitParameters, 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.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigInitParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationObservation. -func (in *RequestHeaderConfigurationObservation) DeepCopy() *RequestHeaderConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters. +func (in *RuleInitParameters) DeepCopy() *RuleInitParameters { if in == nil { return nil } - out := new(RequestHeaderConfigurationObservation) + out := new(RuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequestHeaderConfigurationParameters) DeepCopyInto(out *RequestHeaderConfigurationParameters) { +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { *out = *in - if in.RequestHeaderAllowlist != nil { - in, out := &in.RequestHeaderAllowlist, &out.RequestHeaderAllowlist - *out = make([]*string, len(*in)) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterObservation, 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 RequestHeaderConfigurationParameters. -func (in *RequestHeaderConfigurationParameters) DeepCopy() *RequestHeaderConfigurationParameters { - if in == nil { - return nil + if in.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigObservation) + (*in).DeepCopyInto(*out) } - out := new(RequestHeaderConfigurationParameters) - in.DeepCopyInto(out) - return out -} - -// 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.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisInitParameters) + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigObservation) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInitParameters. -func (in *ResourceInitParameters) DeepCopy() *ResourceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { if in == nil { return nil } - out := new(ResourceInitParameters) + out := new(RuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation) { +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { *out = *in - if in.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisObservation) - (*in).DeepCopyInto(*out) + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceObservation. -func (in *ResourceObservation) DeepCopy() *ResourceObservation { - if in == nil { - return nil + if in.SamplingConfig != nil { + in, out := &in.SamplingConfig, &out.SamplingConfig + *out = new(SamplingConfigParameters) + (*in).DeepCopyInto(*out) } - out := new(ResourceObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters) { - *out = *in - if in.Kinesis != nil { - in, out := &in.Kinesis, &out.Kinesis - *out = new(KinesisParameters) + if in.SessionConfig != nil { + in, out := &in.SessionConfig, &out.SessionConfig + *out = new(SessionConfigParameters) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceParameters. -func (in *ResourceParameters) DeepCopy() *ResourceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { if in == nil { return nil } - out := new(ResourceParameters) + out := new(RuleParameters) in.DeepCopyInto(out) return out } @@ -14750,6 +22431,16 @@ func (in *S3FilesAccessPointInitParameters) DeepCopyInto(out *S3FilesAccessPoint *out = new(string) **out = **in } + if in.AccessPointArnRef != nil { + in, out := &in.AccessPointArnRef, &out.AccessPointArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } if in.MountPath != nil { in, out := &in.MountPath, &out.MountPath *out = new(string) @@ -14800,6 +22491,16 @@ func (in *S3FilesAccessPointParameters) DeepCopyInto(out *S3FilesAccessPointPara *out = new(string) **out = **in } + if in.AccessPointArnRef != nil { + in, out := &in.AccessPointArnRef, &out.AccessPointArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.AccessPointArnSelector != nil { + in, out := &in.AccessPointArnSelector, &out.AccessPointArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } if in.MountPath != nil { in, out := &in.MountPath, &out.MountPath *out = new(string) @@ -15227,12 +22928,72 @@ func (in *SalesforceOauth2ProviderConfigParameters) DeepCopyInto(out *Salesforce } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SalesforceOauth2ProviderConfigParameters. -func (in *SalesforceOauth2ProviderConfigParameters) DeepCopy() *SalesforceOauth2ProviderConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SalesforceOauth2ProviderConfigParameters. +func (in *SalesforceOauth2ProviderConfigParameters) DeepCopy() *SalesforceOauth2ProviderConfigParameters { + if in == nil { + return nil + } + out := new(SalesforceOauth2ProviderConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigInitParameters) DeepCopyInto(out *SamplingConfigInitParameters) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigInitParameters. +func (in *SamplingConfigInitParameters) DeepCopy() *SamplingConfigInitParameters { + if in == nil { + return nil + } + out := new(SamplingConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigObservation) DeepCopyInto(out *SamplingConfigObservation) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigObservation. +func (in *SamplingConfigObservation) DeepCopy() *SamplingConfigObservation { + if in == nil { + return nil + } + out := new(SamplingConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SamplingConfigParameters) DeepCopyInto(out *SamplingConfigParameters) { + *out = *in + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamplingConfigParameters. +func (in *SamplingConfigParameters) DeepCopy() *SamplingConfigParameters { if in == nil { return nil } - out := new(SalesforceOauth2ProviderConfigParameters) + out := new(SamplingConfigParameters) in.DeepCopyInto(out) return out } @@ -15245,6 +23006,16 @@ func (in *SecretsManagerInitParameters) DeepCopyInto(out *SecretsManagerInitPara *out = new(string) **out = **in } + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerInitParameters. @@ -15285,6 +23056,16 @@ func (in *SecretsManagerParameters) DeepCopyInto(out *SecretsManagerParameters) *out = new(string) **out = **in } + if in.SecretArnRef != nil { + in, out := &in.SecretArnRef, &out.SecretArnRef + *out = new(v1.NamespacedReference) + (*in).DeepCopyInto(*out) + } + if in.SecretArnSelector != nil { + in, out := &in.SecretArnSelector, &out.SecretArnSelector + *out = new(v1.NamespacedSelector) + (*in).DeepCopyInto(*out) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerParameters. @@ -15357,6 +23138,66 @@ func (in *SelfManagedLatticeResourceParameters) DeepCopy() *SelfManagedLatticeRe return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigInitParameters) DeepCopyInto(out *SessionConfigInitParameters) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigInitParameters. +func (in *SessionConfigInitParameters) DeepCopy() *SessionConfigInitParameters { + if in == nil { + return nil + } + out := new(SessionConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigObservation) DeepCopyInto(out *SessionConfigObservation) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigObservation. +func (in *SessionConfigObservation) DeepCopy() *SessionConfigObservation { + if in == nil { + return nil + } + out := new(SessionConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SessionConfigParameters) DeepCopyInto(out *SessionConfigParameters) { + *out = *in + if in.SessionTimeoutMinutes != nil { + in, out := &in.SessionTimeoutMinutes, &out.SessionTimeoutMinutes + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfigParameters. +func (in *SessionConfigParameters) DeepCopy() *SessionConfigParameters { + if in == nil { + return nil + } + out := new(SessionConfigParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SessionConfigurationInitParameters) DeepCopyInto(out *SessionConfigurationInitParameters) { *out = *in @@ -15477,6 +23318,66 @@ func (in *SessionStorageParameters) DeepCopy() *SessionStorageParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillInitParameters) DeepCopyInto(out *SkillInitParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillInitParameters. +func (in *SkillInitParameters) DeepCopy() *SkillInitParameters { + if in == nil { + return nil + } + out := new(SkillInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillObservation) DeepCopyInto(out *SkillObservation) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillObservation. +func (in *SkillObservation) DeepCopy() *SkillObservation { + if in == nil { + return nil + } + out := new(SkillObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkillParameters) DeepCopyInto(out *SkillParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillParameters. +func (in *SkillParameters) DeepCopy() *SkillParameters { + if in == nil { + return nil + } + out := new(SkillParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SlackOauth2ProviderConfigInitParameters) DeepCopyInto(out *SlackOauth2ProviderConfigInitParameters) { *out = *in @@ -15712,6 +23613,66 @@ func (in *SlackOauth2ProviderConfigParameters) DeepCopy() *SlackOauth2ProviderCo return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowInitParameters) DeepCopyInto(out *SlidingWindowInitParameters) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowInitParameters. +func (in *SlidingWindowInitParameters) DeepCopy() *SlidingWindowInitParameters { + if in == nil { + return nil + } + out := new(SlidingWindowInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowObservation) DeepCopyInto(out *SlidingWindowObservation) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowObservation. +func (in *SlidingWindowObservation) DeepCopy() *SlidingWindowObservation { + if in == nil { + return nil + } + out := new(SlidingWindowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SlidingWindowParameters) DeepCopyInto(out *SlidingWindowParameters) { + *out = *in + if in.MessagesCount != nil { + in, out := &in.MessagesCount, &out.MessagesCount + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlidingWindowParameters. +func (in *SlidingWindowParameters) DeepCopy() *SlidingWindowParameters { + if in == nil { + return nil + } + out := new(SlidingWindowParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SmithyModelInitParameters) DeepCopyInto(out *SmithyModelInitParameters) { *out = *in @@ -16012,32 +23973,169 @@ func (in *StreamingConfigurationObservation) DeepCopyInto(out *StreamingConfigur } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationObservation. -func (in *StreamingConfigurationObservation) DeepCopy() *StreamingConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationObservation. +func (in *StreamingConfigurationObservation) DeepCopy() *StreamingConfigurationObservation { + if in == nil { + return nil + } + out := new(StreamingConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingConfigurationParameters) DeepCopyInto(out *StreamingConfigurationParameters) { + *out = *in + if in.EnableResponseStreaming != nil { + in, out := &in.EnableResponseStreaming, &out.EnableResponseStreaming + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationParameters. +func (in *StreamingConfigurationParameters) DeepCopy() *StreamingConfigurationParameters { + if in == nil { + return nil + } + out := new(StreamingConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationInitParameters) DeepCopyInto(out *SummarizationInitParameters) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationInitParameters. +func (in *SummarizationInitParameters) DeepCopy() *SummarizationInitParameters { + if in == nil { + return nil + } + out := new(SummarizationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationObservation) DeepCopyInto(out *SummarizationObservation) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationObservation. +func (in *SummarizationObservation) DeepCopy() *SummarizationObservation { + if in == nil { + return nil + } + out := new(SummarizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SummarizationParameters) DeepCopyInto(out *SummarizationParameters) { + *out = *in + if in.PreserveRecentMessages != nil { + in, out := &in.PreserveRecentMessages, &out.PreserveRecentMessages + *out = new(float64) + **out = **in + } + if in.SummarizationSystemPrompt != nil { + in, out := &in.SummarizationSystemPrompt, &out.SummarizationSystemPrompt + *out = new(string) + **out = **in + } + if in.SummaryRatio != nil { + in, out := &in.SummaryRatio, &out.SummaryRatio + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummarizationParameters. +func (in *SummarizationParameters) DeepCopy() *SummarizationParameters { + if in == nil { + return nil + } + out := new(SummarizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemPromptInitParameters) DeepCopyInto(out *SystemPromptInitParameters) { + *out = *in + in.TextSecretRef.DeepCopyInto(&out.TextSecretRef) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptInitParameters. +func (in *SystemPromptInitParameters) DeepCopy() *SystemPromptInitParameters { + if in == nil { + return nil + } + out := new(SystemPromptInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemPromptObservation) DeepCopyInto(out *SystemPromptObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptObservation. +func (in *SystemPromptObservation) DeepCopy() *SystemPromptObservation { if in == nil { return nil } - out := new(StreamingConfigurationObservation) + out := new(SystemPromptObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StreamingConfigurationParameters) DeepCopyInto(out *StreamingConfigurationParameters) { +func (in *SystemPromptParameters) DeepCopyInto(out *SystemPromptParameters) { *out = *in - if in.EnableResponseStreaming != nil { - in, out := &in.EnableResponseStreaming, &out.EnableResponseStreaming - *out = new(bool) - **out = **in - } + in.TextSecretRef.DeepCopyInto(&out.TextSecretRef) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingConfigurationParameters. -func (in *StreamingConfigurationParameters) DeepCopy() *StreamingConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPromptParameters. +func (in *SystemPromptParameters) DeepCopy() *SystemPromptParameters { if in == nil { return nil } - out := new(StreamingConfigurationParameters) + out := new(SystemPromptParameters) in.DeepCopyInto(out) return out } @@ -16509,6 +24607,66 @@ func (in *ToolFilterParameters) DeepCopy() *ToolFilterParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolInitParameters) DeepCopyInto(out *ToolInitParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigInitParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolInitParameters. +func (in *ToolInitParameters) DeepCopy() *ToolInitParameters { + if in == nil { + return nil + } + out := new(ToolInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolObservation) DeepCopyInto(out *ToolObservation) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigObservation) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolObservation. +func (in *ToolObservation) DeepCopy() *ToolObservation { + if in == nil { + return nil + } + out := new(ToolObservation) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ToolOverrideInitParameters) DeepCopyInto(out *ToolOverrideInitParameters) { *out = *in @@ -16614,6 +24772,36 @@ func (in *ToolOverrideParameters) DeepCopy() *ToolOverrideParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToolParameters) DeepCopyInto(out *ToolParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(ConfigParameters) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolParameters. +func (in *ToolParameters) DeepCopy() *ToolParameters { + if in == nil { + return nil + } + out := new(ToolParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ToolSchemaInitParameters) DeepCopyInto(out *ToolSchemaInitParameters) { *out = *in @@ -16770,6 +24958,174 @@ func (in *ToolSchemaS3Parameters) DeepCopy() *ToolSchemaS3Parameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigInitParameters) DeepCopyInto(out *TruncationConfigInitParameters) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigInitParameters. +func (in *TruncationConfigInitParameters) DeepCopy() *TruncationConfigInitParameters { + if in == nil { + return nil + } + out := new(TruncationConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigObservation) DeepCopyInto(out *TruncationConfigObservation) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigObservation. +func (in *TruncationConfigObservation) DeepCopy() *TruncationConfigObservation { + if in == nil { + return nil + } + out := new(TruncationConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationConfigParameters) DeepCopyInto(out *TruncationConfigParameters) { + *out = *in + if in.SlidingWindow != nil { + in, out := &in.SlidingWindow, &out.SlidingWindow + *out = make([]SlidingWindowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Summarization != nil { + in, out := &in.Summarization, &out.Summarization + *out = make([]SummarizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationConfigParameters. +func (in *TruncationConfigParameters) DeepCopy() *TruncationConfigParameters { + if in == nil { + return nil + } + out := new(TruncationConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationInitParameters) DeepCopyInto(out *TruncationInitParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationInitParameters. +func (in *TruncationInitParameters) DeepCopy() *TruncationInitParameters { + if in == nil { + return nil + } + out := new(TruncationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationObservation) DeepCopyInto(out *TruncationObservation) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationObservation. +func (in *TruncationObservation) DeepCopy() *TruncationObservation { + if in == nil { + return nil + } + out := new(TruncationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TruncationParameters) DeepCopyInto(out *TruncationParameters) { + *out = *in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]TruncationConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncationParameters. +func (in *TruncationParameters) DeepCopy() *TruncationParameters { + if in == nil { + return nil + } + out := new(TruncationParameters) + in.DeepCopyInto(out) + return out +} + // 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 @@ -16881,6 +25237,96 @@ func (in *VPCConfigParameters) DeepCopy() *VPCConfigParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueInitParameters) DeepCopyInto(out *ValueInitParameters) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueInitParameters. +func (in *ValueInitParameters) DeepCopy() *ValueInitParameters { + if in == nil { + return nil + } + out := new(ValueInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueObservation) DeepCopyInto(out *ValueObservation) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueObservation. +func (in *ValueObservation) DeepCopy() *ValueObservation { + if in == nil { + return nil + } + out := new(ValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueParameters) DeepCopyInto(out *ValueParameters) { + *out = *in + if in.BooleanValue != nil { + in, out := &in.BooleanValue, &out.BooleanValue + *out = new(bool) + **out = **in + } + if in.DoubleValue != nil { + in, out := &in.DoubleValue, &out.DoubleValue + *out = new(float64) + **out = **in + } + if in.StringValue != nil { + in, out := &in.StringValue, &out.StringValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueParameters. +func (in *ValueParameters) DeepCopy() *ValueParameters { + if in == nil { + return nil + } + out := new(ValueParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkloadIdentity) DeepCopyInto(out *WorkloadIdentity) { *out = *in diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managed.go index 4a951ca82d..8c48064347 100644 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managed.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managed.go @@ -207,6 +207,46 @@ func (mg *CodeInterpreter) SetWriteConnectionSecretToReference(r *xpv1.LocalSecr mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this Evaluator. +func (mg *Evaluator) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this Evaluator. +func (mg *Evaluator) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Evaluator. +func (mg *Evaluator) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Evaluator. +func (mg *Evaluator) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Evaluator. +func (mg *Evaluator) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this Evaluator. +func (mg *Evaluator) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Evaluator. +func (mg *Evaluator) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Evaluator. +func (mg *Evaluator) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Gateway. func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -287,6 +327,46 @@ func (mg *GatewayTarget) SetWriteConnectionSecretToReference(r *xpv1.LocalSecret mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this Harness. +func (mg *Harness) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this Harness. +func (mg *Harness) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Harness. +func (mg *Harness) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Harness. +func (mg *Harness) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Harness. +func (mg *Harness) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this Harness. +func (mg *Harness) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Harness. +func (mg *Harness) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Harness. +func (mg *Harness) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Memory. func (mg *Memory) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -407,6 +487,166 @@ func (mg *Oauth2CredentialProvider) SetWriteConnectionSecretToReference(r *xpv1. mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Policy. +func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this Policy. +func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Policy. +func (mg *Policy) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Policy. +func (mg *Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this Policy. +func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Policy. +func (mg *Policy) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PolicyEngine. +func (mg *PolicyEngine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this PolicyEngine. +func (mg *PolicyEngine) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this PolicyEngine. +func (mg *PolicyEngine) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this PolicyEngine. +func (mg *PolicyEngine) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyEngine. +func (mg *PolicyEngine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this PolicyEngine. +func (mg *PolicyEngine) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this PolicyEngine. +func (mg *PolicyEngine) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyEngine. +func (mg *PolicyEngine) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ResourcePolicy. +func (mg *ResourcePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetManagementPolicies of this ResourcePolicy. +func (mg *ResourcePolicy) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this ResourcePolicy. +func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.ProviderConfigReference { + return mg.Spec.ProviderConfigReference +} + +// GetWriteConnectionSecretToReference of this ResourcePolicy. +func (mg *ResourcePolicy) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ResourcePolicy. +func (mg *ResourcePolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetManagementPolicies of this ResourcePolicy. +func (mg *ResourcePolicy) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this ResourcePolicy. +func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.ProviderConfigReference) { + mg.Spec.ProviderConfigReference = r +} + +// SetWriteConnectionSecretToReference of this ResourcePolicy. +func (mg *ResourcePolicy) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this TokenVaultCmk. func (mg *TokenVaultCmk) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managedlist.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managedlist.go index 2d93a572b7..200a8b3c40 100644 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managedlist.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.managedlist.go @@ -52,6 +52,15 @@ func (l *CodeInterpreterList) GetItems() []resource.Managed { return items } +// GetItems of this EvaluatorList. +func (l *EvaluatorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this GatewayList. func (l *GatewayList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -70,6 +79,15 @@ func (l *GatewayTargetList) GetItems() []resource.Managed { return items } +// GetItems of this HarnessList. +func (l *HarnessList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this MemoryList. func (l *MemoryList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -97,6 +115,42 @@ func (l *Oauth2CredentialProviderList) GetItems() []resource.Managed { return items } +// GetItems of this OnlineEvaluationConfigList. +func (l *OnlineEvaluationConfigList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyEngineList. +func (l *PolicyEngineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyList. +func (l *PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ResourcePolicyList. +func (l *ResourcePolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this TokenVaultCmkList. func (l *TokenVaultCmkList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.resolvers.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.resolvers.go index aa27a11114..463793adda 100644 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.resolvers.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_generated.resolvers.go @@ -12,7 +12,8 @@ import ( xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" resource "github.com/crossplane/upjet/v2/pkg/resource" errors "github.com/pkg/errors" - common "github.com/upbound/provider-aws/v2/config/cluster/common" + common1 "github.com/upbound/provider-aws/v2/config/cluster/common" + common "github.com/upbound/provider-aws/v2/config/namespaced/common" apisresolver "github.com/upbound/provider-aws/v2/internal/apis" client "sigs.k8s.io/controller-runtime/pkg/client" ) @@ -25,15 +26,63 @@ func (mg *AgentRuntime) ResolveReferences( // ResolveReferences of this AgentRun var rsp reference.NamespacedResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.FilesystemConfiguration); i3++ { + if mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef, + Selector: mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn") + } + mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.FilesystemConfiguration); i3++ { + if mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef, + Selector: mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn") + } + mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.RoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.ForProvider.RoleArnRef, Selector: mg.Spec.ForProvider.RoleArnSelector, @@ -45,15 +94,63 @@ func (mg *AgentRuntime) ResolveReferences( // ResolveReferences of this AgentRun } mg.Spec.ForProvider.RoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.FilesystemConfiguration); i3++ { + if mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef, + Selector: mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn") + } + mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FilesystemConfiguration[i3].EFSAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.FilesystemConfiguration); i3++ { + if mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint != nil { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef, + Selector: mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn") + } + mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.FilesystemConfiguration[i3].S3FilesAccessPoint.AccessPointArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.InitProvider.RoleArnRef, Selector: mg.Spec.InitProvider.RoleArnSelector, @@ -109,15 +206,41 @@ func (mg *Browser) ResolveReferences(ctx context.Context, c client.Reader) error var rsp reference.NamespacedResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Certificate); i3++ { + if mg.Spec.ForProvider.Certificate[i3].Location != nil { + if mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.ForProvider.ExecutionRoleArnRef, Selector: mg.Spec.ForProvider.ExecutionRoleArnSelector, @@ -154,6 +277,32 @@ func (mg *Browser) ResolveReferences(ctx context.Context, c client.Reader) error } } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Certificate); i3++ { + if mg.Spec.InitProvider.Certificate[i3].Location != nil { + if mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { @@ -161,7 +310,7 @@ func (mg *Browser) ResolveReferences(ctx context.Context, c client.Reader) error } rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, @@ -210,15 +359,41 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade var rsp reference.NamespacedResolutionResponse var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Certificate); i3++ { + if mg.Spec.ForProvider.Certificate[i3].Location != nil { + if mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.ForProvider.ExecutionRoleArnRef, Selector: mg.Spec.ForProvider.ExecutionRoleArnSelector, @@ -230,15 +405,41 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade } mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Certificate); i3++ { + if mg.Spec.InitProvider.Certificate[i3].Location != nil { + if mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef, + Selector: mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn") + } + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Certificate[i3].Location.SecretsManager.SecretArnRef = rsp.ResolvedReference + + } + } + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, @@ -254,6 +455,110 @@ func (mg *CodeInterpreter) ResolveReferences(ctx context.Context, c client.Reade return nil } +// ResolveReferences of this Evaluator. +func (mg *Evaluator) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var err error + + if mg.Spec.ForProvider.EvaluatorConfig != nil { + if mg.Spec.ForProvider.EvaluatorConfig.CodeBased != nil { + if mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("lambda.aws.m.upbound.io", "v1beta1", "Function", "FunctionList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef, + Selector: mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn") + } + mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.KMSKeyArnRef, + Selector: mg.Spec.ForProvider.KMSKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.KMSKeyArn") + } + mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.EvaluatorConfig != nil { + if mg.Spec.InitProvider.EvaluatorConfig.CodeBased != nil { + if mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("lambda.aws.m.upbound.io", "v1beta1", "Function", "FunctionList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef, + Selector: mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn") + } + mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EvaluatorConfig.CodeBased.LambdaConfig.LambdaArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.KMSKeyArn), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.KMSKeyArnRef, + Selector: mg.Spec.InitProvider.KMSKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + 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 +} + // ResolveReferences of this Gateway. func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed @@ -308,15 +613,37 @@ func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error } mg.Spec.ForProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.ForProvider.PolicyEngineConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PolicyEngineConfiguration.Arn), + Extract: resource.ExtractParamPath("policy_engine_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.PolicyEngineConfiguration.ArnRef, + Selector: mg.Spec.ForProvider.PolicyEngineConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PolicyEngineConfiguration.Arn") + } + mg.Spec.ForProvider.PolicyEngineConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PolicyEngineConfiguration.ArnRef = rsp.ResolvedReference + + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.RoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.ForProvider.RoleArnRef, Selector: mg.Spec.ForProvider.RoleArnSelector, @@ -374,15 +701,37 @@ func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error } mg.Spec.InitProvider.KMSKeyArn = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.KMSKeyArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.PolicyEngineConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyEngineConfiguration.Arn), + Extract: resource.ExtractParamPath("policy_engine_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.PolicyEngineConfiguration.ArnRef, + Selector: mg.Spec.InitProvider.PolicyEngineConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyEngineConfiguration.Arn") + } + mg.Spec.InitProvider.PolicyEngineConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyEngineConfiguration.ArnRef = rsp.ResolvedReference + + } { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.InitProvider.RoleArnRef, Selector: mg.Spec.InitProvider.RoleArnSelector, @@ -407,23 +756,71 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.NamespacedResolutionResponse var mrsp reference.MultiNamespacedResolutionResponse var err error - { - m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Gateway", "GatewayList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.GatewayIdentifier), - Extract: resource.ExtractParamPath("gateway_id", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.GatewayIdentifierRef, - Selector: mg.Spec.ForProvider.GatewayIdentifierSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.GatewayIdentifier") + if mg.Spec.ForProvider.CredentialProviderConfiguration != nil { + if mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "APIKeyCredentialProvider", "APIKeyCredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef, + Selector: mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn") + } + mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.ForProvider.CredentialProviderConfiguration != nil { + if mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef, + Selector: mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn") + } + mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.GatewayIdentifier), + Extract: resource.ExtractParamPath("gateway_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.GatewayIdentifierRef, + Selector: mg.Spec.ForProvider.GatewayIdentifierSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.GatewayIdentifier") } mg.Spec.ForProvider.GatewayIdentifier = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GatewayIdentifierRef = rsp.ResolvedReference @@ -550,6 +947,32 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.ForProvider.TargetConfiguration != nil { + if mg.Spec.ForProvider.TargetConfiguration.Mcp != nil { + if mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("apigateway.aws.m.upbound.io", "v1beta1", "RestAPI", "RestAPIList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID), + Extract: resource.ExtractResourceID(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef, + Selector: mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID") + } + mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef = rsp.ResolvedReference + + } + } + } if mg.Spec.ForProvider.TargetConfiguration != nil { if mg.Spec.ForProvider.TargetConfiguration.Mcp != nil { if mg.Spec.ForProvider.TargetConfiguration.Mcp.Lambda != nil { @@ -576,6 +999,54 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.InitProvider.CredentialProviderConfiguration != nil { + if mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "APIKeyCredentialProvider", "APIKeyCredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef, + Selector: mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn") + } + mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CredentialProviderConfiguration.APIKey.ProviderArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.CredentialProviderConfiguration != nil { + if mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef, + Selector: mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn") + } + mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.CredentialProviderConfiguration.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } { m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Gateway", "GatewayList") if err != nil { @@ -718,6 +1189,32 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) } } } + if mg.Spec.InitProvider.TargetConfiguration != nil { + if mg.Spec.InitProvider.TargetConfiguration.Mcp != nil { + if mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("apigateway.aws.m.upbound.io", "v1beta1", "RestAPI", "RestAPIList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID), + Extract: resource.ExtractResourceID(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef, + Selector: mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID") + } + mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.TargetConfiguration.Mcp.APIGateway.RestAPIIDRef = rsp.ResolvedReference + + } + } + } if mg.Spec.InitProvider.TargetConfiguration != nil { if mg.Spec.InitProvider.TargetConfiguration.Mcp != nil { if mg.Spec.InitProvider.TargetConfiguration.Mcp.Lambda != nil { @@ -748,135 +1245,813 @@ func (mg *GatewayTarget) ResolveReferences(ctx context.Context, c client.Reader) return nil } -// ResolveReferences of this Memory. -func (mg *Memory) ResolveReferences(ctx context.Context, c client.Reader) error { +// ResolveReferences of this Harness. +func (mg *Harness) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed var l xpresource.ManagedList r := reference.NewAPINamespacedResolver(c, mg) var rsp reference.NamespacedResolutionResponse var err error - { - m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), - Extract: resource.ExtractParamPath("arn", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, - Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") - } - mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "AgentRuntime", "AgentRuntimeList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn), + Extract: resource.ExtractParamPath("agent_runtime_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, - To: reference.To{List: l, Managed: m}, - }) - } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") - } - mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } + } + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), - Extract: resource.ExtractParamPath("arn", true), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, - Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, - To: reference.To{List: l, Managed: m}, - }) + } + } + } } - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + if mg.Spec.ForProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn") + } + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } } - mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference { m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ExecutionRoleArn), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), - Reference: mg.Spec.InitProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.InitProvider.MemoryExecutionRoleArnSelector, + Reference: mg.Spec.ForProvider.ExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.ExecutionRoleArnSelector, To: reference.To{List: l, Managed: m}, }) } if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.MemoryExecutionRoleArn") + return errors.Wrap(err, "mg.Spec.ForProvider.ExecutionRoleArn") } - mg.Spec.InitProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - - return nil -} + mg.Spec.ForProvider.ExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ExecutionRoleArnRef = rsp.ResolvedReference -// ResolveReferences of this MemoryStrategy. -func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader) error { - var m xpresource.Managed - var l xpresource.ManagedList - r := reference.NewAPINamespacedResolver(c, mg) + if mg.Spec.ForProvider.Memory != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnRef, + Selector: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn") + } + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.ArnRef = rsp.ResolvedReference - var rsp reference.NamespacedResolutionResponse - var err error - { - m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } - - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), - Namespace: mg.GetNamespace(), - Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, - Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, - To: reference.To{List: l, Managed: m}, - }) } - if err != nil { - return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") - } - mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference - { - m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Memory", "MemoryList") - if err != nil { - return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") - } + if mg.Spec.ForProvider.Memory != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration != nil { + if mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "MemoryStrategy", "MemoryStrategyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID), + Extract: resource.ExtractParamPath("memory_strategy_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef, + Selector: mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID") + } + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryID), - Extract: resource.ExtractResourceID(), + } + } + } + if mg.Spec.ForProvider.Model != nil { + if mg.Spec.ForProvider.Model.GeminiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnRef, + Selector: mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn") + } + mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Model.GeminiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.ForProvider.Model != nil { + if mg.Spec.ForProvider.Model.OpenaiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnRef, + Selector: mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn") + } + mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Model.OpenaiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Browser", "BrowserList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn), + Extract: resource.ExtractParamPath("browser_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "CodeInterpreter", "CodeInterpreterList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn), + Extract: resource.ExtractParamPath("code_interpreter_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn), + Extract: resource.ExtractParamPath("gateway_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.Tool); i3++ { + if mg.Spec.ForProvider.Tool[i3].Config != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth != nil { + if mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef, + Selector: mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn") + } + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + } + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "AgentRuntime", "AgentRuntimeList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn), + Extract: resource.ExtractParamPath("agent_runtime_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].AgentRuntimeArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("efs.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].EFSAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } + } + if mg.Spec.InitProvider.Environment != nil { + for i4 := 0; i4 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment); i4++ { + for i5 := 0; i5 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration); i5++ { + for i6 := 0; i6 < len(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint); i6++ { + { + m, l, err = apisresolver.GetManagedResource("s3control.aws.m.upbound.io", "v1beta1", "AccessPoint", "AccessPointList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef, + Selector: mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn") + } + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Environment.AgentcoreRuntimeEnvironment[i4].FilesystemConfiguration[i5].S3FilesAccessPoint[i6].AccessPointArnRef = rsp.ResolvedReference + + } + } + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.ExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.ExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + 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 + + if mg.Spec.InitProvider.Memory != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnRef, + Selector: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn") + } + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.Arn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.ArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Memory != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration != nil { + if mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "MemoryStrategy", "MemoryStrategyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID), + Extract: resource.ExtractParamPath("memory_strategy_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef, + Selector: mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID") + } + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Memory.AgentcoreMemoryConfiguration.RetrievalConfig.StrategyIDRef = rsp.ResolvedReference + + } + } + } + if mg.Spec.InitProvider.Model != nil { + if mg.Spec.InitProvider.Model.GeminiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnRef, + Selector: mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn") + } + mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Model.GeminiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + if mg.Spec.InitProvider.Model != nil { + if mg.Spec.InitProvider.Model.OpenaiModelConfig != nil { + { + m, l, err = apisresolver.GetManagedResource("secretsmanager.aws.m.upbound.io", "v1beta1", "Secret", "SecretList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnRef, + Selector: mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn") + } + mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Model.OpenaiModelConfig.APIKeyArnRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Browser", "BrowserList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn), + Extract: resource.ExtractParamPath("browser_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreBrowser.BrowserArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "CodeInterpreter", "CodeInterpreterList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn), + Extract: resource.ExtractParamPath("code_interpreter_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreCodeInterpreter.CodeInterpreterArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Gateway", "GatewayList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn), + Extract: resource.ExtractParamPath("gateway_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.GatewayArnRef = rsp.ResolvedReference + + } + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.Tool); i3++ { + if mg.Spec.InitProvider.Tool[i3].Config != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth != nil { + if mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth != nil { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Oauth2CredentialProvider", "Oauth2CredentialProviderList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn), + Extract: resource.ExtractParamPath("credential_provider_arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef, + Selector: mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn") + } + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Tool[i3].Config.AgentcoreGateway.OutboundAuth.Oauth.ProviderArnRef = rsp.ResolvedReference + + } + } + } + } + } + + return nil +} + +// ResolveReferences of this Memory. +func (mg *Memory) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, + Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") + } + mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") + } + mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + + if mg.Spec.ForProvider.StreamDeliveryResources != nil { + if mg.Spec.ForProvider.StreamDeliveryResources.Resource != nil { + if mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis != nil { + { + m, l, err = apisresolver.GetManagedResource("kinesis.aws.m.upbound.io", "v1beta1", "Stream", "StreamList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef, + Selector: mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn") + } + mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef = rsp.ResolvedReference + + } + } + } + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + } + mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemoryExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.MemoryExecutionRoleArn") + } + mg.Spec.InitProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + + if mg.Spec.InitProvider.StreamDeliveryResources != nil { + if mg.Spec.InitProvider.StreamDeliveryResources.Resource != nil { + if mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis != nil { + { + m, l, err = apisresolver.GetManagedResource("kinesis.aws.m.upbound.io", "v1beta1", "Stream", "StreamList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn), + Extract: common.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef, + Selector: mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn") + } + mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.StreamDeliveryResources.Resource.Kinesis.DataStreamArnRef = rsp.ResolvedReference + + } + } + } + + return nil +} + +// ResolveReferences of this MemoryStrategy. +func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.MemoryExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.MemoryExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.MemoryExecutionRoleArn") + } + mg.Spec.ForProvider.MemoryExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.MemoryExecutionRoleArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Memory", "MemoryList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.MemoryID), + Extract: resource.ExtractResourceID(), Namespace: mg.GetNamespace(), Reference: mg.Spec.ForProvider.MemoryIDRef, Selector: mg.Spec.ForProvider.MemoryIDSelector, @@ -896,7 +2071,7 @@ func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.MemoryExecutionRoleArn), - Extract: common.ARNExtractor(), + Extract: common1.ARNExtractor(), Namespace: mg.GetNamespace(), Reference: mg.Spec.InitProvider.MemoryExecutionRoleArnRef, Selector: mg.Spec.InitProvider.MemoryExecutionRoleArnSelector, @@ -932,6 +2107,256 @@ func (mg *MemoryStrategy) ResolveReferences(ctx context.Context, c client.Reader return nil } +// ResolveReferences of this OnlineEvaluationConfig. +func (mg *OnlineEvaluationConfig) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var mrsp reference.MultiNamespacedResolutionResponse + var err error + + if mg.Spec.ForProvider.DataSourceConfig != nil { + if mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs != nil { + { + m, l, err = apisresolver.GetManagedResource("cloudwatchlogs.aws.m.upbound.io", "v1beta1", "Group", "GroupList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiNamespacedResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + References: mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs, + Selector: mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames") + } + mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.ForProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs = mrsp.ResolvedReferences + + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EvaluationExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EvaluationExecutionRoleArnRef, + Selector: mg.Spec.ForProvider.EvaluationExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EvaluationExecutionRoleArn") + } + mg.Spec.ForProvider.EvaluationExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EvaluationExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.ForProvider.Evaluator); i3++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Evaluator", "EvaluatorList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Evaluator[i3].EvaluatorID), + Extract: resource.ExtractParamPath("evaluator_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDRef, + Selector: mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Evaluator[i3].EvaluatorID") + } + mg.Spec.ForProvider.Evaluator[i3].EvaluatorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.Evaluator[i3].EvaluatorIDRef = rsp.ResolvedReference + + } + if mg.Spec.InitProvider.DataSourceConfig != nil { + if mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs != nil { + { + m, l, err = apisresolver.GetManagedResource("cloudwatchlogs.aws.m.upbound.io", "v1beta1", "Group", "GroupList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + mrsp, err = r.ResolveMultiple(ctx, reference.MultiNamespacedResolutionRequest{ + CurrentValues: reference.FromPtrValues(mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames), + Extract: reference.ExternalName(), + Namespace: mg.GetNamespace(), + References: mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs, + Selector: mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames") + } + mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNames = reference.ToPtrValues(mrsp.ResolvedValues) + mg.Spec.InitProvider.DataSourceConfig.CloudwatchLogs.LogGroupNamesRefs = mrsp.ResolvedReferences + + } + } + { + m, l, err = apisresolver.GetManagedResource("iam.aws.m.upbound.io", "v1beta1", "Role", "RoleList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EvaluationExecutionRoleArn), + Extract: common1.ARNExtractor(), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EvaluationExecutionRoleArnRef, + Selector: mg.Spec.InitProvider.EvaluationExecutionRoleArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EvaluationExecutionRoleArn") + } + mg.Spec.InitProvider.EvaluationExecutionRoleArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EvaluationExecutionRoleArnRef = rsp.ResolvedReference + + for i3 := 0; i3 < len(mg.Spec.InitProvider.Evaluator); i3++ { + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "Evaluator", "EvaluatorList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.Evaluator[i3].EvaluatorID), + Extract: resource.ExtractParamPath("evaluator_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDRef, + Selector: mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.Evaluator[i3].EvaluatorID") + } + mg.Spec.InitProvider.Evaluator[i3].EvaluatorID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.Evaluator[i3].EvaluatorIDRef = rsp.ResolvedReference + + } + + return nil +} + +// ResolveReferences of this Policy. +func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PolicyEngineID), + Extract: resource.ExtractParamPath("policy_engine_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.PolicyEngineIDRef, + Selector: mg.Spec.ForProvider.PolicyEngineIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.PolicyEngineID") + } + mg.Spec.ForProvider.PolicyEngineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.PolicyEngineIDRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("bedrockagentcore.aws.m.upbound.io", "v1beta1", "PolicyEngine", "PolicyEngineList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.PolicyEngineID), + Extract: resource.ExtractParamPath("policy_engine_id", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.PolicyEngineIDRef, + Selector: mg.Spec.InitProvider.PolicyEngineIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.PolicyEngineID") + } + mg.Spec.InitProvider.PolicyEngineID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.PolicyEngineIDRef = rsp.ResolvedReference + + return nil +} + +// ResolveReferences of this PolicyEngine. +func (mg *PolicyEngine) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPINamespacedResolver(c, mg) + + var rsp reference.NamespacedResolutionResponse + var err error + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.ForProvider.EncryptionKeyArnRef, + Selector: mg.Spec.ForProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.EncryptionKeyArn") + } + mg.Spec.ForProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.EncryptionKeyArnRef = rsp.ResolvedReference + { + m, l, err = apisresolver.GetManagedResource("kms.aws.m.upbound.io", "v1beta1", "Key", "KeyList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + + rsp, err = r.Resolve(ctx, reference.NamespacedResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.EncryptionKeyArn), + Extract: resource.ExtractParamPath("arn", true), + Namespace: mg.GetNamespace(), + Reference: mg.Spec.InitProvider.EncryptionKeyArnRef, + Selector: mg.Spec.InitProvider.EncryptionKeyArnSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.EncryptionKeyArn") + } + mg.Spec.InitProvider.EncryptionKeyArn = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.EncryptionKeyArnRef = rsp.ResolvedReference + + return nil +} + // ResolveReferences of this TokenVaultCmk. func (mg *TokenVaultCmk) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_terraformed.go new file mode 100755 index 0000000000..d751afd533 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Harness +func (mg *Harness) GetTerraformResourceType() string { + return "aws_bedrockagentcore_harness" +} + +// GetConnectionDetailsMapping for this Harness +func (tr *Harness) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"environment_variables": "environmentVariablesSecretRef", "system_prompt[*].text": "systemPrompt[*].textSecretRef", "tool[*].config[*].inline_function[*].input_schema": "tool[*].config.inlineFunction.inputSchemaSecretRef", "tool[*].config[*].remote_mcp[*].headers": "tool[*].config.remoteMcp.headersSecretRef", "tool[*].config[*].remote_mcp[*].url": "tool[*].config.remoteMcp.urlSecretRef"} +} + +// GetObservation of this Harness +func (tr *Harness) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Harness +func (tr *Harness) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Harness +func (tr *Harness) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Harness +func (tr *Harness) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Harness +func (tr *Harness) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Harness +func (tr *Harness) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Harness +func (tr *Harness) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Harness using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Harness) LateInitialize(attrs []byte) (bool, error) { + params := &HarnessParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Harness) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_types.go new file mode 100755 index 0000000000..0deaea81fc --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_harness_types.go @@ -0,0 +1,2198 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type AgentcoreBrowserInitParameters struct { + + // ARN of the AgentCore browser resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Browser + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true) + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` + + // Reference to a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnRef *v1.NamespacedReference `json:"browserArnRef,omitempty" tf:"-"` + + // Selector for a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnSelector *v1.NamespacedSelector `json:"browserArnSelector,omitempty" tf:"-"` +} + +type AgentcoreBrowserObservation struct { + + // ARN of the AgentCore browser resource. + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` +} + +type AgentcoreBrowserParameters struct { + + // ARN of the AgentCore browser resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Browser + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true) + // +kubebuilder:validation:Optional + BrowserArn *string `json:"browserArn,omitempty" tf:"browser_arn,omitempty"` + + // Reference to a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnRef *v1.NamespacedReference `json:"browserArnRef,omitempty" tf:"-"` + + // Selector for a Browser in bedrockagentcore to populate browserArn. + // +kubebuilder:validation:Optional + BrowserArnSelector *v1.NamespacedSelector `json:"browserArnSelector,omitempty" tf:"-"` +} + +type AgentcoreCodeInterpreterInitParameters struct { + + // ARN of the AgentCore code interpreter resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.CodeInterpreter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true) + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` + + // Reference to a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnRef *v1.NamespacedReference `json:"codeInterpreterArnRef,omitempty" tf:"-"` + + // Selector for a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnSelector *v1.NamespacedSelector `json:"codeInterpreterArnSelector,omitempty" tf:"-"` +} + +type AgentcoreCodeInterpreterObservation struct { + + // ARN of the AgentCore code interpreter resource. + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` +} + +type AgentcoreCodeInterpreterParameters struct { + + // ARN of the AgentCore code interpreter resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.CodeInterpreter + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true) + // +kubebuilder:validation:Optional + CodeInterpreterArn *string `json:"codeInterpreterArn,omitempty" tf:"code_interpreter_arn,omitempty"` + + // Reference to a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnRef *v1.NamespacedReference `json:"codeInterpreterArnRef,omitempty" tf:"-"` + + // Selector for a CodeInterpreter in bedrockagentcore to populate codeInterpreterArn. + // +kubebuilder:validation:Optional + CodeInterpreterArnSelector *v1.NamespacedSelector `json:"codeInterpreterArnSelector,omitempty" tf:"-"` +} + +type AgentcoreGatewayInitParameters struct { + + // ARN of the AgentCore gateway resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true) + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Reference to a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnRef *v1.NamespacedReference `json:"gatewayArnRef,omitempty" tf:"-"` + + // Selector for a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnSelector *v1.NamespacedSelector `json:"gatewayArnSelector,omitempty" tf:"-"` + + // Outbound authentication configuration. See outbound_auth below. + OutboundAuth *OutboundAuthInitParameters `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreGatewayObservation struct { + + // ARN of the AgentCore gateway resource. + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Outbound authentication configuration. See outbound_auth below. + OutboundAuth *OutboundAuthObservation `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreGatewayParameters struct { + + // ARN of the AgentCore gateway resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Gateway + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true) + // +kubebuilder:validation:Optional + GatewayArn *string `json:"gatewayArn,omitempty" tf:"gateway_arn,omitempty"` + + // Reference to a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnRef *v1.NamespacedReference `json:"gatewayArnRef,omitempty" tf:"-"` + + // Selector for a Gateway in bedrockagentcore to populate gatewayArn. + // +kubebuilder:validation:Optional + GatewayArnSelector *v1.NamespacedSelector `json:"gatewayArnSelector,omitempty" tf:"-"` + + // Outbound authentication configuration. See outbound_auth below. + // +kubebuilder:validation:Optional + OutboundAuth *OutboundAuthParameters `json:"outboundAuth,omitempty" tf:"outbound_auth,omitempty"` +} + +type AgentcoreMemoryConfigurationInitParameters struct { + + // Actor ID for memory sessions. + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Memory + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.NamespacedReference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.NamespacedSelector `json:"arnSelector,omitempty" tf:"-"` + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + RetrievalConfig *RetrievalConfigInitParameters `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreMemoryConfigurationObservation struct { + + // Actor ID for memory sessions. + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + RetrievalConfig *RetrievalConfigObservation `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreMemoryConfigurationParameters struct { + + // Actor ID for memory sessions. + // +kubebuilder:validation:Optional + ActorID *string `json:"actorId,omitempty" tf:"actor_id,omitempty"` + + // ARN of the hosting environment. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Memory + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reference to a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnRef *v1.NamespacedReference `json:"arnRef,omitempty" tf:"-"` + + // Selector for a Memory in bedrockagentcore to populate arn. + // +kubebuilder:validation:Optional + ArnSelector *v1.NamespacedSelector `json:"arnSelector,omitempty" tf:"-"` + + // Number of recent messages to keep in the conversation window. + // +kubebuilder:validation:Optional + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` + + // Retrieval configuration parameters. See retrieval_config below. + // +kubebuilder:validation:Optional + RetrievalConfig *RetrievalConfigParameters `json:"retrievalConfig,omitempty" tf:"retrieval_config,omitempty"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + EFSAccessPoint []FilesystemConfigurationEFSAccessPointInitParameters `json:"efsAccessPoint,omitempty" tf:"efs_access_point"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointInitParameters `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + SessionStorage []FilesystemConfigurationSessionStorageInitParameters `json:"sessionStorage,omitempty" tf:"session_storage"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + EFSAccessPoint []FilesystemConfigurationEFSAccessPointObservation `json:"efsAccessPoint,omitempty" tf:"efs_access_point,omitempty"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointObservation `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point,omitempty"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + SessionStorage []FilesystemConfigurationSessionStorageObservation `json:"sessionStorage,omitempty" tf:"session_storage,omitempty"` +} + +type AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters struct { + + // Amazon EFS access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See efs_access_point below. + // +kubebuilder:validation:Optional + EFSAccessPoint []FilesystemConfigurationEFSAccessPointParameters `json:"efsAccessPoint,omitempty" tf:"efs_access_point"` + + // Amazon S3 Files access point to mount as shared file storage. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See s3_files_access_point below. + // +kubebuilder:validation:Optional + S3FilesAccessPoint []FilesystemConfigurationS3FilesAccessPointParameters `json:"s3FilesAccessPoint,omitempty" tf:"s3_files_access_point"` + + // Session storage filesystem providing persistent storage across agent runtime session invocations. Exactly one of session_storage, s3_files_access_point, or efs_access_point must be specified. See session_storage below. + // +kubebuilder:validation:Optional + SessionStorage []FilesystemConfigurationSessionStorageParameters `json:"sessionStorage,omitempty" tf:"session_storage"` +} + +type AgentcoreRuntimeEnvironmentInitParameters struct { + + // ARN of the AgentCore memory resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.AgentRuntime + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true) + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn"` + + // Reference to a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnRef *v1.NamespacedReference `json:"agentRuntimeArnRef,omitempty" tf:"-"` + + // Selector for a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnSelector *v1.NamespacedSelector `json:"agentRuntimeArnSelector,omitempty" tf:"-"` + + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id"` + + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name"` + + // Filesystem configurations. See filesystem_configuration below. + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationInitParameters `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration"` + + // Lifecycle configuration. See lifecycle_configuration below. + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration"` + + // Network configuration. See network_configuration below. + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters `json:"networkConfiguration,omitempty" tf:"network_configuration"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationInitParameters struct { + + // Timeout in seconds for idle sessions. + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout"` + + // Maximum lifetime of the instance in seconds. + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation struct { + + // Timeout in seconds for idle sessions. + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout,omitempty"` + + // Maximum lifetime of the instance in seconds. + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime,omitempty"` +} + +type AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters struct { + + // Timeout in seconds for idle sessions. + // +kubebuilder:validation:Optional + IdleRuntimeSessionTimeout *float64 `json:"idleRuntimeSessionTimeout,omitempty" tf:"idle_runtime_session_timeout"` + + // Maximum lifetime of the instance in seconds. + // +kubebuilder:validation:Optional + MaxLifetime *float64 `json:"maxLifetime,omitempty" tf:"max_lifetime"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationInitParameters struct { + + // Network mode. Valid values: PUBLIC, VPC. + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode"` + + // VPC configuration. See network_mode_config below. + NetworkModeConfig []NetworkConfigurationNetworkModeConfigInitParameters `json:"networkModeConfig,omitempty" tf:"network_mode_config"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationObservation struct { + + // Network mode. Valid values: PUBLIC, VPC. + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode,omitempty"` + + // VPC configuration. See network_mode_config below. + NetworkModeConfig []NetworkConfigurationNetworkModeConfigObservation `json:"networkModeConfig,omitempty" tf:"network_mode_config,omitempty"` +} + +type AgentcoreRuntimeEnvironmentNetworkConfigurationParameters struct { + + // Network mode. Valid values: PUBLIC, VPC. + // +kubebuilder:validation:Optional + NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode"` + + // VPC configuration. See network_mode_config below. + // +kubebuilder:validation:Optional + NetworkModeConfig []NetworkConfigurationNetworkModeConfigParameters `json:"networkModeConfig,omitempty" tf:"network_mode_config"` +} + +type AgentcoreRuntimeEnvironmentObservation struct { + + // ARN of the AgentCore memory resource. + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn,omitempty"` + + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id,omitempty"` + + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name,omitempty"` + + // Filesystem configurations. See filesystem_configuration below. + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationObservation `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration,omitempty"` + + // Lifecycle configuration. See lifecycle_configuration below. + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationObservation `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration,omitempty"` + + // Network configuration. See network_configuration below. + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationObservation `json:"networkConfiguration,omitempty" tf:"network_configuration,omitempty"` +} + +type AgentcoreRuntimeEnvironmentParameters struct { + + // ARN of the AgentCore memory resource. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.AgentRuntime + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true) + // +kubebuilder:validation:Optional + AgentRuntimeArn *string `json:"agentRuntimeArn,omitempty" tf:"agent_runtime_arn"` + + // Reference to a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnRef *v1.NamespacedReference `json:"agentRuntimeArnRef,omitempty" tf:"-"` + + // Selector for a AgentRuntime in bedrockagentcore to populate agentRuntimeArn. + // +kubebuilder:validation:Optional + AgentRuntimeArnSelector *v1.NamespacedSelector `json:"agentRuntimeArnSelector,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AgentRuntimeID *string `json:"agentRuntimeId,omitempty" tf:"agent_runtime_id"` + + // +kubebuilder:validation:Optional + AgentRuntimeName *string `json:"agentRuntimeName,omitempty" tf:"agent_runtime_name"` + + // Filesystem configurations. See filesystem_configuration below. + // +kubebuilder:validation:Optional + FilesystemConfiguration []AgentcoreRuntimeEnvironmentFilesystemConfigurationParameters `json:"filesystemConfiguration,omitempty" tf:"filesystem_configuration"` + + // Lifecycle configuration. See lifecycle_configuration below. + // +kubebuilder:validation:Optional + LifecycleConfiguration []AgentcoreRuntimeEnvironmentLifecycleConfigurationParameters `json:"lifecycleConfiguration,omitempty" tf:"lifecycle_configuration"` + + // Network configuration. See network_configuration below. + // +kubebuilder:validation:Optional + NetworkConfiguration []AgentcoreRuntimeEnvironmentNetworkConfigurationParameters `json:"networkConfiguration,omitempty" tf:"network_configuration"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters struct { + + // Hosting environments allowed to use the authorizer. Between 1 and 10 entries. See hosting_environment below. + // +kubebuilder:validation:Optional + HostingEnvironment []CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters `json:"hostingEnvironment,omitempty" tf:"hosting_environment,omitempty"` + + // List of workload identity names allowed to use the authorizer. Between 1 and 10 entries. + // +kubebuilder:validation:Optional + WorkloadIdentities []*string `json:"workloadIdentities,omitempty" tf:"workload_identities,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + InboundTokenClaimName *string `json:"inboundTokenClaimName,omitempty" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType,omitempty" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + InboundTokenClaimName *string `json:"inboundTokenClaimName,omitempty" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType,omitempty" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters struct { + + // Configuration block to define the value or values to match for and the relationship of the match. See authorizing_claim_match_value below. + // +kubebuilder:validation:Optional + AuthorizingClaimMatchValue *CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters `json:"authorizingClaimMatchValue,omitempty" tf:"authorizing_claim_match_value,omitempty"` + + // Name of the custom claim field to check. + // +kubebuilder:validation:Optional + InboundTokenClaimName *string `json:"inboundTokenClaimName" tf:"inbound_token_claim_name,omitempty"` + + // Data type of the claim value to check for. Valid values are STRING and STRING_ARRAY. + // +kubebuilder:validation:Optional + InboundTokenClaimValueType *string `json:"inboundTokenClaimValueType" tf:"inbound_token_claim_value_type,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceInitParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + // +kubebuilder:validation:Optional + EndpointIPAddressType *string `json:"endpointIpAddressType" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + // +kubebuilder:validation:Optional + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of the VPC for the endpoint. + // +kubebuilder:validation:Optional + VPCIdentifier *string `json:"vpcIdentifier" tf:"vpc_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceObservation `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters struct { + + // Domain the override applies to. + Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation struct { + + // Domain the override applies to. + Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters struct { + + // Domain the override applies to. + // +kubebuilder:validation:Optional + Domain *string `json:"domain" tf:"domain,omitempty"` + + // Private endpoint configuration. See private_endpoint below. + // +kubebuilder:validation:Optional + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointInitParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointObservation struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + // +kubebuilder:validation:Optional + ManagedVPCResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + // +kubebuilder:validation:Optional + SelfManagedLatticeResource *CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters struct { + + // Managed VPC resource configuration. See managed_vpc_resource below. + // +kubebuilder:validation:Optional + ManagedVPCResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointManagedVPCResourceParameters `json:"managedVpcResource,omitempty" tf:"managed_vpc_resource,omitempty"` + + // Self-managed VPC Lattice resource configuration. See self_managed_lattice_resource below. + // +kubebuilder:validation:Optional + SelfManagedLatticeResource *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters `json:"selfManagedLatticeResource,omitempty" tf:"self_managed_lattice_resource,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceInitParameters struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceObservation struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointSelfManagedLatticeResourceParameters struct { + + // Identifier of the VPC Lattice resource configuration. + // +kubebuilder:validation:Optional + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier" tf:"resource_configuration_identifier,omitempty"` +} + +type BedrockModelConfigInitParameters struct { + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type BedrockModelConfigObservation struct { + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type BedrockModelConfigParameters struct { + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type ConfigInitParameters struct { + + // AgentCore browser configuration. See agentcore_browser below. + AgentcoreBrowser *AgentcoreBrowserInitParameters `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterInitParameters `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + AgentcoreGateway *AgentcoreGatewayInitParameters `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + InlineFunction *InlineFunctionInitParameters `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + RemoteMcp *RemoteMcpInitParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type ConfigObservation struct { + + // AgentCore browser configuration. See agentcore_browser below. + AgentcoreBrowser *AgentcoreBrowserObservation `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterObservation `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + AgentcoreGateway *AgentcoreGatewayObservation `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + InlineFunction *InlineFunctionObservation `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + RemoteMcp *RemoteMcpParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type ConfigParameters struct { + + // AgentCore browser configuration. See agentcore_browser below. + // +kubebuilder:validation:Optional + AgentcoreBrowser *AgentcoreBrowserParameters `json:"agentcoreBrowser,omitempty" tf:"agentcore_browser,omitempty"` + + // AgentCore code interpreter configuration. See agentcore_code_interpreter below. + // +kubebuilder:validation:Optional + AgentcoreCodeInterpreter *AgentcoreCodeInterpreterParameters `json:"agentcoreCodeInterpreter,omitempty" tf:"agentcore_code_interpreter,omitempty"` + + // AgentCore gateway configuration. See agentcore_gateway below. + // +kubebuilder:validation:Optional + AgentcoreGateway *AgentcoreGatewayParameters `json:"agentcoreGateway,omitempty" tf:"agentcore_gateway,omitempty"` + + // Inline function configuration. See inline_function below. + // +kubebuilder:validation:Optional + InlineFunction *InlineFunctionParameters `json:"inlineFunction,omitempty" tf:"inline_function,omitempty"` + + // Remote MCP server configuration. See remote_mcp below. + // +kubebuilder:validation:Optional + RemoteMcp *RemoteMcpParameters `json:"remoteMcp,omitempty" tf:"remote_mcp,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters struct { + + // String value to match for. Must be specified when claim_match_operator is EQUALS or CONTAINS. Exactly one of match_value_string or match_value_string_list must be specified. + // +kubebuilder:validation:Optional + MatchValueString *string `json:"matchValueString,omitempty" tf:"match_value_string,omitempty"` + + // List of strings to check for a match. Must be specified when claim_match_operator is CONTAINS_ANY. Exactly one of match_value_string or match_value_string_list must be specified. + // +kubebuilder:validation:Optional + // +listType=set + MatchValueStringList []*string `json:"matchValueStringList,omitempty" tf:"match_value_string_list,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentInitParameters struct { + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentObservation struct { + + // ARN of the hosting environment. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerAllowedWorkloadConfigurationHostingEnvironmentParameters struct { + + // ARN of the hosting environment. + // +kubebuilder:validation:Optional + Arn *string `json:"arn" tf:"arn,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueInitParameters struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + ClaimMatchOperator *string `json:"claimMatchOperator,omitempty" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueInitParameters `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueObservation struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + ClaimMatchOperator *string `json:"claimMatchOperator,omitempty" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueObservation `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerCustomClaimAuthorizingClaimMatchValueParameters struct { + + // Relationship between the claim field value and the value or values to match for. Valid values are EQUALS, CONTAINS, and CONTAINS_ANY. EQUALS can be used only when inbound_token_claim_value_type is STRING. CONTAINS or CONTAINS_ANY can be used only when inbound_token_claim_value_type is STRING_ARRAY. + // +kubebuilder:validation:Optional + ClaimMatchOperator *string `json:"claimMatchOperator" tf:"claim_match_operator,omitempty"` + + // Value or values to match for. See claim_match_value below. + // +kubebuilder:validation:Optional + ClaimMatchValue *CustomClaimAuthorizingClaimMatchValueClaimMatchValueParameters `json:"claimMatchValue,omitempty" tf:"claim_match_value,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceInitParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceObservation struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + EndpointIPAddressType *string `json:"endpointIpAddressType,omitempty" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +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"` + + // Identifier of the VPC for the endpoint. + VPCIdentifier *string `json:"vpcIdentifier,omitempty" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointManagedVPCResourceParameters struct { + + // IP address type for the endpoint. Valid values are IPV4 and IPV6. + // +kubebuilder:validation:Optional + EndpointIPAddressType *string `json:"endpointIpAddressType" tf:"endpoint_ip_address_type,omitempty"` + + // Routing domain for the endpoint. + // +kubebuilder:validation:Optional + RoutingDomain *string `json:"routingDomain,omitempty" tf:"routing_domain,omitempty"` + + // IDs of the security groups for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` + + // IDs of the subnets for the endpoint. + // +kubebuilder:validation:Optional + // +listType=set + SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Identifier of the VPC for the endpoint. + // +kubebuilder:validation:Optional + VPCIdentifier *string `json:"vpcIdentifier" tf:"vpc_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceInitParameters struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceObservation struct { + + // Identifier of the VPC Lattice resource configuration. + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier,omitempty" tf:"resource_configuration_identifier,omitempty"` +} + +type CustomJwtAuthorizerPrivateEndpointOverridesPrivateEndpointSelfManagedLatticeResourceParameters struct { + + // Identifier of the VPC Lattice resource configuration. + // +kubebuilder:validation:Optional + ResourceConfigurationIdentifier *string `json:"resourceConfigurationIdentifier" tf:"resource_configuration_identifier,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationInitParameters struct { + + // URI of the container image. + ContainerURI *string `json:"containerUri,omitempty" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationObservation struct { + + // URI of the container image. + ContainerURI *string `json:"containerUri,omitempty" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactContainerConfigurationParameters struct { + + // URI of the container image. + // +kubebuilder:validation:Optional + ContainerURI *string `json:"containerUri" tf:"container_uri,omitempty"` +} + +type EnvironmentArtifactInitParameters struct { + + // Container configuration. See container_configuration below. + ContainerConfiguration *EnvironmentArtifactContainerConfigurationInitParameters `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentArtifactObservation struct { + + // Container configuration. See container_configuration below. + ContainerConfiguration *EnvironmentArtifactContainerConfigurationObservation `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentArtifactParameters struct { + + // Container configuration. See container_configuration below. + // +kubebuilder:validation:Optional + ContainerConfiguration *EnvironmentArtifactContainerConfigurationParameters `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` +} + +type EnvironmentInitParameters struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentInitParameters `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment"` +} + +type EnvironmentObservation struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentObservation `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment,omitempty"` +} + +type EnvironmentParameters struct { + + // AgentCore runtime environment configuration. See agentcore_runtime_environment below. + // +kubebuilder:validation:Optional + AgentcoreRuntimeEnvironment []AgentcoreRuntimeEnvironmentParameters `json:"agentcoreRuntimeEnvironment,omitempty" tf:"agentcore_runtime_environment"` +} + +type FilesystemConfigurationEFSAccessPointInitParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/efs/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationEFSAccessPointObservation struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationEFSAccessPointParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/efs/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in efs to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationS3FilesAccessPointInitParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationS3FilesAccessPointObservation struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn,omitempty"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationS3FilesAccessPointParameters struct { + + // ARN of the Amazon S3 Files access point to mount into the agent runtime. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/s3control/v1beta1.AccessPoint + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + AccessPointArn *string `json:"accessPointArn,omitempty" tf:"access_point_arn"` + + // Reference to a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnRef *v1.NamespacedReference `json:"accessPointArnRef,omitempty" tf:"-"` + + // Selector for a AccessPoint in s3control to populate accessPointArn. + // +kubebuilder:validation:Optional + AccessPointArnSelector *v1.NamespacedSelector `json:"accessPointArnSelector,omitempty" tf:"-"` + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationSessionStorageInitParameters struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type FilesystemConfigurationSessionStorageObservation struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` +} + +type FilesystemConfigurationSessionStorageParameters struct { + + // Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with exactly one subdirectory level (for example, /mnt/data). + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path"` +} + +type GeminiModelConfigInitParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.NamespacedReference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.NamespacedSelector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type GeminiModelConfigObservation struct { + + // ARN of the secret containing the API key. + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type GeminiModelConfigParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.NamespacedReference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.NamespacedSelector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-k sampling parameter. + // +kubebuilder:validation:Optional + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters struct { + + // Set of allowed audience values for JWT token validation. + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationInitParameters `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimInitParameters `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + DiscoveryURL *string `json:"discoveryUrl,omitempty" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointInitParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesInitParameters `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation struct { + + // Set of allowed audience values for JWT token validation. + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationObservation `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimObservation `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + DiscoveryURL *string `json:"discoveryUrl,omitempty" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointObservation `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesObservation `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters struct { + + // Set of allowed audience values for JWT token validation. + // +kubebuilder:validation:Optional + // +listType=set + AllowedAudience []*string `json:"allowedAudience,omitempty" tf:"allowed_audience,omitempty"` + + // Set of allowed client IDs for JWT token validation. + // +kubebuilder:validation:Optional + // +listType=set + AllowedClients []*string `json:"allowedClients,omitempty" tf:"allowed_clients,omitempty"` + + // Set of scopes that are allowed to access the token. + // +kubebuilder:validation:Optional + // +listType=set + AllowedScopes []*string `json:"allowedScopes,omitempty" tf:"allowed_scopes,omitempty"` + + // Configuration restricting which workloads may use this authorizer. See allowed_workload_configuration below. + // +kubebuilder:validation:Optional + AllowedWorkloadConfiguration *AuthorizerConfigurationCustomJwtAuthorizerAllowedWorkloadConfigurationParameters `json:"allowedWorkloadConfiguration,omitempty" tf:"allowed_workload_configuration,omitempty"` + + // Repeatable block to define a custom claim validation name, value, and operation. See custom_claim below. + // +kubebuilder:validation:Optional + CustomClaim []AuthorizerConfigurationCustomJwtAuthorizerCustomClaimParameters `json:"customClaim,omitempty" tf:"custom_claim,omitempty"` + + // URL used to fetch OpenID Connect configuration or authorization server metadata. Must end with .well-known/openid-configuration. + // +kubebuilder:validation:Optional + DiscoveryURL *string `json:"discoveryUrl" tf:"discovery_url,omitempty"` + + // Private endpoint used to reach the authorization server. See private_endpoint below. + // +kubebuilder:validation:Optional + PrivateEndpoint *AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // Overrides for the private endpoints used to reach the authorization server. See private_endpoint_overrides below. + // +kubebuilder:validation:Optional + PrivateEndpointOverrides []AuthorizerConfigurationCustomJwtAuthorizerPrivateEndpointOverridesParameters `json:"privateEndpointOverrides,omitempty" tf:"private_endpoint_overrides,omitempty"` +} + +type HarnessAuthorizerConfigurationInitParameters struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerInitParameters `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessAuthorizerConfigurationObservation struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerObservation `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessAuthorizerConfigurationParameters struct { + + // JWT-based authorization configuration block. See custom_jwt_authorizer below. + // +kubebuilder:validation:Optional + CustomJwtAuthorizer *HarnessAuthorizerConfigurationCustomJwtAuthorizerParameters `json:"customJwtAuthorizer,omitempty" tf:"custom_jwt_authorizer,omitempty"` +} + +type HarnessInitParameters struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + AuthorizerConfiguration *HarnessAuthorizerConfigurationInitParameters `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + Environment *EnvironmentInitParameters `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + EnvironmentArtifact *EnvironmentArtifactInitParameters `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + EnvironmentVariables map[string]*string `json:"environmentVariablesSecretRef,omitempty" tf:"-"` + + // ARN of the IAM role that the harness assumes to access AWS services. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/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.NamespacedReference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.NamespacedSelector `json:"executionRoleArnSelector,omitempty" tf:"-"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + // Maximum number of iterations the agent loop can perform. + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + Memory *MemoryInitParameters `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + Model *ModelInitParameters `json:"model,omitempty" tf:"model,omitempty"` + + // Skill configurations. See skill below. + Skill []SkillInitParameters `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + SystemPrompt []SystemPromptInitParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Timeout in seconds for the harness execution. + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + Tool []ToolInitParameters `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + Truncation *TruncationInitParameters `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type HarnessObservation struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // ARN of the AgentCore memory resource. + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + AuthorizerConfiguration *HarnessAuthorizerConfigurationObservation `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + Environment *EnvironmentObservation `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + EnvironmentArtifact *EnvironmentArtifactObservation `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + // ARN of the IAM role that the harness assumes to access AWS services. + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Unique identifier of the Harness. + HarnessID *string `json:"harnessId,omitempty" tf:"harness_id,omitempty"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Maximum number of iterations the agent loop can perform. + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + Memory *MemoryObservation `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + Model *ModelObservation `json:"model,omitempty" tf:"model,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Skill configurations. See skill below. + Skill []SkillObservation `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + SystemPrompt []SystemPromptParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` + + // Timeout in seconds for the harness execution. + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + Tool []ToolObservation `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + Truncation *TruncationObservation `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type HarnessParameters struct { + + // List of tool names allowed for the harness. Use ["*"] to allow all tools. + // +kubebuilder:validation:Optional + AllowedTools []*string `json:"allowedTools,omitempty" tf:"allowed_tools,omitempty"` + + // Authorization configuration for authenticating requests. See authorizer_configuration below. + // +kubebuilder:validation:Optional + AuthorizerConfiguration *HarnessAuthorizerConfigurationParameters `json:"authorizerConfiguration,omitempty" tf:"authorizer_configuration,omitempty"` + + // Compute environment configuration. See environment below. + // +kubebuilder:validation:Optional + Environment *EnvironmentParameters `json:"environment,omitempty" tf:"environment,omitempty"` + + // Environment artifact configuration. See environment_artifact below. + // +kubebuilder:validation:Optional + EnvironmentArtifact *EnvironmentArtifactParameters `json:"environmentArtifact,omitempty" tf:"environment_artifact,omitempty"` + + // Map of environment variables. + // +kubebuilder:validation:Optional + EnvironmentVariablesSecretRef *v1.LocalSecretReference `json:"environmentVariablesSecretRef,omitempty" tf:"-"` + + // ARN of the IAM role that the harness assumes to access AWS services. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnRef *v1.NamespacedReference `json:"executionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate executionRoleArn. + // +kubebuilder:validation:Optional + ExecutionRoleArnSelector *v1.NamespacedSelector `json:"executionRoleArnSelector,omitempty" tf:"-"` + + // Name of the harness. Must be 1-40 characters, alphanumeric and underscores only. + // +kubebuilder:validation:Optional + HarnessName *string `json:"harnessName,omitempty" tf:"harness_name,omitempty"` + + // Maximum number of iterations the agent loop can perform. + // +kubebuilder:validation:Optional + MaxIterations *float64 `json:"maxIterations,omitempty" tf:"max_iterations,omitempty"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Memory configuration. See memory below. + // +kubebuilder:validation:Optional + Memory *MemoryParameters `json:"memory,omitempty" tf:"memory,omitempty"` + + // Model configuration for the harness. See model below. + // +kubebuilder:validation:Optional + Model *ModelParameters `json:"model,omitempty" tf:"model,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Skill configurations. See skill below. + // +kubebuilder:validation:Optional + Skill []SkillParameters `json:"skill,omitempty" tf:"skill,omitempty"` + + // System prompt blocks for the harness. See system_prompt below. + // +kubebuilder:validation:Optional + SystemPrompt []SystemPromptParameters `json:"systemPrompt,omitempty" tf:"system_prompt,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Timeout in seconds for the harness execution. + // +kubebuilder:validation:Optional + TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"` + + // Tool configurations. See tool below. + // +kubebuilder:validation:Optional + Tool []ToolParameters `json:"tool,omitempty" tf:"tool,omitempty"` + + // Truncation configuration for conversation history. See truncation below. + // +kubebuilder:validation:Optional + Truncation *TruncationParameters `json:"truncation,omitempty" tf:"truncation,omitempty"` +} + +type InlineFunctionInitParameters struct { + + // Description of the inline function. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // JSON string defining the input schema for the function. + InputSchemaSecretRef v1.LocalSecretKeySelector `json:"inputSchemaSecretRef" tf:"-"` +} + +type InlineFunctionObservation struct { + + // Description of the inline function. + Description *string `json:"description,omitempty" tf:"description,omitempty"` +} + +type InlineFunctionParameters struct { + + // Description of the inline function. + // +kubebuilder:validation:Optional + Description *string `json:"description" tf:"description,omitempty"` + + // JSON string defining the input schema for the function. + // +kubebuilder:validation:Optional + InputSchemaSecretRef v1.LocalSecretKeySelector `json:"inputSchemaSecretRef" tf:"-"` +} + +type MemoryInitParameters struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationInitParameters `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type MemoryObservation struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationObservation `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type MemoryParameters struct { + + // AgentCore memory configuration. See agentcore_memory_configuration below. + // +kubebuilder:validation:Optional + AgentcoreMemoryConfiguration *AgentcoreMemoryConfigurationParameters `json:"agentcoreMemoryConfiguration,omitempty" tf:"agentcore_memory_configuration,omitempty"` +} + +type ModelInitParameters struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + BedrockModelConfig *BedrockModelConfigInitParameters `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + GeminiModelConfig *GeminiModelConfigInitParameters `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + OpenaiModelConfig *OpenaiModelConfigInitParameters `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type ModelObservation struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + BedrockModelConfig *BedrockModelConfigObservation `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + GeminiModelConfig *GeminiModelConfigObservation `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + OpenaiModelConfig *OpenaiModelConfigObservation `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type ModelParameters struct { + + // Amazon Bedrock model configuration. See bedrock_model_config below. + // +kubebuilder:validation:Optional + BedrockModelConfig *BedrockModelConfigParameters `json:"bedrockModelConfig,omitempty" tf:"bedrock_model_config,omitempty"` + + // Gemini model configuration. See gemini_model_config below. + // +kubebuilder:validation:Optional + GeminiModelConfig *GeminiModelConfigParameters `json:"geminiModelConfig,omitempty" tf:"gemini_model_config,omitempty"` + + // OpenAI model configuration. See openai_model_config below. + // +kubebuilder:validation:Optional + OpenaiModelConfig *OpenaiModelConfigParameters `json:"openaiModelConfig,omitempty" tf:"openai_model_config,omitempty"` +} + +type NetworkConfigurationNetworkModeConfigInitParameters struct { + + // Whether to require an S3 endpoint for the service in the VPC. + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint"` + + // Security groups for the VPC. + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` + + // Subnets for the VPC. + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets"` +} + +type NetworkConfigurationNetworkModeConfigObservation struct { + + // Whether to require an S3 endpoint for the service in the VPC. + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint,omitempty"` + + // Security groups for the VPC. + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + + // Subnets for the VPC. + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"` +} + +type NetworkConfigurationNetworkModeConfigParameters struct { + + // Whether to require an S3 endpoint for the service in the VPC. + // +kubebuilder:validation:Optional + RequireServiceS3Endpoint *bool `json:"requireServiceS3Endpoint,omitempty" tf:"require_service_s3_endpoint"` + + // Security groups for the VPC. + // +kubebuilder:validation:Optional + // +listType=set + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` + + // Subnets for the VPC. + // +kubebuilder:validation:Optional + // +listType=set + Subnets []*string `json:"subnets,omitempty" tf:"subnets"` +} + +type OpenaiModelConfigInitParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.NamespacedReference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.NamespacedSelector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OpenaiModelConfigObservation struct { + + // ARN of the secret containing the API key. + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Maximum number of tokens in the model response. + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + ModelID *string `json:"modelId,omitempty" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OpenaiModelConfigParameters struct { + + // ARN of the secret containing the API key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/secretsmanager/v1beta1.Secret + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + APIKeyArn *string `json:"apiKeyArn,omitempty" tf:"api_key_arn,omitempty"` + + // Reference to a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnRef *v1.NamespacedReference `json:"apiKeyArnRef,omitempty" tf:"-"` + + // Selector for a Secret in secretsmanager to populate apiKeyArn. + // +kubebuilder:validation:Optional + APIKeyArnSelector *v1.NamespacedSelector `json:"apiKeyArnSelector,omitempty" tf:"-"` + + // Maximum number of tokens in the model response. + // +kubebuilder:validation:Optional + MaxTokens *float64 `json:"maxTokens,omitempty" tf:"max_tokens,omitempty"` + + // Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + // +kubebuilder:validation:Optional + ModelID *string `json:"modelId" tf:"model_id,omitempty"` + + // Temperature for sampling. Must be between 0 and 2. + // +kubebuilder:validation:Optional + Temperature *float64 `json:"temperature,omitempty" tf:"temperature,omitempty"` + + // Top-p (nucleus) sampling parameter. Must be between 0 and 1. + // +kubebuilder:validation:Optional + TopP *float64 `json:"topP,omitempty" tf:"top_p,omitempty"` +} + +type OutboundAuthInitParameters struct { + + // Set to true to use AWS IAM authentication. + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + Oauth *OutboundAuthOauthInitParameters `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type OutboundAuthOauthInitParameters struct { + + // Map of custom parameters. + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` + + // List of OAuth scopes. + Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` +} + +type OutboundAuthOauthObservation struct { + + // Map of custom parameters. + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // List of OAuth scopes. + Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` +} + +type OutboundAuthOauthParameters struct { + + // Map of custom parameters. + // +kubebuilder:validation:Optional + // +mapType=granular + CustomParameters map[string]*string `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // Default return URL for OAuth flow. + // +kubebuilder:validation:Optional + DefaultReturnURL *string `json:"defaultReturnUrl,omitempty" tf:"default_return_url,omitempty"` + + // OAuth grant type. + // +kubebuilder:validation:Optional + GrantType *string `json:"grantType,omitempty" tf:"grant_type,omitempty"` + + // ARN of the OAuth credential provider. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Oauth2CredentialProvider + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true) + // +kubebuilder:validation:Optional + ProviderArn *string `json:"providerArn,omitempty" tf:"provider_arn,omitempty"` + + // Reference to a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnRef *v1.NamespacedReference `json:"providerArnRef,omitempty" tf:"-"` + + // Selector for a Oauth2CredentialProvider in bedrockagentcore to populate providerArn. + // +kubebuilder:validation:Optional + ProviderArnSelector *v1.NamespacedSelector `json:"providerArnSelector,omitempty" tf:"-"` + + // List of OAuth scopes. + // +kubebuilder:validation:Optional + Scopes []*string `json:"scopes" tf:"scopes,omitempty"` +} + +type OutboundAuthObservation struct { + + // Set to true to use AWS IAM authentication. + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + Oauth *OutboundAuthOauthObservation `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type OutboundAuthParameters struct { + + // Set to true to use AWS IAM authentication. + // +kubebuilder:validation:Optional + AwsIAM *bool `json:"awsIam,omitempty" tf:"aws_iam,omitempty"` + + // Set to true to disable authentication. + // +kubebuilder:validation:Optional + None *bool `json:"none,omitempty" tf:"none,omitempty"` + + // OAuth credential provider configuration. See oauth below. + // +kubebuilder:validation:Optional + Oauth *OutboundAuthOauthParameters `json:"oauth,omitempty" tf:"oauth,omitempty"` +} + +type RemoteMcpInitParameters struct { + Headers map[string]*string `json:"headersSecretRef,omitempty" tf:"-"` + + // URL of the remote MCP server. + URLSecretRef v1.LocalSecretKeySelector `json:"urlSecretRef" tf:"-"` +} + +type RemoteMcpObservation struct { +} + +type RemoteMcpParameters struct { + + // Map of HTTP headers to include in requests to the MCP server. + // +kubebuilder:validation:Optional + HeadersSecretRef *v1.LocalSecretReference `json:"headersSecretRef,omitempty" tf:"-"` + + // URL of the remote MCP server. + // +kubebuilder:validation:Optional + URLSecretRef v1.LocalSecretKeySelector `json:"urlSecretRef" tf:"-"` +} + +type RetrievalConfigInitParameters struct { + + // Key for the retrieval configuration map block. + MapBlockKey *string `json:"mapBlockKey,omitempty" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.MemoryStrategy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true) + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Reference to a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDRef *v1.NamespacedReference `json:"strategyIdRef,omitempty" tf:"-"` + + // Selector for a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDSelector *v1.NamespacedSelector `json:"strategyIdSelector,omitempty" tf:"-"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type RetrievalConfigObservation struct { + + // Key for the retrieval configuration map block. + MapBlockKey *string `json:"mapBlockKey,omitempty" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Top-k sampling parameter. + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type RetrievalConfigParameters struct { + + // Key for the retrieval configuration map block. + // +kubebuilder:validation:Optional + MapBlockKey *string `json:"mapBlockKey" tf:"map_block_key,omitempty"` + + // Relevance score threshold. Valid value is between 0 and 1. + // +kubebuilder:validation:Optional + RelevanceScore *float64 `json:"relevanceScore,omitempty" tf:"relevance_score,omitempty"` + + // ID of the memory strategy. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.MemoryStrategy + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true) + // +kubebuilder:validation:Optional + StrategyID *string `json:"strategyId,omitempty" tf:"strategy_id,omitempty"` + + // Reference to a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDRef *v1.NamespacedReference `json:"strategyIdRef,omitempty" tf:"-"` + + // Selector for a MemoryStrategy in bedrockagentcore to populate strategyId. + // +kubebuilder:validation:Optional + StrategyIDSelector *v1.NamespacedSelector `json:"strategyIdSelector,omitempty" tf:"-"` + + // Top-k sampling parameter. + // +kubebuilder:validation:Optional + TopK *float64 `json:"topK,omitempty" tf:"top_k,omitempty"` +} + +type SkillInitParameters struct { + + // Path to the skill. + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type SkillObservation struct { + + // Path to the skill. + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type SkillParameters struct { + + // Path to the skill. + // +kubebuilder:validation:Optional + Path *string `json:"path" tf:"path,omitempty"` +} + +type SlidingWindowInitParameters struct { + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count"` +} + +type SlidingWindowObservation struct { + + // Number of recent messages to keep in the conversation window. + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count,omitempty"` +} + +type SlidingWindowParameters struct { + + // Number of recent messages to keep in the conversation window. + // +kubebuilder:validation:Optional + MessagesCount *float64 `json:"messagesCount,omitempty" tf:"messages_count"` +} + +type SummarizationInitParameters struct { + + // Number of recent messages to preserve without summarization. + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages"` + + // Custom system prompt for the summarization model. + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt"` + + // Ratio of the conversation to summarize (0 to 1). + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio"` +} + +type SummarizationObservation struct { + + // Number of recent messages to preserve without summarization. + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages,omitempty"` + + // Custom system prompt for the summarization model. + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt,omitempty"` + + // Ratio of the conversation to summarize (0 to 1). + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio,omitempty"` +} + +type SummarizationParameters struct { + + // Number of recent messages to preserve without summarization. + // +kubebuilder:validation:Optional + PreserveRecentMessages *float64 `json:"preserveRecentMessages,omitempty" tf:"preserve_recent_messages"` + + // Custom system prompt for the summarization model. + // +kubebuilder:validation:Optional + SummarizationSystemPrompt *string `json:"summarizationSystemPrompt,omitempty" tf:"summarization_system_prompt"` + + // Ratio of the conversation to summarize (0 to 1). + // +kubebuilder:validation:Optional + SummaryRatio *float64 `json:"summaryRatio,omitempty" tf:"summary_ratio"` +} + +type SystemPromptInitParameters struct { + + // Text content of the system prompt. + TextSecretRef v1.LocalSecretKeySelector `json:"textSecretRef" tf:"-"` +} + +type SystemPromptObservation struct { +} + +type SystemPromptParameters struct { + + // Text content of the system prompt. + // +kubebuilder:validation:Optional + TextSecretRef v1.LocalSecretKeySelector `json:"textSecretRef" tf:"-"` +} + +type ToolInitParameters struct { + + // Tool-specific configuration. See tool config below. + Config *ConfigInitParameters `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ToolObservation struct { + + // Tool-specific configuration. See tool config below. + Config *ConfigObservation `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ToolParameters struct { + + // Tool-specific configuration. See tool config below. + // +kubebuilder:validation:Optional + Config *ConfigParameters `json:"config,omitempty" tf:"config,omitempty"` + + // Name of the tool. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Type of tool. Valid values: remote_mcp, agentcore_browser, agentcore_gateway, inline_function, agentcore_code_interpreter. + // +kubebuilder:validation:Optional + Type *string `json:"type" tf:"type,omitempty"` +} + +type TruncationConfigInitParameters struct { + + // Sliding window truncation configuration. See sliding_window below. + SlidingWindow []SlidingWindowInitParameters `json:"slidingWindow,omitempty" tf:"sliding_window"` + + // Summarization truncation configuration. See summarization below. + Summarization []SummarizationInitParameters `json:"summarization,omitempty" tf:"summarization"` +} + +type TruncationConfigObservation struct { + + // Sliding window truncation configuration. See sliding_window below. + SlidingWindow []SlidingWindowObservation `json:"slidingWindow,omitempty" tf:"sliding_window,omitempty"` + + // Summarization truncation configuration. See summarization below. + Summarization []SummarizationObservation `json:"summarization,omitempty" tf:"summarization,omitempty"` +} + +type TruncationConfigParameters struct { + + // Sliding window truncation configuration. See sliding_window below. + // +kubebuilder:validation:Optional + SlidingWindow []SlidingWindowParameters `json:"slidingWindow,omitempty" tf:"sliding_window"` + + // Summarization truncation configuration. See summarization below. + // +kubebuilder:validation:Optional + Summarization []SummarizationParameters `json:"summarization,omitempty" tf:"summarization"` +} + +type TruncationInitParameters struct { + + // Strategy-specific configuration. See truncation config below. + Config []TruncationConfigInitParameters `json:"config,omitempty" tf:"config"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + Strategy *string `json:"strategy,omitempty" tf:"strategy"` +} + +type TruncationObservation struct { + + // Strategy-specific configuration. See truncation config below. + Config []TruncationConfigObservation `json:"config,omitempty" tf:"config,omitempty"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + Strategy *string `json:"strategy,omitempty" tf:"strategy,omitempty"` +} + +type TruncationParameters struct { + + // Strategy-specific configuration. See truncation config below. + // +kubebuilder:validation:Optional + Config []TruncationConfigParameters `json:"config,omitempty" tf:"config"` + + // Truncation strategy. Valid values: sliding_window, summarization, none. + // +kubebuilder:validation:Optional + Strategy *string `json:"strategy,omitempty" tf:"strategy"` +} + +// HarnessSpec defines the desired state of Harness +type HarnessSpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider HarnessParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider HarnessInitParameters `json:"initProvider,omitempty"` +} + +// HarnessStatus defines the observed state of Harness. +type HarnessStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HarnessObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Harness is the Schema for the Harnesss API. Manages an AWS Bedrock AgentCore Harness. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type Harness struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.harnessName) || (has(self.initProvider) && has(self.initProvider.harnessName))",message="spec.forProvider.harnessName is a required parameter" + Spec HarnessSpec `json:"spec"` + Status HarnessStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HarnessList contains a list of Harnesss +type HarnessList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Harness `json:"items"` +} + +// Repository type metadata. +var ( + Harness_Kind = "Harness" + Harness_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Harness_Kind}.String() + Harness_KindAPIVersion = Harness_Kind + "." + CRDGroupVersion.String() + Harness_GroupVersionKind = CRDGroupVersion.WithKind(Harness_Kind) +) + +func init() { + SchemeBuilder.Register(&Harness{}, &HarnessList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_terraformed.go index 8d4d36f01c..565e2beef1 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_terraformed.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_terraformed.go @@ -115,7 +115,7 @@ func (tr *Memory) GetMergedParameters(shouldMergeInitProvider bool) (map[string] // LateInitialize this Memory using its observed tfState. // returns True if there are any spec changes for the resource. func (tr *Memory) LateInitialize(attrs []byte) (bool, error) { - params := &MemoryParameters{} + params := &MemoryParameters_2{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_types.go index 8fc91b75a7..a2cef2853e 100755 --- a/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_types.go +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_memory_types.go @@ -78,7 +78,17 @@ type KinesisInitParameters struct { ContentConfiguration *ContentConfigurationInitParameters `json:"contentConfiguration,omitempty" tf:"content_configuration,omitempty"` // ARN of the Kinesis Data Stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() DataStreamArn *string `json:"dataStreamArn,omitempty" tf:"data_stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnRef *v1.NamespacedReference `json:"dataStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnSelector *v1.NamespacedSelector `json:"dataStreamArnSelector,omitempty" tf:"-"` } type KinesisObservation struct { @@ -97,11 +107,21 @@ type KinesisParameters struct { ContentConfiguration *ContentConfigurationParameters `json:"contentConfiguration,omitempty" tf:"content_configuration,omitempty"` // ARN of the Kinesis Data Stream. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/kinesis/v1beta1.Stream + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/namespaced/common.ARNExtractor() + // +kubebuilder:validation:Optional + DataStreamArn *string `json:"dataStreamArn,omitempty" tf:"data_stream_arn,omitempty"` + + // Reference to a Stream in kinesis to populate dataStreamArn. + // +kubebuilder:validation:Optional + DataStreamArnRef *v1.NamespacedReference `json:"dataStreamArnRef,omitempty" tf:"-"` + + // Selector for a Stream in kinesis to populate dataStreamArn. // +kubebuilder:validation:Optional - DataStreamArn *string `json:"dataStreamArn" tf:"data_stream_arn,omitempty"` + DataStreamArnSelector *v1.NamespacedSelector `json:"dataStreamArnSelector,omitempty" tf:"-"` } -type MemoryInitParameters struct { +type MemoryInitParameters_2 struct { // Description of the memory. Description *string `json:"description,omitempty" tf:"description,omitempty"` @@ -149,7 +169,7 @@ type MemoryInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` } -type MemoryObservation struct { +type MemoryObservation_2 struct { // ARN of the Memory. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` @@ -191,7 +211,7 @@ type MemoryObservation struct { TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` } -type MemoryParameters struct { +type MemoryParameters_2 struct { // Description of the memory. // +kubebuilder:validation:Optional @@ -293,7 +313,7 @@ type StreamDeliveryResourcesParameters struct { // MemorySpec defines the desired state of Memory type MemorySpec struct { v2.ManagedResourceSpec `json:",inline"` - ForProvider MemoryParameters `json:"forProvider"` + ForProvider MemoryParameters_2 `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception @@ -304,13 +324,13 @@ type MemorySpec struct { // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. - InitProvider MemoryInitParameters `json:"initProvider,omitempty"` + InitProvider MemoryInitParameters_2 `json:"initProvider,omitempty"` } // MemoryStatus defines the observed state of Memory. type MemoryStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider MemoryObservation `json:"atProvider,omitempty"` + AtProvider MemoryObservation_2 `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go new file mode 100755 index 0000000000..5da602b20b --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this OnlineEvaluationConfig +func (mg *OnlineEvaluationConfig) GetTerraformResourceType() string { + return "aws_bedrockagentcore_online_evaluation_config" +} + +// GetConnectionDetailsMapping for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this OnlineEvaluationConfig +func (tr *OnlineEvaluationConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this OnlineEvaluationConfig using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *OnlineEvaluationConfig) LateInitialize(attrs []byte) (bool, error) { + params := &OnlineEvaluationConfigParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *OnlineEvaluationConfig) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go new file mode 100755 index 0000000000..8b83f19686 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_onlineevaluationconfig_types.go @@ -0,0 +1,508 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type CloudwatchConfigInitParameters struct { +} + +type CloudwatchConfigObservation struct { + + // Name of the CloudWatch log group where evaluation results are written. + LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"` +} + +type CloudwatchConfigParameters struct { +} + +type CloudwatchLogsInitParameters struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/cloudwatchlogs/v1beta1.Group + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // References to Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesRefs []v1.NamespacedReference `json:"logGroupNamesRefs,omitempty" tf:"-"` + + // Selector for a list of Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesSelector *v1.NamespacedSelector `json:"logGroupNamesSelector,omitempty" tf:"-"` + + // List of service names to filter traces within the specified log groups. + ServiceNames []*string `json:"serviceNames,omitempty" tf:"service_names,omitempty"` +} + +type CloudwatchLogsObservation struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // List of service names to filter traces within the specified log groups. + ServiceNames []*string `json:"serviceNames,omitempty" tf:"service_names,omitempty"` +} + +type CloudwatchLogsParameters struct { + + // List of CloudWatch log group names to monitor for agent traces. Maximum 5. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/cloudwatchlogs/v1beta1.Group + // +kubebuilder:validation:Optional + LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"` + + // References to Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesRefs []v1.NamespacedReference `json:"logGroupNamesRefs,omitempty" tf:"-"` + + // Selector for a list of Group in cloudwatchlogs to populate logGroupNames. + // +kubebuilder:validation:Optional + LogGroupNamesSelector *v1.NamespacedSelector `json:"logGroupNamesSelector,omitempty" tf:"-"` + + // List of service names to filter traces within the specified log groups. + // +kubebuilder:validation:Optional + ServiceNames []*string `json:"serviceNames" tf:"service_names,omitempty"` +} + +type DataSourceConfigInitParameters struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + CloudwatchLogs *CloudwatchLogsInitParameters `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type DataSourceConfigObservation struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + CloudwatchLogs *CloudwatchLogsObservation `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type DataSourceConfigParameters struct { + + // CloudWatch logs configuration for reading agent traces. See cloudwatch_logs Block below. + // +kubebuilder:validation:Optional + CloudwatchLogs *CloudwatchLogsParameters `json:"cloudwatchLogs,omitempty" tf:"cloudwatch_logs,omitempty"` +} + +type FilterInitParameters struct { + + // Key or field name to filter on within the agent trace data. + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + Value *ValueInitParameters `json:"value,omitempty" tf:"value,omitempty"` +} + +type FilterObservation struct { + + // Key or field name to filter on within the agent trace data. + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + Value *ValueObservation `json:"value,omitempty" tf:"value,omitempty"` +} + +type FilterParameters struct { + + // Key or field name to filter on within the agent trace data. + // +kubebuilder:validation:Optional + Key *string `json:"key" tf:"key,omitempty"` + + // Comparison operator. Valid values: Equals, NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Contains, NotContains. + // +kubebuilder:validation:Optional + Operator *string `json:"operator" tf:"operator,omitempty"` + + // Value to compare against. See value Block below. + // +kubebuilder:validation:Optional + Value *ValueParameters `json:"value,omitempty" tf:"value,omitempty"` +} + +type OnlineEvaluationConfigEvaluatorInitParameters struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Evaluator + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true) + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Reference to a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDRef *v1.NamespacedReference `json:"evaluatorIdRef,omitempty" tf:"-"` + + // Selector for a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDSelector *v1.NamespacedSelector `json:"evaluatorIdSelector,omitempty" tf:"-"` +} + +type OnlineEvaluationConfigEvaluatorObservation struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` +} + +type OnlineEvaluationConfigEvaluatorParameters struct { + + // Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.Evaluator + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true) + // +kubebuilder:validation:Optional + EvaluatorID *string `json:"evaluatorId,omitempty" tf:"evaluator_id,omitempty"` + + // Reference to a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDRef *v1.NamespacedReference `json:"evaluatorIdRef,omitempty" tf:"-"` + + // Selector for a Evaluator in bedrockagentcore to populate evaluatorId. + // +kubebuilder:validation:Optional + EvaluatorIDSelector *v1.NamespacedSelector `json:"evaluatorIdSelector,omitempty" tf:"-"` +} + +type OnlineEvaluationConfigInitParameters struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + DataSourceConfig *DataSourceConfigInitParameters `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnRef *v1.NamespacedReference `json:"evaluationExecutionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnSelector *v1.NamespacedSelector `json:"evaluationExecutionRoleArnSelector,omitempty" tf:"-"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + Evaluator []OnlineEvaluationConfigEvaluatorInitParameters `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + Rule *RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type OnlineEvaluationConfigObservation struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + DataSourceConfig *DataSourceConfigObservation `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + Evaluator []OnlineEvaluationConfigEvaluatorObservation `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // ARN of the online evaluation configuration. + OnlineEvaluationConfigArn *string `json:"onlineEvaluationConfigArn,omitempty" tf:"online_evaluation_config_arn,omitempty"` + + // Unique identifier of the online evaluation configuration. + OnlineEvaluationConfigID *string `json:"onlineEvaluationConfigId,omitempty" tf:"online_evaluation_config_id,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Configuration specifying where evaluation results are written. See output_config Block below. + OutputConfig []OutputConfigObservation `json:"outputConfig,omitempty" tf:"output_config,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + Rule *RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type OnlineEvaluationConfigParameters struct { + + // Data source configuration specifying where to read agent traces. See data_source_config Block below. + // +kubebuilder:validation:Optional + DataSourceConfig *DataSourceConfigParameters `json:"dataSourceConfig,omitempty" tf:"data_source_config,omitempty"` + + // Description of the online evaluation configuration. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Whether to enable the online evaluation configuration immediately upon creation. + // +kubebuilder:validation:Optional + EnableOnCreate *bool `json:"enableOnCreate,omitempty" tf:"enable_on_create,omitempty"` + + // ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/iam/v1beta1.Role + // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/v2/config/cluster/common.ARNExtractor() + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArn *string `json:"evaluationExecutionRoleArn,omitempty" tf:"evaluation_execution_role_arn,omitempty"` + + // Reference to a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnRef *v1.NamespacedReference `json:"evaluationExecutionRoleArnRef,omitempty" tf:"-"` + + // Selector for a Role in iam to populate evaluationExecutionRoleArn. + // +kubebuilder:validation:Optional + EvaluationExecutionRoleArnSelector *v1.NamespacedSelector `json:"evaluationExecutionRoleArnSelector,omitempty" tf:"-"` + + // List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below. + // +kubebuilder:validation:Optional + Evaluator []OnlineEvaluationConfigEvaluatorParameters `json:"evaluator,omitempty" tf:"evaluator,omitempty"` + + // Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enable_on_create. + // +kubebuilder:validation:Optional + ExecutionStatus *string `json:"executionStatus,omitempty" tf:"execution_status,omitempty"` + + // Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters. + // +kubebuilder:validation:Optional + OnlineEvaluationConfigName *string `json:"onlineEvaluationConfigName,omitempty" tf:"online_evaluation_config_name,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below. + // +kubebuilder:validation:Optional + Rule *RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type OutputConfigInitParameters struct { +} + +type OutputConfigObservation struct { + + // CloudWatch configuration for evaluation results. See cloudwatch_config Block below. + CloudwatchConfig []CloudwatchConfigObservation `json:"cloudwatchConfig,omitempty" tf:"cloudwatch_config,omitempty"` +} + +type OutputConfigParameters struct { +} + +type RuleInitParameters struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + Filter []FilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + SamplingConfig *SamplingConfigInitParameters `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + SessionConfig *SessionConfigInitParameters `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type RuleObservation struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + SamplingConfig *SamplingConfigObservation `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + SessionConfig *SessionConfigObservation `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type RuleParameters struct { + + // List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below. + // +kubebuilder:validation:Optional + Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // Sampling configuration determining what percentage of agent traces to evaluate. See sampling_config Block below. + // +kubebuilder:validation:Optional + SamplingConfig *SamplingConfigParameters `json:"samplingConfig,omitempty" tf:"sampling_config,omitempty"` + + // Session configuration defining timeout settings for detecting when agent sessions are complete. See session_config Block below. + // +kubebuilder:validation:Optional + SessionConfig *SessionConfigParameters `json:"sessionConfig,omitempty" tf:"session_config,omitempty"` +} + +type SamplingConfigInitParameters struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` +} + +type SamplingConfigObservation struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` +} + +type SamplingConfigParameters struct { + + // Percentage of agent traces to sample for evaluation, from 0.01 to 100. + // +kubebuilder:validation:Optional + SamplingPercentage *float64 `json:"samplingPercentage" tf:"sampling_percentage,omitempty"` +} + +type SessionConfigInitParameters struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes,omitempty" tf:"session_timeout_minutes,omitempty"` +} + +type SessionConfigObservation struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes,omitempty" tf:"session_timeout_minutes,omitempty"` +} + +type SessionConfigParameters struct { + + // Minutes of inactivity after which a session is considered complete. Between 1 and 60. + // +kubebuilder:validation:Optional + SessionTimeoutMinutes *float64 `json:"sessionTimeoutMinutes" tf:"session_timeout_minutes,omitempty"` +} + +type ValueInitParameters struct { + + // Boolean value for true/false filtering. + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +type ValueObservation struct { + + // Boolean value for true/false filtering. + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +type ValueParameters struct { + + // Boolean value for true/false filtering. + // +kubebuilder:validation:Optional + BooleanValue *bool `json:"booleanValue,omitempty" tf:"boolean_value,omitempty"` + + // Numeric value for numerical filtering. + // +kubebuilder:validation:Optional + DoubleValue *float64 `json:"doubleValue,omitempty" tf:"double_value,omitempty"` + + // String value for text-based filtering. + // +kubebuilder:validation:Optional + StringValue *string `json:"stringValue,omitempty" tf:"string_value,omitempty"` +} + +// OnlineEvaluationConfigSpec defines the desired state of OnlineEvaluationConfig +type OnlineEvaluationConfigSpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider OnlineEvaluationConfigParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider OnlineEvaluationConfigInitParameters `json:"initProvider,omitempty"` +} + +// OnlineEvaluationConfigStatus defines the observed state of OnlineEvaluationConfig. +type OnlineEvaluationConfigStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider OnlineEvaluationConfigObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// OnlineEvaluationConfig is the Schema for the OnlineEvaluationConfigs API. Manages an AWS Bedrock AgentCore Online Evaluation Configuration. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type OnlineEvaluationConfig struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enableOnCreate) || (has(self.initProvider) && has(self.initProvider.enableOnCreate))",message="spec.forProvider.enableOnCreate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.onlineEvaluationConfigName) || (has(self.initProvider) && has(self.initProvider.onlineEvaluationConfigName))",message="spec.forProvider.onlineEvaluationConfigName is a required parameter" + Spec OnlineEvaluationConfigSpec `json:"spec"` + Status OnlineEvaluationConfigStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// OnlineEvaluationConfigList contains a list of OnlineEvaluationConfigs +type OnlineEvaluationConfigList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []OnlineEvaluationConfig `json:"items"` +} + +// Repository type metadata. +var ( + OnlineEvaluationConfig_Kind = "OnlineEvaluationConfig" + OnlineEvaluationConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: OnlineEvaluationConfig_Kind}.String() + OnlineEvaluationConfig_KindAPIVersion = OnlineEvaluationConfig_Kind + "." + CRDGroupVersion.String() + OnlineEvaluationConfig_GroupVersionKind = CRDGroupVersion.WithKind(OnlineEvaluationConfig_Kind) +) + +func init() { + SchemeBuilder.Register(&OnlineEvaluationConfig{}, &OnlineEvaluationConfigList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_terraformed.go new file mode 100755 index 0000000000..6fef56fe87 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_terraformed.go @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Policy +func (mg *Policy) GetTerraformResourceType() string { + return "aws_bedrockagentcore_policy" +} + +// GetConnectionDetailsMapping for this Policy +func (tr *Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Policy +func (tr *Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Policy +func (tr *Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Policy +func (tr *Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Policy +func (tr *Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Policy +func (tr *Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Policy) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Policy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_types.go new file mode 100755 index 0000000000..7f0b3cd119 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_policy_types.go @@ -0,0 +1,211 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type CedarInitParameters struct { + + // Cedar policy statement. + Statement *string `json:"statement,omitempty" tf:"statement,omitempty"` +} + +type CedarObservation struct { + + // Cedar policy statement. + Statement *string `json:"statement,omitempty" tf:"statement,omitempty"` +} + +type CedarParameters struct { + + // Cedar policy statement. + // +kubebuilder:validation:Optional + Statement *string `json:"statement" tf:"statement,omitempty"` +} + +type DefinitionInitParameters struct { + + // Inline Cedar policy. See cedar Block for details. + Cedar *CedarInitParameters `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type DefinitionObservation struct { + + // Inline Cedar policy. See cedar Block for details. + Cedar *CedarObservation `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type DefinitionParameters struct { + + // Inline Cedar policy. See cedar Block for details. + // +kubebuilder:validation:Optional + Cedar *CedarParameters `json:"cedar,omitempty" tf:"cedar,omitempty"` +} + +type PolicyInitParameters struct { + + // Policy definition. See definition Block for details. + Definition *DefinitionInitParameters `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_id",true) + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDRef *v1.NamespacedReference `json:"policyEngineIdRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDSelector *v1.NamespacedSelector `json:"policyEngineIdSelector,omitempty" tf:"-"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +type PolicyObservation struct { + + // Policy definition. See definition Block for details. + Definition *DefinitionObservation `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ARN of the Policy. + PolicyArn *string `json:"policyArn,omitempty" tf:"policy_arn,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Identifier of the Policy. + PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +type PolicyParameters struct { + + // Policy definition. See definition Block for details. + // +kubebuilder:validation:Optional + Definition *DefinitionParameters `json:"definition,omitempty" tf:"definition,omitempty"` + + // Description of the policy. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1.PolicyEngine + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_id",true) + // +kubebuilder:validation:Optional + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Reference to a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDRef *v1.NamespacedReference `json:"policyEngineIdRef,omitempty" tf:"-"` + + // Selector for a PolicyEngine in bedrockagentcore to populate policyEngineId. + // +kubebuilder:validation:Optional + PolicyEngineIDSelector *v1.NamespacedSelector `json:"policyEngineIdSelector,omitempty" tf:"-"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS. + // +kubebuilder:validation:Optional + ValidationMode *string `json:"validationMode,omitempty" tf:"validation_mode,omitempty"` +} + +// PolicySpec defines the desired state of Policy +type PolicySpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider PolicyParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider PolicyInitParameters `json:"initProvider,omitempty"` +} + +// PolicyStatus defines the observed state of Policy. +type PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Policy is the Schema for the Policys API. Manages an AWS Bedrock AgentCore Policy. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + Spec PolicySpec `json:"spec"` + Status PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyList contains a list of Policys +type PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Policy `json:"items"` +} + +// Repository type metadata. +var ( + Policy_Kind = "Policy" + Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() + Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() + Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Policy{}, &PolicyList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go new file mode 100755 index 0000000000..cd85df2e7e --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_terraformed.go @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyEngine +func (mg *PolicyEngine) GetTerraformResourceType() string { + return "aws_bedrockagentcore_policy_engine" +} + +// GetConnectionDetailsMapping for this PolicyEngine +func (tr *PolicyEngine) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyEngine +func (tr *PolicyEngine) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyEngine +func (tr *PolicyEngine) SetObservation(obs map[string]any) error { + tr.Status.AtProvider.Tags = nil + tr.Status.AtProvider.TagsAll = nil + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this PolicyEngine +func (tr *PolicyEngine) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this PolicyEngine +func (tr *PolicyEngine) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyEngine +func (tr *PolicyEngine) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this PolicyEngine +func (tr *PolicyEngine) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this PolicyEngine +func (tr *PolicyEngine) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this PolicyEngine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyEngine) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyEngineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyEngine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_types.go new file mode 100755 index 0000000000..f22de43004 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_policyengine_types.go @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type PolicyEngineInitParameters struct { + + // Description of the policy engine. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + // Reference to a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnRef *v1.NamespacedReference `json:"encryptionKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnSelector *v1.NamespacedSelector `json:"encryptionKeyArnSelector,omitempty" tf:"-"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type PolicyEngineObservation struct { + + // Description of the policy engine. + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ARN of the Policy Engine. + PolicyEngineArn *string `json:"policyEngineArn,omitempty" tf:"policy_engine_arn,omitempty"` + + // Unique identifier of the Policy Engine. + PolicyEngineID *string `json:"policyEngineId,omitempty" tf:"policy_engine_id,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` +} + +type PolicyEngineParameters struct { + + // Description of the policy engine. + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/v2/apis/namespaced/kms/v1beta1.Key + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("arn",true) + // +kubebuilder:validation:Optional + EncryptionKeyArn *string `json:"encryptionKeyArn,omitempty" tf:"encryption_key_arn,omitempty"` + + // Reference to a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnRef *v1.NamespacedReference `json:"encryptionKeyArnRef,omitempty" tf:"-"` + + // Selector for a Key in kms to populate encryptionKeyArn. + // +kubebuilder:validation:Optional + EncryptionKeyArnSelector *v1.NamespacedSelector `json:"encryptionKeyArnSelector,omitempty" tf:"-"` + + // Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PolicyEngineSpec defines the desired state of PolicyEngine +type PolicyEngineSpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider PolicyEngineParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider PolicyEngineInitParameters `json:"initProvider,omitempty"` +} + +// PolicyEngineStatus defines the observed state of PolicyEngine. +type PolicyEngineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyEngineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// PolicyEngine is the Schema for the PolicyEngines API. Manages an AWS Bedrock AgentCore Policy Engine. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type PolicyEngine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + Spec PolicyEngineSpec `json:"spec"` + Status PolicyEngineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyEngineList contains a list of PolicyEngines +type PolicyEngineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyEngine `json:"items"` +} + +// Repository type metadata. +var ( + PolicyEngine_Kind = "PolicyEngine" + PolicyEngine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyEngine_Kind}.String() + PolicyEngine_KindAPIVersion = PolicyEngine_Kind + "." + CRDGroupVersion.String() + PolicyEngine_GroupVersionKind = CRDGroupVersion.WithKind(PolicyEngine_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyEngine{}, &PolicyEngineList{}) +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go new file mode 100755 index 0000000000..47ceb35c0c --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_terraformed.go @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/v2/pkg/resource" + "github.com/crossplane/upjet/v2/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ResourcePolicy +func (mg *ResourcePolicy) GetTerraformResourceType() string { + return "aws_bedrockagentcore_resource_policy" +} + +// GetConnectionDetailsMapping for this ResourcePolicy +func (tr *ResourcePolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ResourcePolicy +func (tr *ResourcePolicy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ResourcePolicy +func (tr *ResourcePolicy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this ResourcePolicy +func (tr *ResourcePolicy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ResourcePolicy +func (tr *ResourcePolicy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this ResourcePolicy +func (tr *ResourcePolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource \"%s/%s\"", tr.GetNamespace(), tr.GetName()) + } + + return params, nil +} + +// LateInitialize this ResourcePolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ResourcePolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ResourcePolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ResourcePolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go b/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go new file mode 100755 index 0000000000..f55a1432f9 --- /dev/null +++ b/apis/namespaced/bedrockagentcore/v1beta1/zz_resourcepolicy_types.go @@ -0,0 +1,113 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/v2/apis/common/v1" + v2 "github.com/crossplane/crossplane-runtime/v2/apis/common/v2" +) + +type ResourcePolicyInitParameters struct { + + // Resource policy definition + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` +} + +type ResourcePolicyObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Resource policy definition + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + Region *string `json:"region,omitempty" tf:"region,omitempty"` + + // Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. + ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"` +} + +type ResourcePolicyParameters struct { + + // Resource policy definition + // +kubebuilder:validation:Optional + Policy *string `json:"policy,omitempty" tf:"policy,omitempty"` + + // Region where this resource will be managed. Defaults to the Region set in the provider configuration. + // Region is the region you'd like your resource to be created in. + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. + // +kubebuilder:validation:Required + ResourceArn *string `json:"resourceArn" tf:"resource_arn,omitempty"` +} + +// ResourcePolicySpec defines the desired state of ResourcePolicy +type ResourcePolicySpec struct { + v2.ManagedResourceSpec `json:",inline"` + ForProvider ResourcePolicyParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider ResourcePolicyInitParameters `json:"initProvider,omitempty"` +} + +// ResourcePolicyStatus defines the observed state of ResourcePolicy. +type ResourcePolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ResourcePolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// ResourcePolicy is the Schema for the ResourcePolicys API. Manages an AWS Bedrock AgentCore Resource Policy. +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Namespaced,categories={crossplane,managed,aws} +type ResourcePolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" + Spec ResourcePolicySpec `json:"spec"` + Status ResourcePolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ResourcePolicyList contains a list of ResourcePolicys +type ResourcePolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ResourcePolicy `json:"items"` +} + +// Repository type metadata. +var ( + ResourcePolicy_Kind = "ResourcePolicy" + ResourcePolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicy_Kind}.String() + ResourcePolicy_KindAPIVersion = ResourcePolicy_Kind + "." + CRDGroupVersion.String() + ResourcePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ResourcePolicy{}, &ResourcePolicyList{}) +} diff --git a/config/cluster/bedrockagentcore/config.go b/config/cluster/bedrockagentcore/config.go index 92c7d25d0c..d99d5ad9a6 100644 --- a/config/cluster/bedrockagentcore/config.go +++ b/config/cluster/bedrockagentcore/config.go @@ -6,10 +6,20 @@ package bedrockagentcore import ( "github.com/crossplane/upjet/v2/pkg/config" + + "github.com/upbound/provider-aws/v2/config/cluster/common" ) func Configure(p *config.Provider) { //nolint:gocyclo p.AddResourceConfigurator("aws_bedrockagentcore_agent_runtime", func(r *config.Resource) { + r.References["filesystem_configuration.efs_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_efs_access_point", + Extractor: common.PathARNExtractor, + } + r.References["filesystem_configuration.s3_files_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_s3_access_point", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("agent_runtime_artifact", "agentRuntimeArtifact") r.AddSingletonListConversion("agent_runtime_artifact[*].code_configuration", "agentRuntimeArtifact[*].codeConfiguration") r.AddSingletonListConversion("agent_runtime_artifact[*].code_configuration[*].code", "agentRuntimeArtifact[*].codeConfiguration[*].code") @@ -43,6 +53,10 @@ func Configure(p *config.Provider) { //nolint:gocyclo // aws_bedrockagentcore_browser p.AddResourceConfigurator("aws_bedrockagentcore_browser", func(r *config.Resource) { + r.References["certificate.location.secrets_manager.secret_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("browser_signing", "browserSigning") r.AddSingletonListConversion("certificate[*].location", "certificate[*].location") r.AddSingletonListConversion("certificate[*].location[*].secrets_manager", "certificate[*].location[*].secretsManager") @@ -56,13 +70,32 @@ func Configure(p *config.Provider) { //nolint:gocyclo // aws_bedrockagentcore_code_interpreter p.AddResourceConfigurator("aws_bedrockagentcore_code_interpreter", func(r *config.Resource) { + r.References["certificate.location.secrets_manager.secret_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("certificate[*].location", "certificate[*].location") r.AddSingletonListConversion("certificate[*].location[*].secrets_manager", "certificate[*].location[*].secretsManager") r.AddSingletonListConversion("network_configuration", "networkConfiguration") r.AddSingletonListConversion("network_configuration[*].vpc_config", "networkConfiguration[*].vpcConfig") }) + // aws_bedrockagentcore_evaluator + p.AddResourceConfigurator("aws_bedrockagentcore_evaluator", func(r *config.Resource) { + r.AddSingletonListConversion("evaluator_config", "evaluatorConfig") + r.AddSingletonListConversion("evaluator_config[*].code_based", "evaluatorConfig[*].codeBased") + r.AddSingletonListConversion("evaluator_config[*].code_based[*].lambda_config", "evaluatorConfig[*].codeBased[*].lambdaConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge", "evaluatorConfig[*].llmAsAJudge") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config[*].bedrock_evaluator_model_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig[*].bedrockEvaluatorModelConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config[*].bedrock_evaluator_model_config[*].inference_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig[*].bedrockEvaluatorModelConfig[*].inferenceConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].rating_scale", "evaluatorConfig[*].llmAsAJudge[*].ratingScale") + }) // aws_bedrockagentcore_gateway p.AddResourceConfigurator("aws_bedrockagentcore_gateway", func(r *config.Resource) { + r.References["policy_engine_configuration.arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_policy_engine", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true)`, + } r.AddSingletonListConversion("authorizer_configuration", "authorizerConfiguration") r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer", "authorizerConfiguration[*].customJwtAuthorizer") r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].allowed_workload_configuration", "authorizerConfiguration[*].customJwtAuthorizer[*].allowedWorkloadConfiguration") @@ -85,6 +118,18 @@ func Configure(p *config.Provider) { //nolint:gocyclo }) // aws_bedrockagentcore_gateway_target p.AddResourceConfigurator("aws_bedrockagentcore_gateway_target", func(r *config.Resource) { + r.References["credential_provider_configuration.oauth.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_oauth2_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["credential_provider_configuration.api_key.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_api_key_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["target_configuration.mcp.api_gateway.rest_api_id"] = config.Reference{ + TerraformName: "aws_api_gateway_rest_api", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()`, + } r.AddSingletonListConversion("credential_provider_configuration", "credentialProviderConfiguration") r.AddSingletonListConversion("credential_provider_configuration[*].api_key", "credentialProviderConfiguration[*].apiKey") r.AddSingletonListConversion("credential_provider_configuration[*].caller_iam_credentials", "credentialProviderConfiguration[*].callerIamCredentials") @@ -122,8 +167,89 @@ func Configure(p *config.Provider) { //nolint:gocyclo r.AddSingletonListConversion("target_configuration[*].mcp[*].smithy_model[*].inline_payload", "targetConfiguration[*].mcp[*].smithyModel[*].inlinePayload") r.AddSingletonListConversion("target_configuration[*].mcp[*].smithy_model[*].s3", "targetConfiguration[*].mcp[*].smithyModel[*].s3") }) + // aws_bedrockagentcore_harness + p.AddResourceConfigurator("aws_bedrockagentcore_harness", func(r *config.Resource) { + r.References["memory.agentcore_memory_configuration.arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_memory", + Extractor: common.PathARNExtractor, + } + r.References["environment.agentcore_runtime_environment.agent_runtime_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_agent_runtime", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true)`, + } + r.References["memory.agentcore_memory_configuration.retrieval_config.strategy_id"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_memory_strategy", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true)`, + } + r.References["tool.config.agentcore_browser.browser_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_browser", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true)`, + } + r.References["tool.config.agentcore_code_interpreter.code_interpreter_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_code_interpreter", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true)`, + } + r.References["tool.config.agentcore_gateway.gateway_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_gateway", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true)`, + } + r.References["tool.config.agentcore_gateway.outbound_auth.oauth.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_oauth2_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["environment.agentcore_runtime_environment.filesystem_configuration.efs_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_efs_access_point", + Extractor: common.PathARNExtractor, + } + r.References["environment.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_s3_access_point", + Extractor: common.PathARNExtractor, + } + r.References["model.gemini_model_config.api_key_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } + r.References["model.openai_model_config.api_key_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } + r.AddSingletonListConversion("authorizer_configuration", "authorizerConfiguration") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer", "authorizerConfiguration[*].customJwtAuthorizer") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].allowed_workload_configuration", "authorizerConfiguration[*].customJwtAuthorizer[*].allowedWorkloadConfiguration") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].custom_claim[*].authorizing_claim_match_value", "authorizerConfiguration[*].customJwtAuthorizer[*].customClaim[*].authorizingClaimMatchValue") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].custom_claim[*].authorizing_claim_match_value[*].claim_match_value", "authorizerConfiguration[*].customJwtAuthorizer[*].customClaim[*].authorizingClaimMatchValue[*].claimMatchValue") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint[*].managed_vpc_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint[*].managedVpcResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint[*].self_managed_lattice_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint[*].selfManagedLatticeResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint[*].managed_vpc_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint[*].managedVpcResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint[*].self_managed_lattice_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint[*].selfManagedLatticeResource") + r.AddSingletonListConversion("environment", "environment") + r.AddSingletonListConversion("environment_artifact", "environmentArtifact") + r.AddSingletonListConversion("environment_artifact[*].container_configuration", "environmentArtifact[*].containerConfiguration") + r.AddSingletonListConversion("memory", "memory") + r.AddSingletonListConversion("memory[*].agentcore_memory_configuration", "memory[*].agentcoreMemoryConfiguration") + r.AddSingletonListConversion("memory[*].agentcore_memory_configuration[*].retrieval_config", "memory[*].agentcoreMemoryConfiguration[*].retrievalConfig") + r.AddSingletonListConversion("model", "model") + r.AddSingletonListConversion("model[*].bedrock_model_config", "model[*].bedrockModelConfig") + r.AddSingletonListConversion("model[*].gemini_model_config", "model[*].geminiModelConfig") + r.AddSingletonListConversion("model[*].openai_model_config", "model[*].openaiModelConfig") + r.AddSingletonListConversion("tool[*].config", "tool[*].config") + r.AddSingletonListConversion("tool[*].config[*].agentcore_browser", "tool[*].config[*].agentcoreBrowser") + r.AddSingletonListConversion("tool[*].config[*].agentcore_code_interpreter", "tool[*].config[*].agentcoreCodeInterpreter") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway", "tool[*].config[*].agentcoreGateway") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway[*].outbound_auth", "tool[*].config[*].agentcoreGateway[*].outboundAuth") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway[*].outbound_auth[*].oauth", "tool[*].config[*].agentcoreGateway[*].outboundAuth[*].oauth") + r.AddSingletonListConversion("tool[*].config[*].inline_function", "tool[*].config[*].inlineFunction") + r.AddSingletonListConversion("tool[*].config[*].remote_mcp", "tool[*].config[*].remoteMcp") + r.AddSingletonListConversion("truncation", "truncation") + }) // aws_bedrockagentcore_memory p.AddResourceConfigurator("aws_bedrockagentcore_memory", func(r *config.Resource) { + r.References["stream_delivery_resources.resource.kinesis.data_stream_arn"] = config.Reference{ + TerraformName: "aws_kinesis_stream", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("stream_delivery_resources", "streamDeliveryResources") r.AddSingletonListConversion("stream_delivery_resources[*].resource", "streamDeliveryResources[*].resource") r.AddSingletonListConversion("stream_delivery_resources[*].resource[*].kinesis", "streamDeliveryResources[*].resource[*].kinesis") @@ -150,10 +276,33 @@ func Configure(p *config.Provider) { //nolint:gocyclo r.AddSingletonListConversion("oauth2_provider_config[*].salesforce_oauth2_provider_config", "oauth2ProviderConfig[*].salesforceOauth2ProviderConfig") r.AddSingletonListConversion("oauth2_provider_config[*].slack_oauth2_provider_config", "oauth2ProviderConfig[*].slackOauth2ProviderConfig") }) + // aws_bedrockagentcore_online_evaluation_config + p.AddResourceConfigurator("aws_bedrockagentcore_online_evaluation_config", func(r *config.Resource) { + r.References["evaluator.evaluator_id"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_evaluator", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true)`, + } + r.AddSingletonListConversion("data_source_config", "dataSourceConfig") + r.AddSingletonListConversion("data_source_config[*].cloudwatch_logs", "dataSourceConfig[*].cloudwatchLogs") + r.AddSingletonListConversion("rule", "rule") + r.AddSingletonListConversion("rule[*].session_config", "rule[*].sessionConfig") + r.AddSingletonListConversion("rule[*].sampling_config", "rule[*].samplingConfig") + r.AddSingletonListConversion("rule[*].filter[*].value", "rule[*].filter[*].value") + }) + // aws_bedrockagentcore_policy + p.AddResourceConfigurator("aws_bedrockagentcore_policy", func(r *config.Resource) { + r.AddSingletonListConversion("definition", "definition") + r.AddSingletonListConversion("definition[*].cedar", "definition[*].cedar") + }) + // aws_bedrockagentcore_resource_policy + p.AddResourceConfigurator("aws_bedrockagentcore_resource_policy", func(r *config.Resource) { + delete(r.References, "resource_arn") + }) // aws_bedrockagentcore_token_vault_cmk p.AddResourceConfigurator("aws_bedrockagentcore_token_vault_cmk", func(r *config.Resource) { r.AddSingletonListConversion("kms_configuration", "kmsConfiguration") }) + // aws_bedrockagentcore_workload_identity p.AddResourceConfigurator("aws_bedrockagentcore_workload_identity", func(r *config.Resource) { r.TerraformResource.Schema["name"].Computed = true r.TerraformResource.Schema["name"].Optional = false diff --git a/config/externalname.go b/config/externalname.go index 0596fd53a3..2c9d738197 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -59,14 +59,26 @@ var TerraformPluginFrameworkExternalNameConfigs = map[string]config.ExternalName "aws_bedrockagentcore_api_key_credential_provider": frameworkNameAsIdentifier(), "aws_bedrockagentcore_browser": config.FrameworkResourceWithComputedIdentifier("browser_id", "stub_browser_xp_szn45-n7uhLDeK0u"), "aws_bedrockagentcore_code_interpreter": config.FrameworkResourceWithComputedIdentifier("code_interpreter_id", "stub_code_interpreter_tool_xp_123abc-QJBfJmqq7c"), - "aws_bedrockagentcore_gateway": config.FrameworkResourceWithComputedIdentifier("gateway_id", "gateway-stub-crossplane-x00x0x-xx0x0xx0xx"), - "aws_bedrockagentcore_gateway_target": config.FrameworkResourceWithComputedIdentifier("target_id", "XXXXXXXX11"), + // imported via evaluator_id, must match regex [a-zA-Z0-9_-]+|[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10} + "aws_bedrockagentcore_evaluator": config.FrameworkResourceWithComputedIdentifier("evaluator_id", "xp_stub_evaluator-0000000000"), + "aws_bedrockagentcore_gateway": config.FrameworkResourceWithComputedIdentifier("gateway_id", "gateway-stub-crossplane-x00x0x-xx0x0xx0xx"), + "aws_bedrockagentcore_gateway_target": config.FrameworkResourceWithComputedIdentifier("target_id", "XXXXXXXX11"), + // must match regex [a-zA-Z][a-zA-Z0-9_]{0,39}-[a-zA-Z0-9]{10} + "aws_bedrockagentcore_harness": config.FrameworkResourceWithComputedIdentifier("harness_id", "xp_stub_harness-0000000000"), // import using ID of memory, must satisfy regex [a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10} "aws_bedrockagentcore_memory": identifierFromProviderWithDefaultStub("stub_memory_placeholder_xp-stub123456"), "aws_bedrockagentcore_memory_strategy": config.FrameworkResourceWithComputedIdentifier("memory_strategy_id", "STUB123456"), "aws_bedrockagentcore_oauth2_credential_provider": frameworkNameAsIdentifier(), - "aws_bedrockagentcore_token_vault_cmk": bedrockAgentCoreTokenVaultCMK(), - "aws_bedrockagentcore_workload_identity": frameworkNameAsIdentifier(), + // must match regex [a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10} + "aws_bedrockagentcore_online_evaluation_config": config.FrameworkResourceWithComputedIdentifier("online_evaluation_config_id", "xp_stub_evalconfig-0000000000"), + // must match regex ^[A-Za-z][A-Za-z0-9_]*-[a-z0-9_]{10}$ + "aws_bedrockagentcore_policy": config.FrameworkResourceWithComputedIdentifier("policy_id", "xp_stub_policy_00000-0000000000"), + // must match regex ^[A-Za-z][A-Za-z0-9_]*-[a-z0-9_]{10}$ + "aws_bedrockagentcore_policy_engine": config.FrameworkResourceWithComputedIdentifier("policy_engine_id", "xp_stub_policy_engine-0000000000"), + // import using the resourceArn of the target Gateway or AgentRuntime + "aws_bedrockagentcore_resource_policy": bedrockAgentCoreResourcePolicy(), + "aws_bedrockagentcore_token_vault_cmk": bedrockAgentCoreTokenVaultCMK(), + "aws_bedrockagentcore_workload_identity": frameworkNameAsIdentifier(), // CodeGuru Profiler // Profiling Group can be imported using the the profiling group name @@ -3900,6 +3912,29 @@ func bedrockAgentCoreAgentRuntimeEndpoint() config.ExternalName { return e } +func bedrockAgentCoreResourcePolicy() config.ExternalName { + e := config.IdentifierFromProvider + e.OmittedFields = []string{} + e.GetIDFn = func(_ context.Context, _ string, _ map[string]any, _ map[string]any) (string, error) { + return "", nil + } + e.GetExternalNameFn = func(tfstate map[string]any) (string, error) { + name, ok := tfstate["resource_arn"].(string) + if !ok { + return "", errors.New("resource_arn field missing from tfstate") + } + return name, nil + } + e.SetIdentifierArgumentFn = func(tfstate map[string]any, externalName string) { + if externalName == "" { + return + } + tfstate["resource_arn"] = externalName + } + e.IdentifierFields = []string{"resource_arn"} + return e +} + func codebuildWebhook() config.ExternalName { e := config.IdentifierFromProvider e.SetIdentifierArgumentFn = func(tfstate map[string]any, externalName string) { diff --git a/config/generated.lst b/config/generated.lst index 70dfcf4951..206f6c8cce 100644 --- a/config/generated.lst +++ b/config/generated.lst @@ -127,11 +127,17 @@ "aws_bedrockagentcore_api_key_credential_provider", "aws_bedrockagentcore_browser", "aws_bedrockagentcore_code_interpreter", +"aws_bedrockagentcore_evaluator", "aws_bedrockagentcore_gateway", "aws_bedrockagentcore_gateway_target", +"aws_bedrockagentcore_harness", "aws_bedrockagentcore_memory", "aws_bedrockagentcore_memory_strategy", "aws_bedrockagentcore_oauth2_credential_provider", +"aws_bedrockagentcore_online_evaluation_config", +"aws_bedrockagentcore_policy", +"aws_bedrockagentcore_policy_engine", +"aws_bedrockagentcore_resource_policy", "aws_bedrockagentcore_token_vault_cmk", "aws_bedrockagentcore_workload_identity", "aws_budgets_budget", diff --git a/config/namespaced/bedrockagentcore/config.go b/config/namespaced/bedrockagentcore/config.go index 92c7d25d0c..bad56aae70 100644 --- a/config/namespaced/bedrockagentcore/config.go +++ b/config/namespaced/bedrockagentcore/config.go @@ -6,10 +6,20 @@ package bedrockagentcore import ( "github.com/crossplane/upjet/v2/pkg/config" + + "github.com/upbound/provider-aws/v2/config/namespaced/common" ) func Configure(p *config.Provider) { //nolint:gocyclo p.AddResourceConfigurator("aws_bedrockagentcore_agent_runtime", func(r *config.Resource) { + r.References["filesystem_configuration.efs_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_efs_access_point", + Extractor: common.PathARNExtractor, + } + r.References["filesystem_configuration.s3_files_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_s3_access_point", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("agent_runtime_artifact", "agentRuntimeArtifact") r.AddSingletonListConversion("agent_runtime_artifact[*].code_configuration", "agentRuntimeArtifact[*].codeConfiguration") r.AddSingletonListConversion("agent_runtime_artifact[*].code_configuration[*].code", "agentRuntimeArtifact[*].codeConfiguration[*].code") @@ -43,6 +53,10 @@ func Configure(p *config.Provider) { //nolint:gocyclo // aws_bedrockagentcore_browser p.AddResourceConfigurator("aws_bedrockagentcore_browser", func(r *config.Resource) { + r.References["certificate.location.secrets_manager.secret_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("browser_signing", "browserSigning") r.AddSingletonListConversion("certificate[*].location", "certificate[*].location") r.AddSingletonListConversion("certificate[*].location[*].secrets_manager", "certificate[*].location[*].secretsManager") @@ -56,13 +70,32 @@ func Configure(p *config.Provider) { //nolint:gocyclo // aws_bedrockagentcore_code_interpreter p.AddResourceConfigurator("aws_bedrockagentcore_code_interpreter", func(r *config.Resource) { + r.References["certificate.location.secrets_manager.secret_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("certificate[*].location", "certificate[*].location") r.AddSingletonListConversion("certificate[*].location[*].secrets_manager", "certificate[*].location[*].secretsManager") r.AddSingletonListConversion("network_configuration", "networkConfiguration") r.AddSingletonListConversion("network_configuration[*].vpc_config", "networkConfiguration[*].vpcConfig") }) + // aws_bedrockagentcore_evaluator + p.AddResourceConfigurator("aws_bedrockagentcore_evaluator", func(r *config.Resource) { + r.AddSingletonListConversion("evaluator_config", "evaluatorConfig") + r.AddSingletonListConversion("evaluator_config[*].code_based", "evaluatorConfig[*].codeBased") + r.AddSingletonListConversion("evaluator_config[*].code_based[*].lambda_config", "evaluatorConfig[*].codeBased[*].lambdaConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge", "evaluatorConfig[*].llmAsAJudge") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config[*].bedrock_evaluator_model_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig[*].bedrockEvaluatorModelConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].model_config[*].bedrock_evaluator_model_config[*].inference_config", "evaluatorConfig[*].llmAsAJudge[*].modelConfig[*].bedrockEvaluatorModelConfig[*].inferenceConfig") + r.AddSingletonListConversion("evaluator_config[*].llm_as_a_judge[*].rating_scale", "evaluatorConfig[*].llmAsAJudge[*].ratingScale") + }) // aws_bedrockagentcore_gateway p.AddResourceConfigurator("aws_bedrockagentcore_gateway", func(r *config.Resource) { + r.References["policy_engine_configuration.arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_policy_engine", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("policy_engine_arn",true)`, + } r.AddSingletonListConversion("authorizer_configuration", "authorizerConfiguration") r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer", "authorizerConfiguration[*].customJwtAuthorizer") r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].allowed_workload_configuration", "authorizerConfiguration[*].customJwtAuthorizer[*].allowedWorkloadConfiguration") @@ -85,6 +118,18 @@ func Configure(p *config.Provider) { //nolint:gocyclo }) // aws_bedrockagentcore_gateway_target p.AddResourceConfigurator("aws_bedrockagentcore_gateway_target", func(r *config.Resource) { + r.References["credential_provider_configuration.oauth.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_oauth2_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["credential_provider_configuration.api_key.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_api_key_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["target_configuration.mcp.api_gateway.rest_api_id"] = config.Reference{ + TerraformName: "aws_api_gateway_rest_api", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractResourceID()`, + } r.AddSingletonListConversion("credential_provider_configuration", "credentialProviderConfiguration") r.AddSingletonListConversion("credential_provider_configuration[*].api_key", "credentialProviderConfiguration[*].apiKey") r.AddSingletonListConversion("credential_provider_configuration[*].caller_iam_credentials", "credentialProviderConfiguration[*].callerIamCredentials") @@ -122,8 +167,89 @@ func Configure(p *config.Provider) { //nolint:gocyclo r.AddSingletonListConversion("target_configuration[*].mcp[*].smithy_model[*].inline_payload", "targetConfiguration[*].mcp[*].smithyModel[*].inlinePayload") r.AddSingletonListConversion("target_configuration[*].mcp[*].smithy_model[*].s3", "targetConfiguration[*].mcp[*].smithyModel[*].s3") }) + // aws_bedrockagentcore_harness + p.AddResourceConfigurator("aws_bedrockagentcore_harness", func(r *config.Resource) { + r.References["memory.agentcore_memory_configuration.arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_memory", + Extractor: common.PathARNExtractor, + } + r.References["environment.agentcore_runtime_environment.agent_runtime_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_agent_runtime", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("agent_runtime_arn",true)`, + } + r.References["memory.agentcore_memory_configuration.retrieval_config.strategy_id"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_memory_strategy", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("memory_strategy_id",true)`, + } + r.References["tool.config.agentcore_browser.browser_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_browser", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("browser_arn",true)`, + } + r.References["tool.config.agentcore_code_interpreter.code_interpreter_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_code_interpreter", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("code_interpreter_arn",true)`, + } + r.References["tool.config.agentcore_gateway.gateway_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_gateway", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("gateway_arn",true)`, + } + r.References["tool.config.agentcore_gateway.outbound_auth.oauth.provider_arn"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_oauth2_credential_provider", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("credential_provider_arn",true)`, + } + r.References["environment.agentcore_runtime_environment.filesystem_configuration.efs_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_efs_access_point", + Extractor: common.PathARNExtractor, + } + r.References["environment.agentcore_runtime_environment.filesystem_configuration.s3_files_access_point.access_point_arn"] = config.Reference{ + TerraformName: "aws_s3_access_point", + Extractor: common.PathARNExtractor, + } + r.References["model.gemini_model_config.api_key_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } + r.References["model.openai_model_config.api_key_arn"] = config.Reference{ + TerraformName: "aws_secretsmanager_secret", + Extractor: common.PathARNExtractor, + } + r.AddSingletonListConversion("authorizer_configuration", "authorizerConfiguration") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer", "authorizerConfiguration[*].customJwtAuthorizer") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].allowed_workload_configuration", "authorizerConfiguration[*].customJwtAuthorizer[*].allowedWorkloadConfiguration") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].custom_claim[*].authorizing_claim_match_value", "authorizerConfiguration[*].customJwtAuthorizer[*].customClaim[*].authorizingClaimMatchValue") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].custom_claim[*].authorizing_claim_match_value[*].claim_match_value", "authorizerConfiguration[*].customJwtAuthorizer[*].customClaim[*].authorizingClaimMatchValue[*].claimMatchValue") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint[*].managed_vpc_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint[*].managedVpcResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint[*].self_managed_lattice_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpoint[*].selfManagedLatticeResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint[*].managed_vpc_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint[*].managedVpcResource") + r.AddSingletonListConversion("authorizer_configuration[*].custom_jwt_authorizer[*].private_endpoint_overrides[*].private_endpoint[*].self_managed_lattice_resource", "authorizerConfiguration[*].customJwtAuthorizer[*].privateEndpointOverrides[*].privateEndpoint[*].selfManagedLatticeResource") + r.AddSingletonListConversion("environment", "environment") + r.AddSingletonListConversion("environment_artifact", "environmentArtifact") + r.AddSingletonListConversion("environment_artifact[*].container_configuration", "environmentArtifact[*].containerConfiguration") + r.AddSingletonListConversion("memory", "memory") + r.AddSingletonListConversion("memory[*].agentcore_memory_configuration", "memory[*].agentcoreMemoryConfiguration") + r.AddSingletonListConversion("memory[*].agentcore_memory_configuration[*].retrieval_config", "memory[*].agentcoreMemoryConfiguration[*].retrievalConfig") + r.AddSingletonListConversion("model", "model") + r.AddSingletonListConversion("model[*].bedrock_model_config", "model[*].bedrockModelConfig") + r.AddSingletonListConversion("model[*].gemini_model_config", "model[*].geminiModelConfig") + r.AddSingletonListConversion("model[*].openai_model_config", "model[*].openaiModelConfig") + r.AddSingletonListConversion("tool[*].config", "tool[*].config") + r.AddSingletonListConversion("tool[*].config[*].agentcore_browser", "tool[*].config[*].agentcoreBrowser") + r.AddSingletonListConversion("tool[*].config[*].agentcore_code_interpreter", "tool[*].config[*].agentcoreCodeInterpreter") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway", "tool[*].config[*].agentcoreGateway") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway[*].outbound_auth", "tool[*].config[*].agentcoreGateway[*].outboundAuth") + r.AddSingletonListConversion("tool[*].config[*].agentcore_gateway[*].outbound_auth[*].oauth", "tool[*].config[*].agentcoreGateway[*].outboundAuth[*].oauth") + r.AddSingletonListConversion("tool[*].config[*].inline_function", "tool[*].config[*].inlineFunction") + r.AddSingletonListConversion("tool[*].config[*].remote_mcp", "tool[*].config[*].remoteMcp") + r.AddSingletonListConversion("truncation", "truncation") + }) // aws_bedrockagentcore_memory p.AddResourceConfigurator("aws_bedrockagentcore_memory", func(r *config.Resource) { + r.References["stream_delivery_resources.resource.kinesis.data_stream_arn"] = config.Reference{ + TerraformName: "aws_kinesis_stream", + Extractor: common.PathARNExtractor, + } r.AddSingletonListConversion("stream_delivery_resources", "streamDeliveryResources") r.AddSingletonListConversion("stream_delivery_resources[*].resource", "streamDeliveryResources[*].resource") r.AddSingletonListConversion("stream_delivery_resources[*].resource[*].kinesis", "streamDeliveryResources[*].resource[*].kinesis") @@ -150,10 +276,33 @@ func Configure(p *config.Provider) { //nolint:gocyclo r.AddSingletonListConversion("oauth2_provider_config[*].salesforce_oauth2_provider_config", "oauth2ProviderConfig[*].salesforceOauth2ProviderConfig") r.AddSingletonListConversion("oauth2_provider_config[*].slack_oauth2_provider_config", "oauth2ProviderConfig[*].slackOauth2ProviderConfig") }) + // aws_bedrockagentcore_online_evaluation_config + p.AddResourceConfigurator("aws_bedrockagentcore_online_evaluation_config", func(r *config.Resource) { + r.References["evaluator.evaluator_id"] = config.Reference{ + TerraformName: "aws_bedrockagentcore_evaluator", + Extractor: `github.com/crossplane/upjet/v2/pkg/resource.ExtractParamPath("evaluator_id",true)`, + } + r.AddSingletonListConversion("data_source_config", "dataSourceConfig") + r.AddSingletonListConversion("data_source_config[*].cloudwatch_logs", "dataSourceConfig[*].cloudwatchLogs") + r.AddSingletonListConversion("rule", "rule") + r.AddSingletonListConversion("rule[*].session_config", "rule[*].sessionConfig") + r.AddSingletonListConversion("rule[*].sampling_config", "rule[*].samplingConfig") + r.AddSingletonListConversion("rule[*].filter[*].value", "rule[*].filter[*].value") + }) + // aws_bedrockagentcore_policy + p.AddResourceConfigurator("aws_bedrockagentcore_policy", func(r *config.Resource) { + r.AddSingletonListConversion("definition", "definition") + r.AddSingletonListConversion("definition[*].cedar", "definition[*].cedar") + }) + // aws_bedrockagentcore_resource_policy + p.AddResourceConfigurator("aws_bedrockagentcore_resource_policy", func(r *config.Resource) { + delete(r.References, "resource_arn") + }) // aws_bedrockagentcore_token_vault_cmk p.AddResourceConfigurator("aws_bedrockagentcore_token_vault_cmk", func(r *config.Resource) { r.AddSingletonListConversion("kms_configuration", "kmsConfiguration") }) + // aws_bedrockagentcore_workload_identity p.AddResourceConfigurator("aws_bedrockagentcore_workload_identity", func(r *config.Resource) { r.TerraformResource.Schema["name"].Computed = true r.TerraformResource.Schema["name"].Optional = false diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/evaluator.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/evaluator.yaml new file mode 100644 index 0000000000..edef79ef01 --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/evaluator.yaml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Evaluator +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + description: Rates assistant helpfulness from 1 to 5 + evaluatorConfig: + llmAsAJudge: + instructionsSecretRef: + key: example-key + name: example-secret + namespace: upbound-system + modelConfig: + bedrockEvaluatorModelConfig: + inferenceConfig: + maxTokens: 1024 + temperature: 0 + topP: 1 + modelId: us.amazon.nova-2-lite-v1:0 + ratingScale: + numerical: + - definition: Not helpful at all. + label: "1" + value: 1 + - definition: Extremely helpful. + label: "5" + value: 5 + evaluatorName: helpfulness_evaluator + level: TRACE + region: us-west-1 diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/harness.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/harness.yaml new file mode 100644 index 0000000000..9332007b8c --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/harness.yaml @@ -0,0 +1,69 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Harness +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + executionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: example + harnessName: example_harness + model: + bedrockModelConfig: + modelId: anthropic.claude-sonnet-4-20250514 + region: us-west-1 + systemPrompt: + - textSecretRef: + key: example-key + name: example-secret + namespace: upbound-system + +--- + +apiVersion: iam.aws.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + assumeRolePolicy: ${data.aws_iam_policy_document.assume_role.json} + region: us-west-1 + +--- + +apiVersion: iam.aws.upbound.io/v1beta1 +kind: RolePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + policy: |- + ${jsonencode({ + Version = "2012-10-17" + Statement = [{ + Effect = "Allow" + Action = ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"] + Resource = "*" + }] + })} + region: us-west-1 + roleSelector: + matchLabels: + testing.upbound.io/example-name: example diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml new file mode 100644 index 0000000000..3158f6abb4 --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml @@ -0,0 +1,77 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: OnlineEvaluationConfig +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + dataSourceConfig: + cloudwatchLogs: + logGroupNamesRefs: + - name: example + serviceNames: + - my_agent_service + description: Continuous evaluation of agent performance + enableOnCreate: true + evaluationExecutionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: example + evaluator: + - evaluatorIdSelector: + matchLabels: + testing.upbound.io/example-name: example + - evaluatorIdSelector: + matchLabels: + testing.upbound.io/example-name: example + onlineEvaluationConfigName: my_evaluation_config + region: us-west-1 + rule: + samplingConfig: + samplingPercentage: 10 + +--- + +apiVersion: cloudwatchlogs.aws.upbound.io/v1beta1 +kind: Group +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + region: us-west-1 + +--- + +apiVersion: iam.aws.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + assumeRolePolicy: |- + ${jsonencode({ + Version = "2012-10-17" + Statement = [{ + Effect = "Allow" + Action = "sts:AssumeRole" + Principal = { + Service = "bedrock-agentcore.amazonaws.com" + } + }] + })} + region: us-west-1 diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/policy.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/policy.yaml new file mode 100644 index 0000000000..562eb426e1 --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/policy.yaml @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Policy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + definition: + cedar: + statement: | + permit(principal, action == Action::"Read", resource); + description: Allow read access to example resources + name: example_policy + policyEngineIdSelector: + matchLabels: + testing.upbound.io/example-name: example + region: us-west-1 diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/policyengine.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/policyengine.yaml new file mode 100644 index 0000000000..a19c4515ac --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/policyengine.yaml @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policyengine + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + name: example_policy_engine + region: us-west-1 diff --git a/examples-generated/cluster/bedrockagentcore/v1beta1/resourcepolicy.yaml b/examples-generated/cluster/bedrockagentcore/v1beta1/resourcepolicy.yaml new file mode 100644 index 0000000000..77e96d076d --- /dev/null +++ b/examples-generated/cluster/bedrockagentcore/v1beta1/resourcepolicy.yaml @@ -0,0 +1,32 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: ResourcePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + policy: ${data.aws_iam_policy_document.example.json} + region: us-west-1 + resourceArn: ${aws_bedrockagentcore_agent_runtime.example.agent_runtime_arn} + +--- + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: AgentRuntime +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + region: us-west-1 diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/evaluator.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/evaluator.yaml new file mode 100644 index 0000000000..03d612182c --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/evaluator.yaml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Evaluator +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + description: Rates assistant helpfulness from 1 to 5 + evaluatorConfig: + llmAsAJudge: + instructionsSecretRef: + key: example-key + name: example-secret + modelConfig: + bedrockEvaluatorModelConfig: + inferenceConfig: + maxTokens: 1024 + temperature: 0 + topP: 1 + modelId: us.amazon.nova-2-lite-v1:0 + ratingScale: + numerical: + - definition: Not helpful at all. + label: "1" + value: 1 + - definition: Extremely helpful. + label: "5" + value: 5 + evaluatorName: helpfulness_evaluator + level: TRACE + region: us-west-1 diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/harness.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/harness.yaml new file mode 100644 index 0000000000..cab34d7df2 --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/harness.yaml @@ -0,0 +1,71 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Harness +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + executionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: example + harnessName: example_harness + model: + bedrockModelConfig: + modelId: anthropic.claude-sonnet-4-20250514 + region: us-west-1 + systemPrompt: + - textSecretRef: + key: example-key + name: example-secret + +--- + +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + assumeRolePolicy: ${data.aws_iam_policy_document.assume_role.json} + region: us-west-1 + +--- + +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: RolePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + policy: |- + ${jsonencode({ + Version = "2012-10-17" + Statement = [{ + Effect = "Allow" + Action = ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"] + Resource = "*" + }] + })} + region: us-west-1 + roleSelector: + matchLabels: + testing.upbound.io/example-name: example diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml new file mode 100644 index 0000000000..4bf42897cb --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/onlineevaluationconfig.yaml @@ -0,0 +1,80 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: OnlineEvaluationConfig +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + dataSourceConfig: + cloudwatchLogs: + logGroupNamesRefs: + - name: example + serviceNames: + - my_agent_service + description: Continuous evaluation of agent performance + enableOnCreate: true + evaluationExecutionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: example + evaluator: + - evaluatorIdSelector: + matchLabels: + testing.upbound.io/example-name: example + - evaluatorIdSelector: + matchLabels: + testing.upbound.io/example-name: example + onlineEvaluationConfigName: my_evaluation_config + region: us-west-1 + rule: + samplingConfig: + samplingPercentage: 10 + +--- + +apiVersion: cloudwatchlogs.aws.m.upbound.io/v1beta1 +kind: Group +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + region: us-west-1 + +--- + +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + assumeRolePolicy: |- + ${jsonencode({ + Version = "2012-10-17" + Statement = [{ + Effect = "Allow" + Action = "sts:AssumeRole" + Principal = { + Service = "bedrock-agentcore.amazonaws.com" + } + }] + })} + region: us-west-1 diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/policy.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/policy.yaml new file mode 100644 index 0000000000..a17e914560 --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/policy.yaml @@ -0,0 +1,26 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Policy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + definition: + cedar: + statement: | + permit(principal, action == Action::"Read", resource); + description: Allow read access to example resources + name: example_policy + policyEngineIdSelector: + matchLabels: + testing.upbound.io/example-name: example + region: us-west-1 diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/policyengine.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/policyengine.yaml new file mode 100644 index 0000000000..e0cbe2e656 --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/policyengine.yaml @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policyengine + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + name: example_policy_engine + region: us-west-1 diff --git a/examples-generated/namespaced/bedrockagentcore/v1beta1/resourcepolicy.yaml b/examples-generated/namespaced/bedrockagentcore/v1beta1/resourcepolicy.yaml new file mode 100644 index 0000000000..c8abb776d1 --- /dev/null +++ b/examples-generated/namespaced/bedrockagentcore/v1beta1/resourcepolicy.yaml @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: 2025 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: ResourcePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + policy: ${data.aws_iam_policy_document.example.json} + region: us-west-1 + resourceArn: ${aws_bedrockagentcore_agent_runtime.example.agent_runtime_arn} + +--- + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: AgentRuntime +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + labels: + testing.upbound.io/example-name: example + name: example + namespace: upbound-system +spec: + forProvider: + region: us-west-1 diff --git a/examples/bedrockagentcore/cluster/v1beta1/evaluator.yaml b/examples/bedrockagentcore/cluster/v1beta1/evaluator.yaml new file mode 100644 index 0000000000..517ea9a8e8 --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/evaluator.yaml @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Evaluator +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator + labels: + testing.upbound.io/example-name: evaluator + name: evaluator +spec: + forProvider: + region: us-west-2 + evaluatorName: helpfulness_evaluator + description: Rates assistant helpfulness from 1 to 5 + level: TRACE + evaluatorConfig: + llmAsAJudge: + instructionsSecretRef: + key: instructions + name: evaluator-instructions + namespace: upbound-system + modelConfig: + bedrockEvaluatorModelConfig: + modelId: "us.amazon.nova-2-lite-v1:0" + inferenceConfig: + maxTokens: 1024 + temperature: 0 + topP: 1 + ratingScale: + numerical: + - definition: Not helpful at all. + value: 1 + label: "1" + - definition: Extremely helpful. + value: 5 + label: "5" +--- +apiVersion: v1 +kind: Secret +metadata: + name: evaluator-instructions + namespace: upbound-system + labels: + testing.upbound.io/example-name: evaluator + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator +stringData: + instructions: "Given the {context} and the {assistant_turn}, compare against {expected_response} and rate from 1 to 5." diff --git a/examples/bedrockagentcore/cluster/v1beta1/harness.yaml b/examples/bedrockagentcore/cluster/v1beta1/harness.yaml new file mode 100644 index 0000000000..ad0a899baf --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/harness.yaml @@ -0,0 +1,87 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Harness Example +# Creates a Bedrock AgentCore Harness, a managed agent loop wrapping a Bedrock +# model and a system prompt. The system prompt text is sensitive and supplied +# through a Kubernetes Secret reference. An IAM execution role is included. + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Harness +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: harness +spec: + forProvider: + region: us-west-2 + harnessName: uptest_example_harness + executionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: harness + model: + bedrockModelConfig: + modelId: anthropic.claude-sonnet-4-20250514 + systemPrompt: + - textSecretRef: + key: text + name: harness-system-prompt + namespace: upbound-system + memory: + agentcoreMemoryConfiguration: + arnRef: + name: example-memory-for-harness +--- +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Memory +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: example-memory-for-harness +spec: + forProvider: + region: us-west-2 + name: uptest_example_memory_harness + description: Memory for agent interactions - Uptest example for Harness + eventExpiryDuration: 30 + tags: + Environment: dev +--- +apiVersion: iam.aws.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: bedrock-agentcore-harness-role +spec: + forProvider: + assumeRolePolicy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": {"Service": "bedrock-agentcore.amazonaws.com"}, + "Action": "sts:AssumeRole" + } + ] + } +--- +apiVersion: v1 +kind: Secret +metadata: + name: harness-system-prompt + namespace: upbound-system + labels: + testing.upbound.io/example-name: harness + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness +stringData: + text: "You are a helpful assistant." diff --git a/examples/bedrockagentcore/cluster/v1beta1/onlineevaluationconfig.yaml b/examples/bedrockagentcore/cluster/v1beta1/onlineevaluationconfig.yaml new file mode 100644 index 0000000000..82bdd2fb35 --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/onlineevaluationconfig.yaml @@ -0,0 +1,122 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Online Evaluation Config Example +# Continuously evaluates agent performance by sampling live traffic from a +# CloudWatch log group and applying built-in evaluators. Requires CloudWatch +# Transaction Search to be enabled in the account. Includes the CloudWatch log +# group and IAM execution role dependencies. + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: OnlineEvaluationConfig +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: onlineevaluationconfig +spec: + forProvider: + region: us-west-2 + onlineEvaluationConfigName: my_evaluation_config + description: Continuous evaluation of agent performance + enableOnCreate: true + evaluationExecutionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + dataSourceConfig: + # CloudWatch Transaction Search must be enabled before using this resource. + # see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Enable-TransactionSearch.html + cloudwatchLogs: + logGroupNamesSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + serviceNames: + - my_agent_service + evaluator: + - evaluatorId: Builtin.Helpfulness + - evaluatorId: Builtin.GoalSuccessRate + rule: + samplingConfig: + samplingPercentage: 10 +--- +apiVersion: cloudwatchlogs.aws.upbound.io/v1beta1 +kind: Group +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + crossplane.io/external-name: "/aws/bedrock-agentcore/my-agent-traces" + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: agentcore-agent-traces +spec: + forProvider: + region: us-west-2 + retentionInDays: 30 +--- +apiVersion: iam.aws.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: bedrock-agentcore-eval-role +spec: + forProvider: + assumeRolePolicy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": {"Service": "bedrock-agentcore.amazonaws.com"}, + "Action": "sts:AssumeRole" + } + ] + } +--- +apiVersion: iam.aws.upbound.io/v1beta1 +kind: RolePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: bedrock-agentcore-eval-policy +spec: + forProvider: + roleSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + policy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "CloudWatchLogReadStatement", + "Effect": "Allow", + "Action": ["logs:DescribeLogGroups", "logs:GetQueryResults", "logs:StartQuery"], + "Resource": "*" + }, + { + "Sid": "CloudWatchLogWriteStatement", + "Effect": "Allow", + "Action": ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"], + "Resource": "arn:aws:logs:*:*:log-group:/aws/bedrock-agentcore/evaluations/*" + }, + { + "Sid": "CloudWatchIndexPolicyStatement", + "Effect": "Allow", + "Action": ["logs:DescribeIndexPolicies", "logs:PutIndexPolicy"], + "Resource": ["arn:aws:logs:*:*:log-group:aws/spans", "arn:aws:logs:*:*:log-group:aws/spans:*"] + }, + { + "Sid": "BedrockInvokeStatement", + "Effect": "Allow", + "Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"], + "Resource": ["arn:aws:bedrock:*::foundation-model/*", "arn:aws:bedrock:*:*:inference-profile/*"] + } + ] + } diff --git a/examples/bedrockagentcore/cluster/v1beta1/policy.yaml b/examples/bedrockagentcore/cluster/v1beta1/policy.yaml new file mode 100644 index 0000000000..cb2881b769 --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/policy.yaml @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Cedar Policy Example +# Attaches an inline Cedar authorization rule to a Policy Engine, which +# evaluates it at runtime to control agent access to resources. Includes the +# Policy Engine dependency referenced via selector. + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: Policy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: policy + name: policy +spec: + forProvider: + region: us-west-2 + name: example_policy + description: Allow access to AgentCore Gateway resources + validationMode: IGNORE_ALL_FINDINGS + policyEngineIdSelector: + matchLabels: + testing.upbound.io/example-name: policy + definition: + cedar: + statement: | + forbid( + principal is AgentCore::IamEntity, + action, + resource is AgentCore::Gateway, + ) + when { + principal.hasTag("username") && + principal.getTag("username") == "John" && + context.input.amount < 600 + }; +--- +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: policy + name: policy-engine +spec: + forProvider: + region: us-west-2 + name: example_policy_engine + description: Policy engine for policy example +--- \ No newline at end of file diff --git a/examples/bedrockagentcore/cluster/v1beta1/policyengine.yaml b/examples/bedrockagentcore/cluster/v1beta1/policyengine.yaml new file mode 100644 index 0000000000..08a282db6b --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/policyengine.yaml @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Policy Engine Example +# Creates a Bedrock AgentCore Policy Engine that controls what actions and +# resources an agent runtime can use. Encryption defaults to an AWS managed key. + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policyengine + labels: + testing.upbound.io/example-name: policyengine + name: policyengine +spec: + forProvider: + region: us-west-2 + name: example_policy_engine + description: Policy engine for customer service agent diff --git a/examples/bedrockagentcore/cluster/v1beta1/resourcepolicy.yaml b/examples/bedrockagentcore/cluster/v1beta1/resourcepolicy.yaml new file mode 100644 index 0000000000..a8ef3c9222 --- /dev/null +++ b/examples/bedrockagentcore/cluster/v1beta1/resourcepolicy.yaml @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Resource Policy Example +# Attaches a resource-based policy to a Bedrock AgentCore Agent Runtime, +# controlling which principals can invoke it. The resource ARN is resolved from +# the referenced Agent Runtime. Includes the Agent Runtime and its IAM role. + +apiVersion: bedrockagentcore.aws.upbound.io/v1beta1 +kind: ResourcePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + upjet.upbound.io/manual-intervention: > + requires a Gateway or AgentRuntime resourceArn. + Both has provider-assigned identifiers. + resourceArn does not support Reference/Selector fields, + due to multiple types. + labels: + testing.upbound.io/example-name: resourcepolicy + name: resourcepolicy +spec: + forProvider: + region: us-west-2 + resourceArn: "arn:aws:bedrock-agentcore:us-west-2:${data.aws_account_id}:runtime/example_agent_runtime-qaaXoEF5i2" + policy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "AllowInvokeFromVPC", + "Effect": "Allow", + "Principal": "*", + "Action": ["bedrock-agentcore:InvokeAgentRuntime"], + "Resource": "arn:aws:bedrock-agentcore:us-west-2:${data.aws_account_id}:runtime/example_agent_runtime-qaaXoEF5i2", + "Condition": { + "StringEquals": {"aws:SourceVpc": "vpc-1a2b3c4d"} + } + } + ] + } +--- \ No newline at end of file diff --git a/examples/bedrockagentcore/namespaced/v1beta1/evaluator.yaml b/examples/bedrockagentcore/namespaced/v1beta1/evaluator.yaml new file mode 100644 index 0000000000..c49893670c --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/evaluator.yaml @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Evaluator +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator + labels: + testing.upbound.io/example-name: evaluator + name: evaluator + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + evaluatorName: helpfulness_evaluator + description: Rates assistant helpfulness from 1 to 5 + level: TRACE + evaluatorConfig: + llmAsAJudge: + instructionsSecretRef: + key: instructions + name: evaluator-instructions + modelConfig: + bedrockEvaluatorModelConfig: + modelId: "us.amazon.nova-2-lite-v1:0" + inferenceConfig: + maxTokens: 1024 + temperature: 0 + topP: 1 + ratingScale: + numerical: + - definition: Not helpful at all. + value: 1 + label: "1" + - definition: Extremely helpful. + value: 5 + label: "5" +--- +apiVersion: v1 +kind: Secret +metadata: + name: evaluator-instructions + namespace: upbound-system + labels: + testing.upbound.io/example-name: evaluator + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/evaluator +stringData: + instructions: "Given the {context} and the {assistant_turn}, compare against {expected_response} and rate from 1 to 5." diff --git a/examples/bedrockagentcore/namespaced/v1beta1/harness.yaml b/examples/bedrockagentcore/namespaced/v1beta1/harness.yaml new file mode 100644 index 0000000000..3b738f246e --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/harness.yaml @@ -0,0 +1,89 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Harness Example +# Creates a Bedrock AgentCore Harness, a managed agent loop wrapping a Bedrock +# model and a system prompt. The system prompt text is sensitive and supplied +# through a Kubernetes Secret reference. An IAM execution role is included. + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Harness +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: harness + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + harnessName: uptest_example_harness + executionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: harness + model: + bedrockModelConfig: + modelId: anthropic.claude-sonnet-4-20250514 + systemPrompt: + - textSecretRef: + key: text + name: harness-system-prompt + memory: + agentcoreMemoryConfiguration: + arnRef: + name: example-memory-for-harness +--- +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Memory +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: example-memory-for-harness + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + name: uptest_example_memory_harness + description: Memory for agent interactions - Uptest example for Harness + eventExpiryDuration: 30 + tags: + Environment: dev +--- +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness + labels: + testing.upbound.io/example-name: harness + name: bedrock-agentcore-harness-role + namespace: upbound-system +spec: + forProvider: + assumeRolePolicy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": {"Service": "bedrock-agentcore.amazonaws.com"}, + "Action": "sts:AssumeRole" + } + ] + } +--- +apiVersion: v1 +kind: Secret +metadata: + name: harness-system-prompt + namespace: upbound-system + labels: + testing.upbound.io/example-name: harness + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/harness +stringData: + text: "You are a helpful assistant." diff --git a/examples/bedrockagentcore/namespaced/v1beta1/onlineevaluationconfig.yaml b/examples/bedrockagentcore/namespaced/v1beta1/onlineevaluationconfig.yaml new file mode 100644 index 0000000000..bf3a64dde2 --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/onlineevaluationconfig.yaml @@ -0,0 +1,126 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Online Evaluation Config Example +# Continuously evaluates agent performance by sampling live traffic from a +# CloudWatch log group and applying built-in evaluators. Requires CloudWatch +# Transaction Search to be enabled in the account. Includes the CloudWatch log +# group and IAM execution role dependencies. + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: OnlineEvaluationConfig +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: onlineevaluationconfig + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + onlineEvaluationConfigName: my_evaluation_config + description: Continuous evaluation of agent performance + enableOnCreate: true + evaluationExecutionRoleArnSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + dataSourceConfig: + # CloudWatch Transaction Search must be enabled before using this resource. + # see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Enable-TransactionSearch.html + cloudwatchLogs: + logGroupNamesSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + serviceNames: + - my_agent_service + evaluator: + - evaluatorId: Builtin.Helpfulness + - evaluatorId: Builtin.GoalSuccessRate + rule: + samplingConfig: + samplingPercentage: 10 +--- +apiVersion: cloudwatchlogs.aws.m.upbound.io/v1beta1 +kind: Group +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + crossplane.io/external-name: "/aws/bedrock-agentcore/my-agent-traces" + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: agentcore-agent-traces + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + retentionInDays: 30 +--- +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: Role +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: bedrock-agentcore-eval-role + namespace: upbound-system +spec: + forProvider: + assumeRolePolicy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": {"Service": "bedrock-agentcore.amazonaws.com"}, + "Action": "sts:AssumeRole" + } + ] + } +--- +apiVersion: iam.aws.m.upbound.io/v1beta1 +kind: RolePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/onlineevaluationconfig + labels: + testing.upbound.io/example-name: onlineevaluationconfig + name: bedrock-agentcore-eval-policy + namespace: upbound-system +spec: + forProvider: + roleSelector: + matchLabels: + testing.upbound.io/example-name: onlineevaluationconfig + policy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "CloudWatchLogReadStatement", + "Effect": "Allow", + "Action": ["logs:DescribeLogGroups", "logs:GetQueryResults", "logs:StartQuery"], + "Resource": "*" + }, + { + "Sid": "CloudWatchLogWriteStatement", + "Effect": "Allow", + "Action": ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"], + "Resource": "arn:aws:logs:*:*:log-group:/aws/bedrock-agentcore/evaluations/*" + }, + { + "Sid": "CloudWatchIndexPolicyStatement", + "Effect": "Allow", + "Action": ["logs:DescribeIndexPolicies", "logs:PutIndexPolicy"], + "Resource": ["arn:aws:logs:*:*:log-group:aws/spans", "arn:aws:logs:*:*:log-group:aws/spans:*"] + }, + { + "Sid": "BedrockInvokeStatement", + "Effect": "Allow", + "Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"], + "Resource": ["arn:aws:bedrock:*::foundation-model/*", "arn:aws:bedrock:*:*:inference-profile/*"] + } + ] + } diff --git a/examples/bedrockagentcore/namespaced/v1beta1/policy.yaml b/examples/bedrockagentcore/namespaced/v1beta1/policy.yaml new file mode 100644 index 0000000000..d1e6257fd2 --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/policy.yaml @@ -0,0 +1,56 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Cedar Policy Example +# Attaches an inline Cedar authorization rule to a Policy Engine, which +# evaluates it at runtime to control agent access to resources. Includes the +# Policy Engine dependency referenced via selector. + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: Policy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: policy + name: policy + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + name: example_policy + description: Allow access to AgentCore Gateway resources + validationMode: IGNORE_ALL_FINDINGS + policyEngineIdSelector: + matchLabels: + testing.upbound.io/example-name: policy + definition: + cedar: + statement: | + forbid( + principal is AgentCore::IamEntity, + action, + resource is AgentCore::Gateway, + ) + when { + principal.hasTag("username") && + principal.getTag("username") == "John" && + context.input.amount < 600 + }; +--- +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policy + labels: + testing.upbound.io/example-name: policy + name: policy-engine + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + name: example_policy_engine + description: Policy engine for policy example +--- \ No newline at end of file diff --git a/examples/bedrockagentcore/namespaced/v1beta1/policyengine.yaml b/examples/bedrockagentcore/namespaced/v1beta1/policyengine.yaml new file mode 100644 index 0000000000..cb5cc33736 --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/policyengine.yaml @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Basic Policy Engine Example +# Creates a Bedrock AgentCore Policy Engine that controls what actions and +# resources an agent runtime can use. Encryption defaults to an AWS managed key. + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: PolicyEngine +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/policyengine + labels: + testing.upbound.io/example-name: policyengine + name: policyengine + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + name: example_policy_engine + description: Policy engine for customer service agent diff --git a/examples/bedrockagentcore/namespaced/v1beta1/resourcepolicy.yaml b/examples/bedrockagentcore/namespaced/v1beta1/resourcepolicy.yaml new file mode 100644 index 0000000000..65cbd4c716 --- /dev/null +++ b/examples/bedrockagentcore/namespaced/v1beta1/resourcepolicy.yaml @@ -0,0 +1,44 @@ +# SPDX-FileCopyrightText: 2026 The Crossplane Authors +# +# SPDX-License-Identifier: Apache-2.0 + +# Resource Policy Example +# Attaches a resource-based policy to a Bedrock AgentCore Agent Runtime, +# controlling which principals can invoke it. The resource ARN is resolved from +# the referenced Agent Runtime. Includes the Agent Runtime and its IAM role. + +apiVersion: bedrockagentcore.aws.m.upbound.io/v1beta1 +kind: ResourcePolicy +metadata: + annotations: + meta.upbound.io/example-id: bedrockagentcore/v1beta1/resourcepolicy + upjet.upbound.io/manual-intervention: > + requires a Gateway or AgentRuntime resourceArn. + Both has provider-assigned identifiers. + resourceArn does not support Reference/Selector fields, + due to multiple types. + labels: + testing.upbound.io/example-name: resourcepolicy + name: resourcepolicy + namespace: upbound-system +spec: + forProvider: + region: us-west-2 + resourceArn: "arn:aws:bedrock-agentcore:us-west-2:${data.aws_account_id}:runtime/example_agent_runtime-qaaXoEF5i2" + policy: | + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "AllowInvokeFromVPC", + "Effect": "Allow", + "Principal": "*", + "Action": ["bedrock-agentcore:InvokeAgentRuntime"], + "Resource": "arn:aws:bedrock-agentcore:us-west-2:${data.aws_account_id}:runtime/example_agent_runtime-qaaXoEF5i2", + "Condition": { + "StringEquals": {"aws:SourceVpc": "vpc-1a2b3c4d"} + } + } + ] + } +--- \ No newline at end of file diff --git a/internal/controller/cluster/bedrockagentcore/evaluator/zz_controller.go b/internal/controller/cluster/bedrockagentcore/evaluator/zz_controller.go new file mode 100755 index 0000000000..e2b70debbe --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/evaluator/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package evaluator + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Evaluator. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Evaluator{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Evaluator") + } + return nil +} + +// SetupGated adds a controller that reconciles Evaluator managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Evaluator_GroupVersionKind.String()) + } + }, v1beta1.Evaluator_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Evaluator managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Evaluator_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_evaluator"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Evaluator_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Evaluator_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_evaluator"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Evaluator_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.EvaluatorList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.EvaluatorList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Evaluator_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Evaluator{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Evaluator_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/bedrockagentcore/harness/zz_controller.go b/internal/controller/cluster/bedrockagentcore/harness/zz_controller.go new file mode 100755 index 0000000000..9e92c0c0cf --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/harness/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package harness + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Harness. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Harness{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Harness") + } + return nil +} + +// SetupGated adds a controller that reconciles Harness managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Harness_GroupVersionKind.String()) + } + }, v1beta1.Harness_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Harness managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Harness_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_harness"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Harness_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Harness_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_harness"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Harness_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.HarnessList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.HarnessList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Harness_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Harness{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Harness_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/bedrockagentcore/onlineevaluationconfig/zz_controller.go b/internal/controller/cluster/bedrockagentcore/onlineevaluationconfig/zz_controller.go new file mode 100755 index 0000000000..18b8021a8e --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/onlineevaluationconfig/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package onlineevaluationconfig + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for OnlineEvaluationConfig. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.OnlineEvaluationConfig{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.OnlineEvaluationConfig") + } + return nil +} + +// SetupGated adds a controller that reconciles OnlineEvaluationConfig managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.OnlineEvaluationConfig_GroupVersionKind.String()) + } + }, v1beta1.OnlineEvaluationConfig_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles OnlineEvaluationConfig managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.OnlineEvaluationConfig_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_online_evaluation_config"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.OnlineEvaluationConfig_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.OnlineEvaluationConfig_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_online_evaluation_config"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.OnlineEvaluationConfig_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.OnlineEvaluationConfigList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.OnlineEvaluationConfigList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.OnlineEvaluationConfig_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.OnlineEvaluationConfig{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.OnlineEvaluationConfig_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/bedrockagentcore/policy/zz_controller.go b/internal/controller/cluster/bedrockagentcore/policy/zz_controller.go new file mode 100755 index 0000000000..43b0d9c38f --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/policy/zz_controller.go @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package policy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Policy. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Policy{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Policy") + } + return nil +} + +// SetupGated adds a controller that reconciles Policy managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Policy_GroupVersionKind.String()) + } + }, v1beta1.Policy_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Policy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Policy_GroupVersionKind.String()) + var initializers managed.InitializerChain + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Policy_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Policy_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_policy"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Policy_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.PolicyList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.PolicyList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Policy_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Policy{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Policy_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/bedrockagentcore/policyengine/zz_controller.go b/internal/controller/cluster/bedrockagentcore/policyengine/zz_controller.go new file mode 100755 index 0000000000..eec08fe05c --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/policyengine/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package policyengine + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for PolicyEngine. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.PolicyEngine{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.PolicyEngine") + } + return nil +} + +// SetupGated adds a controller that reconciles PolicyEngine managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.PolicyEngine_GroupVersionKind.String()) + } + }, v1beta1.PolicyEngine_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles PolicyEngine managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.PolicyEngine_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_policy_engine"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.PolicyEngine_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.PolicyEngine_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_policy_engine"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.PolicyEngine_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.PolicyEngineList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.PolicyEngineList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.PolicyEngine_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.PolicyEngine{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.PolicyEngine_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/bedrockagentcore/resourcepolicy/zz_controller.go b/internal/controller/cluster/bedrockagentcore/resourcepolicy/zz_controller.go new file mode 100755 index 0000000000..393874a799 --- /dev/null +++ b/internal/controller/cluster/bedrockagentcore/resourcepolicy/zz_controller.go @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package resourcepolicy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/cluster/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for ResourcePolicy. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.ResourcePolicy{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.ResourcePolicy") + } + return nil +} + +// SetupGated adds a controller that reconciles ResourcePolicy managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.ResourcePolicy_GroupVersionKind.String()) + } + }, v1beta1.ResourcePolicy_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles ResourcePolicy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.ResourcePolicy_GroupVersionKind.String()) + var initializers managed.InitializerChain + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.ResourcePolicy_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.ResourcePolicy_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_resource_policy"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.ResourcePolicy_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.ResourcePolicyList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.ResourcePolicyList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.ResourcePolicy_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.ResourcePolicy{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.ResourcePolicy_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/cluster/zz_bedrockagentcore_setup.go b/internal/controller/cluster/zz_bedrockagentcore_setup.go index 442751c59a..0f87a8832d 100755 --- a/internal/controller/cluster/zz_bedrockagentcore_setup.go +++ b/internal/controller/cluster/zz_bedrockagentcore_setup.go @@ -14,11 +14,17 @@ import ( apikeycredentialprovider "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/apikeycredentialprovider" browser "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/browser" codeinterpreter "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/codeinterpreter" + evaluator "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/evaluator" gateway "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/gateway" gatewaytarget "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/gatewaytarget" + harness "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/harness" memory "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/memory" memorystrategy "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/memorystrategy" oauth2credentialprovider "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/oauth2credentialprovider" + onlineevaluationconfig "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/onlineevaluationconfig" + policy "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/policy" + policyengine "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/policyengine" + resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/resourcepolicy" tokenvaultcmk "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/tokenvaultcmk" workloadidentity "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/workloadidentity" ) @@ -32,11 +38,17 @@ func Setup_bedrockagentcore(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.Setup, browser.Setup, codeinterpreter.Setup, + evaluator.Setup, gateway.Setup, gatewaytarget.Setup, + harness.Setup, memory.Setup, memorystrategy.Setup, oauth2credentialprovider.Setup, + onlineevaluationconfig.Setup, + policy.Setup, + policyengine.Setup, + resourcepolicy.Setup, tokenvaultcmk.Setup, workloadidentity.Setup, } { @@ -56,11 +68,17 @@ func SetupGated_bedrockagentcore(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.SetupGated, browser.SetupGated, codeinterpreter.SetupGated, + evaluator.SetupGated, gateway.SetupGated, gatewaytarget.SetupGated, + harness.SetupGated, memory.SetupGated, memorystrategy.SetupGated, oauth2credentialprovider.SetupGated, + onlineevaluationconfig.SetupGated, + policy.SetupGated, + policyengine.SetupGated, + resourcepolicy.SetupGated, tokenvaultcmk.SetupGated, workloadidentity.SetupGated, } { @@ -79,11 +97,17 @@ func SetupWebhookWithManager_bedrockagentcore(mgr ctrl.Manager) error { apikeycredentialprovider.SetupWebhookWithManager, browser.SetupWebhookWithManager, codeinterpreter.SetupWebhookWithManager, + evaluator.SetupWebhookWithManager, gateway.SetupWebhookWithManager, gatewaytarget.SetupWebhookWithManager, + harness.SetupWebhookWithManager, memory.SetupWebhookWithManager, memorystrategy.SetupWebhookWithManager, oauth2credentialprovider.SetupWebhookWithManager, + onlineevaluationconfig.SetupWebhookWithManager, + policy.SetupWebhookWithManager, + policyengine.SetupWebhookWithManager, + resourcepolicy.SetupWebhookWithManager, tokenvaultcmk.SetupWebhookWithManager, workloadidentity.SetupWebhookWithManager, } { diff --git a/internal/controller/cluster/zz_monolith_setup.go b/internal/controller/cluster/zz_monolith_setup.go index 4a7c238e99..6bc029631e 100755 --- a/internal/controller/cluster/zz_monolith_setup.go +++ b/internal/controller/cluster/zz_monolith_setup.go @@ -138,11 +138,17 @@ import ( apikeycredentialprovider "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/apikeycredentialprovider" browser "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/browser" codeinterpreter "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/codeinterpreter" + evaluator "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/evaluator" gateway "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/gateway" gatewaytarget "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/gatewaytarget" + harness "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/harness" memory "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/memory" memorystrategy "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/memorystrategy" oauth2credentialprovider "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/oauth2credentialprovider" + onlineevaluationconfig "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/onlineevaluationconfig" + policybedrockagentcore "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/policy" + policyengine "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/policyengine" + resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/resourcepolicy" tokenvaultcmk "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/tokenvaultcmk" workloadidentity "github.com/upbound/provider-aws/v2/internal/controller/cluster/bedrockagentcore/workloadidentity" budget "github.com/upbound/provider-aws/v2/internal/controller/cluster/budgets/budget" @@ -197,7 +203,7 @@ import ( destinationpolicy "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/destinationpolicy" group "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/group" metricfilter "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/metricfilter" - resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/resourcepolicy" + resourcepolicycloudwatchlogs "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/resourcepolicy" stream "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/stream" subscriptionfilter "github.com/upbound/provider-aws/v2/internal/controller/cluster/cloudwatchlogs/subscriptionfilter" domaincodeartifact "github.com/upbound/provider-aws/v2/internal/controller/cluster/codeartifact/domain" @@ -1166,11 +1172,17 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.Setup, browser.Setup, codeinterpreter.Setup, + evaluator.Setup, gateway.Setup, gatewaytarget.Setup, + harness.Setup, memory.Setup, memorystrategy.Setup, oauth2credentialprovider.Setup, + onlineevaluationconfig.Setup, + policybedrockagentcore.Setup, + policyengine.Setup, + resourcepolicy.Setup, tokenvaultcmk.Setup, workloadidentity.Setup, budget.Setup, @@ -1225,7 +1237,7 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { destinationpolicy.Setup, group.Setup, metricfilter.Setup, - resourcepolicy.Setup, + resourcepolicycloudwatchlogs.Setup, stream.Setup, subscriptionfilter.Setup, domaincodeartifact.Setup, @@ -2200,11 +2212,17 @@ func SetupGated_monolith(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.SetupGated, browser.SetupGated, codeinterpreter.SetupGated, + evaluator.SetupGated, gateway.SetupGated, gatewaytarget.SetupGated, + harness.SetupGated, memory.SetupGated, memorystrategy.SetupGated, oauth2credentialprovider.SetupGated, + onlineevaluationconfig.SetupGated, + policybedrockagentcore.SetupGated, + policyengine.SetupGated, + resourcepolicy.SetupGated, tokenvaultcmk.SetupGated, workloadidentity.SetupGated, budget.SetupGated, @@ -2259,7 +2277,7 @@ func SetupGated_monolith(mgr ctrl.Manager, o controller.Options) error { destinationpolicy.SetupGated, group.SetupGated, metricfilter.SetupGated, - resourcepolicy.SetupGated, + resourcepolicycloudwatchlogs.SetupGated, stream.SetupGated, subscriptionfilter.SetupGated, domaincodeartifact.SetupGated, @@ -3233,11 +3251,17 @@ func SetupWebhookWithManager_monolith(mgr ctrl.Manager) error { apikeycredentialprovider.SetupWebhookWithManager, browser.SetupWebhookWithManager, codeinterpreter.SetupWebhookWithManager, + evaluator.SetupWebhookWithManager, gateway.SetupWebhookWithManager, gatewaytarget.SetupWebhookWithManager, + harness.SetupWebhookWithManager, memory.SetupWebhookWithManager, memorystrategy.SetupWebhookWithManager, oauth2credentialprovider.SetupWebhookWithManager, + onlineevaluationconfig.SetupWebhookWithManager, + policybedrockagentcore.SetupWebhookWithManager, + policyengine.SetupWebhookWithManager, + resourcepolicy.SetupWebhookWithManager, tokenvaultcmk.SetupWebhookWithManager, workloadidentity.SetupWebhookWithManager, budget.SetupWebhookWithManager, @@ -3292,7 +3316,7 @@ func SetupWebhookWithManager_monolith(mgr ctrl.Manager) error { destinationpolicy.SetupWebhookWithManager, group.SetupWebhookWithManager, metricfilter.SetupWebhookWithManager, - resourcepolicy.SetupWebhookWithManager, + resourcepolicycloudwatchlogs.SetupWebhookWithManager, stream.SetupWebhookWithManager, subscriptionfilter.SetupWebhookWithManager, domaincodeartifact.SetupWebhookWithManager, diff --git a/internal/controller/namespaced/bedrockagentcore/evaluator/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/evaluator/zz_controller.go new file mode 100755 index 0000000000..e0af9b5d1f --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/evaluator/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package evaluator + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Evaluator. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Evaluator{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Evaluator") + } + return nil +} + +// SetupGated adds a controller that reconciles Evaluator managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Evaluator_GroupVersionKind.String()) + } + }, v1beta1.Evaluator_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Evaluator managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Evaluator_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_evaluator"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Evaluator_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Evaluator_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_evaluator"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Evaluator_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.EvaluatorList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.EvaluatorList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Evaluator_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Evaluator{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Evaluator_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/bedrockagentcore/harness/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/harness/zz_controller.go new file mode 100755 index 0000000000..e6ac598d51 --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/harness/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package harness + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Harness. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Harness{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Harness") + } + return nil +} + +// SetupGated adds a controller that reconciles Harness managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Harness_GroupVersionKind.String()) + } + }, v1beta1.Harness_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Harness managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Harness_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_harness"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Harness_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Harness_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_harness"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Harness_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.HarnessList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.HarnessList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Harness_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Harness{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Harness_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/bedrockagentcore/onlineevaluationconfig/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/onlineevaluationconfig/zz_controller.go new file mode 100755 index 0000000000..209c179551 --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/onlineevaluationconfig/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package onlineevaluationconfig + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for OnlineEvaluationConfig. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.OnlineEvaluationConfig{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.OnlineEvaluationConfig") + } + return nil +} + +// SetupGated adds a controller that reconciles OnlineEvaluationConfig managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.OnlineEvaluationConfig_GroupVersionKind.String()) + } + }, v1beta1.OnlineEvaluationConfig_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles OnlineEvaluationConfig managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.OnlineEvaluationConfig_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_online_evaluation_config"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.OnlineEvaluationConfig_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.OnlineEvaluationConfig_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_online_evaluation_config"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.OnlineEvaluationConfig_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.OnlineEvaluationConfigList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.OnlineEvaluationConfigList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.OnlineEvaluationConfig_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.OnlineEvaluationConfig{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.OnlineEvaluationConfig_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/bedrockagentcore/policy/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/policy/zz_controller.go new file mode 100755 index 0000000000..3883c01ce9 --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/policy/zz_controller.go @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package policy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for Policy. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.Policy{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Policy") + } + return nil +} + +// SetupGated adds a controller that reconciles Policy managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.Policy_GroupVersionKind.String()) + } + }, v1beta1.Policy_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles Policy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Policy_GroupVersionKind.String()) + var initializers managed.InitializerChain + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Policy_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Policy_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_policy"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Policy_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.PolicyList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.PolicyList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Policy_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Policy{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.Policy_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/bedrockagentcore/policyengine/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/policyengine/zz_controller.go new file mode 100755 index 0000000000..cd0f7fc6b4 --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/policyengine/zz_controller.go @@ -0,0 +1,122 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package policyengine + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for PolicyEngine. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.PolicyEngine{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.PolicyEngine") + } + return nil +} + +// SetupGated adds a controller that reconciles PolicyEngine managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.PolicyEngine_GroupVersionKind.String()) + } + }, v1beta1.PolicyEngine_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles PolicyEngine managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.PolicyEngine_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_bedrockagentcore_policy_engine"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.PolicyEngine_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.PolicyEngine_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_policy_engine"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.PolicyEngine_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.PolicyEngineList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.PolicyEngineList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.PolicyEngine_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.PolicyEngine{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.PolicyEngine_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/bedrockagentcore/resourcepolicy/zz_controller.go b/internal/controller/namespaced/bedrockagentcore/resourcepolicy/zz_controller.go new file mode 100755 index 0000000000..5d9c666aa3 --- /dev/null +++ b/internal/controller/namespaced/bedrockagentcore/resourcepolicy/zz_controller.go @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package resourcepolicy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/v2/pkg/errors" + "github.com/crossplane/crossplane-runtime/v2/pkg/event" + xpfeature "github.com/crossplane/crossplane-runtime/v2/pkg/feature" + "github.com/crossplane/crossplane-runtime/v2/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/v2/pkg/resource" + "github.com/crossplane/crossplane-runtime/v2/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/v2/pkg/controller" + "github.com/crossplane/upjet/v2/pkg/controller/handler" + "github.com/crossplane/upjet/v2/pkg/metrics" + "github.com/crossplane/upjet/v2/pkg/reconciler/reconciliationpolicy" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/v2/apis/namespaced/bedrockagentcore/v1beta1" + "github.com/upbound/provider-aws/v2/internal/clients" + features "github.com/upbound/provider-aws/v2/internal/features" +) + +// SetupWebhookWithManager registers the conversion webhook for ResourcePolicy. +func SetupWebhookWithManager(mgr ctrl.Manager) error { + if err := ctrl.NewWebhookManagedBy(mgr, &v1beta1.ResourcePolicy{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.ResourcePolicy") + } + return nil +} + +// SetupGated adds a controller that reconciles ResourcePolicy managed resources. +func SetupGated(mgr ctrl.Manager, o tjcontroller.Options) error { + o.Options.Gate.Register(func() { + if err := Setup(mgr, o); err != nil { + mgr.GetLogger().Error(err, "unable to setup reconciler", "gvk", v1beta1.ResourcePolicy_GroupVersionKind.String()) + } + }, v1beta1.ResourcePolicy_GroupVersionKind) + return nil +} + +// Setup adds a controller that reconciles ResourcePolicy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.ResourcePolicy_GroupVersionKind.String()) + var initializers managed.InitializerChain + rl := reconciliationpolicy.NewExponentialFailureRateLimiter(time.Second, 60*time.Second) + eventHandler := handler.NewEventHandler(handler.WithDefaultRateLimiter(rl), handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.ResourcePolicy_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.ResourcePolicy_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginFrameworkAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_bedrockagentcore_resource_policy"], + tjcontroller.WithTerraformPluginFrameworkAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginFrameworkAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginFrameworkAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginFrameworkAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.ResourcePolicy_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginFrameworkAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)), + ), + ), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer( + reconciliationpolicy.NewFinalizer( + tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName)), + reconciliationpolicy.WithFinalizerRateLimiter(rl), + ), + ), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithPollInterval(o.PollInterval), + } + + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + if o.Features.Enabled(xpfeature.EnableAlphaChangeLogs) { + opts = append(opts, managed.WithChangeLogger(o.ChangeLogOptions.ChangeLogger)) + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.ResourcePolicyList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.ResourcePolicyList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.ResourcePolicy_GroupVersionKind), opts...) + co := o.ForControllerRuntime() + co.RateLimiter = rl + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(co). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.ResourcePolicy{}, eventHandler). + Complete( + reconciliationpolicy.NewReconciler( + ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter), + mgr, + v1beta1.ResourcePolicy_GroupVersionKind, + reconciliationpolicy.WithRateLimiter(rl), + reconciliationpolicy.WithSource(clients.ReconciliationPolicy), + ), + ) +} diff --git a/internal/controller/namespaced/zz_bedrockagentcore_setup.go b/internal/controller/namespaced/zz_bedrockagentcore_setup.go index 9f443c84a8..40afd10e41 100755 --- a/internal/controller/namespaced/zz_bedrockagentcore_setup.go +++ b/internal/controller/namespaced/zz_bedrockagentcore_setup.go @@ -14,11 +14,17 @@ import ( apikeycredentialprovider "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/apikeycredentialprovider" browser "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/browser" codeinterpreter "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/codeinterpreter" + evaluator "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/evaluator" gateway "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/gateway" gatewaytarget "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/gatewaytarget" + harness "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/harness" memory "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/memory" memorystrategy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/memorystrategy" oauth2credentialprovider "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/oauth2credentialprovider" + onlineevaluationconfig "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/onlineevaluationconfig" + policy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/policy" + policyengine "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/policyengine" + resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/resourcepolicy" tokenvaultcmk "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/tokenvaultcmk" workloadidentity "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/workloadidentity" ) @@ -32,11 +38,17 @@ func Setup_bedrockagentcore(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.Setup, browser.Setup, codeinterpreter.Setup, + evaluator.Setup, gateway.Setup, gatewaytarget.Setup, + harness.Setup, memory.Setup, memorystrategy.Setup, oauth2credentialprovider.Setup, + onlineevaluationconfig.Setup, + policy.Setup, + policyengine.Setup, + resourcepolicy.Setup, tokenvaultcmk.Setup, workloadidentity.Setup, } { @@ -56,11 +68,17 @@ func SetupGated_bedrockagentcore(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.SetupGated, browser.SetupGated, codeinterpreter.SetupGated, + evaluator.SetupGated, gateway.SetupGated, gatewaytarget.SetupGated, + harness.SetupGated, memory.SetupGated, memorystrategy.SetupGated, oauth2credentialprovider.SetupGated, + onlineevaluationconfig.SetupGated, + policy.SetupGated, + policyengine.SetupGated, + resourcepolicy.SetupGated, tokenvaultcmk.SetupGated, workloadidentity.SetupGated, } { @@ -79,11 +97,17 @@ func SetupWebhookWithManager_bedrockagentcore(mgr ctrl.Manager) error { apikeycredentialprovider.SetupWebhookWithManager, browser.SetupWebhookWithManager, codeinterpreter.SetupWebhookWithManager, + evaluator.SetupWebhookWithManager, gateway.SetupWebhookWithManager, gatewaytarget.SetupWebhookWithManager, + harness.SetupWebhookWithManager, memory.SetupWebhookWithManager, memorystrategy.SetupWebhookWithManager, oauth2credentialprovider.SetupWebhookWithManager, + onlineevaluationconfig.SetupWebhookWithManager, + policy.SetupWebhookWithManager, + policyengine.SetupWebhookWithManager, + resourcepolicy.SetupWebhookWithManager, tokenvaultcmk.SetupWebhookWithManager, workloadidentity.SetupWebhookWithManager, } { diff --git a/internal/controller/namespaced/zz_monolith_setup.go b/internal/controller/namespaced/zz_monolith_setup.go index dab49b668e..993d82b69f 100755 --- a/internal/controller/namespaced/zz_monolith_setup.go +++ b/internal/controller/namespaced/zz_monolith_setup.go @@ -138,11 +138,17 @@ import ( apikeycredentialprovider "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/apikeycredentialprovider" browser "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/browser" codeinterpreter "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/codeinterpreter" + evaluator "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/evaluator" gateway "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/gateway" gatewaytarget "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/gatewaytarget" + harness "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/harness" memory "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/memory" memorystrategy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/memorystrategy" oauth2credentialprovider "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/oauth2credentialprovider" + onlineevaluationconfig "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/onlineevaluationconfig" + policybedrockagentcore "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/policy" + policyengine "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/policyengine" + resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/resourcepolicy" tokenvaultcmk "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/tokenvaultcmk" workloadidentity "github.com/upbound/provider-aws/v2/internal/controller/namespaced/bedrockagentcore/workloadidentity" budget "github.com/upbound/provider-aws/v2/internal/controller/namespaced/budgets/budget" @@ -197,7 +203,7 @@ import ( destinationpolicy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/destinationpolicy" group "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/group" metricfilter "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/metricfilter" - resourcepolicy "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/resourcepolicy" + resourcepolicycloudwatchlogs "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/resourcepolicy" stream "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/stream" subscriptionfilter "github.com/upbound/provider-aws/v2/internal/controller/namespaced/cloudwatchlogs/subscriptionfilter" domaincodeartifact "github.com/upbound/provider-aws/v2/internal/controller/namespaced/codeartifact/domain" @@ -1166,11 +1172,17 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.Setup, browser.Setup, codeinterpreter.Setup, + evaluator.Setup, gateway.Setup, gatewaytarget.Setup, + harness.Setup, memory.Setup, memorystrategy.Setup, oauth2credentialprovider.Setup, + onlineevaluationconfig.Setup, + policybedrockagentcore.Setup, + policyengine.Setup, + resourcepolicy.Setup, tokenvaultcmk.Setup, workloadidentity.Setup, budget.Setup, @@ -1225,7 +1237,7 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { destinationpolicy.Setup, group.Setup, metricfilter.Setup, - resourcepolicy.Setup, + resourcepolicycloudwatchlogs.Setup, stream.Setup, subscriptionfilter.Setup, domaincodeartifact.Setup, @@ -2200,11 +2212,17 @@ func SetupGated_monolith(mgr ctrl.Manager, o controller.Options) error { apikeycredentialprovider.SetupGated, browser.SetupGated, codeinterpreter.SetupGated, + evaluator.SetupGated, gateway.SetupGated, gatewaytarget.SetupGated, + harness.SetupGated, memory.SetupGated, memorystrategy.SetupGated, oauth2credentialprovider.SetupGated, + onlineevaluationconfig.SetupGated, + policybedrockagentcore.SetupGated, + policyengine.SetupGated, + resourcepolicy.SetupGated, tokenvaultcmk.SetupGated, workloadidentity.SetupGated, budget.SetupGated, @@ -2259,7 +2277,7 @@ func SetupGated_monolith(mgr ctrl.Manager, o controller.Options) error { destinationpolicy.SetupGated, group.SetupGated, metricfilter.SetupGated, - resourcepolicy.SetupGated, + resourcepolicycloudwatchlogs.SetupGated, stream.SetupGated, subscriptionfilter.SetupGated, domaincodeartifact.SetupGated, @@ -3233,11 +3251,17 @@ func SetupWebhookWithManager_monolith(mgr ctrl.Manager) error { apikeycredentialprovider.SetupWebhookWithManager, browser.SetupWebhookWithManager, codeinterpreter.SetupWebhookWithManager, + evaluator.SetupWebhookWithManager, gateway.SetupWebhookWithManager, gatewaytarget.SetupWebhookWithManager, + harness.SetupWebhookWithManager, memory.SetupWebhookWithManager, memorystrategy.SetupWebhookWithManager, oauth2credentialprovider.SetupWebhookWithManager, + onlineevaluationconfig.SetupWebhookWithManager, + policybedrockagentcore.SetupWebhookWithManager, + policyengine.SetupWebhookWithManager, + resourcepolicy.SetupWebhookWithManager, tokenvaultcmk.SetupWebhookWithManager, workloadidentity.SetupWebhookWithManager, budget.SetupWebhookWithManager, @@ -3292,7 +3316,7 @@ func SetupWebhookWithManager_monolith(mgr ctrl.Manager) error { destinationpolicy.SetupWebhookWithManager, group.SetupWebhookWithManager, metricfilter.SetupWebhookWithManager, - resourcepolicy.SetupWebhookWithManager, + resourcepolicycloudwatchlogs.SetupWebhookWithManager, stream.SetupWebhookWithManager, subscriptionfilter.SetupWebhookWithManager, domaincodeartifact.SetupWebhookWithManager, diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_agentruntimes.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_agentruntimes.yaml index b90d720a9d..913fc5b946 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_agentruntimes.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_agentruntimes.yaml @@ -365,6 +365,88 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in efs to populate + accessPointArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 efs 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -381,6 +463,88 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in s3control + to populate accessPointArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -877,6 +1041,88 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in efs to populate + accessPointArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 efs 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -893,6 +1139,88 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in s3control + to populate accessPointArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_browsers.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_browsers.yaml index cf103188f5..9a5fe076ae 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_browsers.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_browsers.yaml @@ -87,6 +87,88 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. type: string + secretArnRef: + description: Reference to a Secret in secretsmanager + to populate secretArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object @@ -394,6 +476,88 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. type: string + secretArnRef: + description: Reference to a Secret in secretsmanager + to populate secretArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_codeinterpreters.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_codeinterpreters.yaml index 1f3513bca6..27caaf3096 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_codeinterpreters.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_codeinterpreters.yaml @@ -76,6 +76,88 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. type: string + secretArnRef: + description: Reference to a Secret in secretsmanager + to populate secretArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object @@ -239,6 +321,88 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. type: string + secretArnRef: + description: Reference to a Secret in secretsmanager + to populate secretArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_evaluators.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_evaluators.yaml new file mode 100644 index 0000000000..7a6a634894 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_evaluators.yaml @@ -0,0 +1,995 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: evaluators.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Evaluator + listKind: EvaluatorList + plural: evaluators + singular: evaluator + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Evaluator is the Schema for the Evaluators API. Manages an AWS + Bedrock AgentCore Evaluator. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: EvaluatorSpec defines the desired state of Evaluator + properties: + forProvider: + properties: + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + type: string + lambdaArnRef: + description: Reference to a Function in lambda to + populate lambdaArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + instructionsSecretRef: + description: Instructions that tell the model how to score + the agent. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + type: object + type: object + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + type: string + lambdaArnRef: + description: Reference to a Function in lambda to + populate lambdaArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + instructionsSecretRef: + description: Instructions that tell the model how to score + the agent. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + required: + - instructionsSecretRef + type: object + type: object + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + type: string + kmsKeyArnRef: + description: Reference to a Key in kms to populate kmsKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.evaluatorName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.evaluatorName) + || (has(self.initProvider) && has(self.initProvider.evaluatorName))' + - message: spec.forProvider.level is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.level) + || (has(self.initProvider) && has(self.initProvider.level))' + status: + description: EvaluatorStatus defines the observed state of Evaluator. + properties: + atProvider: + properties: + createdAt: + description: Timestamp when the evaluator was created. + type: string + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorArn: + description: ARN of the evaluator. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + type: string + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + type: object + type: object + evaluatorId: + description: Unique identifier of the evaluator. + type: string + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + id: + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + type: string + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + lockedForModification: + description: Whether the evaluator is locked because it is in + use by an active online evaluation. + type: boolean + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + status: + description: Current status of the evaluator. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_gateways.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_gateways.yaml index bae3b942ec..57ecfbab28 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_gateways.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_gateways.yaml @@ -512,6 +512,88 @@ spec: specifying who can perform what actions on which resources as agents interact through the gateway. type: string + arnRef: + description: Reference to a PolicyEngine in bedrockagentcore + to populate arn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 PolicyEngine in bedrockagentcore + 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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: 'Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy @@ -1130,6 +1212,88 @@ spec: specifying who can perform what actions on which resources as agents interact through the gateway. type: string + arnRef: + description: Reference to a PolicyEngine in bedrockagentcore + to populate arn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 PolicyEngine in bedrockagentcore + 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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: 'Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_gatewaytargets.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_gatewaytargets.yaml index 6530387fbc..13e09b70e6 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_gatewaytargets.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_gatewaytargets.yaml @@ -84,6 +84,88 @@ spec: providerArn: description: ARN of the OIDC provider for API key authentication. type: string + providerArnRef: + description: Reference to a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object type: object callerIamCredentials: description: Caller IAM credentials-based authentication configuration. @@ -146,6 +228,88 @@ spec: description: ARN of the Oauth credential provider for OAuth authentication. type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object scopes: description: Set of OAuth scopes to request. items: @@ -840,6 +1004,88 @@ spec: restApiId: description: ID of the API Gateway REST API to invoke. type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway + to populate restApiId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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: Stage name of the REST API to add as a target. @@ -1683,6 +1929,88 @@ spec: providerArn: description: ARN of the OIDC provider for API key authentication. type: string + providerArnRef: + description: Reference to a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object type: object callerIamCredentials: description: Caller IAM credentials-based authentication configuration. @@ -1736,6 +2064,88 @@ spec: description: ARN of the Oauth credential provider for OAuth authentication. type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object scopes: description: Set of OAuth scopes to request. items: @@ -2425,6 +2835,88 @@ spec: restApiId: description: ID of the API Gateway REST API to invoke. type: string + restApiIdRef: + description: Reference to a RestAPI in apigateway + to populate restApiId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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: Stage name of the REST API to add as a target. diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_harnesses.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_harnesses.yaml new file mode 100644 index 0000000000..73af27c7e9 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_harnesses.yaml @@ -0,0 +1,4307 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: harnesses.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Harness + listKind: HarnessList + plural: harnesses + singular: harness + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Harness is the Schema for the Harnesss API. Manages an AWS Bedrock + AgentCore Harness. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: HarnessSpec defines the desired state of Harness + properties: + forProvider: + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeArnRef: + description: Reference to a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + agentRuntimeArnSelector: + description: Selector for a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in efs to populate accessPointArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 efs 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in s3control to populate accessPointArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + environmentVariablesSecretRef: + description: Map of environment variables. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + arnRef: + description: Reference to a Memory in bedrockagentcore + to populate arn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 Memory in bedrockagentcore + 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + strategyIdRef: + description: Reference to a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + strategyIdSelector: + description: Selector for a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + browserArnRef: + description: Reference to a Browser in bedrockagentcore + to populate browserArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + browserArnSelector: + description: Selector for a Browser in bedrockagentcore + to populate browserArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + codeInterpreterArnRef: + description: Reference to a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + codeInterpreterArnSelector: + description: Selector for a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + gatewayArnRef: + description: Reference to a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + gatewayArnSelector: + description: Selector for a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an + object with matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + inputSchemaSecretRef: + description: JSON string defining the input schema + for the function. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + description: Map of HTTP headers to include in requests + to the MCP server. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeArnRef: + description: Reference to a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + agentRuntimeArnSelector: + description: Selector for a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in efs to populate accessPointArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 efs 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in s3control to populate accessPointArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + environmentVariablesSecretRef: + additionalProperties: + type: string + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + type: string + executionRoleArnRef: + description: Reference to a Role in iam to populate executionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + arnRef: + description: Reference to a Memory in bedrockagentcore + to populate arn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 Memory in bedrockagentcore + 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 + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + strategyIdRef: + description: Reference to a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + strategyIdSelector: + description: Selector for a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + required: + - textSecretRef + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + browserArnRef: + description: Reference to a Browser in bedrockagentcore + to populate browserArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + browserArnSelector: + description: Selector for a Browser in bedrockagentcore + to populate browserArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + codeInterpreterArnRef: + description: Reference to a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + codeInterpreterArnSelector: + description: Selector for a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + gatewayArnRef: + description: Reference to a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + gatewayArnSelector: + description: Selector for a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced + object. + type: string + namespace: + description: Namespace of the referenced + object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an + object with matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + inputSchemaSecretRef: + description: JSON string defining the input schema + for the function. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + required: + - inputSchemaSecretRef + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + additionalProperties: + type: string + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + required: + - urlSecretRef + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.harnessName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.harnessName) + || (has(self.initProvider) && has(self.initProvider.harnessName))' + status: + description: HarnessStatus defines the observed state of Harness. + properties: + atProvider: + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + arn: + description: ARN of the AgentCore memory resource. + type: string + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + type: string + harnessId: + description: Unique identifier of the Harness. + type: string + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + id: + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: A map of tags assigned to the resource, including + those inherited from the provider default_tags configuration + block. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + description: Map of HTTP headers to include in requests + to the MCP server. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + type: string + name: + description: Name of the secret. + type: string + required: + - key + - name + type: object + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_memories.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_memories.yaml index aaa1c3a1ed..78edf7fc58 100644 --- a/package/crds/bedrockagentcore.aws.m.upbound.io_memories.yaml +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_memories.yaml @@ -287,6 +287,88 @@ spec: dataStreamArn: description: ARN of the Kinesis Data Stream. type: string + dataStreamArnRef: + description: Reference to a Stream in kinesis to populate + dataStreamArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataStreamArnSelector: + description: Selector for a Stream in kinesis to populate + dataStreamArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object @@ -535,6 +617,88 @@ spec: dataStreamArn: description: ARN of the Kinesis Data Stream. type: string + dataStreamArnRef: + description: Reference to a Stream in kinesis to populate + dataStreamArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataStreamArnSelector: + description: Selector for a Stream in kinesis to populate + dataStreamArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_onlineevaluationconfigs.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_onlineevaluationconfigs.yaml new file mode 100644 index 0000000000..90196b7422 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_onlineevaluationconfigs.yaml @@ -0,0 +1,1098 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: onlineevaluationconfigs.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: OnlineEvaluationConfig + listKind: OnlineEvaluationConfigList + plural: onlineevaluationconfigs + singular: onlineevaluationconfig + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: OnlineEvaluationConfig is the Schema for the OnlineEvaluationConfigs + API. Manages an AWS Bedrock AgentCore Online Evaluation Configuration. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: OnlineEvaluationConfigSpec defines the desired state of OnlineEvaluationConfig + properties: + forProvider: + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + logGroupNamesRefs: + description: References to Group in cloudwatchlogs to + populate logGroupNames. + items: + description: A NamespacedReference to a named object. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + logGroupNamesSelector: + description: Selector for a list of Group in cloudwatchlogs + to populate logGroupNames. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluationExecutionRoleArnRef: + description: Reference to a Role in iam to populate evaluationExecutionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluationExecutionRoleArnSelector: + description: Selector for a Role in iam to populate evaluationExecutionRoleArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + evaluatorIdRef: + description: Reference to a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluatorIdSelector: + description: Selector for a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + logGroupNamesRefs: + description: References to Group in cloudwatchlogs to + populate logGroupNames. + items: + description: A NamespacedReference to a named object. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + logGroupNamesSelector: + description: Selector for a list of Group in cloudwatchlogs + to populate logGroupNames. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluationExecutionRoleArnRef: + description: Reference to a Role in iam to populate evaluationExecutionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluationExecutionRoleArnSelector: + description: Selector for a Role in iam to populate evaluationExecutionRoleArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + evaluatorIdRef: + description: Reference to a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluatorIdSelector: + description: Selector for a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.enableOnCreate is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.enableOnCreate) + || (has(self.initProvider) && has(self.initProvider.enableOnCreate))' + - message: spec.forProvider.onlineEvaluationConfigName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.onlineEvaluationConfigName) + || (has(self.initProvider) && has(self.initProvider.onlineEvaluationConfigName))' + status: + description: OnlineEvaluationConfigStatus defines the observed state of + OnlineEvaluationConfig. + properties: + atProvider: + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + type: object + type: array + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + id: + type: string + onlineEvaluationConfigArn: + description: ARN of the online evaluation configuration. + type: string + onlineEvaluationConfigId: + description: Unique identifier of the online evaluation configuration. + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + outputConfig: + description: Configuration specifying where evaluation results + are written. See output_config Block below. + items: + properties: + cloudwatchConfig: + description: CloudWatch configuration for evaluation results. + See cloudwatch_config Block below. + items: + properties: + logGroupName: + description: Name of the CloudWatch log group where + evaluation results are written. + type: string + type: object + type: array + type: object + type: array + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_policies.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_policies.yaml new file mode 100644 index 0000000000..04ddc3db67 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_policies.yaml @@ -0,0 +1,474 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: policies.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Policy + listKind: PolicyList + plural: policies + singular: policy + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Policy is the Schema for the Policys API. Manages an AWS Bedrock + AgentCore Policy. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: PolicySpec defines the desired state of Policy + properties: + forProvider: + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyEngineIdRef: + description: Reference to a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + policyEngineIdSelector: + description: Selector for a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyEngineIdRef: + description: Reference to a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + policyEngineIdSelector: + description: Selector for a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.name is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.name) + || (has(self.initProvider) && has(self.initProvider.name))' + status: + description: PolicyStatus defines the observed state of Policy. + properties: + atProvider: + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + id: + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyArn: + description: ARN of the Policy. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyId: + description: Identifier of the Policy. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_policyengines.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_policyengines.yaml new file mode 100644 index 0000000000..25b7593ee5 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_policyengines.yaml @@ -0,0 +1,447 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: policyengines.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: PolicyEngine + listKind: PolicyEngineList + plural: policyengines + singular: policyengine + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: PolicyEngine is the Schema for the PolicyEngines API. Manages + an AWS Bedrock AgentCore Policy Engine. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: PolicyEngineSpec defines the desired state of PolicyEngine + properties: + forProvider: + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + encryptionKeyArnRef: + description: Reference to a Key in kms to populate encryptionKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + encryptionKeyArnSelector: + description: Selector for a Key in kms to populate encryptionKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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 engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + encryptionKeyArnRef: + description: Reference to a Key in kms to populate encryptionKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + namespace: + description: Namespace of the referenced object + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + encryptionKeyArnSelector: + description: Selector for a Key in kms to populate encryptionKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + namespace: + description: Namespace for the selector + type: string + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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 engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.name is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.name) + || (has(self.initProvider) && has(self.initProvider.name))' + status: + description: PolicyEngineStatus defines the observed state of PolicyEngine. + properties: + atProvider: + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + id: + type: string + name: + description: Name of the policy engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + policyEngineArn: + description: ARN of the Policy Engine. + type: string + policyEngineId: + description: Unique identifier of the Policy Engine. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.m.upbound.io_resourcepolicies.yaml b/package/crds/bedrockagentcore.aws.m.upbound.io_resourcepolicies.yaml new file mode 100644 index 0000000000..0a33a142ac --- /dev/null +++ b/package/crds/bedrockagentcore.aws.m.upbound.io_resourcepolicies.yaml @@ -0,0 +1,238 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: resourcepolicies.bedrockagentcore.aws.m.upbound.io +spec: + group: bedrockagentcore.aws.m.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: ResourcePolicy + listKind: ResourcePolicyList + plural: resourcepolicies + singular: resourcepolicy + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: ResourcePolicy is the Schema for the ResourcePolicys API. Manages + an AWS Bedrock AgentCore Resource Policy. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: ResourcePolicySpec defines the desired state of ResourcePolicy + properties: + forProvider: + properties: + policy: + description: Resource policy definition + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + resourceArn: + description: Amazon Resource Name (ARN) of the resource for which + to create or update the resource policy. + type: string + required: + - region + - resourceArn + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + policy: + description: Resource policy definition + type: string + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + kind: ClusterProviderConfig + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + kind: + description: Kind of the referenced object. + type: string + name: + description: Name of the referenced object. + type: string + required: + - kind + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + required: + - name + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.policy is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) + || (has(self.initProvider) && has(self.initProvider.policy))' + status: + description: ResourcePolicyStatus defines the observed state of ResourcePolicy. + properties: + atProvider: + properties: + id: + type: string + policy: + description: Resource policy definition + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + resourceArn: + description: Amazon Resource Name (ARN) of the resource for which + to create or update the resource policy. + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_agentruntimes.yaml b/package/crds/bedrockagentcore.aws.upbound.io_agentruntimes.yaml index 5d3bbe6243..68dff8777e 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_agentruntimes.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_agentruntimes.yaml @@ -379,6 +379,82 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in efs 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 efs 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 mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -395,6 +471,82 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. 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 mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -885,6 +1037,82 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. type: string + accessPointArnRef: + description: Reference to a AccessPoint in efs 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 efs 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 mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with @@ -901,6 +1129,82 @@ spec: description: ARN of the Amazon S3 Files access point to mount into the agent runtime. 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 mountPath: description: Mount path for the S3 Files access point inside the agent runtime. Must be under /mnt with diff --git a/package/crds/bedrockagentcore.aws.upbound.io_browsers.yaml b/package/crds/bedrockagentcore.aws.upbound.io_browsers.yaml index b31a0b4f26..92130de9b2 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_browsers.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_browsers.yaml @@ -101,6 +101,82 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. 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: object type: object @@ -396,6 +472,82 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.upbound.io_codeinterpreters.yaml b/package/crds/bedrockagentcore.aws.upbound.io_codeinterpreters.yaml index 6c174c0a9e..d8651571cb 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_codeinterpreters.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_codeinterpreters.yaml @@ -90,6 +90,82 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. 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: object type: object @@ -247,6 +323,82 @@ spec: description: ARN of the AWS Secrets Manager secret containing the certificate. 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.upbound.io_evaluators.yaml b/package/crds/bedrockagentcore.aws.upbound.io_evaluators.yaml new file mode 100644 index 0000000000..3bb3f3496e --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_evaluators.yaml @@ -0,0 +1,1023 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: evaluators.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Evaluator + listKind: EvaluatorList + plural: evaluators + singular: evaluator + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Evaluator is the Schema for the Evaluators API. Manages an AWS + Bedrock AgentCore Evaluator. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: EvaluatorSpec defines the desired state of Evaluator + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + 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 + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + instructionsSecretRef: + description: Instructions that tell the model how to score + the agent. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + type: object + type: object + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + 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 + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + 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 + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + instructionsSecretRef: + description: Instructions that tell the model how to score + the agent. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + required: + - instructionsSecretRef + type: object + type: object + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + 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 + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.evaluatorName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.evaluatorName) + || (has(self.initProvider) && has(self.initProvider.evaluatorName))' + - message: spec.forProvider.level is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.level) + || (has(self.initProvider) && has(self.initProvider.level))' + status: + description: EvaluatorStatus defines the observed state of Evaluator. + properties: + atProvider: + properties: + createdAt: + description: Timestamp when the evaluator was created. + type: string + description: + description: Description of the evaluator. Length 1–200. + type: string + evaluatorArn: + description: ARN of the evaluator. + type: string + evaluatorConfig: + description: Configuration that defines how the evaluator assesses + agent performance. See evaluator_config below. + properties: + codeBased: + description: Configuration that runs a Lambda function you + provide to score the agent. See code_based below. + properties: + lambdaConfig: + description: Lambda function configuration. See lambda_config + below. + properties: + lambdaArn: + description: ARN of the Lambda function that runs + the evaluation. + type: string + lambdaTimeoutInSeconds: + description: Time in seconds to wait for the Lambda + function before timing out. Defaults to 60. Range + 1–300. + type: number + type: object + type: object + llmAsAJudge: + description: Configuration that uses a Bedrock model to score + the agent. See llm_as_a_judge below. + properties: + modelConfig: + description: Which Bedrock model to use. See model_config + below. + properties: + bedrockEvaluatorModelConfig: + description: Amazon Bedrock model configuration. See + bedrock_evaluator_model_config below. + properties: + additionalModelRequestFields: + description: JSON-encoded model-specific request + fields, for settings not covered by inference_config. + type: string + inferenceConfig: + description: Settings that control how the model + generates its response. See inference_config + below. + properties: + maxTokens: + description: Maximum number of tokens to generate + in the model response. Must be at least + 1. + type: number + stopSequences: + description: List of sequences that cause + the model to stop generating tokens. + items: + type: string + type: array + temperature: + description: Temperature value that controls + randomness. Range 0–1. + type: number + topP: + description: Top-p sampling parameter. Range + 0–1. + type: number + type: object + modelId: + description: Identifier of the Amazon Bedrock + model to use for evaluation. + type: string + type: object + type: object + ratingScale: + description: Scale used to score the agent. See rating_scale + below. + properties: + categorical: + description: One or more categorical rating scale + definitions. See categorical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + type: object + type: array + numerical: + description: One or more numerical rating scale definitions. + See numerical below. + items: + properties: + definition: + description: Description that explains what + this numerical rating represents. + type: string + label: + description: Label for this numerical rating + option. Length 1–100. + type: string + value: + description: Numerical value for this rating + option. Must be at least 0. + type: number + type: object + type: array + type: object + type: object + type: object + evaluatorId: + description: Unique identifier of the evaluator. + type: string + evaluatorName: + description: Name of the evaluator. Must match the pattern ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. + type: string + id: + type: string + kmsKeyArn: + description: ARN of a customer-managed KMS key used to encrypt + the evaluator's sensitive data. Only symmetric encryption keys + are supported. + type: string + level: + description: 'Evaluation level that determines the scope of evaluation. + Valid values: TOOL_CALL, TRACE, SESSION.' + type: string + lockedForModification: + description: Whether the evaluator is locked because it is in + use by an active online evaluation. + type: boolean + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + status: + description: Current status of the evaluator. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_gateways.yaml b/package/crds/bedrockagentcore.aws.upbound.io_gateways.yaml index f05347c669..130df4dcf1 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_gateways.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_gateways.yaml @@ -514,6 +514,82 @@ spec: specifying who can perform what actions on which resources as agents interact through the gateway. type: string + arnRef: + description: Reference to a PolicyEngine in bedrockagentcore + 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 PolicyEngine in bedrockagentcore + 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 mode: description: 'Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy @@ -1114,6 +1190,82 @@ spec: specifying who can perform what actions on which resources as agents interact through the gateway. type: string + arnRef: + description: Reference to a PolicyEngine in bedrockagentcore + 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 PolicyEngine in bedrockagentcore + 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 mode: description: 'Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy diff --git a/package/crds/bedrockagentcore.aws.upbound.io_gatewaytargets.yaml b/package/crds/bedrockagentcore.aws.upbound.io_gatewaytargets.yaml index 3d590db081..98ec25a0a1 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_gatewaytargets.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_gatewaytargets.yaml @@ -98,6 +98,82 @@ spec: providerArn: description: ARN of the OIDC provider for API key authentication. type: string + providerArnRef: + description: Reference to a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object type: object callerIamCredentials: description: Caller IAM credentials-based authentication configuration. @@ -160,6 +236,82 @@ spec: description: ARN of the Oauth credential provider for OAuth authentication. type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object scopes: description: Set of OAuth scopes to request. items: @@ -818,6 +970,82 @@ spec: restApiId: description: ID of the API Gateway REST API to invoke. 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 stage: description: Stage name of the REST API to add as a target. @@ -1655,6 +1883,82 @@ spec: providerArn: description: ARN of the OIDC provider for API key authentication. type: string + providerArnRef: + description: Reference to a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a APIKeyCredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object type: object callerIamCredentials: description: Caller IAM credentials-based authentication configuration. @@ -1708,6 +2012,82 @@ spec: description: ARN of the Oauth credential provider for OAuth authentication. type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider in + bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object scopes: description: Set of OAuth scopes to request. items: @@ -2361,6 +2741,82 @@ spec: restApiId: description: ID of the API Gateway REST API to invoke. 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 stage: description: Stage name of the REST API to add as a target. diff --git a/package/crds/bedrockagentcore.aws.upbound.io_harnesses.yaml b/package/crds/bedrockagentcore.aws.upbound.io_harnesses.yaml new file mode 100644 index 0000000000..906ab43145 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_harnesses.yaml @@ -0,0 +1,4251 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: harnesses.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Harness + listKind: HarnessList + plural: harnesses + singular: harness + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Harness is the Schema for the Harnesss API. Manages an AWS Bedrock + AgentCore Harness. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: HarnessSpec defines the desired state of Harness + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeArnRef: + description: Reference to a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + agentRuntimeArnSelector: + description: Selector for a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in efs 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 efs 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 + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + 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 + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + environmentVariablesSecretRef: + description: Map of environment variables. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + 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 + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + arnRef: + description: Reference to a Memory in bedrockagentcore + 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 Memory in bedrockagentcore + 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 + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + strategyIdRef: + description: Reference to a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + strategyIdSelector: + description: Selector for a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + browserArnRef: + description: Reference to a Browser in bedrockagentcore + to populate browserArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + browserArnSelector: + description: Selector for a Browser in bedrockagentcore + to populate browserArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + codeInterpreterArnRef: + description: Reference to a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + codeInterpreterArnSelector: + description: Selector for a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + gatewayArnRef: + description: Reference to a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + gatewayArnSelector: + description: Selector for a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced + object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an + object with matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + inputSchemaSecretRef: + description: JSON string defining the input schema + for the function. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + description: Map of HTTP headers to include in requests + to the MCP server. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeArnRef: + description: Reference to a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + agentRuntimeArnSelector: + description: Selector for a AgentRuntime in bedrockagentcore + to populate agentRuntimeArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + accessPointArnRef: + description: Reference to a AccessPoint + in efs 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 efs 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 + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + 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 + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + environmentVariablesSecretRef: + additionalProperties: + type: string + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + 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 + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + arnRef: + description: Reference to a Memory in bedrockagentcore + 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 Memory in bedrockagentcore + 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 + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + strategyIdRef: + description: Reference to a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + strategyIdSelector: + description: Selector for a MemoryStrategy in bedrockagentcore + to populate strategyId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + apiKeyArnRef: + description: Reference to a Secret in secretsmanager to + populate apiKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + apiKeyArnSelector: + description: Selector for a Secret in secretsmanager to + populate apiKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - textSecretRef + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + browserArnRef: + description: Reference to a Browser in bedrockagentcore + to populate browserArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + browserArnSelector: + description: Selector for a Browser in bedrockagentcore + to populate browserArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + codeInterpreterArnRef: + description: Reference to a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + codeInterpreterArnSelector: + description: Selector for a CodeInterpreter in bedrockagentcore + to populate codeInterpreterArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + gatewayArnRef: + description: Reference to a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + gatewayArnSelector: + description: Selector for a Gateway in bedrockagentcore + to populate gatewayArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + providerArnRef: + description: Reference to a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + name: + description: Name of the referenced + object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerArnSelector: + description: Selector for a Oauth2CredentialProvider + in bedrockagentcore to populate providerArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an + object with matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + inputSchemaSecretRef: + description: JSON string defining the input schema + for the function. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - inputSchemaSecretRef + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + additionalProperties: + type: string + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - urlSecretRef + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.harnessName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.harnessName) + || (has(self.initProvider) && has(self.initProvider.harnessName))' + status: + description: HarnessStatus defines the observed state of Harness. + properties: + atProvider: + properties: + allowedTools: + description: List of tool names allowed for the harness. Use ["*"] + to allow all tools. + items: + type: string + type: array + arn: + description: ARN of the AgentCore memory resource. + type: string + authorizerConfiguration: + description: Authorization configuration for authenticating requests. + See authorizer_configuration below. + properties: + customJwtAuthorizer: + description: JWT-based authorization configuration block. + See custom_jwt_authorizer below. + properties: + allowedAudience: + description: Set of allowed audience values for JWT token + validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedClients: + description: Set of allowed client IDs for JWT token validation. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedScopes: + description: Set of scopes that are allowed to access + the token. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedWorkloadConfiguration: + description: Configuration restricting which workloads + may use this authorizer. See allowed_workload_configuration + below. + properties: + hostingEnvironment: + description: Hosting environments allowed to use the + authorizer. Between 1 and 10 entries. See hosting_environment + below. + items: + properties: + arn: + description: ARN of the hosting environment. + type: string + type: object + type: array + workloadIdentities: + description: List of workload identity names allowed + to use the authorizer. Between 1 and 10 entries. + items: + type: string + type: array + type: object + customClaim: + description: Repeatable block to define a custom claim + validation name, value, and operation. See custom_claim + below. + items: + properties: + authorizingClaimMatchValue: + description: Configuration block to define the value + or values to match for and the relationship of + the match. See authorizing_claim_match_value below. + properties: + claimMatchOperator: + description: Relationship between the claim + field value and the value or values to match + for. Valid values are EQUALS, CONTAINS, and + CONTAINS_ANY. EQUALS can be used only when + inbound_token_claim_value_type is STRING. + CONTAINS or CONTAINS_ANY can be used only + when inbound_token_claim_value_type is STRING_ARRAY. + type: string + claimMatchValue: + description: Value or values to match for. See + claim_match_value below. + properties: + matchValueString: + description: String value to match for. + Must be specified when claim_match_operator + is EQUALS or CONTAINS. Exactly one of + match_value_string or match_value_string_list + must be specified. + type: string + matchValueStringList: + description: List of strings to check for + a match. Must be specified when claim_match_operator + is CONTAINS_ANY. Exactly one of match_value_string + or match_value_string_list must be specified. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: object + inboundTokenClaimName: + description: Name of the custom claim field to check. + type: string + inboundTokenClaimValueType: + description: Data type of the claim value to check + for. Valid values are STRING and STRING_ARRAY. + type: string + type: object + type: array + discoveryUrl: + description: URL used to fetch OpenID Connect configuration + or authorization server metadata. Must end with .well-known/openid-configuration. + type: string + privateEndpoint: + description: Private endpoint used to reach the authorization + server. See private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. See + managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups for the + endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource configuration. + See self_managed_lattice_resource below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice resource + configuration. + type: string + type: object + type: object + privateEndpointOverrides: + description: Overrides for the private endpoints used + to reach the authorization server. See private_endpoint_overrides + below. + items: + properties: + domain: + description: Domain the override applies to. + type: string + privateEndpoint: + description: Private endpoint configuration. See + private_endpoint below. + properties: + managedVpcResource: + description: Managed VPC resource configuration. + See managed_vpc_resource below. + properties: + endpointIpAddressType: + description: IP address type for the endpoint. + Valid values are IPV4 and IPV6. + type: string + routingDomain: + description: Routing domain for the endpoint. + type: string + securityGroupIds: + description: IDs of the security groups + for the endpoint. + items: + type: string + type: array + x-kubernetes-list-type: set + subnetIds: + description: IDs of the subnets for the + endpoint. + 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 + vpcIdentifier: + description: Identifier of the VPC for the + endpoint. + type: string + type: object + selfManagedLatticeResource: + description: Self-managed VPC Lattice resource + configuration. See self_managed_lattice_resource + below. + properties: + resourceConfigurationIdentifier: + description: Identifier of the VPC Lattice + resource configuration. + type: string + type: object + type: object + type: object + type: array + type: object + type: object + environment: + description: Compute environment configuration. See environment + below. + properties: + agentcoreRuntimeEnvironment: + description: AgentCore runtime environment configuration. + See agentcore_runtime_environment below. + items: + properties: + agentRuntimeArn: + description: ARN of the AgentCore memory resource. + type: string + agentRuntimeId: + type: string + agentRuntimeName: + type: string + filesystemConfiguration: + description: Filesystem configurations. See filesystem_configuration + below. + items: + properties: + efsAccessPoint: + description: Amazon EFS access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See efs_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + s3FilesAccessPoint: + description: Amazon S3 Files access point to mount + as shared file storage. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See s3_files_access_point below. + items: + properties: + accessPointArn: + description: ARN of the Amazon S3 Files + access point to mount into the agent runtime. + type: string + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + sessionStorage: + description: Session storage filesystem providing + persistent storage across agent runtime session + invocations. Exactly one of session_storage, + s3_files_access_point, or efs_access_point must + be specified. See session_storage below. + items: + properties: + mountPath: + description: Mount path for the S3 Files + access point inside the agent runtime. + Must be under /mnt with exactly one subdirectory + level (for example, /mnt/data). + type: string + type: object + type: array + type: object + type: array + lifecycleConfiguration: + description: Lifecycle configuration. See lifecycle_configuration + below. + items: + properties: + idleRuntimeSessionTimeout: + description: Timeout in seconds for idle sessions. + type: number + maxLifetime: + description: Maximum lifetime of the instance + in seconds. + type: number + type: object + type: array + networkConfiguration: + description: Network configuration. See network_configuration + below. + items: + properties: + networkMode: + description: 'Network mode. Valid values: PUBLIC, + VPC.' + type: string + networkModeConfig: + description: VPC configuration. See network_mode_config + below. + items: + properties: + requireServiceS3Endpoint: + description: Whether to require an S3 endpoint + for the service in the VPC. + type: boolean + securityGroups: + description: Security groups for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + subnets: + description: Subnets for the VPC. + items: + type: string + type: array + x-kubernetes-list-type: set + type: object + type: array + type: object + type: array + type: object + type: array + type: object + environmentArtifact: + description: Environment artifact configuration. See environment_artifact + below. + properties: + containerConfiguration: + description: Container configuration. See container_configuration + below. + properties: + containerUri: + description: URI of the container image. + type: string + type: object + type: object + executionRoleArn: + description: ARN of the IAM role that the harness assumes to access + AWS services. + type: string + harnessId: + description: Unique identifier of the Harness. + type: string + harnessName: + description: Name of the harness. Must be 1-40 characters, alphanumeric + and underscores only. + type: string + id: + type: string + maxIterations: + description: Maximum number of iterations the agent loop can perform. + type: number + maxTokens: + description: Maximum number of tokens in the model response. + type: number + memory: + description: Memory configuration. See memory below. + properties: + agentcoreMemoryConfiguration: + description: AgentCore memory configuration. See agentcore_memory_configuration + below. + properties: + actorId: + description: Actor ID for memory sessions. + type: string + arn: + description: ARN of the hosting environment. + type: string + messagesCount: + description: Number of recent messages to keep in the + conversation window. + type: number + retrievalConfig: + description: Retrieval configuration parameters. See retrieval_config + below. + properties: + mapBlockKey: + description: Key for the retrieval configuration map + block. + type: string + relevanceScore: + description: Relevance score threshold. Valid value + is between 0 and 1. + type: number + strategyId: + description: ID of the memory strategy. + type: string + topK: + description: Top-k sampling parameter. + type: number + type: object + type: object + type: object + model: + description: Model configuration for the harness. See model below. + properties: + bedrockModelConfig: + description: Amazon Bedrock model configuration. See bedrock_model_config + below. + properties: + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + geminiModelConfig: + description: Gemini model configuration. See gemini_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topK: + description: Top-k sampling parameter. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + openaiModelConfig: + description: OpenAI model configuration. See openai_model_config + below. + properties: + apiKeyArn: + description: ARN of the secret containing the API key. + type: string + maxTokens: + description: Maximum number of tokens in the model response. + type: number + modelId: + description: Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). + type: string + temperature: + description: Temperature for sampling. Must be between + 0 and 2. + type: number + topP: + description: Top-p (nucleus) sampling parameter. Must + be between 0 and 1. + type: number + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + skill: + description: Skill configurations. See skill below. + items: + properties: + path: + description: Path to the skill. + type: string + type: object + type: array + systemPrompt: + description: System prompt blocks for the harness. See system_prompt + below. + items: + properties: + textSecretRef: + description: Text content of the system prompt. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + type: array + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: A map of tags assigned to the resource, including + those inherited from the provider default_tags configuration + block. + type: object + x-kubernetes-map-type: granular + timeoutSeconds: + description: Timeout in seconds for the harness execution. + type: number + tool: + description: Tool configurations. See tool below. + items: + properties: + config: + description: Tool-specific configuration. See tool config + below. + properties: + agentcoreBrowser: + description: AgentCore browser configuration. See agentcore_browser + below. + properties: + browserArn: + description: ARN of the AgentCore browser resource. + type: string + type: object + agentcoreCodeInterpreter: + description: AgentCore code interpreter configuration. + See agentcore_code_interpreter below. + properties: + codeInterpreterArn: + description: ARN of the AgentCore code interpreter + resource. + type: string + type: object + agentcoreGateway: + description: AgentCore gateway configuration. See agentcore_gateway + below. + properties: + gatewayArn: + description: ARN of the AgentCore gateway resource. + type: string + outboundAuth: + description: Outbound authentication configuration. + See outbound_auth below. + properties: + awsIam: + description: Set to true to use AWS IAM authentication. + type: boolean + none: + description: Set to true to disable authentication. + type: boolean + oauth: + description: OAuth credential provider configuration. + See oauth below. + properties: + customParameters: + additionalProperties: + type: string + description: Map of custom parameters. + type: object + x-kubernetes-map-type: granular + defaultReturnUrl: + description: Default return URL for OAuth + flow. + type: string + grantType: + description: OAuth grant type. + type: string + providerArn: + description: ARN of the OAuth credential + provider. + type: string + scopes: + description: List of OAuth scopes. + items: + type: string + type: array + type: object + type: object + type: object + inlineFunction: + description: Inline function configuration. See inline_function + below. + properties: + description: + description: Description of the inline function. + type: string + type: object + remoteMcp: + description: Remote MCP server configuration. See remote_mcp + below. + properties: + headersSecretRef: + description: Map of HTTP headers to include in requests + to the MCP server. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + urlSecretRef: + description: URL of the remote MCP server. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + type: object + name: + description: Name of the tool. + type: string + type: + description: 'Type of tool. Valid values: remote_mcp, agentcore_browser, + agentcore_gateway, inline_function, agentcore_code_interpreter.' + type: string + type: object + type: array + truncation: + description: Truncation configuration for conversation history. + See truncation below. + properties: + config: + description: Strategy-specific configuration. See truncation + config below. + items: + properties: + slidingWindow: + description: Sliding window truncation configuration. + See sliding_window below. + items: + properties: + messagesCount: + description: Number of recent messages to keep + in the conversation window. + type: number + type: object + type: array + summarization: + description: Summarization truncation configuration. + See summarization below. + items: + properties: + preserveRecentMessages: + description: Number of recent messages to preserve + without summarization. + type: number + summarizationSystemPrompt: + description: Custom system prompt for the summarization + model. + type: string + summaryRatio: + description: Ratio of the conversation to summarize + (0 to 1). + type: number + type: object + type: array + type: object + type: array + strategy: + description: 'Truncation strategy. Valid values: sliding_window, + summarization, none.' + type: string + type: object + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_memories.yaml b/package/crds/bedrockagentcore.aws.upbound.io_memories.yaml index 7133a8fd35..30ffb2793d 100644 --- a/package/crds/bedrockagentcore.aws.upbound.io_memories.yaml +++ b/package/crds/bedrockagentcore.aws.upbound.io_memories.yaml @@ -289,6 +289,82 @@ spec: dataStreamArn: description: ARN of the Kinesis Data Stream. type: string + dataStreamArnRef: + description: Reference to a Stream in kinesis to populate + dataStreamArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataStreamArnSelector: + description: Selector for a Stream in kinesis to populate + dataStreamArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object @@ -525,6 +601,82 @@ spec: dataStreamArn: description: ARN of the Kinesis Data Stream. type: string + dataStreamArnRef: + description: Reference to a Stream in kinesis to populate + dataStreamArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataStreamArnSelector: + description: Selector for a Stream in kinesis to populate + dataStreamArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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: object type: object diff --git a/package/crds/bedrockagentcore.aws.upbound.io_onlineevaluationconfigs.yaml b/package/crds/bedrockagentcore.aws.upbound.io_onlineevaluationconfigs.yaml new file mode 100644 index 0000000000..99a2a743e6 --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_onlineevaluationconfigs.yaml @@ -0,0 +1,1104 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: onlineevaluationconfigs.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: OnlineEvaluationConfig + listKind: OnlineEvaluationConfigList + plural: onlineevaluationconfigs + singular: onlineevaluationconfig + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: OnlineEvaluationConfig is the Schema for the OnlineEvaluationConfigs + API. Manages an AWS Bedrock AgentCore Online Evaluation Configuration. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: OnlineEvaluationConfigSpec defines the desired state of OnlineEvaluationConfig + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + logGroupNamesRefs: + description: References to Group in cloudwatchlogs to + populate logGroupNames. + 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 + logGroupNamesSelector: + description: Selector for a list of Group in cloudwatchlogs + to populate logGroupNames. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluationExecutionRoleArnRef: + description: Reference to a Role in iam to populate evaluationExecutionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluationExecutionRoleArnSelector: + description: Selector for a Role in iam to populate evaluationExecutionRoleArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + evaluatorIdRef: + description: Reference to a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluatorIdSelector: + description: Selector for a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + logGroupNamesRefs: + description: References to Group in cloudwatchlogs to + populate logGroupNames. + 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 + logGroupNamesSelector: + description: Selector for a list of Group in cloudwatchlogs + to populate logGroupNames. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluationExecutionRoleArnRef: + description: Reference to a Role in iam to populate evaluationExecutionRoleArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluationExecutionRoleArnSelector: + description: Selector for a Role in iam to populate evaluationExecutionRoleArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + evaluatorIdRef: + description: Reference to a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + evaluatorIdSelector: + description: Selector for a Evaluator in bedrockagentcore + to populate evaluatorId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching + labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding 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 + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.enableOnCreate is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.enableOnCreate) + || (has(self.initProvider) && has(self.initProvider.enableOnCreate))' + - message: spec.forProvider.onlineEvaluationConfigName is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.onlineEvaluationConfigName) + || (has(self.initProvider) && has(self.initProvider.onlineEvaluationConfigName))' + status: + description: OnlineEvaluationConfigStatus defines the observed state of + OnlineEvaluationConfig. + properties: + atProvider: + properties: + dataSourceConfig: + description: Data source configuration specifying where to read + agent traces. See data_source_config Block below. + properties: + cloudwatchLogs: + description: CloudWatch logs configuration for reading agent + traces. See cloudwatch_logs Block below. + properties: + logGroupNames: + description: List of CloudWatch log group names to monitor + for agent traces. Maximum 5. + items: + type: string + type: array + serviceNames: + description: List of service names to filter traces within + the specified log groups. + items: + type: string + type: array + type: object + type: object + description: + description: Description of the online evaluation configuration. + type: string + enableOnCreate: + description: Whether to enable the online evaluation configuration + immediately upon creation. + type: boolean + evaluationExecutionRoleArn: + description: ARN of the IAM role that grants permissions to read + from CloudWatch logs, write evaluation results, and invoke Amazon + Bedrock models for evaluation. + type: string + evaluator: + description: List of evaluators to apply during online evaluation. + Minimum 1, maximum 10. See evaluator Block below. + items: + properties: + evaluatorId: + description: Unique identifier of the evaluator. Can reference + builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) + or custom evaluator IDs. + type: string + type: object + type: array + executionStatus: + description: 'Execution status to enable or disable the online + evaluation. Valid values: ENABLED, DISABLED. Computed on create + based on enable_on_create.' + type: string + id: + type: string + onlineEvaluationConfigArn: + description: ARN of the online evaluation configuration. + type: string + onlineEvaluationConfigId: + description: Unique identifier of the online evaluation configuration. + type: string + onlineEvaluationConfigName: + description: Name of the online evaluation configuration. Must + start with a letter and contain only alphanumeric characters + and underscores, up to 48 characters. + type: string + outputConfig: + description: Configuration specifying where evaluation results + are written. See output_config Block below. + items: + properties: + cloudwatchConfig: + description: CloudWatch configuration for evaluation results. + See cloudwatch_config Block below. + items: + properties: + logGroupName: + description: Name of the CloudWatch log group where + evaluation results are written. + type: string + type: object + type: array + type: object + type: array + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + rule: + description: Evaluation rule defining sampling configuration, + filters, and session detection settings. See rule Block below. + properties: + filter: + description: List of filters determining which agent traces + to evaluate. Maximum 5. See filter Block below. + items: + properties: + key: + description: Key or field name to filter on within the + agent trace data. + type: string + operator: + description: 'Comparison operator. Valid values: Equals, + NotEquals, GreaterThan, LessThan, GreaterThanOrEqual, + LessThanOrEqual, Contains, NotContains.' + type: string + value: + description: Value to compare against. See value Block + below. + properties: + booleanValue: + description: Boolean value for true/false filtering. + type: boolean + doubleValue: + description: Numeric value for numerical filtering. + type: number + stringValue: + description: String value for text-based filtering. + type: string + type: object + type: object + type: array + samplingConfig: + description: Sampling configuration determining what percentage + of agent traces to evaluate. See sampling_config Block below. + properties: + samplingPercentage: + description: Percentage of agent traces to sample for + evaluation, from 0.01 to 100. + type: number + type: object + sessionConfig: + description: Session configuration defining timeout settings + for detecting when agent sessions are complete. See session_config + Block below. + properties: + sessionTimeoutMinutes: + description: Minutes of inactivity after which a session + is considered complete. Between 1 and 60. + type: number + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_policies.yaml b/package/crds/bedrockagentcore.aws.upbound.io_policies.yaml new file mode 100644 index 0000000000..241a4d572e --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_policies.yaml @@ -0,0 +1,504 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: policies.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Policy + listKind: PolicyList + plural: policies + singular: policy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Policy is the Schema for the Policys API. Manages an AWS Bedrock + AgentCore Policy. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: PolicySpec defines the desired state of Policy + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyEngineIdRef: + description: Reference to a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + policyEngineIdSelector: + description: Selector for a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyEngineIdRef: + description: Reference to a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + policyEngineIdSelector: + description: Selector for a PolicyEngine in bedrockagentcore to + populate policyEngineId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.name is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.name) + || (has(self.initProvider) && has(self.initProvider.name))' + status: + description: PolicyStatus defines the observed state of Policy. + properties: + atProvider: + properties: + definition: + description: Policy definition. See definition Block for details. + properties: + cedar: + description: Inline Cedar policy. See cedar Block for details. + properties: + statement: + description: Cedar policy statement. + type: string + type: object + type: object + description: + description: Description of the policy. + type: string + id: + type: string + name: + description: Name of the policy. Must be 1-48 characters and match + the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a + new resource to be created. + type: string + policyArn: + description: ARN of the Policy. + type: string + policyEngineId: + description: Identifier of the Policy Engine that owns this policy. + Changing this forces a new resource to be created. + type: string + policyId: + description: Identifier of the Policy. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + validationMode: + description: 'Controls whether validation findings cause policy + creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, + IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.' + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_policyengines.yaml b/package/crds/bedrockagentcore.aws.upbound.io_policyengines.yaml new file mode 100644 index 0000000000..a401227c3e --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_policyengines.yaml @@ -0,0 +1,477 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: policyengines.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: PolicyEngine + listKind: PolicyEngineList + plural: policyengines + singular: policyengine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: PolicyEngine is the Schema for the PolicyEngines API. Manages + an AWS Bedrock AgentCore Policy Engine. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: PolicyEngineSpec defines the desired state of PolicyEngine + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + encryptionKeyArnRef: + description: Reference to a Key in kms to populate encryptionKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + encryptionKeyArnSelector: + description: Selector for a Key in kms to populate encryptionKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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 engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + encryptionKeyArnRef: + description: Reference to a Key in kms to populate encryptionKeyArn. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + encryptionKeyArnSelector: + description: Selector for a Key in kms to populate encryptionKeyArn. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + 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 engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.name is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.name) + || (has(self.initProvider) && has(self.initProvider.name))' + status: + description: PolicyEngineStatus defines the observed state of PolicyEngine. + properties: + atProvider: + properties: + description: + description: Description of the policy engine. + type: string + encryptionKeyArn: + description: ARN of the KMS key used to encrypt the policy engine. + If not set, AWS uses an AWS managed key. + type: string + id: + type: string + name: + description: Name of the policy engine. Must start with a letter + and contain only letters, numbers, and underscores. Maximum + length of 48 characters. + type: string + policyEngineArn: + description: ARN of the Policy Engine. + type: string + policyEngineId: + description: Unique identifier of the Policy Engine. + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: Map of tags assigned to the resource, including those + inherited from the provider default_tags configuration block. + type: object + x-kubernetes-map-type: granular + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/bedrockagentcore.aws.upbound.io_resourcepolicies.yaml b/package/crds/bedrockagentcore.aws.upbound.io_resourcepolicies.yaml new file mode 100644 index 0000000000..64a06750ff --- /dev/null +++ b/package/crds/bedrockagentcore.aws.upbound.io_resourcepolicies.yaml @@ -0,0 +1,280 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.20.1 + name: resourcepolicies.bedrockagentcore.aws.upbound.io +spec: + group: bedrockagentcore.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: ResourcePolicy + listKind: ResourcePolicyList + plural: resourcepolicies + singular: resourcepolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: ResourcePolicy is the Schema for the ResourcePolicys API. Manages + an AWS Bedrock AgentCore Resource Policy. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: ResourcePolicySpec defines the desired state of ResourcePolicy + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + policy: + description: Resource policy definition + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + resourceArn: + description: Amazon Resource Name (ARN) of the resource for which + to create or update the resource policy. + type: string + required: + - region + - resourceArn + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + policy: + description: Resource policy definition + type: string + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.policy is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) + || (has(self.initProvider) && has(self.initProvider.policy))' + status: + description: ResourcePolicyStatus defines the observed state of ResourcePolicy. + properties: + atProvider: + properties: + id: + type: string + policy: + description: Resource policy definition + type: string + region: + description: |- + Region where this resource will be managed. Defaults to the Region set in the provider configuration. + Region is the region you'd like your resource to be created in. + type: string + resourceArn: + description: Amazon Resource Name (ARN) of the resource for which + to create or update the resource policy. + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {}