v1beta1

package
v0.40.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "sns.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 (
	PlatformApplication_Kind             = "PlatformApplication"
	PlatformApplication_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PlatformApplication_Kind}.String()
	PlatformApplication_KindAPIVersion   = PlatformApplication_Kind + "." + CRDGroupVersion.String()
	PlatformApplication_GroupVersionKind = CRDGroupVersion.WithKind(PlatformApplication_Kind)
)

Repository type metadata.

View Source
var (
	SMSPreferences_Kind             = "SMSPreferences"
	SMSPreferences_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SMSPreferences_Kind}.String()
	SMSPreferences_KindAPIVersion   = SMSPreferences_Kind + "." + CRDGroupVersion.String()
	SMSPreferences_GroupVersionKind = CRDGroupVersion.WithKind(SMSPreferences_Kind)
)

Repository type metadata.

View Source
var (
	Topic_Kind             = "Topic"
	Topic_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Topic_Kind}.String()
	Topic_KindAPIVersion   = Topic_Kind + "." + CRDGroupVersion.String()
	Topic_GroupVersionKind = CRDGroupVersion.WithKind(Topic_Kind)
)

Repository type metadata.

View Source
var (
	TopicPolicy_Kind             = "TopicPolicy"
	TopicPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TopicPolicy_Kind}.String()
	TopicPolicy_KindAPIVersion   = TopicPolicy_Kind + "." + CRDGroupVersion.String()
	TopicPolicy_GroupVersionKind = CRDGroupVersion.WithKind(TopicPolicy_Kind)
)

Repository type metadata.

View Source
var (
	TopicSubscription_Kind             = "TopicSubscription"
	TopicSubscription_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TopicSubscription_Kind}.String()
	TopicSubscription_KindAPIVersion   = TopicSubscription_Kind + "." + CRDGroupVersion.String()
	TopicSubscription_GroupVersionKind = CRDGroupVersion.WithKind(TopicSubscription_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PlatformApplication added in v0.24.0

type PlatformApplication 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.platform) || has(self.initProvider.platform)",message="platform is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformCredentialSecretRef)",message="platformCredentialSecretRef is a required parameter"
	Spec   PlatformApplicationSpec   `json:"spec"`
	Status PlatformApplicationStatus `json:"status,omitempty"`
}

PlatformApplication is the Schema for the PlatformApplications API. Provides an SNS platform application 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 (*PlatformApplication) DeepCopy added in v0.24.0

func (in *PlatformApplication) DeepCopy() *PlatformApplication

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

func (*PlatformApplication) DeepCopyInto added in v0.24.0

func (in *PlatformApplication) DeepCopyInto(out *PlatformApplication)

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

func (*PlatformApplication) DeepCopyObject added in v0.24.0

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

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

func (*PlatformApplication) GetCondition added in v0.24.0

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

GetCondition of this PlatformApplication.

func (*PlatformApplication) GetConnectionDetailsMapping added in v0.24.0

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

GetConnectionDetailsMapping for this PlatformApplication

func (*PlatformApplication) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this PlatformApplication.

func (*PlatformApplication) GetID added in v0.24.0

func (tr *PlatformApplication) GetID() string

GetID returns ID of underlying Terraform resource of this PlatformApplication

func (*PlatformApplication) GetInitParameters added in v0.38.0

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

GetInitParameters of this PlatformApplication

func (*PlatformApplication) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this PlatformApplication.

func (*PlatformApplication) GetObservation added in v0.24.0

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

GetObservation of this PlatformApplication

func (*PlatformApplication) GetParameters added in v0.24.0

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

GetParameters of this PlatformApplication

func (*PlatformApplication) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this PlatformApplication.

func (*PlatformApplication) GetProviderReference added in v0.24.0

func (mg *PlatformApplication) GetProviderReference() *xpv1.Reference

GetProviderReference of this PlatformApplication. Deprecated: Use GetProviderConfigReference.

func (*PlatformApplication) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this PlatformApplication.

func (*PlatformApplication) GetTerraformResourceType added in v0.24.0

func (mg *PlatformApplication) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PlatformApplication

func (*PlatformApplication) GetTerraformSchemaVersion added in v0.24.0

func (tr *PlatformApplication) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PlatformApplication) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this PlatformApplication.

func (*PlatformApplication) LateInitialize added in v0.24.0

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

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

func (*PlatformApplication) ResolveReferences added in v0.24.0

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

ResolveReferences of this PlatformApplication.

func (*PlatformApplication) SetConditions added in v0.24.0

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

SetConditions of this PlatformApplication.

func (*PlatformApplication) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this PlatformApplication.

func (*PlatformApplication) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this PlatformApplication.

func (*PlatformApplication) SetObservation added in v0.24.0

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

SetObservation for this PlatformApplication

func (*PlatformApplication) SetParameters added in v0.24.0

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

SetParameters for this PlatformApplication

func (*PlatformApplication) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this PlatformApplication.

func (*PlatformApplication) SetProviderReference added in v0.24.0

func (mg *PlatformApplication) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this PlatformApplication. Deprecated: Use SetProviderConfigReference.

func (*PlatformApplication) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this PlatformApplication.

func (*PlatformApplication) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this PlatformApplication.

type PlatformApplicationInitParameters added in v0.38.0

type PlatformApplicationInitParameters struct {

	// The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).
	ApplePlatformBundleID *string `json:"applePlatformBundleId,omitempty" tf:"apple_platform_bundle_id,omitempty"`

	// The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.
	ApplePlatformTeamID *string `json:"applePlatformTeamId,omitempty" tf:"apple_platform_team_id,omitempty"`

	// The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.
	EventDeliveryFailureTopicArn *string `json:"eventDeliveryFailureTopicArn,omitempty" tf:"event_delivery_failure_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.
	EventEndpointCreatedTopicArn *string `json:"eventEndpointCreatedTopicArn,omitempty" tf:"event_endpoint_created_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.
	EventEndpointDeletedTopicArn *string `json:"eventEndpointDeletedTopicArn,omitempty" tf:"event_endpoint_deleted_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.
	EventEndpointUpdatedTopicArn *string `json:"eventEndpointUpdatedTopicArn,omitempty" tf:"event_endpoint_updated_topic_arn,omitempty"`

	// The platform that the app is registered with. See Platform for supported platforms.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// The sample rate percentage (0-100) of successfully delivered messages.
	SuccessFeedbackSampleRate *string `json:"successFeedbackSampleRate,omitempty" tf:"success_feedback_sample_rate,omitempty"`
}

func (*PlatformApplicationInitParameters) DeepCopy added in v0.38.0

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

func (*PlatformApplicationInitParameters) DeepCopyInto added in v0.38.0

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

type PlatformApplicationList added in v0.24.0

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

PlatformApplicationList contains a list of PlatformApplications

func (*PlatformApplicationList) DeepCopy added in v0.24.0

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

func (*PlatformApplicationList) DeepCopyInto added in v0.24.0

func (in *PlatformApplicationList) DeepCopyInto(out *PlatformApplicationList)

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

func (*PlatformApplicationList) DeepCopyObject added in v0.24.0

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

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

func (*PlatformApplicationList) GetItems added in v0.24.0

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

GetItems of this PlatformApplicationList.

type PlatformApplicationObservation added in v0.24.0

type PlatformApplicationObservation struct {

	// The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).
	ApplePlatformBundleID *string `json:"applePlatformBundleId,omitempty" tf:"apple_platform_bundle_id,omitempty"`

	// The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.
	ApplePlatformTeamID *string `json:"applePlatformTeamId,omitempty" tf:"apple_platform_team_id,omitempty"`

	// The ARN of the SNS platform application
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.
	EventDeliveryFailureTopicArn *string `json:"eventDeliveryFailureTopicArn,omitempty" tf:"event_delivery_failure_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.
	EventEndpointCreatedTopicArn *string `json:"eventEndpointCreatedTopicArn,omitempty" tf:"event_endpoint_created_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.
	EventEndpointDeletedTopicArn *string `json:"eventEndpointDeletedTopicArn,omitempty" tf:"event_endpoint_deleted_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.
	EventEndpointUpdatedTopicArn *string `json:"eventEndpointUpdatedTopicArn,omitempty" tf:"event_endpoint_updated_topic_arn,omitempty"`

	// The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.
	FailureFeedbackRoleArn *string `json:"failureFeedbackRoleArn,omitempty" tf:"failure_feedback_role_arn,omitempty"`

	// The ARN of the SNS platform application
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The platform that the app is registered with. See Platform for supported platforms.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.
	SuccessFeedbackRoleArn *string `json:"successFeedbackRoleArn,omitempty" tf:"success_feedback_role_arn,omitempty"`

	// The sample rate percentage (0-100) of successfully delivered messages.
	SuccessFeedbackSampleRate *string `json:"successFeedbackSampleRate,omitempty" tf:"success_feedback_sample_rate,omitempty"`
}

