aws_route53recoveryreadiness_resource_set

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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ResourceSetName: string, required
	ResourceSetName terra.StringValue `hcl:"resource_set_name,attr" validate:"required"`
	// ResourceSetType: string, required
	ResourceSetType terra.StringValue `hcl:"resource_set_type,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"`
	// Resources: min=1
	Resources []Resources `hcl:"resources,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_route53recoveryreadiness_resource_set.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (arrs *Resource) Attributes() awsRoute53RecoveryreadinessResourceSetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (arrs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (arrs *Resource) State() (*awsRoute53RecoveryreadinessResourceSetState, bool)

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

func (*Resource) StateMust

func (arrs *Resource) StateMust() *awsRoute53RecoveryreadinessResourceSetState

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

func (*Resource) Type

func (arrs *Resource) Type() string

Type returns the Terraform object type for Resource.

type Resources

type Resources struct {
	// ReadinessScopes: list of string, optional
	ReadinessScopes terra.ListValue[terra.StringValue] `hcl:"readiness_scopes,attr"`
	// ResourceArn: string, optional
	ResourceArn terra.StringValue `hcl:"resource_arn,attr"`
	// ResourcesDnsTargetResource: optional
	DnsTargetResource *ResourcesDnsTargetResource `hcl:"dns_target_resource,block"`
}

type ResourcesAttributes

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

func (ResourcesAttributes) ComponentId

func (r ResourcesAttributes) ComponentId() terra.StringValue

func (ResourcesAttributes) DnsTargetResource

func (ResourcesAttributes) InternalRef

func (r ResourcesAttributes) InternalRef() (terra.Reference, error)

func (ResourcesAttributes) InternalTokens

func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourcesAttributes) InternalWithRef

func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes

func (ResourcesAttributes) ReadinessScopes

func (r ResourcesAttributes) ReadinessScopes() terra.ListValue[terra.StringValue]

func (ResourcesAttributes) ResourceArn

func (r ResourcesAttributes) ResourceArn() terra.StringValue

type ResourcesDnsTargetResource

type ResourcesDnsTargetResource struct {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// HostedZoneArn: string, optional
	HostedZoneArn terra.StringValue `hcl:"hosted_zone_arn,attr"`
	// RecordSetId: string, optional
	RecordSetId terra.StringValue `hcl:"record_set_id,attr"`
	// RecordType: string, optional
	RecordType terra.StringValue `hcl:"record_type,attr"`
	// ResourcesDnsTargetResourceTargetResource: optional
	TargetResource *ResourcesDnsTargetResourceTargetResource `hcl:"target_resource,block"`
}

type ResourcesDnsTargetResourceAttributes

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

func (ResourcesDnsTargetResourceAttributes) DomainName

func (ResourcesDnsTargetResourceAttributes) HostedZoneArn

func (ResourcesDnsTargetResourceAttributes) InternalRef

func (ResourcesDnsTargetResourceAttributes) InternalTokens

func (ResourcesDnsTargetResourceAttributes) InternalWithRef

func (ResourcesDnsTargetResourceAttributes) RecordSetId

func (ResourcesDnsTargetResourceAttributes) RecordType

func (ResourcesDnsTargetResourceAttributes) TargetResource

type ResourcesDnsTargetResourceState

type ResourcesDnsTargetResourceState struct {
	DomainName     string                                          `json:"domain_name"`
	HostedZoneArn  string                                          `json:"hosted_zone_arn"`
	RecordSetId    string                                          `json:"record_set_id"`
	RecordType     string                                          `json:"record_type"`
	TargetResource []ResourcesDnsTargetResourceTargetResourceState `json:"target_resource"`
}

type ResourcesDnsTargetResourceTargetResource

type ResourcesDnsTargetResourceTargetResource struct {
	// ResourcesDnsTargetResourceTargetResourceNlbResource: optional
	NlbResource *ResourcesDnsTargetResourceTargetResourceNlbResource `hcl:"nlb_resource,block"`
	// ResourcesDnsTargetResourceTargetResourceR53Resource: optional
	R53Resource *ResourcesDnsTargetResourceTargetResourceR53Resource `hcl:"r53_resource,block"`
}

type ResourcesDnsTargetResourceTargetResourceAttributes

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

func (ResourcesDnsTargetResourceTargetResourceAttributes) InternalRef

func (ResourcesDnsTargetResourceTargetResourceAttributes) InternalTokens

func (ResourcesDnsTargetResourceTargetResourceAttributes) InternalWithRef

type ResourcesDnsTargetResourceTargetResourceNlbResource

type ResourcesDnsTargetResourceTargetResourceNlbResource struct {
	// Arn: string, optional
	Arn terra.StringValue `hcl:"arn,attr"`
}

type ResourcesDnsTargetResourceTargetResourceNlbResourceAttributes

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

func (ResourcesDnsTargetResourceTargetResourceNlbResourceAttributes) Arn

func (ResourcesDnsTargetResourceTargetResourceNlbResourceAttributes) InternalRef

func (ResourcesDnsTargetResourceTargetResourceNlbResourceAttributes) InternalTokens

func (ResourcesDnsTargetResourceTargetResourceNlbResourceAttributes) InternalWithRef

type ResourcesDnsTargetResourceTargetResourceNlbResourceState

type ResourcesDnsTargetResourceTargetResourceNlbResourceState struct {
	Arn string `json:"arn"`
}

type ResourcesDnsTargetResourceTargetResourceR53Resource

type ResourcesDnsTargetResourceTargetResourceR53Resource struct {
	// DomainName: string, optional
	DomainName terra.StringValue `hcl:"domain_name,attr"`
	// RecordSetId: string, optional
	RecordSetId terra.StringValue `hcl:"record_set_id,attr"`
}

type ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes

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

func (ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes) DomainName

func (ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes) InternalRef

func (ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes) InternalTokens

func (ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes) InternalWithRef

func (ResourcesDnsTargetResourceTargetResourceR53ResourceAttributes) RecordSetId

type ResourcesDnsTargetResourceTargetResourceR53ResourceState

type ResourcesDnsTargetResourceTargetResourceR53ResourceState struct {
	DomainName  string `json:"domain_name"`
	RecordSetId string `json:"record_set_id"`
}

type ResourcesDnsTargetResourceTargetResourceState

type ResourcesDnsTargetResourceTargetResourceState struct {
	NlbResource []ResourcesDnsTargetResourceTargetResourceNlbResourceState `json:"nlb_resource"`
	R53Resource []ResourcesDnsTargetResourceTargetResourceR53ResourceState `json:"r53_resource"`
}

type ResourcesState

type ResourcesState struct {
	ComponentId       string                            `json:"component_id"`
	ReadinessScopes   []string                          `json:"readiness_scopes"`
	ResourceArn       string                            `json:"resource_arn"`
	DnsTargetResource []ResourcesDnsTargetResourceState `json:"dns_target_resource"`
}

type Timeouts

type Timeouts struct {
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
}

type TimeoutsAttributes

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

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

type TimeoutsState

type TimeoutsState struct {
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

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