aws_mskconnect_custom_plugin

package
v5.45.0 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 {
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Location: required
	Location *Location `hcl:"location,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_mskconnect_custom_plugin.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_mskconnect_custom_plugin.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_mskconnect_custom_plugin.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (amcp *DataSource) Attributes() dataAwsMskconnectCustomPluginAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (amcp *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (amcp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (amcp *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Location

type Location struct {
	// LocationS3: required
	S3 *LocationS3 `hcl:"s3,block" validate:"required"`
}

type LocationAttributes

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

func (LocationAttributes) InternalRef

func (l LocationAttributes) InternalRef() (terra.Reference, error)

func (LocationAttributes) InternalTokens

func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocationAttributes) InternalWithRef

func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes

func (LocationAttributes) S3

type LocationS3

type LocationS3 struct {
	// BucketArn: string, required
	BucketArn terra.StringValue `hcl:"bucket_arn,attr" validate:"required"`
	// FileKey: string, required
	FileKey terra.StringValue `hcl:"file_key,attr" validate:"required"`
	// ObjectVersion: string, optional
	ObjectVersion terra.StringValue `hcl:"object_version,attr"`
}

type LocationS3Attributes

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

func (LocationS3Attributes) BucketArn

func (s LocationS3Attributes) BucketArn() terra.StringValue

func (LocationS3Attributes) FileKey

func (LocationS3Attributes) InternalRef

func (s LocationS3Attributes) InternalRef() (terra.Reference, error)

func (LocationS3Attributes) InternalTokens

func (s LocationS3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (LocationS3Attributes) InternalWithRef

func (LocationS3Attributes) ObjectVersion

func (s LocationS3Attributes) ObjectVersion() terra.StringValue

type LocationS3State

type LocationS3State struct {
	BucketArn     string `json:"bucket_arn"`
	FileKey       string `json:"file_key"`
	ObjectVersion string `json:"object_version"`
}

type LocationState

type LocationState struct {
	S3 []LocationS3State `json:"s3"`
}

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_mskconnect_custom_plugin.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (amcp *Resource) Attributes() awsMskconnectCustomPluginAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (amcp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (amcp *Resource) State() (*awsMskconnectCustomPluginState, bool)

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

func (*Resource) StateMust

func (amcp *Resource) StateMust() *awsMskconnectCustomPluginState

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

func (*Resource) Type

func (amcp *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"`
}

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

type TimeoutsState

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

Jump to

Keyboard shortcuts

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