Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataUsageMetricAttributes
- func (um DataUsageMetricAttributes) InternalRef() (terra.Reference, error)
- func (um DataUsageMetricAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (um DataUsageMetricAttributes) InternalWithRef(ref terra.Reference) DataUsageMetricAttributes
- func (um DataUsageMetricAttributes) MetricDimensions() terra.ListValue[DataUsageMetricMetricDimensionsAttributes]
- func (um DataUsageMetricAttributes) MetricName() terra.StringValue
- func (um DataUsageMetricAttributes) MetricNamespace() terra.StringValue
- func (um DataUsageMetricAttributes) MetricStatisticRecommendation() terra.StringValue
- type DataUsageMetricMetricDimensionsAttributes
- func (md DataUsageMetricMetricDimensionsAttributes) Class() terra.StringValue
- func (md DataUsageMetricMetricDimensionsAttributes) InternalRef() (terra.Reference, error)
- func (md DataUsageMetricMetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (md DataUsageMetricMetricDimensionsAttributes) InternalWithRef(ref terra.Reference) DataUsageMetricMetricDimensionsAttributes
- func (md DataUsageMetricMetricDimensionsAttributes) Resource() terra.StringValue
- func (md DataUsageMetricMetricDimensionsAttributes) Service() terra.StringValue
- func (md DataUsageMetricMetricDimensionsAttributes) Type() terra.StringValue
- type DataUsageMetricMetricDimensionsState
- type DataUsageMetricState
- type Resource
- func (assq *Resource) Attributes() awsServicequotasServiceQuotaAttributes
- func (assq *Resource) Configuration() interface{}
- func (assq *Resource) DependOn() terra.Reference
- func (assq *Resource) Dependencies() terra.Dependencies
- func (assq *Resource) ImportState(state io.Reader) error
- func (assq *Resource) LifecycleManagement() *terra.Lifecycle
- func (assq *Resource) LocalName() string
- func (assq *Resource) State() (*awsServicequotasServiceQuotaState, bool)
- func (assq *Resource) StateMust() *awsServicequotasServiceQuotaState
- func (assq *Resource) Type() string
- type UsageMetricAttributes
- func (um UsageMetricAttributes) InternalRef() (terra.Reference, error)
- func (um UsageMetricAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (um UsageMetricAttributes) InternalWithRef(ref terra.Reference) UsageMetricAttributes
- func (um UsageMetricAttributes) MetricDimensions() terra.ListValue[UsageMetricMetricDimensionsAttributes]
- func (um UsageMetricAttributes) MetricName() terra.StringValue
- func (um UsageMetricAttributes) MetricNamespace() terra.StringValue
- func (um UsageMetricAttributes) MetricStatisticRecommendation() terra.StringValue
- type UsageMetricMetricDimensionsAttributes
- func (md UsageMetricMetricDimensionsAttributes) Class() terra.StringValue
- func (md UsageMetricMetricDimensionsAttributes) InternalRef() (terra.Reference, error)
- func (md UsageMetricMetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (md UsageMetricMetricDimensionsAttributes) InternalWithRef(ref terra.Reference) UsageMetricMetricDimensionsAttributes
- func (md UsageMetricMetricDimensionsAttributes) Resource() terra.StringValue
- func (md UsageMetricMetricDimensionsAttributes) Service() terra.StringValue
- func (md UsageMetricMetricDimensionsAttributes) Type() terra.StringValue
- type UsageMetricMetricDimensionsState
- type UsageMetricState
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"` // QuotaCode: string, required QuotaCode terra.StringValue `hcl:"quota_code,attr" validate:"required"` // ServiceCode: string, required ServiceCode terra.StringValue `hcl:"service_code,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
Args contains the configurations for aws_servicequotas_service_quota.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // QuotaCode: string, optional QuotaCode terra.StringValue `hcl:"quota_code,attr"` // QuotaName: string, optional QuotaName terra.StringValue `hcl:"quota_name,attr"` // ServiceCode: string, required ServiceCode terra.StringValue `hcl:"service_code,attr" validate:"required"` }
DataArgs contains the configurations for aws_servicequotas_service_quota.
type DataSource ¶
DataSource represents the Terraform data resource aws_servicequotas_service_quota.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (assq *DataSource) Attributes() dataAwsServicequotasServiceQuotaAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (assq *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (assq *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (assq *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataUsageMetricAttributes ¶
type DataUsageMetricAttributes struct {
// contains filtered or unexported fields
}
func (DataUsageMetricAttributes) InternalRef ¶
func (um DataUsageMetricAttributes) InternalRef() (terra.Reference, error)
func (DataUsageMetricAttributes) InternalTokens ¶
func (um DataUsageMetricAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataUsageMetricAttributes) InternalWithRef ¶
func (um DataUsageMetricAttributes) InternalWithRef(ref terra.Reference) DataUsageMetricAttributes
func (DataUsageMetricAttributes) MetricDimensions ¶
func (um DataUsageMetricAttributes) MetricDimensions() terra.ListValue[DataUsageMetricMetricDimensionsAttributes]
func (DataUsageMetricAttributes) MetricName ¶
func (um DataUsageMetricAttributes) MetricName() terra.StringValue
func (DataUsageMetricAttributes) MetricNamespace ¶
func (um DataUsageMetricAttributes) MetricNamespace() terra.StringValue
func (DataUsageMetricAttributes) MetricStatisticRecommendation ¶
func (um DataUsageMetricAttributes) MetricStatisticRecommendation() terra.StringValue
type DataUsageMetricMetricDimensionsAttributes ¶
type DataUsageMetricMetricDimensionsAttributes struct {
// contains filtered or unexported fields
}
func (DataUsageMetricMetricDimensionsAttributes) Class ¶
func (md DataUsageMetricMetricDimensionsAttributes) Class() terra.StringValue
func (DataUsageMetricMetricDimensionsAttributes) InternalRef ¶
func (md DataUsageMetricMetricDimensionsAttributes) InternalRef() (terra.Reference, error)
func (DataUsageMetricMetricDimensionsAttributes) InternalTokens ¶
func (md DataUsageMetricMetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataUsageMetricMetricDimensionsAttributes) InternalWithRef ¶
func (md DataUsageMetricMetricDimensionsAttributes) InternalWithRef(ref terra.Reference) DataUsageMetricMetricDimensionsAttributes
func (DataUsageMetricMetricDimensionsAttributes) Resource ¶
func (md DataUsageMetricMetricDimensionsAttributes) Resource() terra.StringValue
func (DataUsageMetricMetricDimensionsAttributes) Service ¶
func (md DataUsageMetricMetricDimensionsAttributes) Service() terra.StringValue
func (DataUsageMetricMetricDimensionsAttributes) Type ¶
func (md DataUsageMetricMetricDimensionsAttributes) Type() terra.StringValue
type DataUsageMetricState ¶
type DataUsageMetricState struct { MetricName string `json:"metric_name"` MetricNamespace string `json:"metric_namespace"` MetricStatisticRecommendation string `json:"metric_statistic_recommendation"` MetricDimensions []DataUsageMetricMetricDimensionsState `json:"metric_dimensions"` }
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_servicequotas_service_quota.
func (*Resource) Attributes ¶
func (assq *Resource) Attributes() awsServicequotasServiceQuotaAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (assq *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (assq *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.
type UsageMetricAttributes ¶
type UsageMetricAttributes struct {
// contains filtered or unexported fields
}
func (UsageMetricAttributes) InternalRef ¶
func (um UsageMetricAttributes) InternalRef() (terra.Reference, error)
func (UsageMetricAttributes) InternalTokens ¶
func (um UsageMetricAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UsageMetricAttributes) InternalWithRef ¶
func (um UsageMetricAttributes) InternalWithRef(ref terra.Reference) UsageMetricAttributes
func (UsageMetricAttributes) MetricDimensions ¶
func (um UsageMetricAttributes) MetricDimensions() terra.ListValue[UsageMetricMetricDimensionsAttributes]
func (UsageMetricAttributes) MetricName ¶
func (um UsageMetricAttributes) MetricName() terra.StringValue
func (UsageMetricAttributes) MetricNamespace ¶
func (um UsageMetricAttributes) MetricNamespace() terra.StringValue
func (UsageMetricAttributes) MetricStatisticRecommendation ¶
func (um UsageMetricAttributes) MetricStatisticRecommendation() terra.StringValue
type UsageMetricMetricDimensionsAttributes ¶
type UsageMetricMetricDimensionsAttributes struct {
// contains filtered or unexported fields
}
func (UsageMetricMetricDimensionsAttributes) Class ¶
func (md UsageMetricMetricDimensionsAttributes) Class() terra.StringValue
func (UsageMetricMetricDimensionsAttributes) InternalRef ¶
func (md UsageMetricMetricDimensionsAttributes) InternalRef() (terra.Reference, error)
func (UsageMetricMetricDimensionsAttributes) InternalTokens ¶
func (md UsageMetricMetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UsageMetricMetricDimensionsAttributes) InternalWithRef ¶
func (md UsageMetricMetricDimensionsAttributes) InternalWithRef(ref terra.Reference) UsageMetricMetricDimensionsAttributes
func (UsageMetricMetricDimensionsAttributes) Resource ¶
func (md UsageMetricMetricDimensionsAttributes) Resource() terra.StringValue
func (UsageMetricMetricDimensionsAttributes) Service ¶
func (md UsageMetricMetricDimensionsAttributes) Service() terra.StringValue
func (UsageMetricMetricDimensionsAttributes) Type ¶
func (md UsageMetricMetricDimensionsAttributes) Type() terra.StringValue
type UsageMetricState ¶
type UsageMetricState struct { MetricName string `json:"metric_name"` MetricNamespace string `json:"metric_namespace"` MetricStatisticRecommendation string `json:"metric_statistic_recommendation"` MetricDimensions []UsageMetricMetricDimensionsState `json:"metric_dimensions"` }