v1alpha1

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the sns.services.k8s.aws API. +groupName=sns.services.k8s.aws

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: "sns.services.k8s.aws", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type BatchResultErrorEntry

type BatchResultErrorEntry struct {
	Code    *string `json:"code,omitempty"`
	ID      *string `json:"id,omitempty"`
	Message *string `json:"message,omitempty"`
}

Gives a detailed description of failed messages in the batch.

func (*BatchResultErrorEntry) DeepCopy

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

func (*BatchResultErrorEntry) DeepCopyInto

func (in *BatchResultErrorEntry) DeepCopyInto(out *BatchResultErrorEntry)

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

type Endpoint

type Endpoint struct {
	Attributes  map[string]*string `json:"attributes,omitempty"`
	EndpointARN *string            `json:"endpointARN,omitempty"`
}

The endpoint for mobile app and device.

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

type LanguageCodeString

type LanguageCodeString string
const (
	LanguageCodeString_en_US  LanguageCodeString = "en-US"
	LanguageCodeString_en_GB  LanguageCodeString = "en-GB"
	LanguageCodeString_es_419 LanguageCodeString = "es-419"
	LanguageCodeString_es_ES  LanguageCodeString = "es-ES"
	LanguageCodeString_de_DE  LanguageCodeString = "de-DE"
	LanguageCodeString_fr_CA  LanguageCodeString = "fr-CA"
	LanguageCodeString_fr_FR  LanguageCodeString = "fr-FR"
	LanguageCodeString_it_IT  LanguageCodeString = "it-IT"
	LanguageCodeString_ja_JP  LanguageCodeString = "ja-JP"
	LanguageCodeString_pt_BR  LanguageCodeString = "pt-BR"
	LanguageCodeString_kr_KR  LanguageCodeString = "kr-KR"
	LanguageCodeString_zh_CN  LanguageCodeString = "zh-CN"
	LanguageCodeString_zh_TW  LanguageCodeString = "zh-TW"
)

type MessageAttributeValue

type MessageAttributeValue struct {
	DataType    *string `json:"dataType,omitempty"`
	StringValue *string `json:"stringValue,omitempty"`
}

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish (https://docs.aws.amazon.com/sns/latest/api/API_Publish.html).

Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Amazon SNS message attributes (https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html) and Publishing to a mobile phone (https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html) in the Amazon SNS Developer Guide.

func (*MessageAttributeValue) DeepCopy

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

func (*MessageAttributeValue) DeepCopyInto

func (in *MessageAttributeValue) DeepCopyInto(out *MessageAttributeValue)

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

type NumberCapability

type NumberCapability string
const (
	NumberCapability_SMS   NumberCapability = "SMS"
	NumberCapability_MMS   NumberCapability = "MMS"
	NumberCapability_VOICE NumberCapability = "VOICE"
)

type PhoneNumberInformation

type PhoneNumberInformation struct {
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	Status      *string `json:"status,omitempty"`
}

A list of phone numbers and their metadata.

func (*PhoneNumberInformation) DeepCopy

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

func (*PhoneNumberInformation) DeepCopyInto

func (in *PhoneNumberInformation) DeepCopyInto(out *PhoneNumberInformation)

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

type PlatformApplication

type PlatformApplication struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PlatformApplicationSpec   `json:"spec,omitempty"`
	Status            PlatformApplicationStatus `json:"status,omitempty"`
}

PlatformApplication is the Schema for the PlatformApplications API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*PlatformApplication) DeepCopy

func (in *PlatformApplication) DeepCopy() *PlatformApplication

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

func (*PlatformApplication) DeepCopyInto

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

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

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

type PlatformApplicationList

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

PlatformApplicationList contains a list of PlatformApplication +kubebuilder:object:root=true

func (*PlatformApplicationList) DeepCopy

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

func (*PlatformApplicationList) DeepCopyInto

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

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

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

type PlatformApplicationSpec