func (*PlatformApplicationObservation) DeepCopy added in v0.24.0

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

func (*PlatformApplicationObservation) DeepCopyInto added in v0.24.0

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

type PlatformApplicationParameters added in v0.24.0

type PlatformApplicationParameters struct {

	// The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).
	// +kubebuilder:validation:Optional
	ApplePlatformBundleID *string `json:"applePlatformBundleId,omitempty" tf:"apple_platform_bundle_id,omitempty"`

	// The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.
	// +kubebuilder:validation:Optional
	ApplePlatformTeamID *string `json:"applePlatformTeamId,omitempty" tf:"apple_platform_team_id,omitempty"`

	// The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.
	// +kubebuilder:validation:Optional
	EventDeliveryFailureTopicArn *string `json:"eventDeliveryFailureTopicArn,omitempty" tf:"event_delivery_failure_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.
	// +kubebuilder:validation:Optional
	EventEndpointCreatedTopicArn *string `json:"eventEndpointCreatedTopicArn,omitempty" tf:"event_endpoint_created_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.
	// +kubebuilder:validation:Optional
	EventEndpointDeletedTopicArn *string `json:"eventEndpointDeletedTopicArn,omitempty" tf:"event_endpoint_deleted_topic_arn,omitempty"`

	// The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.
	// +kubebuilder:validation:Optional
	EventEndpointUpdatedTopicArn *string `json:"eventEndpointUpdatedTopicArn,omitempty" tf:"event_endpoint_updated_topic_arn,omitempty"`

	// The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	FailureFeedbackRoleArn *string `json:"failureFeedbackRoleArn,omitempty" tf:"failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate failureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	FailureFeedbackRoleArnRef *v1.Reference `json:"failureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The platform that the app is registered with. See Platform for supported platforms.
	// +kubebuilder:validation:Optional
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// Application Platform credential. See Credential for type of credential required for platform.
	// +kubebuilder:validation:Optional
	PlatformCredentialSecretRef v1.SecretKeySelector `json:"platformCredentialSecretRef" tf:"-"`

	// Application Platform principal. See Principal for type of principal required for platform.
	// +kubebuilder:validation:Optional
	PlatformPrincipalSecretRef *v1.SecretKeySelector `json:"platformPrincipalSecretRef,omitempty" tf:"-"`

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

	// The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SuccessFeedbackRoleArn *string `json:"successFeedbackRoleArn,omitempty" tf:"success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate successFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	SuccessFeedbackRoleArnRef *v1.Reference `json:"successFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The sample rate percentage (0-100) of successfully delivered messages.
	// +kubebuilder:validation:Optional
	SuccessFeedbackSampleRate *string `json:"successFeedbackSampleRate,omitempty" tf:"success_feedback_sample_rate,omitempty"`
}

func (*PlatformApplicationParameters) DeepCopy added in v0.24.0

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

func (*PlatformApplicationParameters) DeepCopyInto added in v0.24.0

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

type PlatformApplicationSpec added in v0.24.0

type PlatformApplicationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PlatformApplicationParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider PlatformApplicationInitParameters `json:"initProvider,omitempty"`
}

PlatformApplicationSpec defines the desired state of PlatformApplication

func (*PlatformApplicationSpec) DeepCopy added in v0.24.0

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

func (*PlatformApplicationSpec) DeepCopyInto added in v0.24.0

func (in *PlatformApplicationSpec) DeepCopyInto(out *PlatformApplicationSpec)

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

type PlatformApplicationStatus added in v0.24.0

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

PlatformApplicationStatus defines the observed state of PlatformApplication.

func (*PlatformApplicationStatus) DeepCopy added in v0.24.0

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

func (*PlatformApplicationStatus) DeepCopyInto added in v0.24.0

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

type SMSPreferences added in v0.24.0

type SMSPreferences struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SMSPreferencesSpec   `json:"spec"`
	Status            SMSPreferencesStatus `json:"status,omitempty"`
}

SMSPreferences is the Schema for the SMSPreferencess API. Provides a way to set SNS SMS preferences. +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 (*SMSPreferences) DeepCopy added in v0.24.0

func (in *SMSPreferences) DeepCopy() *SMSPreferences

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

func (*SMSPreferences) DeepCopyInto added in v0.24.0

func (in *SMSPreferences) DeepCopyInto(out *SMSPreferences)

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

func (*SMSPreferences) DeepCopyObject added in v0.24.0

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

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

func (*SMSPreferences) GetCondition added in v0.24.0

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

GetCondition of this SMSPreferences.

func (*SMSPreferences) GetConnectionDetailsMapping added in v0.24.0

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

GetConnectionDetailsMapping for this SMSPreferences

func (*SMSPreferences) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this SMSPreferences.

func (*SMSPreferences) GetID added in v0.24.0

func (tr *SMSPreferences) GetID() string

GetID returns ID of underlying Terraform resource of this SMSPreferences

func (*SMSPreferences) GetInitParameters added in v0.38.0

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

GetInitParameters of this SMSPreferences

func (*SMSPreferences) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this SMSPreferences.

func (*SMSPreferences) GetObservation added in v0.24.0

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

GetObservation of this SMSPreferences

func (*SMSPreferences) GetParameters added in v0.24.0

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

GetParameters of this SMSPreferences

func (*SMSPreferences) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this SMSPreferences.

