v1beta1

package
v0.44.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=grafana.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "grafana.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LicenseAssociation_Kind             = "LicenseAssociation"
	LicenseAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LicenseAssociation_Kind}.String()
	LicenseAssociation_KindAPIVersion   = LicenseAssociation_Kind + "." + CRDGroupVersion.String()
	LicenseAssociation_GroupVersionKind = CRDGroupVersion.WithKind(LicenseAssociation_Kind)
)

Repository type metadata.

View Source
var (
	RoleAssociation_Kind             = "RoleAssociation"
	RoleAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleAssociation_Kind}.String()
	RoleAssociation_KindAPIVersion   = RoleAssociation_Kind + "." + CRDGroupVersion.String()
	RoleAssociation_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssociation_Kind)
)

Repository type metadata.

View Source
var (
	Workspace_Kind             = "Workspace"
	Workspace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String()
	Workspace_KindAPIVersion   = Workspace_Kind + "." + CRDGroupVersion.String()
	Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind)
)

Repository type metadata.

View Source
var (
	WorkspaceAPIKey_Kind             = "WorkspaceAPIKey"
	WorkspaceAPIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceAPIKey_Kind}.String()
	WorkspaceAPIKey_KindAPIVersion   = WorkspaceAPIKey_Kind + "." + CRDGroupVersion.String()
	WorkspaceAPIKey_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceAPIKey_Kind)
)

Repository type metadata.

View Source
var (
	WorkspaceSAMLConfiguration_Kind             = "WorkspaceSAMLConfiguration"
	WorkspaceSAMLConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceSAMLConfiguration_Kind}.String()
	WorkspaceSAMLConfiguration_KindAPIVersion   = WorkspaceSAMLConfiguration_Kind + "." + CRDGroupVersion.String()
	WorkspaceSAMLConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceSAMLConfiguration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LicenseAssociation added in v0.24.0

type LicenseAssociation 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.licenseType) || (has(self.initProvider) && has(self.initProvider.licenseType))",message="spec.forProvider.licenseType is a required parameter"
	Spec   LicenseAssociationSpec   `json:"spec"`
	Status LicenseAssociationStatus `json:"status,omitempty"`
}

LicenseAssociation is the Schema for the LicenseAssociations API. Provides an Amazon Managed Grafana workspace license association resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LicenseAssociation) DeepCopy added in v0.24.0

func (in *LicenseAssociation) DeepCopy() *LicenseAssociation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociation.

func (*LicenseAssociation) DeepCopyInto added in v0.24.0

func (in *LicenseAssociation) DeepCopyInto(out *LicenseAssociation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LicenseAssociation) DeepCopyObject added in v0.24.0

func (in *LicenseAssociation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LicenseAssociation) GetCondition added in v0.24.0

