aws_cloudfront_realtime_log_config

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 {
	// 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 (DataEndpointAttributes) KinesisStreamConfig

func (DataEndpointAttributes) StreamType

func (e DataEndpointAttributes) StreamType() terra.StringValue

type DataEndpointKinesisStreamConfigAttributes

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

func (DataEndpointKinesisStreamConfigAttributes) InternalRef

func (DataEndpointKinesisStreamConfigAttributes) InternalTokens

func (DataEndpointKinesisStreamConfigAttributes) InternalWithRef

func (DataEndpointKinesisStreamConfigAttributes) RoleArn

func (DataEndpointKinesisStreamConfigAttributes) StreamArn

type DataEndpointKinesisStreamConfigState

type DataEndpointKinesisStreamConfigState struct {
	RoleArn   string `json:"role_arn"`
	StreamArn string `json:"stream_arn"`
}

type DataEndpointState

type DataEndpointState struct {
	StreamType          string                                 `json:"stream_type"`
	KinesisStreamConfig []DataEndpointKinesisStreamConfigState `json:"kinesis_stream_config"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

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 (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 (EndpointKinesisStreamConfigAttributes) InternalTokens

func (EndpointKinesisStreamConfigAttributes) InternalWithRef

func (EndpointKinesisStreamConfigAttributes) RoleArn

func (EndpointKinesisStreamConfigAttributes) StreamArn

type EndpointKinesisStreamConfigState

type EndpointKinesisStreamConfigState struct {
	RoleArn   string `json:"role_arn"`
	StreamArn string `json:"stream_arn"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acrlc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acrlc *Resource) State() (*awsCloudfrontRealtimeLogConfigState, bool)

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

func (*Resource) StateMust

func (acrlc *Resource) StateMust() *awsCloudfrontRealtimeLogConfigState

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

func (*Resource) Type

func (acrlc *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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