type PlatformApplicationSpec struct {
	EventDeliveryFailure    *string                                  `json:"eventDeliveryFailure,omitempty"`
	EventEndpointCreated    *string                                  `json:"eventEndpointCreated,omitempty"`
	EventEndpointCreatedRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"eventEndpointCreatedRef,omitempty"`
	EventEndpointDeleted    *string                                  `json:"eventEndpointDeleted,omitempty"`
	EventEndpointDeletedRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"eventEndpointDeletedRef,omitempty"`
	EventEndpointUpdated    *string                                  `json:"eventEndpointUpdated,omitempty"`
	EventEndpointUpdatedRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"eventEndpointUpdatedRef,omitempty"`
	FailureFeedbackRoleARN  *string                                  `json:"failureFeedbackRoleARN,omitempty"`
	FailureFeedbackRoleRef  *ackv1alpha1.AWSResourceReferenceWrapper `json:"failureFeedbackRoleRef,omitempty"`
	// Application names must be made up of only uppercase and lowercase ASCII letters,
	// numbers, underscores, hyphens, and periods, and must be between 1 and 256
	// characters long.
	// +kubebuilder:validation:Required
	Name *string `json:"name"`
	// The following platforms are supported: ADM (Amazon Device Messaging), APNS
	// (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud
	// Messaging).
	// +kubebuilder:validation:Required
	Platform                  *string                                  `json:"platform"`
	PlatformCredential        *string                                  `json:"platformCredential,omitempty"`
	PlatformPrincipal         *string                                  `json:"platformPrincipal,omitempty"`
	SuccessFeedbackRoleARN    *string                                  `json:"successFeedbackRoleARN,omitempty"`
	SuccessFeedbackRoleRef    *ackv1alpha1.AWSResourceReferenceWrapper `json:"successFeedbackRoleRef,omitempty"`
	SuccessFeedbackSampleRate *string                                  `json:"successFeedbackSampleRate,omitempty"`
}

PlatformApplicationSpec defines the desired state of PlatformApplication.

Platform application object.

func (*PlatformApplicationSpec) DeepCopy

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

func (*PlatformApplicationSpec) DeepCopyInto

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

type PlatformApplicationStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
}

PlatformApplicationStatus defines the observed state of PlatformApplication

func (*PlatformApplicationStatus) DeepCopy

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

func (*PlatformApplicationStatus) DeepCopyInto

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

type PlatformApplication_SDK

type PlatformApplication_SDK struct {
	Attributes             map[string]*string `json:"attributes,omitempty"`
	PlatformApplicationARN *string            `json:"platformApplicationARN,omitempty"`
}

Platform application object.

func (*PlatformApplication_SDK) DeepCopy

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

func (*PlatformApplication_SDK) DeepCopyInto

func (in *PlatformApplication_SDK) DeepCopyInto(out *PlatformApplication_SDK)

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

type PlatformEndpoint

type PlatformEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PlatformEndpointSpec   `json:"spec,omitempty"`
	Status            PlatformEndpointStatus `json:"status,omitempty"`
}

PlatformEndpoint is the Schema for the PlatformEndpoints API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*PlatformEndpoint) DeepCopy

func (in *PlatformEndpoint) DeepCopy() *PlatformEndpoint

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

func (*PlatformEndpoint) DeepCopyInto

func (in *PlatformEndpoint) DeepCopyInto(out *PlatformEndpoint)

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

func (*PlatformEndpoint) DeepCopyObject

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

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

type PlatformEndpointList

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

PlatformEndpointList contains a list of PlatformEndpoint +kubebuilder:object:root=true

func (*PlatformEndpointList) DeepCopy

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

func (*PlatformEndpointList) DeepCopyInto

func (in *PlatformEndpointList) DeepCopyInto(out *PlatformEndpointList)

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

func (*PlatformEndpointList) DeepCopyObject

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

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

type PlatformEndpointSpec

type PlatformEndpointSpec struct {

	// Arbitrary user data to associate with the endpoint. Amazon SNS does not use
	// this data. The data must be in UTF-8 format and less than 2KB.
	CustomUserData *string `json:"customUserData,omitempty"`
	Enabled        *string `json:"enabled,omitempty"`
	// PlatformApplicationArn returned from CreatePlatformApplication is used to
	// create a an endpoint.
	// +kubebuilder:validation:Required
	PlatformApplicationARN *string `json:"platformApplicationARN"`
	// Unique identifier created by the notification service for an app on a device.
	// The specific name for Token will vary, depending on which notification service
	// is being used. For example, when using APNS as the notification service,
	// you need the device token. Alternatively, when using GCM (Firebase Cloud
	// Messaging) or ADM, the device token equivalent is called the registration
	// ID.
	// +kubebuilder:validation:Required
	Token *string `json:"token"`
}

PlatformEndpointSpec defines the desired state of PlatformEndpoint.

func (*PlatformEndpointSpec) DeepCopy

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

func (*PlatformEndpointSpec) DeepCopyInto

func (in *PlatformEndpointSpec) DeepCopyInto(out *PlatformEndpointSpec)

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

type PlatformEndpointStatus

type PlatformEndpointStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// EndpointArn returned from CreateEndpoint action.
	// +kubebuilder:validation:Optional
	EndpointARN *string `json:"endpointARN,omitempty"`
}

PlatformEndpointStatus defines the observed state of PlatformEndpoint

func (*PlatformEndpointStatus) DeepCopy

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

func (*PlatformEndpointStatus) DeepCopyInto

func (in *PlatformEndpointStatus) DeepCopyInto(out *PlatformEndpointStatus)

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

type PublishBatchRequestEntry

type PublishBatchRequestEntry struct {
	ID                     *string `json:"id,omitempty"`
	MessageDeduplicationID *string `json:"messageDeduplicationID,omitempty"`
	MessageGroupID         *string `json:"messageGroupID,omitempty"`
}

Contains the details of a single Amazon SNS message along with an Id that identifies a message within the batch.

func (*PublishBatchRequestEntry) DeepCopy

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

func (*PublishBatchRequestEntry) DeepCopyInto

func (in *PublishBatchRequestEntry) DeepCopyInto(out *PublishBatchRequestEntry)

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

type PublishBatchResultEntry

type PublishBatchResultEntry struct {
	ID             *string `json:"id,omitempty"`
	SequenceNumber *string `json:"sequenceNumber,omitempty"`
}

Encloses data related to a successful message in a batch request for topic.

func (*PublishBatchResultEntry) DeepCopy

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

func (*PublishBatchResultEntry) DeepCopyInto

func (in *PublishBatchResultEntry) DeepCopyInto(out *PublishBatchResultEntry)

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

type RouteType

type RouteType string
const (
	RouteType_Transactional RouteType = "Transactional"
	RouteType_Promotional   RouteType = "Promotional"
	RouteType_Premium       RouteType = "Premium"
)

type SMSSandboxPhoneNumberVerificationStatus

type SMSSandboxPhoneNumberVerificationStatus string
const (
	SMSSandboxPhoneNumberVerificationStatus_Pending  SMSSandboxPhoneNumberVerificationStatus = "Pending"
	SMSSandboxPhoneNumberVerificationStatus_Verified SMSSandboxPhoneNumberVerificationStatus = "Verified"
)

type Subscription

type Subscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SubscriptionSpec   `json:"spec,omitempty"`
	Status            SubscriptionStatus `json:"status,omitempty"`
}

Subscription is the Schema for the Subscriptions API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject added in v0.0.11

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

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

type SubscriptionList added in v0.0.11

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

SubscriptionList contains a list of Subscription +kubebuilder:object:root=true

func (*SubscriptionList) DeepCopy added in v0.0.11

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto added in v0.0.11

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject added in v0.0.11

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

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

type SubscriptionSpec added in v0.0.11

type SubscriptionSpec struct {
	DeliveryPolicy *string `json:"deliveryPolicy,omitempty"`
	// The endpoint that you want to receive notifications. Endpoints vary by protocol:
	//
	//   - For the http protocol, the (public) endpoint is a URL beginning with
	//     http://.
	//
	//   - For the https protocol, the (public) endpoint is a URL beginning with
	//     https://.
	//
	//   - For the email protocol, the endpoint is an email address.
	//
	//   - For the email-json protocol, the endpoint is an email address.
	//
	//   - For the sms protocol, the endpoint is a phone number of an SMS-enabled
	//     device.
	//
	//   - For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue.
	//
	//   - For the application protocol, the endpoint is the EndpointArn of a mobile
	//     app and device.
	//
	//   - For the lambda protocol, the endpoint is the ARN of an Lambda function.
	//
	//   - For the firehose protocol, the endpoint is the ARN of an Amazon Kinesis
	//     Data Firehose delivery stream.
	Endpoint          *string `json:"endpoint,omitempty"`
	FilterPolicy      *string `json:"filterPolicy,omitempty"`
	FilterPolicyScope *string `json:"filterPolicyScope,omitempty"`
	// The protocol that you want to use. Supported protocols include:
	//
	//   - http – delivery of JSON-encoded message via HTTP POST
	//
	//   - https – delivery of JSON-encoded message via HTTPS POST
	//
	//   - email – delivery of message via SMTP
	//
	//   - email-json – delivery of JSON-encoded message via SMTP
	//
	//   - sms – delivery of message via SMS
	//
	//   - sqs – delivery of JSON-encoded message to an Amazon SQS queue
	//
	//   - application – delivery of JSON-encoded message to an EndpointArn for
	//     a mobile app and device
	//
	//   - lambda – delivery of JSON-encoded message to an Lambda function
	//
	//   - firehose – delivery of JSON-encoded message to an Amazon Kinesis Data
	//     Firehose delivery stream.
	//
	// +kubebuilder:validation:Required
	Protocol            *string `json:"protocol"`
	RawMessageDelivery  *string `json:"rawMessageDelivery,omitempty"`
	RedrivePolicy       *string `json:"redrivePolicy,omitempty"`
	SubscriptionRoleARN *string `json:"subscriptionRoleARN,omitempty"`
	// The ARN of the topic you want to subscribe to.
	TopicARN *string                                  `json:"topicARN,omitempty"`
	TopicRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"topicRef,omitempty"`
}

