aws_appconfig_configuration_profile

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 {
	// ApplicationId: string, required
	ApplicationId terra.StringValue `hcl:"application_id,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LocationUri: string, required
	LocationUri terra.StringValue `hcl:"location_uri,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RetrievalRoleArn: string, optional
	RetrievalRoleArn terra.StringValue `hcl:"retrieval_role_arn,attr"`
	// 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"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Validator: min=0,max=2
	Validator []Validator `hcl:"validator,block" validate:"min=0,max=2"`
}

Args contains the configurations for aws_appconfig_configuration_profile.

type DataArgs

type DataArgs struct {
	// ApplicationId: string, required
	ApplicationId terra.StringValue `hcl:"application_id,attr" validate:"required"`
	// ConfigurationProfileId: string, required
	ConfigurationProfileId terra.StringValue `hcl:"configuration_profile_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_appconfig_configuration_profile.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_appconfig_configuration_profile.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aacp *DataSource) Attributes() dataAwsAppconfigConfigurationProfileAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aacp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aacp *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataValidatorAttributes

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

func (DataValidatorAttributes) Content

func (DataValidatorAttributes) InternalRef

func (v DataValidatorAttributes) InternalRef() (terra.Reference, error)

func (DataValidatorAttributes) InternalTokens

func (v DataValidatorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataValidatorAttributes) InternalWithRef

func (DataValidatorAttributes) Type

type DataValidatorState

type DataValidatorState struct {
	Content string `json:"content"`
	Type    string `json:"type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aacp *Resource) Attributes() awsAppconfigConfigurationProfileAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aacp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aacp *Resource) State() (*awsAppconfigConfigurationProfileState, bool)

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

func (*Resource) StateMust

func (aacp *Resource) StateMust() *awsAppconfigConfigurationProfileState

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

func (*Resource) Type

func (aacp *Resource) Type() string

Type returns the Terraform object type for Resource.

type Validator

type Validator struct {
	// Content: string, optional
	Content terra.StringValue `hcl:"content,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ValidatorAttributes

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

func (ValidatorAttributes) Content

func (ValidatorAttributes) InternalRef

func (v ValidatorAttributes) InternalRef() (terra.Reference, error)

func (ValidatorAttributes) InternalTokens

func (v ValidatorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidatorAttributes) InternalWithRef

func (v ValidatorAttributes) InternalWithRef(ref terra.Reference) ValidatorAttributes

func (ValidatorAttributes) Type

type ValidatorState

type ValidatorState struct {
	Content string `json:"content"`
	Type    string `json:"type"`
}

Jump to

Keyboard shortcuts

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