v1alpha1

package
v0.0.0-...-bf43ebf Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "s-3-bucket-policy.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "S3BucketPolicy"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "aws_s3_bucket_policy"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeS3BucketPolicy

func DecodeS3BucketPolicy(prev *S3BucketPolicy, ctyValue cty.Value) (resource.Managed, error)

func DecodeS3BucketPolicy_Bucket

func DecodeS3BucketPolicy_Bucket(p *S3BucketPolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeS3BucketPolicy_Policy

func DecodeS3BucketPolicy_Policy(p *S3BucketPolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeS3BucketPolicy

func EncodeS3BucketPolicy(r S3BucketPolicy) cty.Value

func EncodeS3BucketPolicy_Bucket

func EncodeS3BucketPolicy_Bucket(p S3BucketPolicyParameters, vals map[string]cty.Value)

func EncodeS3BucketPolicy_Policy

func EncodeS3BucketPolicy_Policy(p S3BucketPolicyParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeS3BucketPolicy_Bucket

func MergeS3BucketPolicy_Bucket(k *S3BucketPolicyParameters, p *S3BucketPolicyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeS3BucketPolicy_Policy

func MergeS3BucketPolicy_Policy(k *S3BucketPolicyParameters, p *S3BucketPolicyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type S3BucketPolicy

type S3BucketPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   S3BucketPolicySpec   `json:"spec"`
	Status S3BucketPolicyStatus `json:"status,omitempty"`
}

S3BucketPolicy is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*S3BucketPolicy) DeepCopy

func (in *S3BucketPolicy) DeepCopy() *S3BucketPolicy

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

func (*S3BucketPolicy) DeepCopyInto

func (in *S3BucketPolicy) DeepCopyInto(out *S3BucketPolicy)

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

func (*S3BucketPolicy) DeepCopyObject

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

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

func (*S3BucketPolicy) GetCondition

GetCondition of this S3BucketPolicy.

func (*S3BucketPolicy) GetDeletionPolicy

func (mg *S3BucketPolicy) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this S3BucketPolicy.

func (*S3BucketPolicy) GetProviderConfigReference

func (mg *S3BucketPolicy) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this S3BucketPolicy.

func (*S3BucketPolicy) GetProviderReference

func (mg *S3BucketPolicy) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this S3BucketPolicy. Deprecated: Use GetProviderConfigReference.

func (*S3BucketPolicy) GetWriteConnectionSecretToReference

func (mg *S3BucketPolicy) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this S3BucketPolicy.

func (*S3BucketPolicy) SetConditions

func (mg *S3BucketPolicy) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this S3BucketPolicy.

func (*S3BucketPolicy) SetDeletionPolicy

func (mg *S3BucketPolicy) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this S3BucketPolicy.

func (*S3BucketPolicy) SetProviderConfigReference

func (mg *S3BucketPolicy) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this S3BucketPolicy.

func (*S3BucketPolicy) SetProviderReference

func (mg *S3BucketPolicy) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this S3BucketPolicy. Deprecated: Use SetProviderConfigReference.

func (*S3BucketPolicy) SetWriteConnectionSecretToReference

func (mg *S3BucketPolicy) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this S3BucketPolicy.

type S3BucketPolicyList

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

S3BucketPolicy contains a list of S3BucketPolicyList

func (*S3BucketPolicyList) DeepCopy

func (in *S3BucketPolicyList) DeepCopy() *S3BucketPolicyList

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

func (*S3BucketPolicyList) DeepCopyInto

func (in *S3BucketPolicyList) DeepCopyInto(out *S3BucketPolicyList)

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

func (*S3BucketPolicyList) DeepCopyObject

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

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

func (*S3BucketPolicyList) GetItems

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

GetItems of this S3BucketPolicyList.

type S3BucketPolicyObservation

type S3BucketPolicyObservation struct{}

A S3BucketPolicyObservation records the observed state of a S3BucketPolicy

func (*S3BucketPolicyObservation) DeepCopy

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

func (*S3BucketPolicyObservation) DeepCopyInto

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

type S3BucketPolicyParameters

type S3BucketPolicyParameters struct {
	Bucket string `json:"bucket"`
	Policy string `json:"policy"`
}

A S3BucketPolicyParameters defines the desired state of a S3BucketPolicy

func (*S3BucketPolicyParameters) DeepCopy

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

func (*S3BucketPolicyParameters) DeepCopyInto

func (in *S3BucketPolicyParameters) DeepCopyInto(out *S3BucketPolicyParameters)

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

type S3BucketPolicySpec

type S3BucketPolicySpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  S3BucketPolicyParameters `json:"forProvider"`
}

A S3BucketPolicySpec defines the desired state of a S3BucketPolicy

func (*S3BucketPolicySpec) DeepCopy

func (in *S3BucketPolicySpec) DeepCopy() *S3BucketPolicySpec

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

func (*S3BucketPolicySpec) DeepCopyInto

func (in *S3BucketPolicySpec) DeepCopyInto(out *S3BucketPolicySpec)

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

type S3BucketPolicyStatus

type S3BucketPolicyStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     S3BucketPolicyObservation `json:"atProvider"`
}

A S3BucketPolicyStatus defines the observed state of a S3BucketPolicy

func (*S3BucketPolicyStatus) DeepCopy

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

func (*S3BucketPolicyStatus) DeepCopyInto

func (in *S3BucketPolicyStatus) DeepCopyInto(out *S3BucketPolicyStatus)

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