Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataEndpointAttributes
- func (e DataEndpointAttributes) InternalRef() (terra.Reference, error)
- func (e DataEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DataEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointAttributes
- func (e DataEndpointAttributes) KinesisStreamConfig() terra.ListValue[DataEndpointKinesisStreamConfigAttributes]
- func (e DataEndpointAttributes) StreamType() terra.StringValue
- type DataEndpointKinesisStreamConfigAttributes
- func (ksc DataEndpointKinesisStreamConfigAttributes) InternalRef() (terra.Reference, error)
- func (ksc DataEndpointKinesisStreamConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ksc DataEndpointKinesisStreamConfigAttributes) InternalWithRef(ref terra.Reference) DataEndpointKinesisStreamConfigAttributes
- func (ksc DataEndpointKinesisStreamConfigAttributes) RoleArn() terra.StringValue
- func (ksc DataEndpointKinesisStreamConfigAttributes) StreamArn() terra.StringValue
- type DataEndpointKinesisStreamConfigState
- type DataEndpointState
- type DataSource
- type Endpoint
- type EndpointAttributes
- func (e EndpointAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
- func (e EndpointAttributes) KinesisStreamConfig() terra.ListValue[EndpointKinesisStreamConfigAttributes]
- func (e EndpointAttributes) StreamType() terra.StringValue
- type EndpointKinesisStreamConfig
- type EndpointKinesisStreamConfigAttributes
- func (ksc EndpointKinesisStreamConfigAttributes) InternalRef() (terra.Reference, error)
- func (ksc EndpointKinesisStreamConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ksc EndpointKinesisStreamConfigAttributes) InternalWithRef(ref terra.Reference) EndpointKinesisStreamConfigAttributes
- func (ksc EndpointKinesisStreamConfigAttributes) RoleArn() terra.StringValue
- func (ksc EndpointKinesisStreamConfigAttributes) StreamArn() terra.StringValue
- type EndpointKinesisStreamConfigState
- type EndpointState
- type Resource
- func (acrlc *Resource) Attributes() awsCloudfrontRealtimeLogConfigAttributes
- func (acrlc *Resource) Configuration() interface{}
- func (acrlc *Resource) DependOn() terra.Reference
- func (acrlc *Resource) Dependencies() terra.Dependencies
- func (acrlc *Resource) ImportState(state io.Reader) error
- func (acrlc *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrlc *Resource) LocalName() string
- func (acrlc *Resource) State() (*awsCloudfrontRealtimeLogConfigState, bool)
- func (acrlc *Resource) StateMust() *awsCloudfrontRealtimeLogConfigState
- func (acrlc *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Fields: set of string, required Fields terra.SetValue[terra.StringValue] `hcl:"fields,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SamplingRate: number, required SamplingRate terra.NumberValue `hcl:"sampling_rate,attr" validate:"required"` // Endpoint: required Endpoint *Endpoint `hcl:"endpoint,block" validate:"required"` }
Args contains the configurations for aws_cloudfront_realtime_log_config.
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_cloudfront_realtime_log_config.
type DataEndpointAttributes ¶
type DataEndpointAttributes struct {
// contains filtered or unexported fields
}
func (DataEndpointAttributes) InternalRef ¶
func (e DataEndpointAttributes) InternalRef() (terra.Reference, error)
func (DataEndpointAttributes) InternalTokens ¶
func (e DataEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEndpointAttributes) InternalWithRef ¶
func (e DataEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointAttributes
func (DataEndpointAttributes) KinesisStreamConfig ¶
func (e DataEndpointAttributes) KinesisStreamConfig() terra.ListValue[DataEndpointKinesisStreamConfigAttributes]
func (DataEndpointAttributes) StreamType ¶
func (e DataEndpointAttributes) StreamType() terra.StringValue
type DataEndpointKinesisStreamConfigAttributes ¶
type DataEndpointKinesisStreamConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataEndpointKinesisStreamConfigAttributes) InternalRef ¶
func (ksc DataEndpointKinesisStreamConfigAttributes) InternalRef() (terra.Reference, error)
func (DataEndpointKinesisStreamConfigAttributes) InternalTokens ¶
func (ksc DataEndpointKinesisStreamConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEndpointKinesisStreamConfigAttributes) InternalWithRef ¶
func (ksc DataEndpointKinesisStreamConfigAttributes) InternalWithRef(ref terra.Reference) DataEndpointKinesisStreamConfigAttributes
func (DataEndpointKinesisStreamConfigAttributes) RoleArn ¶
func (ksc DataEndpointKinesisStreamConfigAttributes) RoleArn() terra.StringValue
func (DataEndpointKinesisStreamConfigAttributes) StreamArn ¶
func (ksc DataEndpointKinesisStreamConfigAttributes) StreamArn() terra.StringValue
type DataEndpointState ¶
type DataEndpointState struct { StreamType string `json:"stream_type"` KinesisStreamConfig []DataEndpointKinesisStreamConfigState `json:"kinesis_stream_config"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_cloudfront_realtime_log_config.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (acrlc *DataSource) Attributes() dataAwsCloudfrontRealtimeLogConfigAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (acrlc *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (acrlc *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (acrlc *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Endpoint ¶
type Endpoint struct { // StreamType: string, required StreamType terra.StringValue `hcl:"stream_type,attr" validate:"required"` // EndpointKinesisStreamConfig: required KinesisStreamConfig *EndpointKinesisStreamConfig `hcl:"kinesis_stream_config,block" validate:"required"` }
type EndpointAttributes ¶
type EndpointAttributes struct {
// contains filtered or unexported fields
}
func (EndpointAttributes) InternalRef ¶
func (e EndpointAttributes) InternalRef() (terra.Reference, error)
func (EndpointAttributes) InternalTokens ¶
func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointAttributes) InternalWithRef ¶
func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
func (EndpointAttributes) KinesisStreamConfig ¶
func (e EndpointAttributes) KinesisStreamConfig() terra.ListValue[EndpointKinesisStreamConfigAttributes]
func (EndpointAttributes) StreamType ¶
func (e EndpointAttributes) StreamType() terra.StringValue
type EndpointKinesisStreamConfig ¶
type EndpointKinesisStreamConfig struct { // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // StreamArn: string, required StreamArn terra.StringValue `hcl:"stream_arn,attr" validate:"required"` }
type EndpointKinesisStreamConfigAttributes ¶
type EndpointKinesisStreamConfigAttributes struct {
// contains filtered or unexported fields
}
func (EndpointKinesisStreamConfigAttributes) InternalRef ¶
func (ksc EndpointKinesisStreamConfigAttributes) InternalRef() (terra.Reference, error)
func (EndpointKinesisStreamConfigAttributes) InternalTokens ¶
func (ksc EndpointKinesisStreamConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointKinesisStreamConfigAttributes) InternalWithRef ¶
func (ksc EndpointKinesisStreamConfigAttributes) InternalWithRef(ref terra.Reference) EndpointKinesisStreamConfigAttributes
func (EndpointKinesisStreamConfigAttributes) RoleArn ¶
func (ksc EndpointKinesisStreamConfigAttributes) RoleArn() terra.StringValue
func (EndpointKinesisStreamConfigAttributes) StreamArn ¶
func (ksc EndpointKinesisStreamConfigAttributes) StreamArn() terra.StringValue
type EndpointState ¶
type EndpointState struct { StreamType string `json:"stream_type"` KinesisStreamConfig []EndpointKinesisStreamConfigState `json:"kinesis_stream_config"` }
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_cloudfront_realtime_log_config.
func (*Resource) Attributes ¶
func (acrlc *Resource) Attributes() awsCloudfrontRealtimeLogConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrlc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrlc *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.