SubscriptionSpec defines the desired state of Subscription.

A wrapper type for the attributes of an Amazon SNS subscription.

func (*SubscriptionSpec) DeepCopy added in v0.0.11

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto added in v0.0.11

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionStatus added in v0.0.11

type SubscriptionStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// +kubebuilder:validation:Optional
	ConfirmationWasAuthenticated *string `json:"confirmationWasAuthenticated,omitempty"`
	// +kubebuilder:validation:Optional
	EffectiveDeliveryPolicy *string `json:"effectiveDeliveryPolicy,omitempty"`
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty"`
	// +kubebuilder:validation:Optional
	PendingConfirmation *string `json:"pendingConfirmation,omitempty"`
}

SubscriptionStatus defines the observed state of Subscription

func (*SubscriptionStatus) DeepCopy added in v0.0.11

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto added in v0.0.11

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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

type Subscription_SDK added in v0.0.11

type Subscription_SDK struct {
	Endpoint        *string `json:"endpoint,omitempty"`
	Owner           *string `json:"owner,omitempty"`
	Protocol        *string `json:"protocol,omitempty"`
	SubscriptionARN *string `json:"subscriptionARN,omitempty"`
	TopicARN        *string `json:"topicARN,omitempty"`
}

A wrapper type for the attributes of an Amazon SNS subscription.

