Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataImageTestsConfigurationAttributes
- func (itc DataImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue
- func (itc DataImageTestsConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (itc DataImageTestsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (itc DataImageTestsConfigurationAttributes) InternalWithRef(ref terra.Reference) DataImageTestsConfigurationAttributes
- func (itc DataImageTestsConfigurationAttributes) TimeoutMinutes() terra.NumberValue
- type DataImageTestsConfigurationState
- type DataOutputResourcesAmisAttributes
- func (a DataOutputResourcesAmisAttributes) AccountId() terra.StringValue
- func (a DataOutputResourcesAmisAttributes) Description() terra.StringValue
- func (a DataOutputResourcesAmisAttributes) Image() terra.StringValue
- func (a DataOutputResourcesAmisAttributes) InternalRef() (terra.Reference, error)
- func (a DataOutputResourcesAmisAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataOutputResourcesAmisAttributes) InternalWithRef(ref terra.Reference) DataOutputResourcesAmisAttributes
- func (a DataOutputResourcesAmisAttributes) Name() terra.StringValue
- func (a DataOutputResourcesAmisAttributes) Region() terra.StringValue
- type DataOutputResourcesAmisState
- type DataOutputResourcesAttributes
- func (or DataOutputResourcesAttributes) Amis() terra.SetValue[DataOutputResourcesAmisAttributes]
- func (or DataOutputResourcesAttributes) InternalRef() (terra.Reference, error)
- func (or DataOutputResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (or DataOutputResourcesAttributes) InternalWithRef(ref terra.Reference) DataOutputResourcesAttributes
- type DataOutputResourcesState
- type DataSource
- type ImageTestsConfiguration
- type ImageTestsConfigurationAttributes
- func (itc ImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue
- func (itc ImageTestsConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (itc ImageTestsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (itc ImageTestsConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageTestsConfigurationAttributes
- func (itc ImageTestsConfigurationAttributes) TimeoutMinutes() terra.NumberValue
- type ImageTestsConfigurationState
- type OutputResourcesAmisAttributes
- func (a OutputResourcesAmisAttributes) AccountId() terra.StringValue
- func (a OutputResourcesAmisAttributes) Description() terra.StringValue
- func (a OutputResourcesAmisAttributes) Image() terra.StringValue
- func (a OutputResourcesAmisAttributes) InternalRef() (terra.Reference, error)
- func (a OutputResourcesAmisAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a OutputResourcesAmisAttributes) InternalWithRef(ref terra.Reference) OutputResourcesAmisAttributes
- func (a OutputResourcesAmisAttributes) Name() terra.StringValue
- func (a OutputResourcesAmisAttributes) Region() terra.StringValue
- type OutputResourcesAmisState
- type OutputResourcesAttributes
- func (or OutputResourcesAttributes) Amis() terra.SetValue[OutputResourcesAmisAttributes]
- func (or OutputResourcesAttributes) InternalRef() (terra.Reference, error)
- func (or OutputResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (or OutputResourcesAttributes) InternalWithRef(ref terra.Reference) OutputResourcesAttributes
- type OutputResourcesState
- type Resource
- func (aii *Resource) Attributes() awsImagebuilderImageAttributes
- func (aii *Resource) Configuration() interface{}
- func (aii *Resource) DependOn() terra.Reference
- func (aii *Resource) Dependencies() terra.Dependencies
- func (aii *Resource) ImportState(state io.Reader) error
- func (aii *Resource) LifecycleManagement() *terra.Lifecycle
- func (aii *Resource) LocalName() string
- func (aii *Resource) State() (*awsImagebuilderImageState, bool)
- func (aii *Resource) StateMust() *awsImagebuilderImageState
- func (aii *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ContainerRecipeArn: string, optional ContainerRecipeArn terra.StringValue `hcl:"container_recipe_arn,attr"` // DistributionConfigurationArn: string, optional DistributionConfigurationArn terra.StringValue `hcl:"distribution_configuration_arn,attr"` // EnhancedImageMetadataEnabled: bool, optional EnhancedImageMetadataEnabled terra.BoolValue `hcl:"enhanced_image_metadata_enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImageRecipeArn: string, optional ImageRecipeArn terra.StringValue `hcl:"image_recipe_arn,attr"` // InfrastructureConfigurationArn: string, required InfrastructureConfigurationArn terra.StringValue `hcl:"infrastructure_configuration_arn,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"` // ImageTestsConfiguration: optional ImageTestsConfiguration *ImageTestsConfiguration `hcl:"image_tests_configuration,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_imagebuilder_image.
type DataArgs ¶
type DataArgs struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,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_imagebuilder_image.
type DataImageTestsConfigurationAttributes ¶
type DataImageTestsConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataImageTestsConfigurationAttributes) ImageTestsEnabled ¶
func (itc DataImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue
func (DataImageTestsConfigurationAttributes) InternalRef ¶
func (itc DataImageTestsConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataImageTestsConfigurationAttributes) InternalTokens ¶
func (itc DataImageTestsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataImageTestsConfigurationAttributes) InternalWithRef ¶
func (itc DataImageTestsConfigurationAttributes) InternalWithRef(ref terra.Reference) DataImageTestsConfigurationAttributes
func (DataImageTestsConfigurationAttributes) TimeoutMinutes ¶
func (itc DataImageTestsConfigurationAttributes) TimeoutMinutes() terra.NumberValue
type DataOutputResourcesAmisAttributes ¶
type DataOutputResourcesAmisAttributes struct {
// contains filtered or unexported fields
}
func (DataOutputResourcesAmisAttributes) AccountId ¶
func (a DataOutputResourcesAmisAttributes) AccountId() terra.StringValue
func (DataOutputResourcesAmisAttributes) Description ¶
func (a DataOutputResourcesAmisAttributes) Description() terra.StringValue
func (DataOutputResourcesAmisAttributes) Image ¶
func (a DataOutputResourcesAmisAttributes) Image() terra.StringValue
func (DataOutputResourcesAmisAttributes) InternalRef ¶
func (a DataOutputResourcesAmisAttributes) InternalRef() (terra.Reference, error)
func (DataOutputResourcesAmisAttributes) InternalTokens ¶
func (a DataOutputResourcesAmisAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataOutputResourcesAmisAttributes) InternalWithRef ¶
func (a DataOutputResourcesAmisAttributes) InternalWithRef(ref terra.Reference) DataOutputResourcesAmisAttributes
func (DataOutputResourcesAmisAttributes) Name ¶
func (a DataOutputResourcesAmisAttributes) Name() terra.StringValue
func (DataOutputResourcesAmisAttributes) Region ¶
func (a DataOutputResourcesAmisAttributes) Region() terra.StringValue
type DataOutputResourcesAttributes ¶
type DataOutputResourcesAttributes struct {
// contains filtered or unexported fields
}
func (DataOutputResourcesAttributes) Amis ¶
func (or DataOutputResourcesAttributes) Amis() terra.SetValue[DataOutputResourcesAmisAttributes]
func (DataOutputResourcesAttributes) InternalRef ¶
func (or DataOutputResourcesAttributes) InternalRef() (terra.Reference, error)
func (DataOutputResourcesAttributes) InternalTokens ¶
func (or DataOutputResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataOutputResourcesAttributes) InternalWithRef ¶
func (or DataOutputResourcesAttributes) InternalWithRef(ref terra.Reference) DataOutputResourcesAttributes
type DataOutputResourcesState ¶
type DataOutputResourcesState struct {
Amis []DataOutputResourcesAmisState `json:"amis"`
}
type DataSource ¶
DataSource represents the Terraform data resource aws_imagebuilder_image.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aii *DataSource) Attributes() dataAwsImagebuilderImageAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aii *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aii *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aii *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type ImageTestsConfiguration ¶
type ImageTestsConfiguration struct { // ImageTestsEnabled: bool, optional ImageTestsEnabled terra.BoolValue `hcl:"image_tests_enabled,attr"` // TimeoutMinutes: number, optional TimeoutMinutes terra.NumberValue `hcl:"timeout_minutes,attr"` }
type ImageTestsConfigurationAttributes ¶
type ImageTestsConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ImageTestsConfigurationAttributes) ImageTestsEnabled ¶
func (itc ImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue
func (ImageTestsConfigurationAttributes) InternalRef ¶
func (itc ImageTestsConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ImageTestsConfigurationAttributes) InternalTokens ¶
func (itc ImageTestsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImageTestsConfigurationAttributes) InternalWithRef ¶
func (itc ImageTestsConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageTestsConfigurationAttributes
func (ImageTestsConfigurationAttributes) TimeoutMinutes ¶
func (itc ImageTestsConfigurationAttributes) TimeoutMinutes() terra.NumberValue
type OutputResourcesAmisAttributes ¶
type OutputResourcesAmisAttributes struct {
// contains filtered or unexported fields
}
func (OutputResourcesAmisAttributes) AccountId ¶
func (a OutputResourcesAmisAttributes) AccountId() terra.StringValue
func (OutputResourcesAmisAttributes) Description ¶
func (a OutputResourcesAmisAttributes) Description() terra.StringValue
func (OutputResourcesAmisAttributes) Image ¶
func (a OutputResourcesAmisAttributes) Image() terra.StringValue
func (OutputResourcesAmisAttributes) InternalRef ¶
func (a OutputResourcesAmisAttributes) InternalRef() (terra.Reference, error)
func (OutputResourcesAmisAttributes) InternalTokens ¶
func (a OutputResourcesAmisAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OutputResourcesAmisAttributes) InternalWithRef ¶
func (a OutputResourcesAmisAttributes) InternalWithRef(ref terra.Reference) OutputResourcesAmisAttributes
func (OutputResourcesAmisAttributes) Name ¶
func (a OutputResourcesAmisAttributes) Name() terra.StringValue
func (OutputResourcesAmisAttributes) Region ¶
func (a OutputResourcesAmisAttributes) Region() terra.StringValue
type OutputResourcesAttributes ¶
type OutputResourcesAttributes struct {
// contains filtered or unexported fields
}
func (OutputResourcesAttributes) Amis ¶
func (or OutputResourcesAttributes) Amis() terra.SetValue[OutputResourcesAmisAttributes]
func (OutputResourcesAttributes) InternalRef ¶
func (or OutputResourcesAttributes) InternalRef() (terra.Reference, error)
func (OutputResourcesAttributes) InternalTokens ¶
func (or OutputResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OutputResourcesAttributes) InternalWithRef ¶
func (or OutputResourcesAttributes) InternalWithRef(ref terra.Reference) OutputResourcesAttributes
type OutputResourcesState ¶
type OutputResourcesState struct {
Amis []OutputResourcesAmisState `json:"amis"`
}
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_imagebuilder_image.
func (*Resource) Attributes ¶
func (aii *Resource) Attributes() awsImagebuilderImageAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aii *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aii *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
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 {
Create string `json:"create"`
}