func (*SMSPreferences) GetProviderReference added in v0.24.0

func (mg *SMSPreferences) GetProviderReference() *xpv1.Reference

GetProviderReference of this SMSPreferences. Deprecated: Use GetProviderConfigReference.

func (*SMSPreferences) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this SMSPreferences.

func (*SMSPreferences) GetTerraformResourceType added in v0.24.0

func (mg *SMSPreferences) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SMSPreferences

func (*SMSPreferences) GetTerraformSchemaVersion added in v0.24.0

func (tr *SMSPreferences) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SMSPreferences) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this SMSPreferences.

func (*SMSPreferences) LateInitialize added in v0.24.0

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

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

func (*SMSPreferences) ResolveReferences added in v0.24.0

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

ResolveReferences of this SMSPreferences.

func (*SMSPreferences) SetConditions added in v0.24.0

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

SetConditions of this SMSPreferences.

func (*SMSPreferences) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this SMSPreferences.

func (*SMSPreferences) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this SMSPreferences.

func (*SMSPreferences) SetObservation added in v0.24.0

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

SetObservation for this SMSPreferences

func (*SMSPreferences) SetParameters added in v0.24.0

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

SetParameters for this SMSPreferences

func (*SMSPreferences) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this SMSPreferences.

func (*SMSPreferences) SetProviderReference added in v0.24.0

func (mg *SMSPreferences) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SMSPreferences. Deprecated: Use SetProviderConfigReference.

func (*SMSPreferences) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this SMSPreferences.

func (*SMSPreferences) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this SMSPreferences.

type SMSPreferencesInitParameters added in v0.38.0

type SMSPreferencesInitParameters struct {

	// The type of SMS message that you will send by default. Possible values are: Promotional, Transactional
	DefaultSMSType *string `json:"defaultSmsType,omitempty" tf:"default_sms_type,omitempty"`

	// A string, such as your business brand, that is displayed as the sender on the receiving device.
	DefaultSenderID *string `json:"defaultSenderId,omitempty" tf:"default_sender_id,omitempty"`

	// The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100.
	DeliveryStatusSuccessSamplingRate *string `json:"deliveryStatusSuccessSamplingRate,omitempty" tf:"delivery_status_success_sampling_rate,omitempty"`

	// The maximum amount in USD that you are willing to spend each month to send SMS messages.
	MonthlySpendLimit *float64 `json:"monthlySpendLimit,omitempty" tf:"monthly_spend_limit,omitempty"`

	// The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS.
	UsageReportS3Bucket *string `json:"usageReportS3Bucket,omitempty" tf:"usage_report_s3_bucket,omitempty"`
}

func (*SMSPreferencesInitParameters) DeepCopy added in v0.38.0

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

func (*SMSPreferencesInitParameters) DeepCopyInto added in v0.38.0

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

type SMSPreferencesList added in v0.24.0

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

SMSPreferencesList contains a list of SMSPreferencess

func (*SMSPreferencesList) DeepCopy added in v0.24.0

func (in *SMSPreferencesList) DeepCopy() *SMSPreferencesList

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

func (*SMSPreferencesList) DeepCopyInto added in v0.24.0

func (in *SMSPreferencesList) DeepCopyInto(out *SMSPreferencesList)

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

func (*SMSPreferencesList) DeepCopyObject added in v0.24.0

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

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

func (*SMSPreferencesList) GetItems added in v0.24.0

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

GetItems of this SMSPreferencesList.

type SMSPreferencesObservation added in v0.24.0

type SMSPreferencesObservation struct {

	// The type of SMS message that you will send by default. Possible values are: Promotional, Transactional
	DefaultSMSType *string `json:"defaultSmsType,omitempty" tf:"default_sms_type,omitempty"`

	// A string, such as your business brand, that is displayed as the sender on the receiving device.
	DefaultSenderID *string `json:"defaultSenderId,omitempty" tf:"default_sender_id,omitempty"`

	// The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs.
	DeliveryStatusIAMRoleArn *string `json:"deliveryStatusIamRoleArn,omitempty" tf:"delivery_status_iam_role_arn,omitempty"`

	// The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100.
	DeliveryStatusSuccessSamplingRate *string `json:"deliveryStatusSuccessSamplingRate,omitempty" tf:"delivery_status_success_sampling_rate,omitempty"`

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

	// The maximum amount in USD that you are willing to spend each month to send SMS messages.
	MonthlySpendLimit *float64 `json:"monthlySpendLimit,omitempty" tf:"monthly_spend_limit,omitempty"`

	// The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS.
	UsageReportS3Bucket *string `json:"usageReportS3Bucket,omitempty" tf:"usage_report_s3_bucket,omitempty"`
}

func (*SMSPreferencesObservation) DeepCopy added in v0.24.0

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

func (*SMSPreferencesObservation) DeepCopyInto added in v0.24.0

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

type SMSPreferencesParameters added in v0.24.0

