Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (acrd *Resource) Attributes() awsCurReportDefinitionAttributes
- func (acrd *Resource) Configuration() interface{}
- func (acrd *Resource) DependOn() terra.Reference
- func (acrd *Resource) Dependencies() terra.Dependencies
- func (acrd *Resource) ImportState(state io.Reader) error
- func (acrd *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrd *Resource) LocalName() string
- func (acrd *Resource) State() (*awsCurReportDefinitionState, bool)
- func (acrd *Resource) StateMust() *awsCurReportDefinitionState
- func (acrd *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AdditionalArtifacts: set of string, optional AdditionalArtifacts terra.SetValue[terra.StringValue] `hcl:"additional_artifacts,attr"` // AdditionalSchemaElements: set of string, required AdditionalSchemaElements terra.SetValue[terra.StringValue] `hcl:"additional_schema_elements,attr" validate:"required"` // Compression: string, required Compression terra.StringValue `hcl:"compression,attr" validate:"required"` // Format: string, required Format terra.StringValue `hcl:"format,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // RefreshClosedReports: bool, optional RefreshClosedReports terra.BoolValue `hcl:"refresh_closed_reports,attr"` // ReportName: string, required ReportName terra.StringValue `hcl:"report_name,attr" validate:"required"` // ReportVersioning: string, optional ReportVersioning terra.StringValue `hcl:"report_versioning,attr"` // S3Bucket: string, required S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"` // S3Prefix: string, optional S3Prefix terra.StringValue `hcl:"s3_prefix,attr"` // S3Region: string, required S3Region terra.StringValue `hcl:"s3_region,attr" validate:"required"` // TimeUnit: string, required TimeUnit terra.StringValue `hcl:"time_unit,attr" validate:"required"` }
Args contains the configurations for aws_cur_report_definition.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ReportName: string, required ReportName terra.StringValue `hcl:"report_name,attr" validate:"required"` }
DataArgs contains the configurations for aws_cur_report_definition.
type DataSource ¶
DataSource represents the Terraform data resource aws_cur_report_definition.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (acrd *DataSource) Attributes() dataAwsCurReportDefinitionAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (acrd *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (acrd *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (acrd *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_cur_report_definition.
func (*Resource) Attributes ¶
func (acrd *Resource) Attributes() awsCurReportDefinitionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrd *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrd *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.