aws_evidently_project

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 {
	// 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"`
	// 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"`
	// DataDelivery: optional
	DataDelivery *DataDelivery `hcl:"data_delivery,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_evidently_project.

type DataDelivery

type DataDelivery struct {
	// DataDeliveryCloudwatchLogs: optional
	CloudwatchLogs *DataDeliveryCloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// DataDeliveryS3Destination: optional
	S3Destination *DataDeliveryS3Destination `hcl:"s3_destination,block"`
}

type DataDeliveryAttributes

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

func (DataDeliveryAttributes) CloudwatchLogs

func (DataDeliveryAttributes) InternalRef

func (dd DataDeliveryAttributes) InternalRef() (terra.Reference, error)

func (DataDeliveryAttributes) InternalTokens

func (dd DataDeliveryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDeliveryAttributes) InternalWithRef

func (DataDeliveryAttributes) S3Destination

type DataDeliveryCloudwatchLogs

type DataDeliveryCloudwatchLogs struct {
	// LogGroup: string, optional
	LogGroup terra.StringValue `hcl:"log_group,attr"`
}

type DataDeliveryCloudwatchLogsAttributes

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

func (DataDeliveryCloudwatchLogsAttributes) InternalRef

func (DataDeliveryCloudwatchLogsAttributes) InternalTokens

func (DataDeliveryCloudwatchLogsAttributes) InternalWithRef

func (DataDeliveryCloudwatchLogsAttributes) LogGroup

type DataDeliveryCloudwatchLogsState

type DataDeliveryCloudwatchLogsState struct {
	LogGroup string `json:"log_group"`
}

type DataDeliveryS3Destination

type DataDeliveryS3Destination struct {
	// Bucket: string, optional
	Bucket terra.StringValue `hcl:"bucket,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type DataDeliveryS3DestinationAttributes

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

func (DataDeliveryS3DestinationAttributes) Bucket

func (DataDeliveryS3DestinationAttributes) InternalRef

func (DataDeliveryS3DestinationAttributes) InternalTokens

func (DataDeliveryS3DestinationAttributes) InternalWithRef

func (DataDeliveryS3DestinationAttributes) Prefix

type DataDeliveryS3DestinationState

type DataDeliveryS3DestinationState struct {
	Bucket string `json:"bucket"`
	Prefix string `json:"prefix"`
}

type DataDeliveryState

type DataDeliveryState struct {
	CloudwatchLogs []DataDeliveryCloudwatchLogsState `json:"cloudwatch_logs"`
	S3Destination  []DataDeliveryS3DestinationState  `json:"s3_destination"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aep *Resource) Attributes() awsEvidentlyProjectAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aep *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aep *Resource) State() (*awsEvidentlyProjectState, bool)

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

func (*Resource) StateMust

func (aep *Resource) StateMust() *awsEvidentlyProjectState

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

func (*Resource) Type

func (aep *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