type SMSPreferencesParameters struct {

	// The type of SMS message that you will send by default. Possible values are: Promotional, Transactional
	// +kubebuilder:validation:Optional
	DefaultSMSType *string `json:"defaultSmsType,omitempty" tf:"default_sms_type,omitempty"`

	// A string, such as your business brand, that is displayed as the sender on the receiving device.
	// +kubebuilder:validation:Optional
	DefaultSenderID *string `json:"defaultSenderId,omitempty" tf:"default_sender_id,omitempty"`

	// The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	DeliveryStatusIAMRoleArn *string `json:"deliveryStatusIamRoleArn,omitempty" tf:"delivery_status_iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate deliveryStatusIamRoleArn.
	// +kubebuilder:validation:Optional
	DeliveryStatusIAMRoleArnRef *v1.Reference `json:"deliveryStatusIamRoleArnRef,omitempty" tf:"-"`

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

	// The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100.
	// +kubebuilder:validation:Optional
	DeliveryStatusSuccessSamplingRate *string `json:"deliveryStatusSuccessSamplingRate,omitempty" tf:"delivery_status_success_sampling_rate,omitempty"`

	// The maximum amount in USD that you are willing to spend each month to send SMS messages.
	// +kubebuilder:validation:Optional
	MonthlySpendLimit *float64 `json:"monthlySpendLimit,omitempty" tf:"monthly_spend_limit,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 name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS.
	// +kubebuilder:validation:Optional
	UsageReportS3Bucket *string `json:"usageReportS3Bucket,omitempty" tf:"usage_report_s3_bucket,omitempty"`
}

func (*SMSPreferencesParameters) DeepCopy added in v0.24.0

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

func (*SMSPreferencesParameters) DeepCopyInto added in v0.24.0

func (in *SMSPreferencesParameters) DeepCopyInto(out *SMSPreferencesParameters)

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

type SMSPreferencesSpec added in v0.24.0

type SMSPreferencesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SMSPreferencesParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SMSPreferencesInitParameters `json:"initProvider,omitempty"`
}

SMSPreferencesSpec defines the desired state of SMSPreferences

func (*SMSPreferencesSpec) DeepCopy added in v0.24.0

func (in *SMSPreferencesSpec) DeepCopy() *SMSPreferencesSpec

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

func (*SMSPreferencesSpec) DeepCopyInto added in v0.24.0

func (in *SMSPreferencesSpec) DeepCopyInto(out *SMSPreferencesSpec)

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

type SMSPreferencesStatus added in v0.24.0

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

SMSPreferencesStatus defines the observed state of SMSPreferences.

func (*SMSPreferencesStatus) DeepCopy added in v0.24.0

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

func (*SMSPreferencesStatus) DeepCopyInto added in v0.24.0

func (in *SMSPreferencesStatus) DeepCopyInto(out *SMSPreferencesStatus)

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

type Topic

type Topic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TopicSpec   `json:"spec"`
	Status            TopicStatus `json:"status,omitempty"`
}

Topic is the Schema for the Topics API. Provides an SNS topic 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 (*Topic) DeepCopy

func (in *Topic) DeepCopy() *Topic

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

func (*Topic) DeepCopyInto

func (in *Topic) DeepCopyInto(out *Topic)

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

func (*Topic) DeepCopyObject

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

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

func (*Topic) GetCondition

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

GetCondition of this Topic.

func (*Topic) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Topic

func (*Topic) GetDeletionPolicy

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

GetDeletionPolicy of this Topic.

func (*Topic) GetID

func (tr *Topic) GetID() string

GetID returns ID of underlying Terraform resource of this Topic

func (*Topic) GetInitParameters added in v0.38.0

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

GetInitParameters of this Topic

func (*Topic) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Topic.

func (*Topic) GetObservation

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

GetObservation of this Topic

func (*Topic) GetParameters

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

GetParameters of this Topic

func (*Topic) GetProviderConfigReference

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

GetProviderConfigReference of this Topic.

func (*Topic) GetProviderReference

func (mg *Topic) GetProviderReference() *xpv1.Reference

GetProviderReference of this Topic. Deprecated: Use GetProviderConfigReference.

func (*Topic) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Topic.

func (*Topic) GetTerraformResourceType

func (mg *Topic) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Topic

func (*Topic) GetTerraformSchemaVersion

func (tr *Topic) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Topic) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Topic.

func (*Topic) LateInitialize

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

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

func (*Topic) ResolveReferences

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

ResolveReferences of this Topic.

func (*Topic) SetConditions

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

SetConditions of this Topic.

func (*Topic) SetDeletionPolicy

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

SetDeletionPolicy of this Topic.

func (*Topic) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Topic.

func (*Topic) SetObservation

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

SetObservation for this Topic

func (*Topic) SetParameters

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

SetParameters for this Topic

func (*Topic) SetProviderConfigReference

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

SetProviderConfigReference of this Topic.

func (*Topic) SetProviderReference

func (mg *Topic) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Topic. Deprecated: Use SetProviderConfigReference.

func (*Topic) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Topic.

func (*Topic) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Topic.

type TopicInitParameters added in v0.38.0

type TopicInitParameters struct {

	// Percentage of success to sample
	ApplicationSuccessFeedbackSampleRate *float64 `json:"applicationSuccessFeedbackSampleRate,omitempty" tf:"application_success_feedback_sample_rate,omitempty"`

	// Enables content-based deduplication for FIFO topics. For more information, see the related documentation
	ContentBasedDeduplication *bool `json:"contentBasedDeduplication,omitempty" tf:"content_based_deduplication,omitempty"`

	// The SNS delivery policy. More on AWS documentation
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// The display name for the topic
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Boolean indicating whether or not to create a FIFO (first-in-first-out) topic (default is false).
	FifoTopic *bool `json:"fifoTopic,omitempty" tf:"fifo_topic,omitempty"`

	// Percentage of success to sample
	FirehoseSuccessFeedbackSampleRate *float64 `json:"firehoseSuccessFeedbackSampleRate,omitempty" tf:"firehose_success_feedback_sample_rate,omitempty"`

	// Percentage of success to sample
	HTTPSuccessFeedbackSampleRate *float64 `json:"httpSuccessFeedbackSampleRate,omitempty" tf:"http_success_feedback_sample_rate,omitempty"`

	// The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms
	KMSMasterKeyID *string `json:"kmsMasterKeyId,omitempty" tf:"kms_master_key_id,omitempty"`

	// Percentage of success to sample
	LambdaSuccessFeedbackSampleRate *float64 `json:"lambdaSuccessFeedbackSampleRate,omitempty" tf:"lambda_success_feedback_sample_rate,omitempty"`

	// The fully-formed AWS policy as JSON.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
	SignatureVersion *float64 `json:"signatureVersion,omitempty" tf:"signature_version,omitempty"`

	// Percentage of success to sample
	SqsSuccessFeedbackSampleRate *float64 `json:"sqsSuccessFeedbackSampleRate,omitempty" tf:"sqs_success_feedback_sample_rate,omitempty"`

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

	// Tracing mode of an Amazon SNS topic. Valid values: "PassThrough", "Active".
	TracingConfig *string `json:"tracingConfig,omitempty" tf:"tracing_config,omitempty"`
}

func (*TopicInitParameters) DeepCopy added in v0.38.0

func (in *TopicInitParameters) DeepCopy() *TopicInitParameters

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

func (*TopicInitParameters) DeepCopyInto added in v0.38.0

func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters)

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

type TopicList

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

TopicList contains a list of Topics

func (*TopicList) DeepCopy

func (in *TopicList) DeepCopy() *TopicList

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

func (*TopicList) DeepCopyInto

func (in *TopicList) DeepCopyInto(out *TopicList)

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

func (*TopicList) DeepCopyObject

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

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

func (*TopicList) GetItems

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

GetItems of this TopicList.

type TopicObservation

type TopicObservation struct {

	// IAM role for failure feedback
	ApplicationFailureFeedbackRoleArn *string `json:"applicationFailureFeedbackRoleArn,omitempty" tf:"application_failure_feedback_role_arn,omitempty"`

	// The IAM role permitted to receive success feedback for this topic
	ApplicationSuccessFeedbackRoleArn *string `json:"applicationSuccessFeedbackRoleArn,omitempty" tf:"application_success_feedback_role_arn,omitempty"`

	// Percentage of success to sample
	ApplicationSuccessFeedbackSampleRate *float64 `json:"applicationSuccessFeedbackSampleRate,omitempty" tf:"application_success_feedback_sample_rate,omitempty"`

	// The ARN of the SNS topic, as a more obvious property (clone of id)
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Enables content-based deduplication for FIFO topics. For more information, see the related documentation
	ContentBasedDeduplication *bool `json:"contentBasedDeduplication,omitempty" tf:"content_based_deduplication,omitempty"`

	// The SNS delivery policy. More on AWS documentation
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// The display name for the topic
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Boolean indicating whether or not to create a FIFO (first-in-first-out) topic (default is false).
	FifoTopic *bool `json:"fifoTopic,omitempty" tf:"fifo_topic,omitempty"`

	// IAM role for failure feedback
	FirehoseFailureFeedbackRoleArn *string `json:"firehoseFailureFeedbackRoleArn,omitempty" tf:"firehose_failure_feedback_role_arn,omitempty"`

	// The IAM role permitted to receive success feedback for this topic
	FirehoseSuccessFeedbackRoleArn *string `json:"firehoseSuccessFeedbackRoleArn,omitempty" tf:"firehose_success_feedback_role_arn,omitempty"`

	// Percentage of success to sample
	FirehoseSuccessFeedbackSampleRate *float64 `json:"firehoseSuccessFeedbackSampleRate,omitempty" tf:"firehose_success_feedback_sample_rate,omitempty"`

	// IAM role for failure feedback
	HTTPFailureFeedbackRoleArn *string `json:"httpFailureFeedbackRoleArn,omitempty" tf:"http_failure_feedback_role_arn,omitempty"`

	// The IAM role permitted to receive success feedback for this topic
	HTTPSuccessFeedbackRoleArn *string `json:"httpSuccessFeedbackRoleArn,omitempty" tf:"http_success_feedback_role_arn,omitempty"`

	// Percentage of success to sample
	HTTPSuccessFeedbackSampleRate *float64 `json:"httpSuccessFeedbackSampleRate,omitempty" tf:"http_success_feedback_sample_rate,omitempty"`

	// The ARN of the SNS topic
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms
	KMSMasterKeyID *string `json:"kmsMasterKeyId,omitempty" tf:"kms_master_key_id,omitempty"`

	// IAM role for failure feedback
	LambdaFailureFeedbackRoleArn *string `json:"lambdaFailureFeedbackRoleArn,omitempty" tf:"lambda_failure_feedback_role_arn,omitempty"`

	// The IAM role permitted to receive success feedback for this topic
	LambdaSuccessFeedbackRoleArn *string `json:"lambdaSuccessFeedbackRoleArn,omitempty" tf:"lambda_success_feedback_role_arn,omitempty"`

	// Percentage of success to sample
	LambdaSuccessFeedbackSampleRate *float64 `json:"lambdaSuccessFeedbackSampleRate,omitempty" tf:"lambda_success_feedback_sample_rate,omitempty"`

	// The AWS Account ID of the SNS topic owner
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The fully-formed AWS policy as JSON.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
	SignatureVersion *float64 `json:"signatureVersion,omitempty" tf:"signature_version,omitempty"`

	// IAM role for failure feedback
	SqsFailureFeedbackRoleArn *string `json:"sqsFailureFeedbackRoleArn,omitempty" tf:"sqs_failure_feedback_role_arn,omitempty"`

	// The IAM role permitted to receive success feedback for this topic
	SqsSuccessFeedbackRoleArn *string `json:"sqsSuccessFeedbackRoleArn,omitempty" tf:"sqs_success_feedback_role_arn,omitempty"`

	// Percentage of success to sample
	SqsSuccessFeedbackSampleRate *float64 `json:"sqsSuccessFeedbackSampleRate,omitempty" tf:"sqs_success_feedback_sample_rate,omitempty"`

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

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Tracing mode of an Amazon SNS topic. Valid values: "PassThrough", "Active".
	TracingConfig *string `json:"tracingConfig,omitempty" tf:"tracing_config,omitempty"`
}

func (*TopicObservation) DeepCopy

func (in *TopicObservation) DeepCopy() *TopicObservation

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

func (*TopicObservation) DeepCopyInto

func (in *TopicObservation) DeepCopyInto(out *TopicObservation)

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

type TopicParameters

type TopicParameters struct {

	// IAM role for failure feedback
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	ApplicationFailureFeedbackRoleArn *string `json:"applicationFailureFeedbackRoleArn,omitempty" tf:"application_failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate applicationFailureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	ApplicationFailureFeedbackRoleArnRef *v1.Reference `json:"applicationFailureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The IAM role permitted to receive success feedback for this topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	ApplicationSuccessFeedbackRoleArn *string `json:"applicationSuccessFeedbackRoleArn,omitempty" tf:"application_success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate applicationSuccessFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	ApplicationSuccessFeedbackRoleArnRef *v1.Reference `json:"applicationSuccessFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// Percentage of success to sample
	// +kubebuilder:validation:Optional
	ApplicationSuccessFeedbackSampleRate *float64 `json:"applicationSuccessFeedbackSampleRate,omitempty" tf:"application_success_feedback_sample_rate,omitempty"`

	// Enables content-based deduplication for FIFO topics. For more information, see the related documentation
	// +kubebuilder:validation:Optional
	ContentBasedDeduplication *bool `json:"contentBasedDeduplication,omitempty" tf:"content_based_deduplication,omitempty"`

	// The SNS delivery policy. More on AWS documentation
	// +kubebuilder:validation:Optional
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// The display name for the topic
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Boolean indicating whether or not to create a FIFO (first-in-first-out) topic (default is false).
	// +kubebuilder:validation:Optional
	FifoTopic *bool `json:"fifoTopic,omitempty" tf:"fifo_topic,omitempty"`

	// IAM role for failure feedback
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	FirehoseFailureFeedbackRoleArn *string `json:"firehoseFailureFeedbackRoleArn,omitempty" tf:"firehose_failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate firehoseFailureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	FirehoseFailureFeedbackRoleArnRef *v1.Reference `json:"firehoseFailureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The IAM role permitted to receive success feedback for this topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	FirehoseSuccessFeedbackRoleArn *string `json:"firehoseSuccessFeedbackRoleArn,omitempty" tf:"firehose_success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate firehoseSuccessFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	FirehoseSuccessFeedbackRoleArnRef *v1.Reference `json:"firehoseSuccessFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// Percentage of success to sample
	// +kubebuilder:validation:Optional
	FirehoseSuccessFeedbackSampleRate *float64 `json:"firehoseSuccessFeedbackSampleRate,omitempty" tf:"firehose_success_feedback_sample_rate,omitempty"`

	// IAM role for failure feedback
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	HTTPFailureFeedbackRoleArn *string `json:"httpFailureFeedbackRoleArn,omitempty" tf:"http_failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate httpFailureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	HTTPFailureFeedbackRoleArnRef *v1.Reference `json:"httpFailureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The IAM role permitted to receive success feedback for this topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	HTTPSuccessFeedbackRoleArn *string `json:"httpSuccessFeedbackRoleArn,omitempty" tf:"http_success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate httpSuccessFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	HTTPSuccessFeedbackRoleArnRef *v1.Reference `json:"httpSuccessFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// Percentage of success to sample
	// +kubebuilder:validation:Optional
	HTTPSuccessFeedbackSampleRate *float64 `json:"httpSuccessFeedbackSampleRate,omitempty" tf:"http_success_feedback_sample_rate,omitempty"`

	// The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms
	// +kubebuilder:validation:Optional
	KMSMasterKeyID *string `json:"kmsMasterKeyId,omitempty" tf:"kms_master_key_id,omitempty"`

	// IAM role for failure feedback
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	LambdaFailureFeedbackRoleArn *string `json:"lambdaFailureFeedbackRoleArn,omitempty" tf:"lambda_failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate lambdaFailureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	LambdaFailureFeedbackRoleArnRef *v1.Reference `json:"lambdaFailureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The IAM role permitted to receive success feedback for this topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	LambdaSuccessFeedbackRoleArn *string `json:"lambdaSuccessFeedbackRoleArn,omitempty" tf:"lambda_success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate lambdaSuccessFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	LambdaSuccessFeedbackRoleArnRef *v1.Reference `json:"lambdaSuccessFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// Percentage of success to sample
	// +kubebuilder:validation:Optional
	LambdaSuccessFeedbackSampleRate *float64 `json:"lambdaSuccessFeedbackSampleRate,omitempty" tf:"lambda_success_feedback_sample_rate,omitempty"`

	// The fully-formed AWS policy as JSON.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,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:"-"`

	// If SignatureVersion should be 1 (SHA1) or 2 (SHA256). The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
	// +kubebuilder:validation:Optional
	SignatureVersion *float64 `json:"signatureVersion,omitempty" tf:"signature_version,omitempty"`

	// IAM role for failure feedback
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SqsFailureFeedbackRoleArn *string `json:"sqsFailureFeedbackRoleArn,omitempty" tf:"sqs_failure_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate sqsFailureFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	SqsFailureFeedbackRoleArnRef *v1.Reference `json:"sqsFailureFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// The IAM role permitted to receive success feedback for this topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SqsSuccessFeedbackRoleArn *string `json:"sqsSuccessFeedbackRoleArn,omitempty" tf:"sqs_success_feedback_role_arn,omitempty"`

	// Reference to a Role in iam to populate sqsSuccessFeedbackRoleArn.
	// +kubebuilder:validation:Optional
	SqsSuccessFeedbackRoleArnRef *v1.Reference `json:"sqsSuccessFeedbackRoleArnRef,omitempty" tf:"-"`

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

	// Percentage of success to sample
	// +kubebuilder:validation:Optional
	SqsSuccessFeedbackSampleRate *float64 `json:"sqsSuccessFeedbackSampleRate,omitempty" tf:"sqs_success_feedback_sample_rate,omitempty"`

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

	// Tracing mode of an Amazon SNS topic. Valid values: "PassThrough", "Active".
	// +kubebuilder:validation:Optional
	TracingConfig *string `json:"tracingConfig,omitempty" tf:"tracing_config,omitempty"`
}