func (mg *LicenseAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LicenseAssociation.

func (*LicenseAssociation) GetConnectionDetailsMapping added in v0.24.0

func (tr *LicenseAssociation) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LicenseAssociation

func (*LicenseAssociation) GetDeletionPolicy added in v0.24.0

func (mg *LicenseAssociation) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LicenseAssociation.

func (*LicenseAssociation) GetID added in v0.24.0

func (tr *LicenseAssociation) GetID() string

GetID returns ID of underlying Terraform resource of this LicenseAssociation

func (*LicenseAssociation) GetInitParameters added in v0.38.0

func (tr *LicenseAssociation) GetInitParameters() (map[string]any, error)

GetInitParameters of this LicenseAssociation

func (*LicenseAssociation) GetManagementPolicies added in v0.38.0

func (mg *LicenseAssociation) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this LicenseAssociation.

func (*LicenseAssociation) GetMergedParameters added in v0.44.0

func (tr *LicenseAssociation) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this LicenseAssociation

func (*LicenseAssociation) GetObservation added in v0.24.0

func (tr *LicenseAssociation) GetObservation() (map[string]any, error)

GetObservation of this LicenseAssociation

func (*LicenseAssociation) GetParameters added in v0.24.0

func (tr *LicenseAssociation) GetParameters() (map[string]any, error)

GetParameters of this LicenseAssociation

func (*LicenseAssociation) GetProviderConfigReference added in v0.24.0

func (mg *LicenseAssociation) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LicenseAssociation.

func (*LicenseAssociation) GetPublishConnectionDetailsTo added in v0.24.0

func (mg *LicenseAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LicenseAssociation.

func (*LicenseAssociation) GetTerraformResourceType added in v0.24.0

func (mg *LicenseAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LicenseAssociation

func (*LicenseAssociation) GetTerraformSchemaVersion added in v0.24.0

func (tr *LicenseAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LicenseAssociation) GetWriteConnectionSecretToReference added in v0.24.0

func (mg *LicenseAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LicenseAssociation.

func (*LicenseAssociation) LateInitialize added in v0.24.0

func (tr *LicenseAssociation) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LicenseAssociation using its observed tfState. returns True if there are any spec changes for the resource.

func (*LicenseAssociation) ResolveReferences added in v0.24.0

func (mg *LicenseAssociation) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this LicenseAssociation.

func (*LicenseAssociation) SetConditions added in v0.24.0

func (mg *LicenseAssociation) SetConditions(c ...xpv1.Condition)

SetConditions of this LicenseAssociation.

func (*LicenseAssociation) SetDeletionPolicy added in v0.24.0

func (mg *LicenseAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LicenseAssociation.

func (*LicenseAssociation) SetManagementPolicies added in v0.38.0

func (mg *LicenseAssociation) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this LicenseAssociation.

func (*LicenseAssociation) SetObservation added in v0.24.0

func (tr *LicenseAssociation) SetObservation(obs map[string]any) error

SetObservation for this LicenseAssociation

func (*LicenseAssociation) SetParameters added in v0.24.0

func (tr *LicenseAssociation) SetParameters(params map[string]any) error

SetParameters for this LicenseAssociation

func (*LicenseAssociation) SetProviderConfigReference added in v0.24.0

func (mg *LicenseAssociation) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LicenseAssociation.

func (*LicenseAssociation) SetPublishConnectionDetailsTo added in v0.24.0

func (mg *LicenseAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LicenseAssociation.

func (*LicenseAssociation) SetWriteConnectionSecretToReference added in v0.24.0

func (mg *LicenseAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LicenseAssociation.

type LicenseAssociationInitParameters added in v0.38.0

type LicenseAssociationInitParameters struct {

	// The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`
}

func (*LicenseAssociationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationInitParameters.

func (*LicenseAssociationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LicenseAssociationList added in v0.24.0

type LicenseAssociationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LicenseAssociation `json:"items"`
}

LicenseAssociationList contains a list of LicenseAssociations

func (*LicenseAssociationList) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationList.

func (*LicenseAssociationList) DeepCopyInto added in v0.24.0

func (in *LicenseAssociationList) DeepCopyInto(out *LicenseAssociationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LicenseAssociationList) DeepCopyObject added in v0.24.0

func (in *LicenseAssociationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LicenseAssociationList) GetItems added in v0.24.0

func (l *LicenseAssociationList) GetItems() []resource.Managed

GetItems of this LicenseAssociationList.

type LicenseAssociationObservation added in v0.24.0

type LicenseAssociationObservation struct {

	// If license_type is set to ENTERPRISE_FREE_TRIAL, this is the expiration date of the free trial.
	FreeTrialExpiration *string `json:"freeTrialExpiration,omitempty" tf:"free_trial_expiration,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// If license_type is set to ENTERPRISE, this is the expiration date of the enterprise license.
	LicenseExpiration *string `json:"licenseExpiration,omitempty" tf:"license_expiration,omitempty"`

	// The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// The workspace id.
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*LicenseAssociationObservation) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationObservation.

func (*LicenseAssociationObservation) DeepCopyInto added in v0.24.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LicenseAssociationParameters added in v0.24.0

type LicenseAssociationParameters struct {

	// The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL.
	// +kubebuilder:validation:Optional
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The workspace id.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/grafana/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in grafana to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in grafana to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*LicenseAssociationParameters) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationParameters.

func (*LicenseAssociationParameters) DeepCopyInto added in v0.24.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LicenseAssociationSpec added in v0.24.0

type LicenseAssociationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LicenseAssociationParameters `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 LicenseAssociationInitParameters `json:"initProvider,omitempty"`
}

LicenseAssociationSpec defines the desired state of LicenseAssociation

func (*LicenseAssociationSpec) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationSpec.

func (*LicenseAssociationSpec) DeepCopyInto added in v0.24.0

func (in *LicenseAssociationSpec) DeepCopyInto(out *LicenseAssociationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LicenseAssociationStatus added in v0.24.0

type LicenseAssociationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LicenseAssociationObservation `json:"atProvider,omitempty"`
}

LicenseAssociationStatus defines the observed state of LicenseAssociation.

func (*LicenseAssociationStatus) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseAssociationStatus.

func (*LicenseAssociationStatus) DeepCopyInto added in v0.24.0

func (in *LicenseAssociationStatus) DeepCopyInto(out *LicenseAssociationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAccessControlInitParameters added in v0.38.0

type NetworkAccessControlInitParameters struct {

	// - An array of prefix list IDs.
	PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids,omitempty"`

	// - An array of Amazon VPC endpoint IDs for the workspace. The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace service endpoint). Other VPC endpoints will be ignored.
	VpceIds []*string `json:"vpceIds,omitempty" tf:"vpce_ids,omitempty"`
}

func (*NetworkAccessControlInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAccessControlInitParameters.

func (*NetworkAccessControlInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAccessControlObservation added in v0.35.0

type NetworkAccessControlObservation struct {

	// - An array of prefix list IDs.
	PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids,omitempty"`

	// - An array of Amazon VPC endpoint IDs for the workspace. The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace service endpoint). Other VPC endpoints will be ignored.
	VpceIds []*string `json:"vpceIds,omitempty" tf:"vpce_ids,omitempty"`
}

func (*NetworkAccessControlObservation) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAccessControlObservation.

func (*NetworkAccessControlObservation) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAccessControlParameters added in v0.35.0

type NetworkAccessControlParameters struct {

	// - An array of prefix list IDs.
	// +kubebuilder:validation:Optional
	PrefixListIds []*string `json:"prefixListIds" tf:"prefix_list_ids,omitempty"`

	// - An array of Amazon VPC endpoint IDs for the workspace. The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace service endpoint). Other VPC endpoints will be ignored.
	// +kubebuilder:validation:Optional
	VpceIds []*string `json:"vpceIds" tf:"vpce_ids,omitempty"`
}

func (*NetworkAccessControlParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAccessControlParameters.

func (*NetworkAccessControlParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleAssociation

type RoleAssociation 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.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter"
	Spec   RoleAssociationSpec   `json:"spec"`
	Status RoleAssociationStatus `json:"status,omitempty"`
}

RoleAssociation is the Schema for the RoleAssociations API. Provides an Amazon Managed Grafana workspace role association resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*RoleAssociation) DeepCopy

func (in *RoleAssociation) DeepCopy() *RoleAssociation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociation.

func (*RoleAssociation) DeepCopyInto

func (in *RoleAssociation) DeepCopyInto(out *RoleAssociation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleAssociation) DeepCopyObject

func (in *RoleAssociation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleAssociation) GetCondition

func (mg *RoleAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this RoleAssociation.

func (*RoleAssociation) GetConnectionDetailsMapping

func (tr *RoleAssociation) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this RoleAssociation

func (*RoleAssociation) GetDeletionPolicy

func (mg *RoleAssociation) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this RoleAssociation.

func (*RoleAssociation) GetID

func (tr *RoleAssociation) GetID() string

GetID returns ID of underlying Terraform resource of this RoleAssociation

func (*RoleAssociation) GetInitParameters added in v0.38.0

func (tr *RoleAssociation) GetInitParameters() (map[string]any, error)

GetInitParameters of this RoleAssociation

func (*RoleAssociation) GetManagementPolicies added in v0.38.0

func (mg *RoleAssociation) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this RoleAssociation.

func (*RoleAssociation) GetMergedParameters added in v0.44.0

func (tr *RoleAssociation) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this RoleAssociation

func (*RoleAssociation) GetObservation

func (tr *RoleAssociation) GetObservation() (map[string]any, error)

GetObservation of this RoleAssociation

func (*RoleAssociation) GetParameters

func (tr *RoleAssociation) GetParameters() (map[string]any, error)

GetParameters of this RoleAssociation

func (*RoleAssociation) GetProviderConfigReference

func (mg *RoleAssociation) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this RoleAssociation.

func (*RoleAssociation) GetPublishConnectionDetailsTo

func (mg *RoleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this RoleAssociation.

func (*RoleAssociation) GetTerraformResourceType

func (mg *RoleAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleAssociation

func (*RoleAssociation) GetTerraformSchemaVersion

func (tr *RoleAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleAssociation) GetWriteConnectionSecretToReference

func (mg *RoleAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this RoleAssociation.

func (*RoleAssociation) LateInitialize

func (tr *RoleAssociation) LateInitialize(attrs []byte) (bool, error)

LateInitialize this RoleAssociation using its observed tfState. returns True if there are any spec changes for the resource.

func (*RoleAssociation) ResolveReferences

func (mg *RoleAssociation) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this RoleAssociation.

func (*RoleAssociation) SetConditions

func (mg *RoleAssociation) SetConditions(c ...xpv1.Condition)

SetConditions of this RoleAssociation.

func (*RoleAssociation) SetDeletionPolicy

func (mg *RoleAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this RoleAssociation.

func (*RoleAssociation) SetManagementPolicies added in v0.38.0

func (mg *RoleAssociation) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this RoleAssociation.

func (*RoleAssociation) SetObservation

func (tr *RoleAssociation) SetObservation(obs map[string]any) error

SetObservation for this RoleAssociation

func (*RoleAssociation) SetParameters

func (tr *RoleAssociation) SetParameters(params map[string]any) error

SetParameters for this RoleAssociation

func (*RoleAssociation) SetProviderConfigReference

func (mg *RoleAssociation) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this RoleAssociation.

func (*RoleAssociation) SetPublishConnectionDetailsTo

func (mg *RoleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this RoleAssociation.

func (*RoleAssociation) SetWriteConnectionSecretToReference

func (mg *RoleAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this RoleAssociation.

type RoleAssociationInitParameters added in v0.38.0

type RoleAssociationInitParameters struct {

	// The AWS SSO group ids to be assigned the role given in role.
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	// The grafana role. Valid values can be found here.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The AWS SSO user ids to be assigned the role given in role.
	UserIds []*string `json:"userIds,omitempty" tf:"user_ids,omitempty"`
}

func (*RoleAssociationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationInitParameters.

func (*RoleAssociationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleAssociationList

type RoleAssociationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RoleAssociation `json:"items"`
}

RoleAssociationList contains a list of RoleAssociations

func (*RoleAssociationList) DeepCopy

func (in *RoleAssociationList) DeepCopy() *RoleAssociationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationList.

func (*RoleAssociationList) DeepCopyInto

func (in *RoleAssociationList) DeepCopyInto(out *RoleAssociationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleAssociationList) DeepCopyObject

func (in *RoleAssociationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleAssociationList) GetItems

func (l *RoleAssociationList) GetItems() []resource.Managed

GetItems of this RoleAssociationList.

type RoleAssociationObservation

type RoleAssociationObservation struct {

	// The AWS SSO group ids to be assigned the role given in role.
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The grafana role. Valid values can be found here.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The AWS SSO user ids to be assigned the role given in role.
	UserIds []*string `json:"userIds,omitempty" tf:"user_ids,omitempty"`

	// The workspace id.
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*RoleAssociationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationObservation.

func (*RoleAssociationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleAssociationParameters

type RoleAssociationParameters struct {

	// The AWS SSO group ids to be assigned the role given in role.
	// +kubebuilder:validation:Optional
	GroupIds []*string `json:"groupIds,omitempty" tf:"group_ids,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The grafana role. Valid values can be found here.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The AWS SSO user ids to be assigned the role given in role.
	// +kubebuilder:validation:Optional
	UserIds []*string `json:"userIds,omitempty" tf:"user_ids,omitempty"`

	// The workspace id.
	// +crossplane:generate:reference:type=Workspace
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*RoleAssociationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationParameters.

func (*RoleAssociationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleAssociationSpec

type RoleAssociationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleAssociationParameters `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 RoleAssociationInitParameters `json:"initProvider,omitempty"`
}

RoleAssociationSpec defines the desired state of RoleAssociation

func (*RoleAssociationSpec) DeepCopy

func (in *RoleAssociationSpec) DeepCopy() *RoleAssociationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationSpec.

func (*RoleAssociationSpec) DeepCopyInto

func (in *RoleAssociationSpec) DeepCopyInto(out *RoleAssociationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleAssociationStatus

type RoleAssociationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        RoleAssociationObservation `json:"atProvider,omitempty"`
}

RoleAssociationStatus defines the observed state of RoleAssociation.

func (*RoleAssociationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssociationStatus.

func (*RoleAssociationStatus) DeepCopyInto

func (in *RoleAssociationStatus) DeepCopyInto(out *RoleAssociationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCConfigurationInitParameters added in v0.38.0

type VPCConfigurationInitParameters struct {

	// - The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// - The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}

func (*VPCConfigurationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationInitParameters.

func (*VPCConfigurationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCConfigurationObservation added in v0.29.0

type VPCConfigurationObservation struct {

	// - The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// - The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}

func (*VPCConfigurationObservation) DeepCopy added in v0.29.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationObservation.

func (*VPCConfigurationObservation) DeepCopyInto added in v0.29.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCConfigurationParameters added in v0.29.0

type VPCConfigurationParameters struct {

	// - The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds" tf:"security_group_ids,omitempty"`

	// - The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"`
}

func (*VPCConfigurationParameters) DeepCopy added in v0.29.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationParameters.

func (*VPCConfigurationParameters) DeepCopyInto added in v0.29.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workspace

type Workspace 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.accountAccessType) || (has(self.initProvider) && has(self.initProvider.accountAccessType))",message="spec.forProvider.accountAccessType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationProviders) || (has(self.initProvider) && has(self.initProvider.authenticationProviders))",message="spec.forProvider.authenticationProviders is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissionType) || (has(self.initProvider) && has(self.initProvider.permissionType))",message="spec.forProvider.permissionType is a required parameter"
	Spec   WorkspaceSpec   `json:"spec"`
	Status WorkspaceStatus `json:"status,omitempty"`
}

Workspace is the Schema for the Workspaces API. Provides an Amazon Managed Grafana workspace resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workspace) GetCondition

func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Workspace.

func (*Workspace) GetConnectionDetailsMapping

func (tr *Workspace) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Workspace

func (*Workspace) GetDeletionPolicy

func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Workspace.

func (*Workspace) GetID

func (tr *Workspace) GetID() string

GetID returns ID of underlying Terraform resource of this Workspace

func (*Workspace) GetInitParameters added in v0.38.0

func (tr *Workspace) GetInitParameters() (map[string]any, error)

GetInitParameters of this Workspace

func (*Workspace) GetManagementPolicies added in v0.38.0

func (mg *Workspace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Workspace.

func (*Workspace) GetMergedParameters added in v0.44.0

func (tr *Workspace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Workspace

func (*Workspace) GetObservation

func (tr *Workspace) GetObservation() (map[string]any, error)

GetObservation of this Workspace

func (*Workspace) GetParameters

func (tr *Workspace) GetParameters() (map[string]any, error)

GetParameters of this Workspace

func (*Workspace) GetProviderConfigReference

func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Workspace.

func (*Workspace) GetPublishConnectionDetailsTo

func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) GetTerraformResourceType

func (mg *Workspace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workspace

func (*Workspace) GetTerraformSchemaVersion

func (tr *Workspace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workspace) GetWriteConnectionSecretToReference

func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Workspace.

func (*Workspace) LateInitialize

func (tr *Workspace) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Workspace using its observed tfState. returns True if there are any spec changes for the resource.

func (*Workspace) ResolveReferences

func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Workspace.

func (*Workspace) SetConditions

func (mg *Workspace) SetConditions(c ...xpv1.Condition)

SetConditions of this Workspace.

func (*Workspace) SetDeletionPolicy

func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Workspace.

func (*Workspace) SetManagementPolicies added in v0.38.0

func (mg *Workspace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Workspace.

func (*Workspace) SetObservation

func (tr *Workspace) SetObservation(obs map[string]any) error

SetObservation for this Workspace

func (*Workspace) SetParameters

func (tr *Workspace) SetParameters(params map[string]any) error

SetParameters for this Workspace

func (*Workspace) SetProviderConfigReference

func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Workspace.

func (*Workspace) SetPublishConnectionDetailsTo

func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) SetWriteConnectionSecretToReference

func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Workspace.

type WorkspaceAPIKey added in v0.31.0

type WorkspaceAPIKey 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.keyName) || (has(self.initProvider) && has(self.initProvider.keyName))",message="spec.forProvider.keyName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyRole) || (has(self.initProvider) && has(self.initProvider.keyRole))",message="spec.forProvider.keyRole is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secondsToLive) || (has(self.initProvider) && has(self.initProvider.secondsToLive))",message="spec.forProvider.secondsToLive is a required parameter"
	Spec   WorkspaceAPIKeySpec   `json:"spec"`
	Status WorkspaceAPIKeyStatus `json:"status,omitempty"`
}

WorkspaceAPIKey is the Schema for the WorkspaceAPIKeys API. Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*WorkspaceAPIKey) DeepCopy added in v0.31.0

func (in *WorkspaceAPIKey) DeepCopy() *WorkspaceAPIKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKey.

func (*WorkspaceAPIKey) DeepCopyInto added in v0.31.0

func (in *WorkspaceAPIKey) DeepCopyInto(out *WorkspaceAPIKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceAPIKey) DeepCopyObject added in v0.31.0

func (in *WorkspaceAPIKey) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceAPIKey) GetCondition added in v0.31.0

func (mg *WorkspaceAPIKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) GetConnectionDetailsMapping added in v0.31.0

func (tr *WorkspaceAPIKey) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetDeletionPolicy added in v0.31.0

func (mg *WorkspaceAPIKey) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) GetID added in v0.31.0

func (tr *WorkspaceAPIKey) GetID() string

GetID returns ID of underlying Terraform resource of this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetInitParameters added in v0.38.0

func (tr *WorkspaceAPIKey) GetInitParameters() (map[string]any, error)

GetInitParameters of this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetManagementPolicies added in v0.38.0

func (mg *WorkspaceAPIKey) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) GetMergedParameters added in v0.44.0

func (tr *WorkspaceAPIKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetObservation added in v0.31.0

func (tr *WorkspaceAPIKey) GetObservation() (map[string]any, error)

GetObservation of this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetParameters added in v0.31.0

func (tr *WorkspaceAPIKey) GetParameters() (map[string]any, error)

GetParameters of this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetProviderConfigReference added in v0.31.0

func (mg *WorkspaceAPIKey) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) GetPublishConnectionDetailsTo added in v0.31.0

func (mg *WorkspaceAPIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) GetTerraformResourceType added in v0.31.0

func (mg *WorkspaceAPIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this WorkspaceAPIKey

func (*WorkspaceAPIKey) GetTerraformSchemaVersion added in v0.31.0

func (tr *WorkspaceAPIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*WorkspaceAPIKey) GetWriteConnectionSecretToReference added in v0.31.0

func (mg *WorkspaceAPIKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) LateInitialize added in v0.31.0

func (tr *WorkspaceAPIKey) LateInitialize(attrs []byte) (bool, error)

LateInitialize this WorkspaceAPIKey using its observed tfState. returns True if there are any spec changes for the resource.

func (*WorkspaceAPIKey) ResolveReferences added in v0.31.0

func (mg *WorkspaceAPIKey) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetConditions added in v0.31.0

func (mg *WorkspaceAPIKey) SetConditions(c ...xpv1.Condition)

SetConditions of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetDeletionPolicy added in v0.31.0

func (mg *WorkspaceAPIKey) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetManagementPolicies added in v0.38.0

func (mg *WorkspaceAPIKey) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetObservation added in v0.31.0

func (tr *WorkspaceAPIKey) SetObservation(obs map[string]any) error

SetObservation for this WorkspaceAPIKey

func (*WorkspaceAPIKey) SetParameters added in v0.31.0

func (tr *WorkspaceAPIKey) SetParameters(params map[string]any) error

SetParameters for this WorkspaceAPIKey

func (*WorkspaceAPIKey) SetProviderConfigReference added in v0.31.0

func (mg *WorkspaceAPIKey) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetPublishConnectionDetailsTo added in v0.31.0

func (mg *WorkspaceAPIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this WorkspaceAPIKey.

func (*WorkspaceAPIKey) SetWriteConnectionSecretToReference added in v0.31.0

func (mg *WorkspaceAPIKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this WorkspaceAPIKey.

type WorkspaceAPIKeyInitParameters added in v0.38.0

type WorkspaceAPIKeyInitParameters struct {

	// Specifies the name of the API key. Key names must be unique to the workspace.
	KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`

	// Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN.
	KeyRole *string `json:"keyRole,omitempty" tf:"key_role,omitempty"`

	// Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
	SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"`
}

func (*WorkspaceAPIKeyInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyInitParameters.

func (*WorkspaceAPIKeyInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceAPIKeyList added in v0.31.0

type WorkspaceAPIKeyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WorkspaceAPIKey `json:"items"`
}

WorkspaceAPIKeyList contains a list of WorkspaceAPIKeys

func (*WorkspaceAPIKeyList) DeepCopy added in v0.31.0

func (in *WorkspaceAPIKeyList) DeepCopy() *WorkspaceAPIKeyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyList.

func (*WorkspaceAPIKeyList) DeepCopyInto added in v0.31.0

func (in *WorkspaceAPIKeyList) DeepCopyInto(out *WorkspaceAPIKeyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceAPIKeyList) DeepCopyObject added in v0.31.0

func (in *WorkspaceAPIKeyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceAPIKeyList) GetItems added in v0.31.0

func (l *WorkspaceAPIKeyList) GetItems() []resource.Managed

GetItems of this WorkspaceAPIKeyList.

type WorkspaceAPIKeyObservation added in v0.31.0

type WorkspaceAPIKeyObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The key token in JSON format. Use this value as a bearer token to authenticate HTTP requests to the workspace.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Specifies the name of the API key. Key names must be unique to the workspace.
	KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`

	// Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN.
	KeyRole *string `json:"keyRole,omitempty" tf:"key_role,omitempty"`

	// Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
	SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"`

	// The ID of the workspace that the API key is valid for.
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*WorkspaceAPIKeyObservation) DeepCopy added in v0.31.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyObservation.

func (*WorkspaceAPIKeyObservation) DeepCopyInto added in v0.31.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceAPIKeyParameters added in v0.31.0

type WorkspaceAPIKeyParameters struct {

	// Specifies the name of the API key. Key names must be unique to the workspace.
	// +kubebuilder:validation:Optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`

	// Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN.
	// +kubebuilder:validation:Optional
	KeyRole *string `json:"keyRole,omitempty" tf:"key_role,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
	// +kubebuilder:validation:Optional
	SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"`

	// The ID of the workspace that the API key is valid for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/grafana/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in grafana to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in grafana to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*WorkspaceAPIKeyParameters) DeepCopy added in v0.31.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyParameters.

func (*WorkspaceAPIKeyParameters) DeepCopyInto added in v0.31.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceAPIKeySpec added in v0.31.0

type WorkspaceAPIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkspaceAPIKeyParameters `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 WorkspaceAPIKeyInitParameters `json:"initProvider,omitempty"`
}

WorkspaceAPIKeySpec defines the desired state of WorkspaceAPIKey

func (*WorkspaceAPIKeySpec) DeepCopy added in v0.31.0

func (in *WorkspaceAPIKeySpec) DeepCopy() *WorkspaceAPIKeySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeySpec.

func (*WorkspaceAPIKeySpec) DeepCopyInto added in v0.31.0

func (in *WorkspaceAPIKeySpec) DeepCopyInto(out *WorkspaceAPIKeySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceAPIKeyStatus added in v0.31.0

type WorkspaceAPIKeyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkspaceAPIKeyObservation `json:"atProvider,omitempty"`
}

WorkspaceAPIKeyStatus defines the observed state of WorkspaceAPIKey.

func (*WorkspaceAPIKeyStatus) DeepCopy added in v0.31.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceAPIKeyStatus.

func (*WorkspaceAPIKeyStatus) DeepCopyInto added in v0.31.0

func (in *WorkspaceAPIKeyStatus) DeepCopyInto(out *WorkspaceAPIKeyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceInitParameters added in v0.38.0

type WorkspaceInitParameters struct {

	// The type of account access for the workspace. Valid values are CURRENT_ACCOUNT and ORGANIZATION. If ORGANIZATION is specified, then organizational_units must also be present.
	AccountAccessType *string `json:"accountAccessType,omitempty" tf:"account_access_type,omitempty"`

	// The authentication providers for the workspace. Valid values are AWS_SSO, SAML, or both.
	AuthenticationProviders []*string `json:"authenticationProviders,omitempty" tf:"authentication_providers,omitempty"`

	// The configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace.
	Configuration *string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The data sources for the workspace. Valid values are AMAZON_OPENSEARCH_SERVICE, ATHENA, CLOUDWATCH, PROMETHEUS, REDSHIFT, SITEWISE, TIMESTREAM, XRAY
	DataSources []*string `json:"dataSources,omitempty" tf:"data_sources,omitempty"`

	// The workspace description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the version of Grafana to support in the new workspace. Supported values are 8.4 and 9.4. If not specified, defaults to 8.4. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official migration tool.
	GrafanaVersion *string `json:"grafanaVersion,omitempty" tf:"grafana_version,omitempty"`

	// The Grafana workspace name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration for network access to your workspace.See Network Access Control below.
	NetworkAccessControl []NetworkAccessControlInitParameters `json:"networkAccessControl,omitempty" tf:"network_access_control,omitempty"`

	// The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to SNS.
	NotificationDestinations []*string `json:"notificationDestinations,omitempty" tf:"notification_destinations,omitempty"`

	// The role name that the workspace uses to access resources through Amazon Organizations.
	OrganizationRoleName *string `json:"organizationRoleName,omitempty" tf:"organization_role_name,omitempty"`

	// The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
	OrganizationalUnits []*string `json:"organizationalUnits,omitempty" tf:"organizational_units,omitempty"`

	// The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created.
	PermissionType *string `json:"permissionType,omitempty" tf:"permission_type,omitempty"`

	// The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
	StackSetName *string `json:"stackSetName,omitempty" tf:"stack_set_name,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. See VPC Configuration below.
	VPCConfiguration []VPCConfigurationInitParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*WorkspaceInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceInitParameters.

func (*WorkspaceInitParameters) DeepCopyInto added in v0.38.0

func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceList

type WorkspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workspace `json:"items"`
}

WorkspaceList contains a list of Workspaces

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceList) DeepCopyObject

func (in *WorkspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceList) GetItems

func (l *WorkspaceList) GetItems() []resource.Managed

GetItems of this WorkspaceList.

type WorkspaceObservation

type WorkspaceObservation struct {

	// The type of account access for the workspace. Valid values are CURRENT_ACCOUNT and ORGANIZATION. If ORGANIZATION is specified, then organizational_units must also be present.
	AccountAccessType *string `json:"accountAccessType,omitempty" tf:"account_access_type,omitempty"`

	// The Amazon Resource Name (ARN) of the Grafana workspace.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The authentication providers for the workspace. Valid values are AWS_SSO, SAML, or both.
	AuthenticationProviders []*string `json:"authenticationProviders,omitempty" tf:"authentication_providers,omitempty"`

	// The configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace.
	Configuration *string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The data sources for the workspace. Valid values are AMAZON_OPENSEARCH_SERVICE, ATHENA, CLOUDWATCH, PROMETHEUS, REDSHIFT, SITEWISE, TIMESTREAM, XRAY
	DataSources []*string `json:"dataSources,omitempty" tf:"data_sources,omitempty"`

	// The workspace description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The endpoint of the Grafana workspace.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the version of Grafana to support in the new workspace. Supported values are 8.4 and 9.4. If not specified, defaults to 8.4. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official migration tool.
	GrafanaVersion *string `json:"grafanaVersion,omitempty" tf:"grafana_version,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Grafana workspace name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration for network access to your workspace.See Network Access Control below.
	NetworkAccessControl []NetworkAccessControlObservation `json:"networkAccessControl,omitempty" tf:"network_access_control,omitempty"`

	// The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to SNS.
	NotificationDestinations []*string `json:"notificationDestinations,omitempty" tf:"notification_destinations,omitempty"`

	// The role name that the workspace uses to access resources through Amazon Organizations.
	OrganizationRoleName *string `json:"organizationRoleName,omitempty" tf:"organization_role_name,omitempty"`

	// The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
	OrganizationalUnits []*string `json:"organizationalUnits,omitempty" tf:"organizational_units,omitempty"`

	// The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created.
	PermissionType *string `json:"permissionType,omitempty" tf:"permission_type,omitempty"`

	// The IAM role ARN that the workspace assumes.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	SAMLConfigurationStatus *string `json:"samlConfigurationStatus,omitempty" tf:"saml_configuration_status,omitempty"`

	// The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
	StackSetName *string `json:"stackSetName,omitempty" tf:"stack_set_name,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. See VPC Configuration below.
	VPCConfiguration []VPCConfigurationObservation `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*WorkspaceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation.

func (*WorkspaceObservation) DeepCopyInto

func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceParameters

type WorkspaceParameters struct {

	// The type of account access for the workspace. Valid values are CURRENT_ACCOUNT and ORGANIZATION. If ORGANIZATION is specified, then organizational_units must also be present.
	// +kubebuilder:validation:Optional
	AccountAccessType *string `json:"accountAccessType,omitempty" tf:"account_access_type,omitempty"`

	// The authentication providers for the workspace. Valid values are AWS_SSO, SAML, or both.
	// +kubebuilder:validation:Optional
	AuthenticationProviders []*string `json:"authenticationProviders,omitempty" tf:"authentication_providers,omitempty"`

	// The configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace.
	// +kubebuilder:validation:Optional
	Configuration *string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The data sources for the workspace. Valid values are AMAZON_OPENSEARCH_SERVICE, ATHENA, CLOUDWATCH, PROMETHEUS, REDSHIFT, SITEWISE, TIMESTREAM, XRAY
	// +kubebuilder:validation:Optional
	DataSources []*string `json:"dataSources,omitempty" tf:"data_sources,omitempty"`

	// The workspace description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the version of Grafana to support in the new workspace. Supported values are 8.4 and 9.4. If not specified, defaults to 8.4. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official migration tool.
	// +kubebuilder:validation:Optional
	GrafanaVersion *string `json:"grafanaVersion,omitempty" tf:"grafana_version,omitempty"`

	// The Grafana workspace name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration for network access to your workspace.See Network Access Control below.
	// +kubebuilder:validation:Optional
	NetworkAccessControl []NetworkAccessControlParameters `json:"networkAccessControl,omitempty" tf:"network_access_control,omitempty"`

	// The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to SNS.
	// +kubebuilder:validation:Optional
	NotificationDestinations []*string `json:"notificationDestinations,omitempty" tf:"notification_destinations,omitempty"`

	// The role name that the workspace uses to access resources through Amazon Organizations.
	// +kubebuilder:validation:Optional
	OrganizationRoleName *string `json:"organizationRoleName,omitempty" tf:"organization_role_name,omitempty"`

	// The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
	// +kubebuilder:validation:Optional
	OrganizationalUnits []*string `json:"organizationalUnits,omitempty" tf:"organizational_units,omitempty"`

	// The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created.
	// +kubebuilder:validation:Optional
	PermissionType *string `json:"permissionType,omitempty" tf:"permission_type,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The IAM role ARN that the workspace assumes.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
	// +kubebuilder:validation:Optional
	StackSetName *string `json:"stackSetName,omitempty" tf:"stack_set_name,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. See VPC Configuration below.
	// +kubebuilder:validation:Optional
	VPCConfiguration []VPCConfigurationParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*WorkspaceParameters) DeepCopy

func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters.

func (*WorkspaceParameters) DeepCopyInto

func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSAMLConfiguration

type WorkspaceSAMLConfiguration 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.editorRoleValues) || (has(self.initProvider) && has(self.initProvider.editorRoleValues))",message="spec.forProvider.editorRoleValues is a required parameter"
	Spec   WorkspaceSAMLConfigurationSpec   `json:"spec"`
	Status WorkspaceSAMLConfigurationStatus `json:"status,omitempty"`
}

WorkspaceSAMLConfiguration is the Schema for the WorkspaceSAMLConfigurations API. Provides an Amazon Managed Grafana workspace SAML configuration resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*WorkspaceSAMLConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceSAMLConfiguration) DeepCopyObject

func (in *WorkspaceSAMLConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceSAMLConfiguration) GetCondition

GetCondition of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) GetConnectionDetailsMapping

func (tr *WorkspaceSAMLConfiguration) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetDeletionPolicy

func (mg *WorkspaceSAMLConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) GetID

func (tr *WorkspaceSAMLConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetInitParameters added in v0.38.0

func (tr *WorkspaceSAMLConfiguration) GetInitParameters() (map[string]any, error)

GetInitParameters of this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetManagementPolicies added in v0.38.0

func (mg *WorkspaceSAMLConfiguration) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) GetMergedParameters added in v0.44.0

func (tr *WorkspaceSAMLConfiguration) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetObservation

func (tr *WorkspaceSAMLConfiguration) GetObservation() (map[string]any, error)

GetObservation of this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetParameters

func (tr *WorkspaceSAMLConfiguration) GetParameters() (map[string]any, error)

GetParameters of this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetProviderConfigReference

func (mg *WorkspaceSAMLConfiguration) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) GetPublishConnectionDetailsTo

func (mg *WorkspaceSAMLConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) GetTerraformResourceType

func (mg *WorkspaceSAMLConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) GetTerraformSchemaVersion

func (tr *WorkspaceSAMLConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*WorkspaceSAMLConfiguration) GetWriteConnectionSecretToReference

func (mg *WorkspaceSAMLConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) LateInitialize

func (tr *WorkspaceSAMLConfiguration) LateInitialize(attrs []byte) (bool, error)

LateInitialize this WorkspaceSAMLConfiguration using its observed tfState. returns True if there are any spec changes for the resource.

func (*WorkspaceSAMLConfiguration) ResolveReferences

func (mg *WorkspaceSAMLConfiguration) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetConditions

func (mg *WorkspaceSAMLConfiguration) SetConditions(c ...xpv1.Condition)

SetConditions of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetDeletionPolicy

func (mg *WorkspaceSAMLConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetManagementPolicies added in v0.38.0

func (mg *WorkspaceSAMLConfiguration) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetObservation

func (tr *WorkspaceSAMLConfiguration) SetObservation(obs map[string]any) error

SetObservation for this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) SetParameters

func (tr *WorkspaceSAMLConfiguration) SetParameters(params map[string]any) error

SetParameters for this WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfiguration) SetProviderConfigReference

func (mg *WorkspaceSAMLConfiguration) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetPublishConnectionDetailsTo

func (mg *WorkspaceSAMLConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfiguration) SetWriteConnectionSecretToReference

func (mg *WorkspaceSAMLConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this WorkspaceSAMLConfiguration.

type WorkspaceSAMLConfigurationInitParameters added in v0.38.0

type WorkspaceSAMLConfigurationInitParameters struct {

	// The admin role values.
	AdminRoleValues []*string `json:"adminRoleValues,omitempty" tf:"admin_role_values,omitempty"`

	// The allowed organizations.
	AllowedOrganizations []*string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"`

	// The editor role values.
	EditorRoleValues []*string `json:"editorRoleValues,omitempty" tf:"editor_role_values,omitempty"`

	// The email assertion.
	EmailAssertion *string `json:"emailAssertion,omitempty" tf:"email_assertion,omitempty"`

	// The groups assertion.
	GroupsAssertion *string `json:"groupsAssertion,omitempty" tf:"groups_assertion,omitempty"`

	// The IDP Metadata URL. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	IdpMetadataURL *string `json:"idpMetadataUrl,omitempty" tf:"idp_metadata_url,omitempty"`

	// The IDP Metadata XML. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	IdpMetadataXML *string `json:"idpMetadataXml,omitempty" tf:"idp_metadata_xml,omitempty"`

	// The login assertion.
	LoginAssertion *string `json:"loginAssertion,omitempty" tf:"login_assertion,omitempty"`

	// The login validity duration.
	LoginValidityDuration *float64 `json:"loginValidityDuration,omitempty" tf:"login_validity_duration,omitempty"`

	// The name assertion.
	NameAssertion *string `json:"nameAssertion,omitempty" tf:"name_assertion,omitempty"`

	// The org assertion.
	OrgAssertion *string `json:"orgAssertion,omitempty" tf:"org_assertion,omitempty"`

	// The role assertion.
	RoleAssertion *string `json:"roleAssertion,omitempty" tf:"role_assertion,omitempty"`
}

func (*WorkspaceSAMLConfigurationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationInitParameters.

func (*WorkspaceSAMLConfigurationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSAMLConfigurationList

type WorkspaceSAMLConfigurationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WorkspaceSAMLConfiguration `json:"items"`
}

WorkspaceSAMLConfigurationList contains a list of WorkspaceSAMLConfigurations

func (*WorkspaceSAMLConfigurationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationList.

func (*WorkspaceSAMLConfigurationList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceSAMLConfigurationList) DeepCopyObject

func (in *WorkspaceSAMLConfigurationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceSAMLConfigurationList) GetItems

GetItems of this WorkspaceSAMLConfigurationList.

type WorkspaceSAMLConfigurationObservation

type WorkspaceSAMLConfigurationObservation struct {

	// The admin role values.
	AdminRoleValues []*string `json:"adminRoleValues,omitempty" tf:"admin_role_values,omitempty"`

	// The allowed organizations.
	AllowedOrganizations []*string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"`

	// The editor role values.
	EditorRoleValues []*string `json:"editorRoleValues,omitempty" tf:"editor_role_values,omitempty"`

	// The email assertion.
	EmailAssertion *string `json:"emailAssertion,omitempty" tf:"email_assertion,omitempty"`

	// The groups assertion.
	GroupsAssertion *string `json:"groupsAssertion,omitempty" tf:"groups_assertion,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The IDP Metadata URL. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	IdpMetadataURL *string `json:"idpMetadataUrl,omitempty" tf:"idp_metadata_url,omitempty"`

	// The IDP Metadata XML. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	IdpMetadataXML *string `json:"idpMetadataXml,omitempty" tf:"idp_metadata_xml,omitempty"`

	// The login assertion.
	LoginAssertion *string `json:"loginAssertion,omitempty" tf:"login_assertion,omitempty"`

	// The login validity duration.
	LoginValidityDuration *float64 `json:"loginValidityDuration,omitempty" tf:"login_validity_duration,omitempty"`

	// The name assertion.
	NameAssertion *string `json:"nameAssertion,omitempty" tf:"name_assertion,omitempty"`

	// The org assertion.
	OrgAssertion *string `json:"orgAssertion,omitempty" tf:"org_assertion,omitempty"`

	// The role assertion.
	RoleAssertion *string `json:"roleAssertion,omitempty" tf:"role_assertion,omitempty"`

	// The status of the SAML configuration.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The workspace id.
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*WorkspaceSAMLConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationObservation.

func (*WorkspaceSAMLConfigurationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSAMLConfigurationParameters

type WorkspaceSAMLConfigurationParameters struct {

	// The admin role values.
	// +kubebuilder:validation:Optional
	AdminRoleValues []*string `json:"adminRoleValues,omitempty" tf:"admin_role_values,omitempty"`

	// The allowed organizations.
	// +kubebuilder:validation:Optional
	AllowedOrganizations []*string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"`

	// The editor role values.
	// +kubebuilder:validation:Optional
	EditorRoleValues []*string `json:"editorRoleValues,omitempty" tf:"editor_role_values,omitempty"`

	// The email assertion.
	// +kubebuilder:validation:Optional
	EmailAssertion *string `json:"emailAssertion,omitempty" tf:"email_assertion,omitempty"`

	// The groups assertion.
	// +kubebuilder:validation:Optional
	GroupsAssertion *string `json:"groupsAssertion,omitempty" tf:"groups_assertion,omitempty"`

	// The IDP Metadata URL. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	// +kubebuilder:validation:Optional
	IdpMetadataURL *string `json:"idpMetadataUrl,omitempty" tf:"idp_metadata_url,omitempty"`

	// The IDP Metadata XML. Note that either idp_metadata_url or idp_metadata_xml (but not both) must be specified.
	// +kubebuilder:validation:Optional
	IdpMetadataXML *string `json:"idpMetadataXml,omitempty" tf:"idp_metadata_xml,omitempty"`

	// The login assertion.
	// +kubebuilder:validation:Optional
	LoginAssertion *string `json:"loginAssertion,omitempty" tf:"login_assertion,omitempty"`

	// The login validity duration.
	// +kubebuilder:validation:Optional
	LoginValidityDuration *float64 `json:"loginValidityDuration,omitempty" tf:"login_validity_duration,omitempty"`

	// The name assertion.
	// +kubebuilder:validation:Optional
	NameAssertion *string `json:"nameAssertion,omitempty" tf:"name_assertion,omitempty"`

	// The org assertion.
	// +kubebuilder:validation:Optional
	OrgAssertion *string `json:"orgAssertion,omitempty" tf:"org_assertion,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The role assertion.
	// +kubebuilder:validation:Optional
	RoleAssertion *string `json:"roleAssertion,omitempty" tf:"role_assertion,omitempty"`

	// The workspace id.
	// +crossplane:generate:reference:type=Workspace
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*WorkspaceSAMLConfigurationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationParameters.

func (*WorkspaceSAMLConfigurationParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSAMLConfigurationSpec

type WorkspaceSAMLConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkspaceSAMLConfigurationParameters `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 WorkspaceSAMLConfigurationInitParameters `json:"initProvider,omitempty"`
}

WorkspaceSAMLConfigurationSpec defines the desired state of WorkspaceSAMLConfiguration

func (*WorkspaceSAMLConfigurationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationSpec.

func (*WorkspaceSAMLConfigurationSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSAMLConfigurationStatus

type WorkspaceSAMLConfigurationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkspaceSAMLConfigurationObservation `json:"atProvider,omitempty"`
}

WorkspaceSAMLConfigurationStatus defines the observed state of WorkspaceSAMLConfiguration.

func (*WorkspaceSAMLConfigurationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSAMLConfigurationStatus.

func (*WorkspaceSAMLConfigurationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpec

type WorkspaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkspaceParameters `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 WorkspaceInitParameters `json:"initProvider,omitempty"`
}

WorkspaceSpec defines the desired state of Workspace

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceStatus

type WorkspaceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkspaceObservation `json:"atProvider,omitempty"`
}

WorkspaceStatus defines the observed state of Workspace.

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL