Documentation ¶
Index ¶
- type Args
- type ReplicationConfiguration
- type ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) Rule() terra.ListValue[ReplicationConfigurationRuleAttributes]
- type ReplicationConfigurationRule
- type ReplicationConfigurationRuleAttributes
- func (r ReplicationConfigurationRuleAttributes) Destination() terra.ListValue[ReplicationConfigurationRuleDestinationAttributes]
- func (r ReplicationConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
- func (r ReplicationConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ReplicationConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleAttributes
- func (r ReplicationConfigurationRuleAttributes) RepositoryFilter() terra.ListValue[ReplicationConfigurationRuleRepositoryFilterAttributes]
- type ReplicationConfigurationRuleDestination
- type ReplicationConfigurationRuleDestinationAttributes
- func (d ReplicationConfigurationRuleDestinationAttributes) InternalRef() (terra.Reference, error)
- func (d ReplicationConfigurationRuleDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d ReplicationConfigurationRuleDestinationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleDestinationAttributes
- func (d ReplicationConfigurationRuleDestinationAttributes) Region() terra.StringValue
- func (d ReplicationConfigurationRuleDestinationAttributes) RegistryId() terra.StringValue
- type ReplicationConfigurationRuleDestinationState
- type ReplicationConfigurationRuleRepositoryFilter
- type ReplicationConfigurationRuleRepositoryFilterAttributes
- func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) Filter() terra.StringValue
- func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) FilterType() terra.StringValue
- func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalRef() (terra.Reference, error)
- func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleRepositoryFilterAttributes
- type ReplicationConfigurationRuleRepositoryFilterState
- type ReplicationConfigurationRuleState
- type ReplicationConfigurationState
- type Resource
- func (aerc *Resource) Attributes() awsEcrReplicationConfigurationAttributes
- func (aerc *Resource) Configuration() interface{}
- func (aerc *Resource) DependOn() terra.Reference
- func (aerc *Resource) Dependencies() terra.Dependencies
- func (aerc *Resource) ImportState(state io.Reader) error
- func (aerc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aerc *Resource) LocalName() string
- func (aerc *Resource) State() (*awsEcrReplicationConfigurationState, bool)
- func (aerc *Resource) StateMust() *awsEcrReplicationConfigurationState
- func (aerc *Resource) Type() string
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"` // ReplicationConfiguration: optional ReplicationConfiguration *ReplicationConfiguration `hcl:"replication_configuration,block"` }
Args contains the configurations for aws_ecr_replication_configuration.
type ReplicationConfiguration ¶
type ReplicationConfiguration struct { // ReplicationConfigurationRule: min=1,max=10 Rule []ReplicationConfigurationRule `hcl:"rule,block" validate:"min=1,max=10"` }
type ReplicationConfigurationAttributes ¶
type ReplicationConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationAttributes) InternalRef ¶
func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationAttributes) InternalTokens ¶
func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationAttributes) InternalWithRef ¶
func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
type ReplicationConfigurationRule ¶
type ReplicationConfigurationRule struct { // ReplicationConfigurationRuleDestination: min=1,max=25 Destination []ReplicationConfigurationRuleDestination `hcl:"destination,block" validate:"min=1,max=25"` // ReplicationConfigurationRuleRepositoryFilter: min=0,max=100 RepositoryFilter []ReplicationConfigurationRuleRepositoryFilter `hcl:"repository_filter,block" validate:"min=0,max=100"` }
type ReplicationConfigurationRuleAttributes ¶
type ReplicationConfigurationRuleAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRuleAttributes) Destination ¶
func (r ReplicationConfigurationRuleAttributes) Destination() terra.ListValue[ReplicationConfigurationRuleDestinationAttributes]
func (ReplicationConfigurationRuleAttributes) InternalRef ¶
func (r ReplicationConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRuleAttributes) InternalTokens ¶
func (r ReplicationConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRuleAttributes) InternalWithRef ¶
func (r ReplicationConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleAttributes
func (ReplicationConfigurationRuleAttributes) RepositoryFilter ¶
func (r ReplicationConfigurationRuleAttributes) RepositoryFilter() terra.ListValue[ReplicationConfigurationRuleRepositoryFilterAttributes]
type ReplicationConfigurationRuleDestination ¶
type ReplicationConfigurationRuleDestination struct { // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` // RegistryId: string, required RegistryId terra.StringValue `hcl:"registry_id,attr" validate:"required"` }
type ReplicationConfigurationRuleDestinationAttributes ¶
type ReplicationConfigurationRuleDestinationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRuleDestinationAttributes) InternalRef ¶
func (d ReplicationConfigurationRuleDestinationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRuleDestinationAttributes) InternalTokens ¶
func (d ReplicationConfigurationRuleDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRuleDestinationAttributes) InternalWithRef ¶
func (d ReplicationConfigurationRuleDestinationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleDestinationAttributes
func (ReplicationConfigurationRuleDestinationAttributes) Region ¶
func (d ReplicationConfigurationRuleDestinationAttributes) Region() terra.StringValue
func (ReplicationConfigurationRuleDestinationAttributes) RegistryId ¶
func (d ReplicationConfigurationRuleDestinationAttributes) RegistryId() terra.StringValue
type ReplicationConfigurationRuleRepositoryFilter ¶
type ReplicationConfigurationRuleRepositoryFilter struct { // Filter: string, required Filter terra.StringValue `hcl:"filter,attr" validate:"required"` // FilterType: string, required FilterType terra.StringValue `hcl:"filter_type,attr" validate:"required"` }
type ReplicationConfigurationRuleRepositoryFilterAttributes ¶
type ReplicationConfigurationRuleRepositoryFilterAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRuleRepositoryFilterAttributes) Filter ¶
func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) Filter() terra.StringValue
func (ReplicationConfigurationRuleRepositoryFilterAttributes) FilterType ¶
func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) FilterType() terra.StringValue
func (ReplicationConfigurationRuleRepositoryFilterAttributes) InternalRef ¶
func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRuleRepositoryFilterAttributes) InternalTokens ¶
func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRuleRepositoryFilterAttributes) InternalWithRef ¶
func (rf ReplicationConfigurationRuleRepositoryFilterAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRuleRepositoryFilterAttributes
type ReplicationConfigurationRuleState ¶
type ReplicationConfigurationRuleState struct { Destination []ReplicationConfigurationRuleDestinationState `json:"destination"` RepositoryFilter []ReplicationConfigurationRuleRepositoryFilterState `json:"repository_filter"` }
type ReplicationConfigurationState ¶
type ReplicationConfigurationState struct {
Rule []ReplicationConfigurationRuleState `json:"rule"`
}
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_ecr_replication_configuration.
func (*Resource) Attributes ¶
func (aerc *Resource) Attributes() awsEcrReplicationConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aerc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aerc *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.
Click to show internal directories.
Click to hide internal directories.