aws_cleanrooms_collaboration

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CreatorDisplayName: string, required
	CreatorDisplayName terra.StringValue `hcl:"creator_display_name,attr" validate:"required"`
	// CreatorMemberAbilities: list of string, required
	CreatorMemberAbilities terra.ListValue[terra.StringValue] `hcl:"creator_member_abilities,attr" validate:"required"`
	// Description: string, required
	Description terra.StringValue `hcl:"description,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// QueryLogStatus: string, required
	QueryLogStatus terra.StringValue `hcl:"query_log_status,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// DataEncryptionMetadata: optional
	DataEncryptionMetadata *DataEncryptionMetadata `hcl:"data_encryption_metadata,block"`
	// Member: min=0
	Member []Member `hcl:"member,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_cleanrooms_collaboration.

type DataEncryptionMetadata

type DataEncryptionMetadata struct {
	// AllowClearText: bool, required
	AllowClearText terra.BoolValue `hcl:"allow_clear_text,attr" validate:"required"`
	// AllowDuplicates: bool, required
	AllowDuplicates terra.BoolValue `hcl:"allow_duplicates,attr" validate:"required"`
	// AllowJoinsOnColumnsWithDifferentNames: bool, required
	AllowJoinsOnColumnsWithDifferentNames terra.BoolValue `hcl:"allow_joins_on_columns_with_different_names,attr" validate:"required"`
	// PreserveNulls: bool, required
	PreserveNulls terra.BoolValue `hcl:"preserve_nulls,attr" validate:"required"`
}

type DataEncryptionMetadataAttributes

type DataEncryptionMetadataAttributes struct {
	// contains filtered or unexported fields
}

func (DataEncryptionMetadataAttributes) AllowClearText

func (dem DataEncryptionMetadataAttributes) AllowClearText() terra.BoolValue

func (DataEncryptionMetadataAttributes) AllowDuplicates

func (dem DataEncryptionMetadataAttributes) AllowDuplicates() terra.BoolValue

func (DataEncryptionMetadataAttributes) AllowJoinsOnColumnsWithDifferentNames

func (dem DataEncryptionMetadataAttributes) AllowJoinsOnColumnsWithDifferentNames() terra.BoolValue

func (DataEncryptionMetadataAttributes) InternalRef

func (DataEncryptionMetadataAttributes) InternalTokens

func (dem DataEncryptionMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEncryptionMetadataAttributes) InternalWithRef

func (DataEncryptionMetadataAttributes) PreserveNulls

func (dem DataEncryptionMetadataAttributes) PreserveNulls() terra.BoolValue

type DataEncryptionMetadataState

type DataEncryptionMetadataState struct {
	AllowClearText                        bool `json:"allow_clear_text"`
	AllowDuplicates                       bool `json:"allow_duplicates"`
	AllowJoinsOnColumnsWithDifferentNames bool `json:"allow_joins_on_columns_with_different_names"`
	PreserveNulls                         bool `json:"preserve_nulls"`
}

type Member

type Member struct {
	// AccountId: string, required
	AccountId terra.StringValue `hcl:"account_id,attr" validate:"required"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// MemberAbilities: list of string, required
	MemberAbilities terra.ListValue[terra.StringValue] `hcl:"member_abilities,attr" validate:"required"`
}

type MemberAttributes

type MemberAttributes struct {
	// contains filtered or unexported fields
}

func (MemberAttributes) AccountId

func (m MemberAttributes) AccountId() terra.StringValue

func (MemberAttributes) DisplayName

func (m MemberAttributes) DisplayName() terra.StringValue

func (MemberAttributes) InternalRef

func (m MemberAttributes) InternalRef() (terra.Reference, error)

func (MemberAttributes) InternalTokens

func (m MemberAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MemberAttributes) InternalWithRef

func (m MemberAttributes) InternalWithRef(ref terra.Reference) MemberAttributes

func (MemberAttributes) MemberAbilities

func (m MemberAttributes) MemberAbilities() terra.ListValue[terra.StringValue]

func (MemberAttributes) Status

func (m MemberAttributes) Status() terra.StringValue

type MemberState

type MemberState struct {
	AccountId       string   `json:"account_id"`
	DisplayName     string   `json:"display_name"`
	MemberAbilities []string `json:"member_abilities"`
	Status          string   `json:"status"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_cleanrooms_collaboration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acc *Resource) Attributes() awsCleanroomsCollaborationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acc *Resource) State() (*awsCleanroomsCollaborationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acc *Resource) StateMust() *awsCleanroomsCollaborationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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