Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Location
- type LocationAttributes
- type LocationS3
- type LocationS3Attributes
- func (s LocationS3Attributes) BucketArn() terra.StringValue
- func (s LocationS3Attributes) FileKey() terra.StringValue
- func (s LocationS3Attributes) InternalRef() (terra.Reference, error)
- func (s LocationS3Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (s LocationS3Attributes) InternalWithRef(ref terra.Reference) LocationS3Attributes
- func (s LocationS3Attributes) ObjectVersion() terra.StringValue
- type LocationS3State
- type LocationState
- type Resource
- func (amcp *Resource) Attributes() awsMskconnectCustomPluginAttributes
- func (amcp *Resource) Configuration() interface{}
- func (amcp *Resource) DependOn() terra.Reference
- func (amcp *Resource) Dependencies() terra.Dependencies
- func (amcp *Resource) ImportState(state io.Reader) error
- func (amcp *Resource) LifecycleManagement() *terra.Lifecycle
- func (amcp *Resource) LocalName() string
- func (amcp *Resource) State() (*awsMskconnectCustomPluginState, bool)
- func (amcp *Resource) StateMust() *awsMskconnectCustomPluginState
- func (amcp *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
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 ¶
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 ¶
func (l LocationAttributes) S3() terra.ListValue[LocationS3Attributes]
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 (s LocationS3Attributes) FileKey() terra.StringValue
func (LocationS3Attributes) InternalRef ¶
func (s LocationS3Attributes) InternalRef() (terra.Reference, error)
func (LocationS3Attributes) InternalTokens ¶
func (s LocationS3Attributes) InternalTokens() (hclwrite.Tokens, error)
func (LocationS3Attributes) InternalWithRef ¶
func (s LocationS3Attributes) InternalWithRef(ref terra.Reference) LocationS3Attributes
func (LocationS3Attributes) ObjectVersion ¶
func (s LocationS3Attributes) ObjectVersion() terra.StringValue
type LocationS3State ¶
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 (*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) Dependencies ¶
func (amcp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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