func (*TopicParameters) DeepCopy

func (in *TopicParameters) DeepCopy() *TopicParameters

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

func (*TopicParameters) DeepCopyInto

func (in *TopicParameters) DeepCopyInto(out *TopicParameters)

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

type TopicPolicy added in v0.24.0

type TopicPolicy 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.policy)",message="policy is a required parameter"
	Spec   TopicPolicySpec   `json:"spec"`
	Status TopicPolicyStatus `json:"status,omitempty"`
}

TopicPolicy is the Schema for the TopicPolicys API. Provides an SNS topic policy 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 (*TopicPolicy) DeepCopy added in v0.24.0

func (in *TopicPolicy) DeepCopy() *TopicPolicy

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

func (*TopicPolicy) DeepCopyInto added in v0.24.0

func (in *TopicPolicy) DeepCopyInto(out *TopicPolicy)

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

func (*TopicPolicy) DeepCopyObject added in v0.24.0

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

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

func (*TopicPolicy) GetCondition added in v0.24.0

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

GetCondition of this TopicPolicy.

func (*TopicPolicy) GetConnectionDetailsMapping added in v0.24.0

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

GetConnectionDetailsMapping for this TopicPolicy

func (*TopicPolicy) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this TopicPolicy.

func (*TopicPolicy) GetID added in v0.24.0