func (*Subscription_SDK) DeepCopy added in v0.0.11

func (in *Subscription_SDK) DeepCopy() *Subscription_SDK

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

func (*Subscription_SDK) DeepCopyInto added in v0.0.11

func (in *Subscription_SDK) DeepCopyInto(out *Subscription_SDK)

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

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

The list of tags to be added to the specified topic.

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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,omitempty"`
	Status            TopicStatus `json:"status,omitempty"`
}

Topic is the Schema for the Topics API +kubebuilder:object:root=true +kubebuilder:subresource:status

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.

type TopicList

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

TopicList contains a list of Topic +kubebuilder:object:root=true

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.

type TopicSpec

type TopicSpec struct {
	ContentBasedDeduplication *string `json:"contentBasedDeduplication,omitempty"`
	// The body of the policy document you want to use for this topic.
	//
	// You can only add one policy per topic.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 30,720.
	DataProtectionPolicy *string                                  `json:"dataProtectionPolicy,omitempty"`
	DeliveryPolicy       *string                                  `json:"deliveryPolicy,omitempty"`
	DisplayName          *string                                  `json:"displayName,omitempty"`
	FIFOTopic            *string                                  `json:"fifoTopic,omitempty"`
	KMSMasterKeyID       *string                                  `json:"kmsMasterKeyID,omitempty"`
	KMSMasterKeyRef      *ackv1alpha1.AWSResourceReferenceWrapper `json:"kmsMasterKeyRef,omitempty"`
	// The name of the topic you want to create.
	//
	// Constraints: Topic names must be made up of only uppercase and lowercase
	// ASCII letters, numbers, underscores, and hyphens, and must be between 1 and
	// 256 characters long.
	//
	// For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.
	// +kubebuilder:validation:Required
	Name             *string                                  `json:"name"`
	Policy           *string                                  `json:"policy,omitempty"`
	PolicyRef        *ackv1alpha1.AWSResourceReferenceWrapper `json:"policyRef,omitempty"`
	SignatureVersion *string                                  `json:"signatureVersion,omitempty"`
	// The list of tags to add to a new topic.
	//
	// To be able to tag a topic on creation, you must have the sns:CreateTopic
	// and sns:TagResource permissions.
	Tags          []*Tag  `json:"tags,omitempty"`
	TracingConfig *string `json:"tracingConfig,omitempty"`
}

TopicSpec defines the desired state of Topic.

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

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 {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// +kubebuilder:validation:Optional
	EffectiveDeliveryPolicy *string `json:"effectiveDeliveryPolicy,omitempty"`
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty"`
	// +kubebuilder:validation:Optional
	TopicARN *string `json:"topicARN,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 Topic_SDK

type Topic_SDK struct {
	TopicARN *string `json:"topicARN,omitempty"`
}

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

func (*Topic_SDK) DeepCopy

func (in *Topic_SDK) DeepCopy() *Topic_SDK

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

func (*Topic_SDK) DeepCopyInto

func (in *Topic_SDK) DeepCopyInto(out *Topic_SDK)

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