Documentation ¶
Index ¶
- type Args
- type ArtifactConfig
- type ArtifactConfigAttributes
- func (ac ArtifactConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac ArtifactConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ArtifactConfigAttributes) InternalWithRef(ref terra.Reference) ArtifactConfigAttributes
- func (ac ArtifactConfigAttributes) S3Encryption() terra.ListValue[ArtifactConfigS3EncryptionAttributes]
- type ArtifactConfigS3Encryption
- type ArtifactConfigS3EncryptionAttributes
- func (se ArtifactConfigS3EncryptionAttributes) EncryptionMode() terra.StringValue
- func (se ArtifactConfigS3EncryptionAttributes) InternalRef() (terra.Reference, error)
- func (se ArtifactConfigS3EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (se ArtifactConfigS3EncryptionAttributes) InternalWithRef(ref terra.Reference) ArtifactConfigS3EncryptionAttributes
- func (se ArtifactConfigS3EncryptionAttributes) KmsKeyArn() terra.StringValue
- type ArtifactConfigS3EncryptionState
- type ArtifactConfigState
- type Resource
- func (asc *Resource) Attributes() awsSyntheticsCanaryAttributes
- func (asc *Resource) Configuration() interface{}
- func (asc *Resource) DependOn() terra.Reference
- func (asc *Resource) Dependencies() terra.Dependencies
- func (asc *Resource) ImportState(state io.Reader) error
- func (asc *Resource) LifecycleManagement() *terra.Lifecycle
- func (asc *Resource) LocalName() string
- func (asc *Resource) State() (*awsSyntheticsCanaryState, bool)
- func (asc *Resource) StateMust() *awsSyntheticsCanaryState
- func (asc *Resource) Type() string
- type RunConfig
- type RunConfigAttributes
- func (rc RunConfigAttributes) ActiveTracing() terra.BoolValue
- func (rc RunConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (rc RunConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc RunConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RunConfigAttributes) InternalWithRef(ref terra.Reference) RunConfigAttributes
- func (rc RunConfigAttributes) MemoryInMb() terra.NumberValue
- func (rc RunConfigAttributes) TimeoutInSeconds() terra.NumberValue
- type RunConfigState
- type Schedule
- type ScheduleAttributes
- func (s ScheduleAttributes) DurationInSeconds() terra.NumberValue
- func (s ScheduleAttributes) Expression() terra.StringValue
- func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
- type ScheduleState
- type TimelineAttributes
- func (t TimelineAttributes) Created() terra.StringValue
- func (t TimelineAttributes) InternalRef() (terra.Reference, error)
- func (t TimelineAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimelineAttributes) InternalWithRef(ref terra.Reference) TimelineAttributes
- func (t TimelineAttributes) LastModified() terra.StringValue
- func (t TimelineAttributes) LastStarted() terra.StringValue
- func (t TimelineAttributes) LastStopped() terra.StringValue
- type TimelineState
- type VpcConfig
- type VpcConfigAttributes
- func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)
- func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes
- func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigAttributes) VpcId() terra.StringValue
- type VpcConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ArtifactS3Location: string, required ArtifactS3Location terra.StringValue `hcl:"artifact_s3_location,attr" validate:"required"` // DeleteLambda: bool, optional DeleteLambda terra.BoolValue `hcl:"delete_lambda,attr"` // ExecutionRoleArn: string, required ExecutionRoleArn terra.StringValue `hcl:"execution_role_arn,attr" validate:"required"` // FailureRetentionPeriod: number, optional FailureRetentionPeriod terra.NumberValue `hcl:"failure_retention_period,attr"` // Handler: string, required Handler terra.StringValue `hcl:"handler,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RuntimeVersion: string, required RuntimeVersion terra.StringValue `hcl:"runtime_version,attr" validate:"required"` // S3Bucket: string, optional S3Bucket terra.StringValue `hcl:"s3_bucket,attr"` // S3Key: string, optional S3Key terra.StringValue `hcl:"s3_key,attr"` // S3Version: string, optional S3Version terra.StringValue `hcl:"s3_version,attr"` // StartCanary: bool, optional StartCanary terra.BoolValue `hcl:"start_canary,attr"` // SuccessRetentionPeriod: number, optional SuccessRetentionPeriod terra.NumberValue `hcl:"success_retention_period,attr"` // 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"` // ZipFile: string, optional ZipFile terra.StringValue `hcl:"zip_file,attr"` // ArtifactConfig: optional ArtifactConfig *ArtifactConfig `hcl:"artifact_config,block"` // RunConfig: optional RunConfig *RunConfig `hcl:"run_config,block"` // Schedule: required Schedule *Schedule `hcl:"schedule,block" validate:"required"` // VpcConfig: optional VpcConfig *VpcConfig `hcl:"vpc_config,block"` }
Args contains the configurations for aws_synthetics_canary.
type ArtifactConfig ¶
type ArtifactConfig struct { // ArtifactConfigS3Encryption: optional S3Encryption *ArtifactConfigS3Encryption `hcl:"s3_encryption,block"` }
type ArtifactConfigAttributes ¶
type ArtifactConfigAttributes struct {
// contains filtered or unexported fields
}
func (ArtifactConfigAttributes) InternalRef ¶
func (ac ArtifactConfigAttributes) InternalRef() (terra.Reference, error)
func (ArtifactConfigAttributes) InternalTokens ¶
func (ac ArtifactConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArtifactConfigAttributes) InternalWithRef ¶
func (ac ArtifactConfigAttributes) InternalWithRef(ref terra.Reference) ArtifactConfigAttributes
func (ArtifactConfigAttributes) S3Encryption ¶
func (ac ArtifactConfigAttributes) S3Encryption() terra.ListValue[ArtifactConfigS3EncryptionAttributes]
type ArtifactConfigS3Encryption ¶
type ArtifactConfigS3Encryption struct { // EncryptionMode: string, optional EncryptionMode terra.StringValue `hcl:"encryption_mode,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` }
type ArtifactConfigS3EncryptionAttributes ¶
type ArtifactConfigS3EncryptionAttributes struct {
// contains filtered or unexported fields
}
func (ArtifactConfigS3EncryptionAttributes) EncryptionMode ¶
func (se ArtifactConfigS3EncryptionAttributes) EncryptionMode() terra.StringValue
func (ArtifactConfigS3EncryptionAttributes) InternalRef ¶
func (se ArtifactConfigS3EncryptionAttributes) InternalRef() (terra.Reference, error)
func (ArtifactConfigS3EncryptionAttributes) InternalTokens ¶
func (se ArtifactConfigS3EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArtifactConfigS3EncryptionAttributes) InternalWithRef ¶
func (se ArtifactConfigS3EncryptionAttributes) InternalWithRef(ref terra.Reference) ArtifactConfigS3EncryptionAttributes
func (ArtifactConfigS3EncryptionAttributes) KmsKeyArn ¶
func (se ArtifactConfigS3EncryptionAttributes) KmsKeyArn() terra.StringValue
type ArtifactConfigState ¶
type ArtifactConfigState struct {
S3Encryption []ArtifactConfigS3EncryptionState `json:"s3_encryption"`
}
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_synthetics_canary.
func (*Resource) Attributes ¶
func (asc *Resource) Attributes() awsSyntheticsCanaryAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asc *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 RunConfig ¶
type RunConfig struct { // ActiveTracing: bool, optional ActiveTracing terra.BoolValue `hcl:"active_tracing,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // MemoryInMb: number, optional MemoryInMb terra.NumberValue `hcl:"memory_in_mb,attr"` // TimeoutInSeconds: number, optional TimeoutInSeconds terra.NumberValue `hcl:"timeout_in_seconds,attr"` }
type RunConfigAttributes ¶
type RunConfigAttributes struct {
// contains filtered or unexported fields
}
func (RunConfigAttributes) ActiveTracing ¶
func (rc RunConfigAttributes) ActiveTracing() terra.BoolValue
func (RunConfigAttributes) EnvironmentVariables ¶
func (rc RunConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (RunConfigAttributes) InternalRef ¶
func (rc RunConfigAttributes) InternalRef() (terra.Reference, error)
func (RunConfigAttributes) InternalTokens ¶
func (rc RunConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RunConfigAttributes) InternalWithRef ¶
func (rc RunConfigAttributes) InternalWithRef(ref terra.Reference) RunConfigAttributes
func (RunConfigAttributes) MemoryInMb ¶
func (rc RunConfigAttributes) MemoryInMb() terra.NumberValue
func (RunConfigAttributes) TimeoutInSeconds ¶
func (rc RunConfigAttributes) TimeoutInSeconds() terra.NumberValue
type RunConfigState ¶
type Schedule ¶
type Schedule struct { // DurationInSeconds: number, optional DurationInSeconds terra.NumberValue `hcl:"duration_in_seconds,attr"` // Expression: string, required Expression terra.StringValue `hcl:"expression,attr" validate:"required"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) DurationInSeconds ¶
func (s ScheduleAttributes) DurationInSeconds() terra.NumberValue
func (ScheduleAttributes) Expression ¶
func (s ScheduleAttributes) Expression() terra.StringValue
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
type ScheduleState ¶
type TimelineAttributes ¶
type TimelineAttributes struct {
// contains filtered or unexported fields
}
func (TimelineAttributes) Created ¶
func (t TimelineAttributes) Created() terra.StringValue
func (TimelineAttributes) InternalRef ¶
func (t TimelineAttributes) InternalRef() (terra.Reference, error)
func (TimelineAttributes) InternalTokens ¶
func (t TimelineAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimelineAttributes) InternalWithRef ¶
func (t TimelineAttributes) InternalWithRef(ref terra.Reference) TimelineAttributes
func (TimelineAttributes) LastModified ¶
func (t TimelineAttributes) LastModified() terra.StringValue
func (TimelineAttributes) LastStarted ¶
func (t TimelineAttributes) LastStarted() terra.StringValue
func (TimelineAttributes) LastStopped ¶
func (t TimelineAttributes) LastStopped() terra.StringValue
type TimelineState ¶
type VpcConfig ¶
type VpcConfig struct { // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SubnetIds: set of string, optional SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"` }
type VpcConfigAttributes ¶
type VpcConfigAttributes struct {
// contains filtered or unexported fields
}
func (VpcConfigAttributes) InternalRef ¶
func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)
func (VpcConfigAttributes) InternalTokens ¶
func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcConfigAttributes) InternalWithRef ¶
func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes
func (VpcConfigAttributes) SecurityGroupIds ¶
func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (VpcConfigAttributes) SubnetIds ¶
func (vc VpcConfigAttributes) SubnetIds() terra.SetValue[terra.StringValue]
func (VpcConfigAttributes) VpcId ¶
func (vc VpcConfigAttributes) VpcId() terra.StringValue
type VpcConfigState ¶
Click to show internal directories.
Click to hide internal directories.