func (tr *TopicPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this TopicPolicy

func (*TopicPolicy) GetInitParameters added in v0.38.0

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

GetInitParameters of this TopicPolicy

func (*TopicPolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this TopicPolicy.

func (*TopicPolicy) GetObservation added in v0.24.0

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

GetObservation of this TopicPolicy

func (*TopicPolicy) GetParameters added in v0.24.0

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

GetParameters of this TopicPolicy

func (*TopicPolicy) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this TopicPolicy.

func (*TopicPolicy) GetProviderReference added in v0.24.0

func (mg *TopicPolicy) GetProviderReference() *xpv1.Reference

GetProviderReference of this TopicPolicy. Deprecated: Use GetProviderConfigReference.

func (*TopicPolicy) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this TopicPolicy.

func (*TopicPolicy) GetTerraformResourceType added in v0.24.0

func (mg *TopicPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TopicPolicy

func (*TopicPolicy) GetTerraformSchemaVersion added in v0.24.0

func (tr *TopicPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TopicPolicy) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this TopicPolicy.

func (*TopicPolicy) LateInitialize added in v0.24.0

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

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

func (*TopicPolicy) ResolveReferences added in v0.24.0

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

ResolveReferences of this TopicPolicy.

func (*TopicPolicy) SetConditions added in v0.24.0

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

SetConditions of this TopicPolicy.

func (*TopicPolicy) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this TopicPolicy.

func (*TopicPolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this TopicPolicy.

func (*TopicPolicy) SetObservation added in v0.24.0

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

SetObservation for this TopicPolicy

func (*TopicPolicy) SetParameters added in v0.24.0

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

SetParameters for this TopicPolicy

func (*TopicPolicy) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this TopicPolicy.

func (*TopicPolicy) SetProviderReference added in v0.24.0

func (mg *TopicPolicy) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this TopicPolicy. Deprecated: Use SetProviderConfigReference.

func (*TopicPolicy) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this TopicPolicy.

func (*TopicPolicy) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this TopicPolicy.

type TopicPolicyInitParameters added in v0.38.0

type TopicPolicyInitParameters struct {

	// The fully-formed AWS policy as JSON.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*TopicPolicyInitParameters) DeepCopy added in v0.38.0

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

func (*TopicPolicyInitParameters) DeepCopyInto added in v0.38.0

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

type TopicPolicyList added in v0.24.0

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

TopicPolicyList contains a list of TopicPolicys

func (*TopicPolicyList) DeepCopy added in v0.24.0

func (in *TopicPolicyList) DeepCopy() *TopicPolicyList

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

func (*TopicPolicyList) DeepCopyInto added in v0.24.0

func (in *TopicPolicyList) DeepCopyInto(out *TopicPolicyList)

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

func (*TopicPolicyList) DeepCopyObject added in v0.24.0

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

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

func (*TopicPolicyList) GetItems added in v0.24.0

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

GetItems of this TopicPolicyList.

type TopicPolicyObservation added in v0.24.0

type TopicPolicyObservation struct {

	// The ARN of the SNS topic
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

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

	// The AWS Account ID of the SNS topic owner
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The fully-formed AWS policy as JSON.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*TopicPolicyObservation) DeepCopy added in v0.24.0

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

func (*TopicPolicyObservation) DeepCopyInto added in v0.24.0

func (in *TopicPolicyObservation) DeepCopyInto(out *TopicPolicyObservation)

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

type TopicPolicyParameters added in v0.24.0

type TopicPolicyParameters struct {

	// The ARN of the SNS topic
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Reference to a Topic in sns to populate arn.
	// +kubebuilder:validation:Optional
	ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate arn.
	// +kubebuilder:validation:Optional
	ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"`

	// The fully-formed AWS policy as JSON.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,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:"-"`
}

func (*TopicPolicyParameters) DeepCopy added in v0.24.0

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

func (*TopicPolicyParameters) DeepCopyInto added in v0.24.0

func (in *TopicPolicyParameters) DeepCopyInto(out *TopicPolicyParameters)

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

type TopicPolicySpec added in v0.24.0

type TopicPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TopicPolicyParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TopicPolicyInitParameters `json:"initProvider,omitempty"`
}

TopicPolicySpec defines the desired state of TopicPolicy

func (*TopicPolicySpec) DeepCopy added in v0.24.0

func (in *TopicPolicySpec) DeepCopy() *TopicPolicySpec

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

func (*TopicPolicySpec) DeepCopyInto added in v0.24.0

func (in *TopicPolicySpec) DeepCopyInto(out *TopicPolicySpec)

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

type TopicPolicyStatus added in v0.24.0

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

TopicPolicyStatus defines the observed state of TopicPolicy.

func (*TopicPolicyStatus) DeepCopy added in v0.24.0

func (in *TopicPolicyStatus) DeepCopy() *TopicPolicyStatus

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

func (*TopicPolicyStatus) DeepCopyInto added in v0.24.0

func (in *TopicPolicyStatus) DeepCopyInto(out *TopicPolicyStatus)

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

type TopicSpec

type TopicSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TopicParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TopicInitParameters `json:"initProvider,omitempty"`
}

TopicSpec defines the desired state of Topic

func (*TopicSpec) DeepCopy

func (in *TopicSpec) DeepCopy() *TopicSpec

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

func (*TopicSpec) DeepCopyInto

func (in *TopicSpec) DeepCopyInto(out *TopicSpec)

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

type TopicStatus

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

TopicStatus defines the observed state of Topic.

func (*TopicStatus) DeepCopy

func (in *TopicStatus) DeepCopy() *TopicStatus

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

func (*TopicStatus) DeepCopyInto

func (in *TopicStatus) DeepCopyInto(out *TopicStatus)

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

type TopicSubscription

type TopicSubscription 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.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter"
	Spec   TopicSubscriptionSpec   `json:"spec"`
	Status TopicSubscriptionStatus `json:"status,omitempty"`
}

TopicSubscription is the Schema for the TopicSubscriptions API. Provides a resource for subscribing to SNS topics. +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 (*TopicSubscription) DeepCopy

func (in *TopicSubscription) DeepCopy() *TopicSubscription

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

func (*TopicSubscription) DeepCopyInto

func (in *TopicSubscription) DeepCopyInto(out *TopicSubscription)

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

func (*TopicSubscription) DeepCopyObject

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

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

func (*TopicSubscription) GetCondition

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

GetCondition of this TopicSubscription.

func (*TopicSubscription) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TopicSubscription

func (*TopicSubscription) GetDeletionPolicy

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

GetDeletionPolicy of this TopicSubscription.

func (*TopicSubscription) GetID

func (tr *TopicSubscription) GetID() string

GetID returns ID of underlying Terraform resource of this TopicSubscription

func (*TopicSubscription) GetInitParameters added in v0.38.0

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

GetInitParameters of this TopicSubscription

func (*TopicSubscription) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this TopicSubscription.

func (*TopicSubscription) GetObservation

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

GetObservation of this TopicSubscription

func (*TopicSubscription) GetParameters

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

GetParameters of this TopicSubscription

func (*TopicSubscription) GetProviderConfigReference

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

GetProviderConfigReference of this TopicSubscription.

func (*TopicSubscription) GetProviderReference

func (mg *TopicSubscription) GetProviderReference() *xpv1.Reference

GetProviderReference of this TopicSubscription. Deprecated: Use GetProviderConfigReference.

func (*TopicSubscription) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TopicSubscription.

func (*TopicSubscription) GetTerraformResourceType

func (mg *TopicSubscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TopicSubscription

func (*TopicSubscription) GetTerraformSchemaVersion

func (tr *TopicSubscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TopicSubscription) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TopicSubscription.

func (*TopicSubscription) LateInitialize

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

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

func (*TopicSubscription) ResolveReferences

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

ResolveReferences of this TopicSubscription.

func (*TopicSubscription) SetConditions

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

SetConditions of this TopicSubscription.

func (*TopicSubscription) SetDeletionPolicy

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

SetDeletionPolicy of this TopicSubscription.

func (*TopicSubscription) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this TopicSubscription.

func (*TopicSubscription) SetObservation

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

SetObservation for this TopicSubscription

func (*TopicSubscription) SetParameters

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

SetParameters for this TopicSubscription

func (*TopicSubscription) SetProviderConfigReference

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

SetProviderConfigReference of this TopicSubscription.

func (*TopicSubscription) SetProviderReference

func (mg *TopicSubscription) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this TopicSubscription. Deprecated: Use SetProviderConfigReference.

func (*TopicSubscription) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TopicSubscription.

func (*TopicSubscription) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TopicSubscription.

type TopicSubscriptionInitParameters added in v0.38.0

type TopicSubscriptionInitParameters struct {

	// Integer indicating number of minutes to wait in retrying mode for fetching subscription arn before marking it as failure. Only applicable for http and https protocols. Default is 1.
	ConfirmationTimeoutInMinutes *float64 `json:"confirmationTimeoutInMinutes,omitempty" tf:"confirmation_timeout_in_minutes,omitempty"`

	// JSON String with the delivery policy (retries, backoff, etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the SNS docs for more details.
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false.
	EndpointAutoConfirms *bool `json:"endpointAutoConfirms,omitempty" tf:"endpoint_auto_confirms,omitempty"`

	// JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. Refer to the SNS docs for more details.
	FilterPolicy *string `json:"filterPolicy,omitempty" tf:"filter_policy,omitempty"`

	// Whether the filter_policy applies to MessageAttributes (default) or MessageBody.
	FilterPolicyScope *string `json:"filterPolicyScope,omitempty" tf:"filter_policy_scope,omitempty"`

	// Protocol to use. Valid values are: sqs, sms, lambda, firehose, and application. Protocols email, email-json, http and https are also valid but partially supported. See details below.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Whether to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property). Default is false.
	RawMessageDelivery *bool `json:"rawMessageDelivery,omitempty" tf:"raw_message_delivery,omitempty"`

	// JSON String with the redrive policy that will be used in the subscription. Refer to the SNS docs for more details.
	RedrivePolicy *string `json:"redrivePolicy,omitempty" tf:"redrive_policy,omitempty"`
}

func (*TopicSubscriptionInitParameters) DeepCopy added in v0.38.0

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

func (*TopicSubscriptionInitParameters) DeepCopyInto added in v0.38.0

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

type TopicSubscriptionList

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

TopicSubscriptionList contains a list of TopicSubscriptions

func (*TopicSubscriptionList) DeepCopy

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

func (*TopicSubscriptionList) DeepCopyInto

func (in *TopicSubscriptionList) DeepCopyInto(out *TopicSubscriptionList)

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

func (*TopicSubscriptionList) DeepCopyObject

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

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

func (*TopicSubscriptionList) GetItems

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

GetItems of this TopicSubscriptionList.

type TopicSubscriptionObservation

type TopicSubscriptionObservation struct {

	// ARN of the subscription.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Integer indicating number of minutes to wait in retrying mode for fetching subscription arn before marking it as failure. Only applicable for http and https protocols. Default is 1.
	ConfirmationTimeoutInMinutes *float64 `json:"confirmationTimeoutInMinutes,omitempty" tf:"confirmation_timeout_in_minutes,omitempty"`

	// Whether the subscription confirmation request was authenticated.
	ConfirmationWasAuthenticated *bool `json:"confirmationWasAuthenticated,omitempty" tf:"confirmation_was_authenticated,omitempty"`

	// JSON String with the delivery policy (retries, backoff, etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the SNS docs for more details.
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// Endpoint to send data to. The contents vary with the protocol. See details below.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false.
	EndpointAutoConfirms *bool `json:"endpointAutoConfirms,omitempty" tf:"endpoint_auto_confirms,omitempty"`

	// JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. Refer to the SNS docs for more details.
	FilterPolicy *string `json:"filterPolicy,omitempty" tf:"filter_policy,omitempty"`

	// Whether the filter_policy applies to MessageAttributes (default) or MessageBody.
	FilterPolicyScope *string `json:"filterPolicyScope,omitempty" tf:"filter_policy_scope,omitempty"`

	// ARN of the subscription.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// AWS account ID of the subscription's owner.
	OwnerID *string `json:"ownerId,omitempty" tf:"owner_id,omitempty"`

	// Whether the subscription has not been confirmed.
	PendingConfirmation *bool `json:"pendingConfirmation,omitempty" tf:"pending_confirmation,omitempty"`

	// Protocol to use. Valid values are: sqs, sms, lambda, firehose, and application. Protocols email, email-json, http and https are also valid but partially supported. See details below.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Whether to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property). Default is false.
	RawMessageDelivery *bool `json:"rawMessageDelivery,omitempty" tf:"raw_message_delivery,omitempty"`

	// JSON String with the redrive policy that will be used in the subscription. Refer to the SNS docs for more details.
	RedrivePolicy *string `json:"redrivePolicy,omitempty" tf:"redrive_policy,omitempty"`

	// ARN of the IAM role to publish to Kinesis Data Firehose delivery stream. Refer to SNS docs.
	SubscriptionRoleArn *string `json:"subscriptionRoleArn,omitempty" tf:"subscription_role_arn,omitempty"`

	// ARN of the SNS topic to subscribe to.
	TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"`
}

func (*TopicSubscriptionObservation) DeepCopy

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

func (*TopicSubscriptionObservation) DeepCopyInto

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

type TopicSubscriptionParameters

type TopicSubscriptionParameters struct {

	// Integer indicating number of minutes to wait in retrying mode for fetching subscription arn before marking it as failure. Only applicable for http and https protocols. Default is 1.
	// +kubebuilder:validation:Optional
	ConfirmationTimeoutInMinutes *float64 `json:"confirmationTimeoutInMinutes,omitempty" tf:"confirmation_timeout_in_minutes,omitempty"`

	// JSON String with the delivery policy (retries, backoff, etc.) that will be used in the subscription - this only applies to HTTP/S subscriptions. Refer to the SNS docs for more details.
	// +kubebuilder:validation:Optional
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty" tf:"delivery_policy,omitempty"`

	// Endpoint to send data to. The contents vary with the protocol. See details below.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sqs/v1beta1.Queue
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Whether the endpoint is capable of auto confirming subscription (e.g., PagerDuty). Default is false.
	// +kubebuilder:validation:Optional
	EndpointAutoConfirms *bool `json:"endpointAutoConfirms,omitempty" tf:"endpoint_auto_confirms,omitempty"`

	// Reference to a Queue in sqs to populate endpoint.
	// +kubebuilder:validation:Optional
	EndpointRef *v1.Reference `json:"endpointRef,omitempty" tf:"-"`

	// Selector for a Queue in sqs to populate endpoint.
	// +kubebuilder:validation:Optional
	EndpointSelector *v1.Selector `json:"endpointSelector,omitempty" tf:"-"`

	// JSON String with the filter policy that will be used in the subscription to filter messages seen by the target resource. Refer to the SNS docs for more details.
	// +kubebuilder:validation:Optional
	FilterPolicy *string `json:"filterPolicy,omitempty" tf:"filter_policy,omitempty"`

	// Whether the filter_policy applies to MessageAttributes (default) or MessageBody.
	// +kubebuilder:validation:Optional
	FilterPolicyScope *string `json:"filterPolicyScope,omitempty" tf:"filter_policy_scope,omitempty"`

	// Protocol to use. Valid values are: sqs, sms, lambda, firehose, and application. Protocols email, email-json, http and https are also valid but partially supported. See details below.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Whether to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property). Default is false.
	// +kubebuilder:validation:Optional
	RawMessageDelivery *bool `json:"rawMessageDelivery,omitempty" tf:"raw_message_delivery,omitempty"`

	// JSON String with the redrive policy that will be used in the subscription. Refer to the SNS docs for more details.
	// +kubebuilder:validation:Optional
	RedrivePolicy *string `json:"redrivePolicy,omitempty" tf:"redrive_policy,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:"-"`

	// ARN of the IAM role to publish to Kinesis Data Firehose delivery stream. Refer to SNS docs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SubscriptionRoleArn *string `json:"subscriptionRoleArn,omitempty" tf:"subscription_role_arn,omitempty"`

	// Reference to a Role in iam to populate subscriptionRoleArn.
	// +kubebuilder:validation:Optional
	SubscriptionRoleArnRef *v1.Reference `json:"subscriptionRoleArnRef,omitempty" tf:"-"`

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

	// ARN of the SNS topic to subscribe to.
	// +crossplane:generate:reference:type=Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"`

	// Reference to a Topic to populate topicArn.
	// +kubebuilder:validation:Optional
	TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"`

	// Selector for a Topic to populate topicArn.
	// +kubebuilder:validation:Optional
	TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"`
}

func (*TopicSubscriptionParameters) DeepCopy

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

func (*TopicSubscriptionParameters) DeepCopyInto

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

type TopicSubscriptionSpec

type TopicSubscriptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TopicSubscriptionParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TopicSubscriptionInitParameters `json:"initProvider,omitempty"`
}

TopicSubscriptionSpec defines the desired state of TopicSubscription

func (*TopicSubscriptionSpec) DeepCopy

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

func (*TopicSubscriptionSpec) DeepCopyInto

func (in *TopicSubscriptionSpec) DeepCopyInto(out *TopicSubscriptionSpec)

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

type TopicSubscriptionStatus

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

TopicSubscriptionStatus defines the observed state of TopicSubscription.

func (*TopicSubscriptionStatus) DeepCopy

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

func (*TopicSubscriptionStatus) DeepCopyInto

func (in *TopicSubscriptionStatus) DeepCopyInto(out *TopicSubscriptionStatus)

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