config

package
v1.18.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 61 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IamUserLoginProfile represents the subresource aws_iam_user_login_profile for attribute LoginProfile
	IamUserLoginProfile = "LoginProfile"
	// IamUserPolicy represents the subresource aws_iam_user_policy for the attribute policy
	IamUserPolicy = "Policy"
)
View Source
const (
	// EfsFileSystemPolicy represents the sub-resource aws_efs_file_system_policy for attribute FileSystemPolicy
	EfsFileSystemPolicy = "FileSystemPolicy"
)
View Source
const (
	// ElasticsearchDomainAccessPolicy represents subresource aws_elasticsearch_domain_policy for Policy attribute
	ElasticsearchDomainAccessPolicy = "Policy"
)
View Source
const (
	// GatewayMethodSetting represents subresource aws_api_gateway_method_settings for MethodSettings attribute
	GatewayMethodSetting = "MethodSetting"
)
View Source
const (
	GetNetworkInterface = "NetworkInterface"
)

GetNetworkInterface represents subresource aws_network_interface for NetworkInterface attribute

View Source
const (
	GetPolicies = "Policies"
)

GetPolicies represents subresource aws_load_balancer_policy for Policies attribute

View Source
const (
	// IamGroupPolicy represents the sub-resource aws_iam_group_policy for attribute Policy
	IamGroupPolicy = "Policy"
)
View Source
const (
	// IamRolePolicy represents subresource aws_iam_role_policy for attribute Policy
	IamRolePolicy = "Policy"
)
View Source
const (
	// PublicAccessBlock represents subresource aws_s3_bucket_public_access_block for attribute PublicAccessBlockConfiguration
	PublicAccessBlock = "PublicAccessBlock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGatewayRestAPIConfig

type APIGatewayRestAPIConfig struct {
	Config
	EndpointConfiguration  []map[string][]string `json:"endpoint_configuration"`
	MinimumCompressionSize int                   `json:"minimum_compression_size"`
	Policy                 interface{}           `json:"policy"`
}

APIGatewayRestAPIConfig holds config for aws_api_gateway_rest_api

type APIGatewayStageConfig

type APIGatewayStageConfig struct {
	AccessLogSettings   interface{} `json:"access_log_settings"`
	ClientCertificateID string      `json:"client_certificate_id"`
	Config
	XrayTracingEnabled bool `json:"xray_tracing_enabled"`
}

APIGatewayStageConfig holds config for aws_api_gateway_stage

type APIGatewayV2ApiConfig

type APIGatewayV2ApiConfig struct {
	Config
	Name                      string                   `json:"name"`
	ProtocolType              string                   `json:"protocol_type"`
	RouteKey                  string                   `json:"route_key,omitempty"`
	Description               string                   `json:"description,omitempty"`
	CredentialsArn            string                   `json:"credentials_arn,omitempty"`
	RouteSelectionExpression  string                   `json:"route_selection_expression,omitempty"`
	Target                    string                   `json:"target,omitempty"`
	Version                   string                   `json:"version,omitempty"`
	APIKeySelectionExpression string                   `json:"api_key_selection_expression,omitempty"`
	DisableExecuteAPIEndpoint bool                     `json:"disable_execute_api_endpoint,omitempty"`
	FailOnWarnings            bool                     `json:"fail_on_warnings,omitempty"`
	CorsConfiguration         []CorsConfigurationBlock `json:"cors_configuration,omitempty"`
}

APIGatewayV2ApiConfig holds config for aws_apigatewayv2_api resource

type APIGatewayV2StageConfig

type APIGatewayV2StageConfig struct {
	Config
	AccessLogSettings interface{} `json:"access_log_settings,omitempty"`
}

APIGatewayV2StageConfig holds config for aws_api_gatewayv2_stage

type AWSConfigConfigRuleConfig

type AWSConfigConfigRuleConfig struct {
	Config
	Source interface{} `json:"source"`
}

AWSConfigConfigRuleConfig holds config for aws_config_config_rule

type AWSResourceConfig

type AWSResourceConfig struct {
	Resource interface{}
	Metadata map[string]interface{}
	Name     string
	Type     string
}

AWSResourceConfig helps define type and name for sub-resources if needed

func GetAPIGatewayRestAPIConfig

func GetAPIGatewayRestAPIConfig(a *apigateway.RestApi) []AWSResourceConfig

GetAPIGatewayRestAPIConfig returns config for aws_api_gateway_rest_api

func GetAPIGatewayStageConfig

func GetAPIGatewayStageConfig(s *apigateway.Stage) []AWSResourceConfig

GetAPIGatewayStageConfig returns config for aws_api_gateway_stage and aws_api_gateway_method_settings

func GetAPIGatewayV2ApiConfig

func GetAPIGatewayV2ApiConfig(a *apigatewayv2.Api) []AWSResourceConfig

GetAPIGatewayV2ApiConfig returns config for aws_apigatewayv2_api resource

func GetAPIGatewayV2StageConfig

func GetAPIGatewayV2StageConfig(s *apigatewayv2.Stage) []AWSResourceConfig

GetAPIGatewayV2StageConfig returns config for aws_api_gatewayv2_stage

func GetAppAutoScalingPolicyConfig

func GetAppAutoScalingPolicyConfig(a *applicationautoscaling.ScalingPolicy) []AWSResourceConfig

GetAppAutoScalingPolicyConfig returns config for AppAutoScalingPolicy

func GetAppMeshMeshConfig

func GetAppMeshMeshConfig(m *appmesh.Mesh) []AWSResourceConfig

GetAppMeshMeshConfig returns config for AppMeshMesh

func GetAthenaWorkGroupConfig

func GetAthenaWorkGroupConfig(w *athena.WorkGroup) []AWSResourceConfig

GetAthenaWorkGroupConfig returns config for aws_athena_workgroup resource

func GetAutoScalingLaunchConfigurationConfig

func GetAutoScalingLaunchConfigurationConfig(l *autoscaling.LaunchConfiguration) []AWSResourceConfig

GetAutoScalingLaunchConfigurationConfig returns config for AutoScalingLaunchConfiguration

func GetBackupVaultConfig

func GetBackupVaultConfig(b *backup.BackupVault) []AWSResourceConfig

GetBackupVaultConfig returns config for BackupVault

func GetCertificateManagerCertificateConfig

func GetCertificateManagerCertificateConfig(c *certificatemanager.Certificate) []AWSResourceConfig

GetCertificateManagerCertificateConfig returns config for CertificateManagerCertificate

func GetCloudFormationStackConfig

func GetCloudFormationStackConfig(s *cloudformation.Stack) []AWSResourceConfig

GetCloudFormationStackConfig returns config for aws_cloudformation_stack

func GetCloudFrontDistributionConfig

func GetCloudFrontDistributionConfig(d *cloudfront.Distribution) []AWSResourceConfig

GetCloudFrontDistributionConfig returns config for aws_cloudfront_distribution

func GetCloudTrailConfig

func GetCloudTrailConfig(t *cloudtrail.Trail) []AWSResourceConfig

GetCloudTrailConfig returns config for aws_cloudtrail

func GetCodebuildProjectConfig

func GetCodebuildProjectConfig(p *codebuild.Project) []AWSResourceConfig

GetCodebuildProjectConfig returns CodebuildProject

func GetCognitoUserPoolConfig

func GetCognitoUserPoolConfig(u *cognito.UserPool) []AWSResourceConfig

GetCognitoUserPoolConfig returns config for CognitoUserPool

func GetConfigConfigRuleConfig

func GetConfigConfigRuleConfig(c *config.ConfigRule) []AWSResourceConfig

GetConfigConfigRuleConfig returns config for aws_config_config_rule

func GetConfigConfigurationAggregatorConfig

func GetConfigConfigurationAggregatorConfig(c *config.ConfigurationAggregator) []AWSResourceConfig

GetConfigConfigurationAggregatorConfig returns config for aws_config_configuration_aggregator

func GetDBEventSubscriptionConfig

func GetDBEventSubscriptionConfig(d *rds.EventSubscription) []AWSResourceConfig

GetDBEventSubscriptionConfig returns config for aws_db_event_subscription resource

func GetDBInstanceConfig

func GetDBInstanceConfig(d *rds.DBInstance) []AWSResourceConfig

GetDBInstanceConfig returns config for aws_db_instance

func GetDBSecurityGroupConfig

func GetDBSecurityGroupConfig(dbsg *rds.DBSecurityGroup) []AWSResourceConfig

GetDBSecurityGroupConfig returns config for aws_db_security_group

func GetDaxClusterConfig

func GetDaxClusterConfig(t *dax.Cluster) []AWSResourceConfig

GetDaxClusterConfig returns config for aws_dax_cluster

func GetDmsReplicationInstanceConfig

func GetDmsReplicationInstanceConfig(r *dms.ReplicationInstance) []AWSResourceConfig

GetDmsReplicationInstanceConfig returns config for DmsReplicationInstance

func GetDocDBConfig

func GetDocDBConfig(d *docdb.DBCluster) []AWSResourceConfig

GetDocDBConfig returns config for aws_docdb_cluster

func GetDynamoDBTableConfig

func GetDynamoDBTableConfig(t *dynamodb.Table) []AWSResourceConfig

GetDynamoDBTableConfig returns config for aws_dynamodb_table

func GetEC2InstanceConfig

func GetEC2InstanceConfig(i *ec2.Instance, instanceName string) []AWSResourceConfig

GetEC2InstanceConfig returns config for EC2Instance

func GetEbsVolumeConfig

func GetEbsVolumeConfig(v *ec2.Volume) []AWSResourceConfig

GetEbsVolumeConfig returns config for aws_ebs_volume

func GetEc2VpcConfig

func GetEc2VpcConfig(v *ec2.VPC) []AWSResourceConfig

GetEc2VpcConfig returns config for Ec2Vpc

func GetEcrRepositoryConfig

func GetEcrRepositoryConfig(r *ecr.Repository) []AWSResourceConfig

GetEcrRepositoryConfig returns config for aws_ecr_repository

func GetEcsClusterConfig

func GetEcsClusterConfig(e *ecs.Cluster) []AWSResourceConfig

GetEcsClusterConfig returns config for aws_ecs_cluster resource

func GetEcsServiceConfig

func GetEcsServiceConfig(c *ecs.Service) []AWSResourceConfig

GetEcsServiceConfig returns config for aws_ecs_service

func GetEcsTaskDefinitionConfig

func GetEcsTaskDefinitionConfig(t *ecs.TaskDefinition) []AWSResourceConfig

GetEcsTaskDefinitionConfig returns config for aws_ecs_service and aws_ecs_task_definition

func GetEfsFileSystemConfig

func GetEfsFileSystemConfig(f *efs.FileSystem) []AWSResourceConfig

GetEfsFileSystemConfig returns config for aws_efs_file_system and aws_efs_file_system_policy

func GetEksClusterConfig

func GetEksClusterConfig(c *eks.Cluster) []AWSResourceConfig

GetEksClusterConfig returns config for EksCluster

func GetEksNodeGroupConfig

func GetEksNodeGroupConfig(g *eks.Nodegroup) []AWSResourceConfig

GetEksNodeGroupConfig returns config for EksNodeGroup

func GetElastiCacheClusterConfig

func GetElastiCacheClusterConfig(e *elasticache.CacheCluster) []AWSResourceConfig

GetElastiCacheClusterConfig returns config for aws_elasticache_cluster

func GetElastiCacheReplicationGroupConfig

func GetElastiCacheReplicationGroupConfig(r *elasticache.ReplicationGroup) []AWSResourceConfig

GetElastiCacheReplicationGroupConfig returns config for aws_elasticache_replication_group

func GetElasticLoadBalancingLoadBalancerConfig

func GetElasticLoadBalancingLoadBalancerConfig(e *elasticloadbalancing.LoadBalancer, elbname string) []AWSResourceConfig

GetElasticLoadBalancingLoadBalancerConfig returns config for aws_elb

func GetElasticLoadBalancingV2ListenerConfig

func GetElasticLoadBalancingV2ListenerConfig(l *elasticloadbalancingv2.Listener) []AWSResourceConfig

GetElasticLoadBalancingV2ListenerConfig returns config for aws_lb_listener

func GetElasticLoadBalancingV2TargetGroupConfig

func GetElasticLoadBalancingV2TargetGroupConfig(l *elasticloadbalancingv2.TargetGroup) []AWSResourceConfig

GetElasticLoadBalancingV2TargetGroupConfig returns config for aws_lb_target_group

func GetElasticsearchDomainConfig

func GetElasticsearchDomainConfig(d *elasticsearch.Domain) []AWSResourceConfig

GetElasticsearchDomainConfig returns config for aws_elasticsearch_domain and aws_elasticsearch_domain_policy

func GetEmrClusterConfig

func GetEmrClusterConfig(c *emr.Cluster) []AWSResourceConfig

GetEmrClusterConfig returns config for EmrCluster

func GetGlobalAcceleratorConfig

func GetGlobalAcceleratorConfig(g *globalaccelerator.Accelerator) []AWSResourceConfig

GetGlobalAcceleratorConfig returns config for aws_globalaccelerator_accelerator resource

func GetGuardDutyDetectorConfig

func GetGuardDutyDetectorConfig(d *guardduty.Detector) []AWSResourceConfig

GetGuardDutyDetectorConfig returns config for aws_guardduty_detector

func GetIamAccessKeyConfig

func GetIamAccessKeyConfig(r *iam.AccessKey) []AWSResourceConfig

GetIamAccessKeyConfig returns config for aws_iam_access_key

func GetIamGroupConfig

func GetIamGroupConfig(r *iam.Group) []AWSResourceConfig

GetIamGroupConfig returns config for aws_iam_group_policy

func GetIamPolicyConfig

func GetIamPolicyConfig(r *iam.Policy) []AWSResourceConfig

GetIamPolicyConfig returns config for aws_iam_policy

func GetIamRoleConfig

func GetIamRoleConfig(r *iam.Role) []AWSResourceConfig

GetIamRoleConfig returns config for aws_iam_role and aws_iam_role_policy

func GetIamUserConfig

func GetIamUserConfig(i *iam.User) []AWSResourceConfig

GetIamUserConfig returns config for aws_iam_user, aws_iam_user_policy, aws_iam_user_login_profile

func GetKinesisFirehoseDeliveryStreamConfig

func GetKinesisFirehoseDeliveryStreamConfig(k *kinesisfirehose.DeliveryStream) []AWSResourceConfig

GetKinesisFirehoseDeliveryStreamConfig returns aws_kinesis_firehose_delivery_stream

func GetKinesisStreamConfig

func GetKinesisStreamConfig(k *kinesis.Stream) []AWSResourceConfig

GetKinesisStreamConfig returns config for aws_kinesis_stream

func GetKmsKeyConfig

func GetKmsKeyConfig(k *kms.Key) []AWSResourceConfig

GetKmsKeyConfig returns config for aws_kms_key

func GetLambdaFunctionConfig

func GetLambdaFunctionConfig(sf interface{}) []AWSResourceConfig

GetLambdaFunctionConfig returns config for LambdaFunction

func GetLogCloudWatchGroupConfig

func GetLogCloudWatchGroupConfig(r *logs.LogGroup) []AWSResourceConfig

GetLogCloudWatchGroupConfig returns config for aws_cloudwatch_log_group

func GetMqBorkerConfig

func GetMqBorkerConfig(c *amazonmq.Broker) []AWSResourceConfig

GetMqBorkerConfig returns config for aws_mq_broker

func GetMskClusterConfig

func GetMskClusterConfig(c *msk.Cluster) []AWSResourceConfig

GetMskClusterConfig returns config for MskCluster

func GetNatGatewayConfig added in v1.15.2

func GetNatGatewayConfig(e *ec2.NatGateway) []AWSResourceConfig

GetNatGatewayConfig returns config for aws_nat_gateway

func GetNeptuneClusterConfig

func GetNeptuneClusterConfig(d *neptune.DBCluster) []AWSResourceConfig

GetNeptuneClusterConfig returns config for aws_neptune_cluster

func GetNeptuneClusterInstanceConfig

func GetNeptuneClusterInstanceConfig(n *neptune.DBInstance) []AWSResourceConfig

GetNeptuneClusterInstanceConfig returns config for aws_neptune_cluster_instance resource

func GetQldbLedgerConfig

func GetQldbLedgerConfig(q *qldb.Ledger) []AWSResourceConfig

GetQldbLedgerConfig returns config for aws_qldb_ledger resource

func GetRAMResourceShareConfig

func GetRAMResourceShareConfig(r *ram.ResourceShare) []AWSResourceConfig

GetRAMResourceShareConfig returns config for RAMResourceShare

func GetRDSClusterConfig

func GetRDSClusterConfig(c *rds.DBCluster) []AWSResourceConfig

GetRDSClusterConfig returns config for aws_rds_cluster

func GetRedshiftClusterConfig

func GetRedshiftClusterConfig(c *redshift.Cluster) []AWSResourceConfig

GetRedshiftClusterConfig returns config for aws_redshift_cluster

func GetRedshiftParameterGroupConfig

func GetRedshiftParameterGroupConfig(p *redshift.ClusterParameterGroup, paramGroupName string) []AWSResourceConfig

GetRedshiftParameterGroupConfig returns config for RedshiftParameterGroup

func GetRoute53RecordConfig

func GetRoute53RecordConfig(r *route53.RecordSet) []AWSResourceConfig

GetRoute53RecordConfig returns config for aws_route53_record

func GetRouteConfig added in v1.15.2

func GetRouteConfig(e *ec2.Route) []AWSResourceConfig

GetRouteConfig returns config for aws_route

func GetRouteTableAssociationConfig added in v1.15.2

func GetRouteTableAssociationConfig(e *ec2.SubnetRouteTableAssociation) []AWSResourceConfig

GetRouteTableAssociationConfig returns config for aws_route_table_association

func GetRouteTableConfig added in v1.15.2

func GetRouteTableConfig(e *ec2.RouteTable) []AWSResourceConfig

GetRouteTableConfig returns config for aws_route_table

func GetS3BucketConfig

func GetS3BucketConfig(s *s3.Bucket) []AWSResourceConfig

GetS3BucketConfig returns config for aws_s3_bucket

func GetS3BucketPolicyConfig

func GetS3BucketPolicyConfig(p *s3.BucketPolicy) []AWSResourceConfig

GetS3BucketPolicyConfig returns config for aws_s3_bucket_policy

func GetSSMParameterConfig added in v1.18.6

func GetSSMParameterConfig(b *ssm.Parameter) []AWSResourceConfig

GetSSMParameterConfig returns config for SSM Parameter

func GetSagemakerModelConfig

func GetSagemakerModelConfig(m *sagemaker.Model) []AWSResourceConfig

GetSagemakerModelConfig returns config for SagemakerModel

func GetSagemakerNotebookInstanceConfig

func GetSagemakerNotebookInstanceConfig(n *sagemaker.NotebookInstance) []AWSResourceConfig

GetSagemakerNotebookInstanceConfig returns config for SagemakerNotebookInstance

func GetSecretsManagerSecretConfig

func GetSecretsManagerSecretConfig(s *secretsmanager.Secret) []AWSResourceConfig

GetSecretsManagerSecretConfig returns config for aws_secretsmanager_secret

func GetSecretsManagerSecretPolicyConfig

func GetSecretsManagerSecretPolicyConfig(s *secretsmanager.ResourcePolicy) []AWSResourceConfig

GetSecretsManagerSecretPolicyConfig returns config for aws_secretsmanager_secret_policy

func GetSecretsManagerSecretRotationConfig

func GetSecretsManagerSecretRotationConfig(r *secretsmanager.RotationSchedule) []AWSResourceConfig

GetSecretsManagerSecretRotationConfig returns config for SecretsManagerSecretRotation

func GetSecurityGroupConfig

func GetSecurityGroupConfig(s *ec2.SecurityGroup) []AWSResourceConfig

GetSecurityGroupConfig returns config for aws_security_group

func GetSnsTopicConfig

func GetSnsTopicConfig(t *sns.Topic) []AWSResourceConfig

GetSnsTopicConfig returns config for SnsTopic

func GetSnsTopicPolicyConfig

func GetSnsTopicPolicyConfig(p *sns.TopicPolicy) []AWSResourceConfig

GetSnsTopicPolicyConfig returns config for SnsTopicPolicy

func GetSqsQueueConfig

func GetSqsQueueConfig(q *sqs.Queue) []AWSResourceConfig

GetSqsQueueConfig returns config for SqsQueue

func GetSqsQueuePolicyConfig

func GetSqsQueuePolicyConfig(p *sqs.QueuePolicy) []AWSResourceConfig

GetSqsQueuePolicyConfig returns config for SqsQueuePolicy

func GetSubnetConfig added in v1.15.2

func GetSubnetConfig(e *ec2.Subnet) []AWSResourceConfig

GetSubnetConfig returns config for aws_subnet

func GetWafSizeConstraintSetConfig

func GetWafSizeConstraintSetConfig(w *waf.SizeConstraintSet) []AWSResourceConfig

GetWafSizeConstraintSetConfig returns config for aws_waf_size_constraint_set

func GetWorkspacesWorkspaceConfig

func GetWorkspacesWorkspaceConfig(w *workspaces.Workspace) []AWSResourceConfig

GetWorkspacesWorkspaceConfig returns config for aws_workspaces_workspace

type AppAutoScalingPolicyConfig

type AppAutoScalingPolicyConfig struct {
	Config
	Name              string `json:"name"`
	PolicyType        string `json:"policy_type"`
	ResourceID        string `json:"resource_id"`
	ScalableDimension string `json:"scalable_dimension"`
	ServiceNamespace  string `json:"service_namespace"`
}

AppAutoScalingPolicyConfig holds config for AppAutoScalingPolicy

type AppMeshEgressFilterBlock

type AppMeshEgressFilterBlock struct {
	Type string `json:"type"`
}

AppMeshEgressFilterBlock holds config for AppMeshEgressFilter

type AppMeshMeshConfig

type AppMeshMeshConfig struct {
	Config
	Name string             `json:"name"`
	Spec []AppMeshSpecBlock `json:"spec"`
}

AppMeshMeshConfig holds config for AppMeshMesh

type AppMeshSpecBlock

type AppMeshSpecBlock struct {
	EgressFilter []AppMeshEgressFilterBlock `json:"egress_filter"`
}

AppMeshSpecBlock holds config for AppMeshSpec

type ArtifactBlock

type ArtifactBlock struct {
	Type string `json:"type"`
}

ArtifactBlock holds config for ArtifactBlock

type AthenaWorkGroupConfig

type AthenaWorkGroupConfig struct {
	Config
	Name          string                        `json:"name"`
	Configuration []WorkgroupConfigurationBlock `json:"configuration"`
}

AthenaWorkGroupConfig holds config for aws_athena_workgroup resource

type AttachmentBlock

type AttachmentBlock struct {
	Instance    string `json:"instance"`
	DeviceIndex int    `json:"device_index"`
}

AttachmentBlock holds config for Attachment

type AutoScalingLaunchConfigurationConfig

type AutoScalingLaunchConfigurationConfig struct {
	Config
	EnableMonitoring bool                  `json:"enable_monitoring"`
	UserDataBase64   string                `json:"user_data_base64"`
	UserData         string                `json:"user_data"`
	MetadataOptions  MetadataOptionsBlock  `json:"metadata_options"`
	EbsBlockDevice   []EbsBlockDeviceBlock `json:"ebs_block_device"`
}

AutoScalingLaunchConfigurationConfig holds config for AutoScalingLaunchConfiguration

type BackupVaultConfig

type BackupVaultConfig struct {
	Config
	Name      string `json:"name"`
	KMSKeyARN string `json:"kms_key_arn"`
}

BackupVaultConfig holds config for BackupVault

type BrokerNodeGroupInfoBlock

type BrokerNodeGroupInfoBlock struct {
	InstanceType   string   `json:"instance_type"`
	EksVolumeSize  int      `json:"eks_volume_size"`
	ClientSubnets  []string `json:"client_subnets"`
	SecurityGroups []string `json:"security_groups"`
}

BrokerNodeGroupInfoBlock holds config for BrokerNodeGroupInfo

type CacheBlock

type CacheBlock struct {
	Type  string   `json:"type"`
	Modes []string `json:"modes"`
}

CacheBlock holds config for CacheBlock

type CapacityProviderStrategyBlock

type CapacityProviderStrategyBlock struct {
	Base             int    `json:"base"`
	CapacityProvider string `json:"capacity_provider"`
	Weight           int    `json:"weight"`
}

CapacityProviderStrategyBlock holds config for default_capacity_provider_strategy attribute

type CertificateManagerCertificateConfig

type CertificateManagerCertificateConfig struct {
	Config
	DomainName       string `json:"domain_name"`
	ValidationMethod string `json:"validation_method"`
}

CertificateManagerCertificateConfig holds config for CertificateManagerCertificate

type CloudFormationStackConfig

type CloudFormationStackConfig struct {
	Config
	TemplateURL      string            `json:"template_url"`
	NotificationARNs interface{}       `json:"notification_arns"`
	Parameters       map[string]string `json:"-"`
	TemplateData     []byte            `json:"-"`
}

CloudFormationStackConfig holds config for aws_cloudformation_stack

type CloudFrontDistributionConfig

type CloudFrontDistributionConfig struct {
	Config
	Restrictions         interface{} `json:"restrictions,omitempty"`
	OrderedCacheBehavior interface{} `json:"ordered_cache_behavior,omitempty"`
	LoggingConfig        interface{} `json:"logging_config,omitempty"`
	ViewerCertificate    interface{} `json:"viewer_certificate,omitempty"`
	WebACLId             string      `json:"web_acl_id,omitempty"`
}

CloudFrontDistributionConfig holds config for aws_cloudfront_distribution

type CloudTrailConfig

type CloudTrailConfig struct {
	Config
	IsMultiRegionTrail      interface{} `json:"is_multi_region_trail"`
	KmsKeyID                interface{} `json:"kms_key_id"`
	SnsTopicName            interface{} `json:"sns_topic_name"`
	EnableLogFileValidation interface{} `json:"enable_log_file_validation"`
}

CloudTrailConfig holds config for aws_cloudtrail

type ClusterSettingsBlock

type ClusterSettingsBlock struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

ClusterSettingsBlock holds config for settings attribute

type CodebuildEnvironmentBlock

type CodebuildEnvironmentBlock struct {
	ComputeType              string `json:"compute_type"`
	Image                    string `json:"image"`
	Type                     string `json:"type"`
	ImagePullCredentialsType string `json:"image_pull_credentials_type"`
}

CodebuildEnvironmentBlock holds config for CodebuildEnvironmentBlock

type CodebuildProjectConfig

type CodebuildProjectConfig struct {
	Config
	Name          string                      `json:"name"`
	Description   string                      `json:"description"`
	BuildTimeout  int                         `json:"build_timeout"`
	QueuedTimeout int                         `json:"queued_timeout"`
	ServiceRole   string                      `json:"service_role"`
	EncryptionKey string                      `json:"encryption_key"`
	Artifacts     []ArtifactBlock             `json:"artifacts"`
	Cache         []CacheBlock                `json:"cache"`
	Environment   []CodebuildEnvironmentBlock `json:"environment"`
	Source        []SourceBlock               `json:"source"`
}

CodebuildProjectConfig holds config for CodebuildProject

type CognitoUserPoolConfig

type CognitoUserPoolConfig struct {
	Config
	Name           string                `json:"name"`
	PasswordPolicy []PasswordPolicyBlock `json:"password_policy"`
}

CognitoUserPoolConfig holds config for CognitoUserPool

type Config

type Config struct {
	Tags interface{} `json:"tags"`
	Name string      `json:"name"`
}

Config holds the common resource config fields

type ConfigurationAggregatorConfig

type ConfigurationAggregatorConfig struct {
	Config
	AccountAggregationSource interface{} `json:"account_aggregation_source,omitempty"`
	OrgAggregationSource     interface{} `json:"organization_aggregation_source,omitempty"`
}

ConfigurationAggregatorConfig holds config for aws_config_configuration_aggregator

type ConfigurationBlock

type ConfigurationBlock struct {
	ExecuteCommandConfig []ExecuteCommandConfiguration `json:"execute_command_configuration"`
}

ConfigurationBlock holds config for configuration attribute

type ContainerBlock

type ContainerBlock struct {
	Image             string             `json:"image"`
	Mode              string             `json:"mode"`
	ModelDataURL      string             `json:"model_data_url"`
	ContainerHostname string             `json:"container_hostname"`
	Environment       interface{}        `json:"environment"`
	ImageConfig       []ImageConfigBlock `json:"image_config"`
}

ContainerBlock holds config for Container

type ContainerDefinitionConfig

type ContainerDefinitionConfig struct {
	Environment []EnvironmentConfig `json:"environment"`
}

ContainerDefinitionConfig holds config for container_definitions

type CorsConfigurationBlock

type CorsConfigurationBlock struct {
	AllowCredentials bool     `json:"allow_credentials,omitempty"`
	MaxAge           int      `json:"max_age,omitempty"`
	ExposeHeaders    []string `json:",omitempty"`
	AllowOrigins     []string `json:"allow_origins,omitempty"`
	AllowMethods     []string `json:"allow_methods,omitempty"`
	AllowHeaders     []string `json:"allow_headers,omitempty"`
}

CorsConfigurationBlock holds config for cors_configuration attribute

type DBEventSubscriptionConfig

type DBEventSubscriptionConfig struct {
	Config
	SnsTopicArn     string   `json:"sns_topic"`
	Enabled         bool     `json:"enabled,omitempty"`
	EventCategories []string `json:"event_categories,omitempty"`
	SourceIds       []string `json:"source_ids,omitempty"`
	SourceType      string   `json:"source_type,omitempty"`
}

DBEventSubscriptionConfig holds config for aws_db_event_subscription resource

type DBIngress added in v1.16.0

type DBIngress struct {
	CIDR              string `json:"cidr"`
	SecurityGroupName string `json:"security_group_name"`
}

DBIngress holds config for ingress block

type DBInstanceConfig

type DBInstanceConfig struct {
	Config
	EnabledCloudWatchLogsExports []string `json:"enabled_cloudwatch_logs_exports"`
	AutoMinorVersionUpgrade      bool     `json:"auto_minor_version_upgrade"`
	CaCertIdentifier             string   `json:"ca_cert_identifier"`
	StorageEncrypted             bool     `json:"storage_encrypted"`
	KmsKeyID                     string   `json:"kms_key_id,omitempty"`
	IamDBAuthEnabled             bool     `json:"iam_database_authentication_enabled"`
	PubliclyAccessible           bool     `json:"publicly_accessible"`
	BackupRetentionPeriod        int      `json:"backup_retention_period"`
	Username                     string   `json:"username"`
	Password                     string   `json:"password"`
	InstanceClass                string   `json:"instance_class"`
	Engine                       string   `json:"engine"`
	EngineVersion                string   `json:"engine_version"`
	Identifier                   string   `json:"identifier"`
	StorageType                  string   `json:"storage_type"`
	DeleteAutomatedBackups       bool     `json:"delete_automated_backups"`
	DeletionProtection           bool     `json:"deletion_protection"`
}

DBInstanceConfig holds config for aws_db_instance

type DBSecurityGroupConfig

type DBSecurityGroupConfig struct {
	Config
	Ingress []DBIngress `json:"ingress"`
}

DBSecurityGroupConfig holds config for aws_db_security_group

type DaxClusterConfig

type DaxClusterConfig struct {
	Config
	ServerSideEncryption []SSE `json:"server_side_encryption"`
}

DaxClusterConfig holds config for aws_dax_cluster

type DefaultActionConfig

type DefaultActionConfig struct {
	RedirectConfig []RedirectConfig `json:"redirect"`
}

DefaultActionConfig holds config for default_action attribute of aws_lb_listener

type DefaultSSEConfig

type DefaultSSEConfig struct {
	KMSMasterKeyID string `json:"kms_master_key_id"`
	SSEAlgorithm   string `json:"sse_algorithm"`
}

DefaultSSEConfig holds config for apply_server_side_encryption_by_default

type DmsReplicationInstanceConfig

type DmsReplicationInstanceConfig struct {
	Config
	AllocatedStorage           int      `json:"allocated_storage"`
	AutoMinorVersionUpgrade    bool     `jons:"auto_minor_version_upgrade"`
	AvailabilityZone           string   `json:"availability_zone"`
	EngineVersion              string   `json:"engine_version"`
	KMSKeyARN                  string   `json:"kms_key_arn"`
	MultiAZ                    bool     `json:"multi_az"`
	PreferredMaintenanceWindow string   `json:"preferred_maintenance_window"`
	PubliclyAccessible         bool     `json:"publicly_accessible"`
	ReplicationInstanceClass   string   `json:"replication_instance_class"`
	ReplicationInstanceID      string   `json:"replication_instance_id"`
	ReplicationSubnetGroupID   string   `json:"replication_subnet_group_id"`
	VPCSecurityGroupIDs        []string `json:"vpc_security_group_ids"`
}

DmsReplicationInstanceConfig holds config for DmsReplicationInstance

type DocDBClusterConfig

type DocDBClusterConfig struct {
	Config
	KmsKeyID                    string   `json:"kms_key_id,omitempty"`
	EnableCloudwatchLogsExports []string `json:"enabled_cloudwatch_logs_exports"`
	StorageEncrypted            bool     `json:"storage_encrypted"`
}

DocDBClusterConfig holds config for aws_docdb_cluster

type DynamoDBTableConfig

type DynamoDBTableConfig struct {
	Config
	ServerSideEncryption []SSE  `json:"server_side_encryption"`
	PointInTimeRecovery  []PITR `json:"point_in_time_recovery"`
}

DynamoDBTableConfig holds config for aws_dynamodb_table

type EC2InstanceConfig

type EC2InstanceConfig struct {
	Config
	AMI                 string                  `json:"ami"`
	InstanceType        string                  `json:"instance_type"`
	EBSOptimized        bool                    `json:"ebs_optimized"`
	Hibernation         bool                    `json:"hibernation"`
	Monitoring          bool                    `json:"monitoring"`
	IAMInstanceProfile  string                  `json:"iam_instance_profile"`
	VPCSecurityGroupIDs []string                `json:"vpc_security_group_ids"`
	NetworkInterface    []NetworkInterfaceBlock `json:"network_interface"`
}

EC2InstanceConfig holds config for EC2Instance

type EKSVPCConfigBlock

type EKSVPCConfigBlock struct {
	SubnetIDs             []string `json:"subnet_ids"`
	SecurityGroupIDs      []string `json:"security_group_ids"`
	EndpointPrivateAccess bool     `json:"endpoint_private_access"`
	EndpointPublicAccess  bool     `json:"endpoint_public_access"`
}

EKSVPCConfigBlock holds config for EKSVPCConfig

type ELBAccessLoggingPolicyConfig

type ELBAccessLoggingPolicyConfig struct {
	Enabled bool `json:"enabled"`
}

ELBAccessLoggingPolicyConfig holds config for access_logs attribute of aws_elb

type ELBListenerConfig

type ELBListenerConfig struct {
	LBProtocol       string `json:"lb_protocol"`
	InstanceProtocol string `json:"instance_protocol"`
}

ELBListenerConfig holds config for listener attribute of aws_elb

type EbsBlockDeviceBlock

type EbsBlockDeviceBlock struct {
	DeviceName          string `json:"device_name"`
	Encrypted           bool   `json:"encrypted"`
	DeleteOnTermination bool   `json:"delete_on_termination"`
}

EbsBlockDeviceBlock holds config for EbsBlockDevice

type EbsVolumeConfig

type EbsVolumeConfig struct {
	Config
	Encrypted bool   `json:"encrypted,omitempty"`
	KmsKeyID  string `json:"kms_key_id,omitempty"`
}

EbsVolumeConfig holds config for aws_ebs_volume

type Ec2VpcConfig

type Ec2VpcConfig struct {
	Config
	CIDRBlock          string `json:"cidr_block"`
	EnableDNSSupport   bool   `json:"enable_dns_support"`
	EnableDNSHostnames bool   `json:"enable_dns_hostnames"`
	InstanceTenancy    string `json:"instance_tenancy"`
}

Ec2VpcConfig holds config for Ec2Vpc

type EcrRepositoryConfig

type EcrRepositoryConfig struct {
	Config
	ImageScanningConfiguration []ImageScanningConfigurationBlock `json:"image_scanning_configuration"`
	AERP                       interface{}                       `json:"aws_ecr_repository_policy,omitempty"`
}

EcrRepositoryConfig holds config for aws_ecr_repository

type EcsClusterConfig

type EcsClusterConfig struct {
	Config
	ClusterName                     string                          `json:"name"`
	ClusterSettings                 []ClusterSettingsBlock          `json:"settings"`
	DefaultCapacityProviderStrategy []CapacityProviderStrategyBlock `json:"default_capacity_provider_strategy"`
	Configuration                   []ConfigurationBlock            `json:"configuration"`
}

EcsClusterConfig holds config for aws_ecs_cluster resource

type EcsServiceConfig

type EcsServiceConfig struct {
	Config
	IamRole string `json:"iam_role"`
}

EcsServiceConfig holds config for aws_ecs_service

type EcsTaskDefinitionConfig

type EcsTaskDefinitionConfig struct {
	Config
	ContainerDefinitions string         `json:"container_definitions"`
	NetworkMode          string         `json:"network_mode"`
	Volumes              []VolumeConfig `json:"volume"`
}

EcsTaskDefinitionConfig holds config for aws_ecs_task_definition

type EfsFileSystemConfig

type EfsFileSystemConfig struct {
	Config
	Encrypted bool   `json:"encrypted"`
	KmsKeyID  string `json:"kms_key_id,omitempty"`
}

EfsFileSystemConfig holds config for aws_efs_file_system

type EfsFileSystemPolicyConfig

type EfsFileSystemPolicyConfig struct {
	Config
	FileSystemPolicy string `json:"policy"`
}

EfsFileSystemPolicyConfig holds config for aws_efs_file_system_policy

type EfsVolumeConfig

type EfsVolumeConfig struct {
	TransitEncryption string `json:"transit_encryption"`
}

EfsVolumeConfig holds config for efs_volume_configuration attribute of volume

type EksClusterConfig

type EksClusterConfig struct {
	Config
	Name                   string              `json:"name"`
	RoleARN                string              `json:"role_arn"`
	VPCConfig              []EKSVPCConfigBlock `json:"vpc_config"`
	EnabledClusterLogTypes []string            `json:"enabled_cluster_log_types"`
}

EksClusterConfig holds config for EksCluster

type EksNodeGroupConfig

type EksNodeGroupConfig struct {
	Config
	ClusterName   string                           `json:"cluster_name"`
	NodeGroupName string                           `json:"node_group_name"`
	SubnetIDs     []string                         `json:"subnet_ids"`
	NodeRoleARN   string                           `json:"node_role_arn"`
	ScalingConfig []EksNodeGroupScalingConfigBlock `json:"scaling_config"`
	Labels        interface{}                      `json:"labels"`
}

EksNodeGroupConfig holds config for EksNodeGroup

type EksNodeGroupScalingConfigBlock

type EksNodeGroupScalingConfigBlock struct {
	DesiredSize int `json:"desired_size"`
	MaxSize     int `json:"max_size"`
	MinSize     int `json:"min_size"`
}

EksNodeGroupScalingConfigBlock holds config for EksNodeGroupScalingConfig

type ElastiCacheClusterConfig

type ElastiCacheClusterConfig struct {
	Config
	AZMode        string `json:"az_mode"`
	Engine        string `json:"engine,omitempty"`
	EngineVersion string `json:"engine_version,omitempty"`
}

ElastiCacheClusterConfig holds config for aws_elasticache_cluster

type ElastiCacheReplicationGroupConfig

type ElastiCacheReplicationGroupConfig struct {
	Config
	AtRestEncryptionEnabled  bool `json:"at_rest_encryption_enabled,omitempty"`
	TransitEncryptionEnabled bool `json:"transit_encryption_enabled,omitempty"`
}

ElastiCacheReplicationGroupConfig holds config for aws_elasticache_replication_group

type ElasticLoadBalancingLoadBalancerConfig

type ElasticLoadBalancingLoadBalancerConfig struct {
	Listeners           interface{} `json:"listener"`
	AccessLoggingPolicy interface{} `json:"access_logs,omitempty"`
	Config
}

ElasticLoadBalancingLoadBalancerConfig holds config for aws_elb

type ElasticLoadBalancingLoadBalancerPoliciesConfig

type ElasticLoadBalancingLoadBalancerPoliciesConfig struct {
	Config
	LoadBalancerName string                 `json:"load_balancer_name"`
	PolicyName       string                 `json:"policy_name"`
	PolicyTypeName   string                 `jons:"policy_type_name"`
	PolicyAttribute  []PolicyAttributeBlock `json:"policy_attribute"`
}

ElasticLoadBalancingLoadBalancerPoliciesConfig holds config for ElasticLoadBalancingLoadBalancerPolicies

type ElasticLoadBalancingV2ListenerConfig

type ElasticLoadBalancingV2ListenerConfig struct {
	Config
	Protocol      string                `json:"protocol"`
	Port          int                   `json:"port"`
	DefaultAction []DefaultActionConfig `json:"default_action"`
}

ElasticLoadBalancingV2ListenerConfig holds config for aws_lb_listener

type ElasticLoadBalancingV2TargetGroupConfig

type ElasticLoadBalancingV2TargetGroupConfig struct {
	Config
	Protocol string `json:"protocol"`
}

ElasticLoadBalancingV2TargetGroupConfig holds config for aws_lb_target_group

type ElasticsearchDomainAccessPolicyConfig

type ElasticsearchDomainAccessPolicyConfig struct {
	Config
	DomainName     string `json:"domain_name"`
	AccessPolicies string `json:"access_policies"`
}

ElasticsearchDomainAccessPolicyConfig holds config for aws_elasticsearch_domain_policy

type ElasticsearchDomainConfig

type ElasticsearchDomainConfig struct {
	EncryptionAtRest            interface{} `json:"encrypt_at_rest,omitempty"`
	LogPublishingOptions        interface{} `json:"log_publishing_options,omitempty"`
	NodeToNodeEncryptionOptions interface{} `json:"node_to_node_encryption,omitempty"`
	Config
}

ElasticsearchDomainConfig holds config for aws_elasticsearch_domain

type EmrClusterConfig

type EmrClusterConfig struct {
	Config
	Name                  string                    `json:"name"`
	ReleaseLabel          string                    `json:"release_label"`
	ServiceRole           string                    `json:"service_role"`
	TerminationProtection bool                      `json:"termination_protection"`
	KerberosAttributes    []KerberosAttributesBlock `json:"kerberos_attributes"`
}

EmrClusterConfig holds config for EmrCluster

type EncryptionAtRestConfig

type EncryptionAtRestConfig struct {
	KmsKeyID string `json:"kms_key_id,omitempty"`
	Enabled  bool   `json:"enabled"`
}

EncryptionAtRestConfig holds config for encrypt_at_rest attribute of aws_elasticsearch_domain

type EncryptionConfigurationBlock

type EncryptionConfigurationBlock struct {
	EncryptionOption string `json:"encryption_option"`
	KmsKeyArn        string `json:"kms_key_arn"`
}

EncryptionConfigurationBlock holds config for encryption_configuration attribute

type EncryptionInTransitBlock

type EncryptionInTransitBlock struct {
	ClientBroker string `json:"client_broker"`
	InCluster    bool   `json:"in_cluster"`
}

EncryptionInTransitBlock holds config for EncryptionInTransit

type EncryptionInfoBlock

type EncryptionInfoBlock struct {
	EncryptionAtRestKmsKeyArn string                     `json:"encryption_at_rest_kms_key_arn"`
	EncryptionInTransit       []EncryptionInTransitBlock `json:"encryption_in_transit"`
}

EncryptionInfoBlock holds config for EncryptionInfo

type EngineerVersionBlock added in v1.18.2

type EngineerVersionBlock struct {
	SelectedEngineVersion string `json:"selected_version"`
}

EngineerVersionBlock holds config for engine_version attribute

type EnvironmentBlock

type EnvironmentBlock struct {
	Variables map[string]string `json:"variables"`
}

EnvironmentBlock holds config for Environment variables

type EnvironmentConfig

type EnvironmentConfig struct {
	Name string `json:"name"`
}

EnvironmentConfig holds config for environment attribute for container_definitions

type ExecuteCommandConfiguration

type ExecuteCommandConfiguration struct {
	KmsKeyID         string                  `json:"kms_key_id"`
	Logging          string                  `json:"logging"`
	LogConfiguration []LogConfigurationBlock `json:"log_configuration"`
}

ExecuteCommandConfiguration holds config for execute_command_configuration attribute

type FieldToMatchBlock

type FieldToMatchBlock struct {
	Data string `json:"data,omitempty"`
	Type string `json:"type"`
}

FieldToMatchBlock holds field_to_match attribute

type GlobalAcceleratorConfig

type GlobalAcceleratorConfig struct {
	Config
	Name          string `json:"name"`
	IPAddressType string `json:"ip_address_type"`
	Enabled       bool   `json:"enabled"`
}

GlobalAcceleratorConfig holds config for aws_globalaccelerator_accelerator resource

type GuardDutyDetectorConfig

type GuardDutyDetectorConfig struct {
	Config
	Enable bool `json:"enable"`
}

GuardDutyDetectorConfig holds config for aws_guardduty_detector

type IamAccessKeyConfig

type IamAccessKeyConfig struct {
	Config
	UserName string `json:"user"`
	Status   string `json:"status"`
}

IamAccessKeyConfig holds config for aws_iam_access_key

type IamGroupConfig

type IamGroupConfig struct {
	Config
	Name string `json:"name"`
}

IamGroupConfig holds config for aws_iam_group

type IamGroupPolicyConfig

type IamGroupPolicyConfig struct {
	Config
	PolicyName     string `json:"name"`
	PolicyDocument string `json:"policy"`
}

IamGroupPolicyConfig holds config for aws_iam_group_policy

type IamPolicyConfig

type IamPolicyConfig struct {
	Config
	PolicyDocument string `json:"policy"`
	PolicyName     string `json:"name"`
}

IamPolicyConfig holds config for aws_iam_policy

type IamRoleConfig

type IamRoleConfig struct {
	Config
	RoleName                 string `json:"name"`
	AssumeRolePolicyDocument string `json:"assume_role_policy"`
}

IamRoleConfig holds config for aws_iam_role

type IamRolePolicyConfig

type IamRolePolicyConfig struct {
	Config
	PolicyName     string `json:"name"`
	PolicyDocument string `json:"policy"`
}

IamRolePolicyConfig holds config for aws_iam_role_policy

type IamUserConfig

type IamUserConfig struct {
	Config
	UserName string `json:"name"`
}

IamUserConfig holds config for aws_iam_user

type IamUserLoginProfileConfig

type IamUserLoginProfileConfig struct {
	Config
	PasswordResetRequired bool `json:"password_reset_required"`
}

IamUserLoginProfileConfig holds config for aws_iam_user_login_profile

type IamUserPolicyConfig

type IamUserPolicyConfig struct {
	Config
	PolicyName     string `json:"name"`
	PolicyDocument string `json:"policy"`
}

IamUserPolicyConfig holds config for aws_iam_user_policy

type ImageConfigBlock

type ImageConfigBlock struct {
	RepositoryAccessMode string `json:"repository_access_mode"`
}

ImageConfigBlock holds config for ImageConfig

type ImageScanningConfigurationBlock

type ImageScanningConfigurationBlock struct {
	ScanOnPush bool `json:"scan_on_push"`
}

ImageScanningConfigurationBlock holds config for image_scanning_configuration attribute

type IngressEgress

type IngressEgress struct {
	IPProtocol  string   `json:"protocol"`
	Description string   `json:"description"`
	CidrIP      []string `json:"cidr_blocks"`
	CidrIpv6    []string `json:"ipv6_cidr_blocks"`
	FromPort    int      `json:"from_port"`
	ToPort      int      `json:"to_port"`
}

IngressEgress holds config for SecurityGroupEgress, SecurityGroupIngress attributes of SecurityGroupConfig

type KerberosAttributesBlock

type KerberosAttributesBlock struct {
	KDCAdminPassword string `json:"kdc_admin_password"`
	Realm            string `json:"realm"`
}

KerberosAttributesBlock holds config for KerberosAttributes

type KinesisFirehoseDeliveryStreamConfig

type KinesisFirehoseDeliveryStreamConfig struct {
	ServerSideEncryption interface{} `json:"server_side_encryption"`
	Config
}

KinesisFirehoseDeliveryStreamConfig holds config for aws_kinesis_firehose_delivery_stream

type KinesisFirehoseDeliveryStreamSseConfig

type KinesisFirehoseDeliveryStreamSseConfig struct {
	KeyType string `json:"key_type,omitempty"`
	KeyARN  string `json:"key_arn,omitempty"`
	Enabled bool   `json:"enabled,omitempty"`
}

KinesisFirehoseDeliveryStreamSseConfig holds config for server_side_encryption attribute of aws_kinesis_firehose_delivery_stream

type KinesisStreamConfig

type KinesisStreamConfig struct {
	Config
	Name           string `json:"name"`
	KmsKeyID       string `json:"kms_key_id,omitempty"`
	EncryptionType string `json:"encryption_type,omitempty"`
}

KinesisStreamConfig holds config for aws_kinesis_stream

type KmsKeyConfig

type KmsKeyConfig struct {
	Config
	Description         string `json:"description"`
	KeyPolicy           string `json:"policy"`
	PendingWindowInDays int    `json:"deletion_window_in_days"`
	Enabled             bool   `json:"is_enabled"`
	EnableKeyRotation   bool   `json:"enable_key_rotation"`
}

KmsKeyConfig holds config for aws_kms_key

type LambdaFunctionConfig

type LambdaFunctionConfig struct {
	Config
	ImageURI                     string               `json:"image_uri,omitempty"`
	FileName                     string               `json:"filename,omitempty"`
	S3Bucket                     string               `json:"s3_bucket,omitempty"`
	S3Key                        string               `json:"s3_key,omitempty"`
	S3ObjectVersion              string               `json:"s3_object_version,omitempty"`
	FunctionName                 string               `json:"function_name"`
	Role                         string               `json:"role"`
	Handler                      string               `json:"handler"`
	MemorySize                   int                  `json:"memory_size"`
	ReservedConcurrentExecutions int                  `json:"reserved_concurrent_executions"`
	Runtime                      string               `json:"runtime"`
	Timeout                      int                  `json:"timeout"`
	TracingConfig                []TracingConfigBlock `json:"tracing_config"`
	VPCConfig                    []VPCConfigBlock     `json:"vpc_config"`
	Environment                  []EnvironmentBlock   `json:"environment"`
	KMSKeyARN                    string               `json:"kms_key_arn"`
}

LambdaFunctionConfig holds config for LambdaFunction

type LogCloudWatchGroupConfig

type LogCloudWatchGroupConfig struct {
	Config
	LogGroupName    string `json:"name"`
	KmsKeyID        string `json:"kms_key_id,omitempty"`
	RetentionInDays int    `json:"retention_in_days"`
}

LogCloudWatchGroupConfig holds config for aws_cloudwatch_log_group

type LogConfigurationBlock

type LogConfigurationBlock struct {
	CloudWatchEncryptionEnabled bool   `json:"cloud_watch_encryption_enabled"`
	CloudWatchLogGroupName      string `json:"cloud_watch_log_group_name"`
	S3BucketName                string `json:"s3_bucket_name"`
	S3EncryptionEnabled         bool   `json:"s3_bucket_encryption_enabled"`
	S3KeyPrefix                 string `json:"s3_key_prefix"`
}

LogConfigurationBlock holds config for log_configuration attribute

type LogPublishingOptionsConfig

type LogPublishingOptionsConfig struct {
	LogType string `json:"log_type,omitempty"`
	Enabled bool   `json:"enabled,omitempty"`
}

LogPublishingOptionsConfig holds config for log_publishing_options attribute of aws_elasticsearch_domain

type LoggingConfig

type LoggingConfig struct {
	DestinationBucketName string `json:"target_bucket"`
	LogFilePrefix         string `json:"target_prefix"`
}

LoggingConfig holds config for logging

type MetadataOptionsBlock

type MetadataOptionsBlock struct {
	HTTPEndpoint string `json:"http_endpoint"`
	HTTPTokens   string `json:"http_tokens"`
}

MetadataOptionsBlock holds config for MetadataOptions

type MethodSettingConfig

type MethodSettingConfig struct {
	Config
	MethodSettings []Settings `json:"settings"`
}

MethodSettingConfig holds config for aws_api_gateway_method_settings

type MqBrokerConfig

type MqBrokerConfig struct {
	Logs interface{} `json:"logs,omitempty"`
	Config
	PubliclyAccessible bool `json:"publicly_accessible"`
}

MqBrokerConfig holds config for aws_mq_broker

type MskClusterConfig

type MskClusterConfig struct {
	Config
	ClusterName         string                     `json:"cluster_name"`
	KafkaVersion        string                     `json:"kafka_version"`
	NumberOfBrokerNodes int                        `json:"number_of_broker_nodes"`
	BrokerNodeGroupInfo []BrokerNodeGroupInfoBlock `json:"broker_node_group_info"`
	EncryptionInfo      []EncryptionInfoBlock      `json:"encryption_info"`
}

MskClusterConfig holds config for MskCluster

type NatGatewayConfig added in v1.15.2

type NatGatewayConfig struct {
	Config
	AllocationID     string `json:"allocation_id"`
	ConnectivityType string `json:"connectivity_type"`
	SubnetID         string `json:"subnet_id"`
}

NatGatewayConfig holds config for aws_nat_gateway

type NeptuneClusterConfig

type NeptuneClusterConfig struct {
	Config
	EnableCloudwatchLogsExports []string `json:"enable_cloudwatch_logs_exports,omitempty"`
	StorageEncrypted            bool     `json:"storage_encrypted,omitempty"`
}

NeptuneClusterConfig holds config for aws_neptune_cluster

type NeptuneClusterInstanceConfig

type NeptuneClusterInstanceConfig struct {
	Config
	AutoMinorVersionUpgrade    bool   `json:"auto_minor_version_upgrade,omitempty"`
	AvailabilityZone           string `json:"availability_zone,omitempty"`
	DBClusterIdentifier        string `json:"cluster_identifier,omitempty"`
	DBInstanceClass            string `json:"instance_class,omitempty"`
	DBParameterGroupName       string `json:"neptune_parameter_group_name,omitempty"`
	DBSubnetGroupName          string `json:"neptune_subnet_group_name,omitempty"`
	PreferredMaintenanceWindow string `json:"preferred_backup_window,omitempty"`
}

NeptuneClusterInstanceConfig holds config for aws_neptune_cluster_instance resource

type NetworkInterfaceBlock

type NetworkInterfaceBlock struct {
	NetworkInterfaceID  string `json:"network_interface_id"`
	DeviceIndex         int    `json:"device_index"`
	DeleteOnTermination bool   `json:"delete_on_termination"`
}

NetworkInterfaceBlock holds config for NetworkInterface

type NetworkInterfaceConfig

type NetworkInterfaceConfig struct {
	Config
	SubnetID   string            `json:"subnet_id"`
	PrivateIPs []string          `json:"private_ips"`
	Attachment []AttachmentBlock `json:"attachment"`
}

NetworkInterfaceConfig holds config for NetworkInterface

type NodeToNodeEncryptionOptionsConfig

type NodeToNodeEncryptionOptionsConfig struct {
	Enabled bool `json:"enabled,omitempty"`
}

NodeToNodeEncryptionOptionsConfig holds config for node_to_node_encryption attribute of aws_elasticsearch_domain

type PITR added in v1.16.0

type PITR struct {
	Enabled bool `json:"enabled"`
}

PITR holds config for point_in_time_recovery block

type ParameterBlock

type ParameterBlock struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

ParameterBlock holds config for Parameter

type PasswordPolicyBlock

type PasswordPolicyBlock struct {
	MinimumLength                 int  `json:"minimum_length"`
	RequireLowercase              bool `json:"require_lowercase"`
	RequireUppercase              bool `json:"require_uppercase"`
	RequireNumbers                bool `json:"require_numbers"`
	RequireSymbols                bool `json:"require_symbols"`
	TemporaryPasswordValidityDays int  `json:"temporary_password_validity_days"`
}

PasswordPolicyBlock holds config for PasswordPolicy

type PolicyAttributeBlock

type PolicyAttributeBlock struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

PolicyAttributeBlock holds config for PolicyTypeBlock

type QldbLedgerConfig

type QldbLedgerConfig struct {
	Config
	Name               string `json:"name,omitempty"`
	PermissionsMode    string `json:"permissions_mode"`
	DeletionProtection bool   `json:"deletion_protection"`
}

QldbLedgerConfig holds config for aws_qldb_ledger resource

type RAMResourceShareConfig

type RAMResourceShareConfig struct {
	Config
	Name                    string `json:"name"`
	AllowExternalPrincipals bool   `json:"allow_external_principals"`
}

RAMResourceShareConfig holds config for RAMResourceShare

type RDSClusterConfig

type RDSClusterConfig struct {
	Config
	BackupRetentionPeriod int  `json:"backup_retention_period,omitempty"`
	StorageEncrypted      bool `json:"storage_encrypted"`
}

RDSClusterConfig holds config for aws_rds_cluster

type RedirectConfig

type RedirectConfig struct {
	Protocol string `json:"protocol"`
	Port     string `json:"port"`
}

RedirectConfig holds config for redirect attribute of default_action

type RedshiftClusterConfig

type RedshiftClusterConfig struct {
	Config
	LoggingProperties  interface{} `json:"logging,omitempty"`
	KmsKeyID           string      `json:"kms_key_id,omitempty"`
	Encrypted          bool        `json:"encrypted"`
	PubliclyAccessible bool        `json:"publicly_accessible"`
}

RedshiftClusterConfig holds config for aws_redshift_cluster

type RedshiftParameterGroupConfig

type RedshiftParameterGroupConfig struct {
	Config
	Name        string           `json:"name"`
	Description string           `json:"description"`
	Family      string           `json:"family"`
	Parameter   []ParameterBlock `json:"parameter"`
}

RedshiftParameterGroupConfig holds config for RedshiftParameterGroup

type ResultConfigurationBlock

type ResultConfigurationBlock struct {
	EncryptionConfiguration []EncryptionConfigurationBlock `json:"encryption_configuration"`
	OutputLocation          string                         `json:"output_location"`
}

ResultConfigurationBlock holds config for result_configuration attribute

type Route53RecordConfig

type Route53RecordConfig struct {
	Config
	ResourceRecords []string `json:"records"`
}

Route53RecordConfig holds config for aws_route53_record

type RouteConfig added in v1.15.2

type RouteConfig struct {
	Config
	CarrierGatewayID            string `json:"carrier_gateway_id"`
	DestinationCidrBlock        string `json:"destination_cidr_block"`
	DestinationIpv6CidrBlock    string `json:"destination_ipv6_cidr_block"`
	EgressOnlyInternetGatewayID string `json:"egress_only_gateway_id"`
	GatewayID                   string `json:"gateway_id"`
	InstanceID                  string `json:"instance_id"`
	LocalGatewayID              string `json:"local_gateway_id"`
	NatGatewayID                string `json:"nat_gateway_id"`
	NetworkInterfaceID          string `json:"network_interface_id"`
	RouteTableID                string `json:"route_table_id"`
	TransitGatewayID            string `json:"transit_gateway_id"`
	VpcEndpointID               string `json:"vpc_endpoint_id"`
	VpcPeeringConnectionID      string `json:"vpc_peering_connection_id"`
}

RouteConfig holds config for aws_route

type RouteTableAssociationConfig added in v1.15.2

type RouteTableAssociationConfig struct {
	Config
	RouteTableID string `json:"route_table_id"`
	SubnetID     string `json:"subnet_id"`
}

RouteTableAssociationConfig holds config for aws_route_table_association

type RouteTableConfig added in v1.15.2

type RouteTableConfig struct {
	Config
	VpcID string `json:"vpc_id"`
}

RouteTableConfig holds config for aws_route_table

type S3BucketConfig

type S3BucketConfig struct {
	Config
	Bucket               string                       `json:"bucket"`
	AccessControl        string                       `json:"acl"`
	BucketEncryption     []ServerSideEncryptionConfig `json:"server_side_encryption_configuration,omitempty"`
	Logging              []LoggingConfig              `json:"logging"`
	WebsiteConfiguration []WebsiteConfig              `json:"website"`
	Versioning           []VersioningConfig           `json:"versioning,omitempty"`
}

S3BucketConfig holds config for aws_s3_bucket

type S3BucketPolicyConfig

type S3BucketPolicyConfig struct {
	Config
	PolicyDocument string `json:"policy"`
	Bucket         string `json:"bucket"`
}

S3BucketPolicyConfig holds config for aws_s3_bucket_policy

type S3BucketPublicAccessBlockConfig

type S3BucketPublicAccessBlockConfig struct {
	Config
	Bucket                string `json:"bucket"`
	BlockPublicAcls       bool   `json:"block_public_acls"`
	BlockPublicPolicy     bool   `json:"block_public_policy"`
	IgnorePublicAcls      bool   `json:"ignore_public_acls"`
	RestrictPublicBuckets bool   `json:"restrict_public_buckets"`
}

S3BucketPublicAccessBlockConfig holds config for aws_s3_bucket_public_access_block

type SSE added in v1.16.0

type SSE struct {
	Enabled bool `json:"enabled"`
}

SSE holds config for server_side_encryption block

type SSMParameterConfig added in v1.18.6

type SSMParameterConfig struct {
	Config
	Name           string `json:"name"`
	Description    string `json:"description"`
	Type           string `json:"type"`
	Value          string `json:"value"`
	Tier           string `json:"tier"`
	Policies       string `json:"policies"`
	AllowedPattern string `json:"allowed_pattern"`
}

SSMParameterConfig holds config for SSMParameter

type SagemakerModelConfig

type SagemakerModelConfig struct {
	Config
	Name             string           `json:"name"`
	ExecutionRoleARN string           `json:"execution_role_arn"`
	Container        []ContainerBlock `json:"container"`
	PrimaryContainer []ContainerBlock `json:"primary_container"`
}

SagemakerModelConfig holds config for SagemakerModel

type SagemakerNotebookInstanceConfig

type SagemakerNotebookInstanceConfig struct {
	Config
	Name                 string `json:"name"`
	RoleARN              string `json:"role_arn"`
	InstanceType         string `json:"instance_type"`
	KMSKeyID             string `json:"kms_key_id"`
	DirectInternetAccess string `json:"direct_internet_access"`
	RootAccess           string `json:"root_access"`
}

SagemakerNotebookInstanceConfig holds config for SagemakerNotebookInstance

type SecretRotationRulesBlock

type SecretRotationRulesBlock struct {
	AutomaticallyAfterDays int `json:"automatically_after_days"`
}

SecretRotationRulesBlock holds config for SecretRotationRules

type SecretsManagerSecretConfig

type SecretsManagerSecretConfig struct {
	Config
	KmsKeyID string `json:"kms_key_id,omitempty"`
}

SecretsManagerSecretConfig holds config for aws_secretsmanager_secret

type SecretsManagerSecretPolicyConfig

type SecretsManagerSecretPolicyConfig struct {
	Config
	ResourcePolicy string `json:"policy"`
}

SecretsManagerSecretPolicyConfig holds config for aws_secretsmanager_secret_policy

type SecretsManagerSecretRotationConfig

type SecretsManagerSecretRotationConfig struct {
	Config
	SecretID          string                     `json:"secret_id"`
	RotationLambdaARN string                     `json:"rotation_lambda_arn"`
	RotationRules     []SecretRotationRulesBlock `json:"rotation_rules"`
}

SecretsManagerSecretRotationConfig holds config for SecretsManagerSecretRotation

type SecurityGroupConfig

type SecurityGroupConfig struct {
	Config
	GroupDescription     string          `json:"description,omitempty"`
	GroupName            string          `json:"name"`
	SecurityGroupEgress  []IngressEgress `json:"egress"`
	SecurityGroupIngress []IngressEgress `json:"ingress"`
}

SecurityGroupConfig holds config for aws_security_group

type ServerSideEncryptionConfig

type ServerSideEncryptionConfig struct {
	ServerSideEncryptionConfiguration []ServerSideEncryptionRule `json:"rule"`
}

ServerSideEncryptionConfig holds config for server_side_encryption_configuration

type ServerSideEncryptionRule

type ServerSideEncryptionRule struct {
	ServerSideEncryptionByDefault []DefaultSSEConfig `json:"apply_server_side_encryption_by_default,omitempty"`
	BucketKeyEnabled              bool               `json:"bucket_key_enabled"`
}

ServerSideEncryptionRule holds config for rule

type Settings

type Settings struct {
	MetricsEnabled bool `json:"metrics_enabled"`
}

Settings holds configs for the MethodSetting attribute

type SizeConstraintSetBlock

type SizeConstraintSetBlock struct {
	ComparisonOperator string              `json:"comparison_operator"`
	Size               int                 `json:"size"`
	TextTransformation string              `json:"text_transformation"`
	FieldToMatch       []FieldToMatchBlock `json:"field_to_match"`
}

SizeConstraintSetBlock holds size_constraints attribute

type SnsTopicConfig

type SnsTopicConfig struct {
	Config
	Name        string `json:"name"`
	KmsMasterID string `json:"kms_master_id"`
}

SnsTopicConfig holds config for SnsTopic

type SnsTopicPolicyConfig

type SnsTopicPolicyConfig struct {
	Config
	ARN    string `json:"arn"`
	Policy string `json:"policy"`
}

SnsTopicPolicyConfig holds config for SnsTopicPolicy

type SourceBlock

type SourceBlock struct {
	Type          string `json:"type"`
	Location      string `json:"location"`
	GitCloneDepth int    `json:"git_clone_depth"`
}

SourceBlock holds config for SourceBlock

type SqsQueueConfig

type SqsQueueConfig struct {
	Config
	Name                         string `json:"name"`
	KmsMasterKeyID               string `json:"kms_master_key_id"`
	KmsDataKeyReusePeriodSeconds int    `json:"kms_data_key_reuse_period_seconds"`
	MessageRetentionSeconds      int    `json:"message_retention_seconds"`
}

SqsQueueConfig holds config for SqsQueue

type SqsQueuePolicyConfig

type SqsQueuePolicyConfig struct {
	Config
	QueueURL string `json:"queue_url"`
	Policy   string `json:"policy"`
}

SqsQueuePolicyConfig holds config for SqsQueuePolicy

type SubnetConfig added in v1.15.2

type SubnetConfig struct {
	Config
	AssignIpv6AddressOnCreation bool   `json:"assign_ipv6_address_on_creation"`
	AvailabilityZone            string `json:"availability_zone"`
	CidrBlock                   string `json:"cidr_block"`
	Ipv6CidrBlock               string `json:"ipv6_cidr_block"`
	MapPublicIPOnLaunch         bool   `json:"map_public_ip_on_launch"`
	OutpostArn                  string `json:"outpost_arn"`
	VpcID                       string `json:"vpc_id"`
}

SubnetConfig holds config for aws_subnet

type TracingConfigBlock

type TracingConfigBlock struct {
	Mode string `json:"mode"`
}

TracingConfigBlock holds config for TracingConfig

type VPCConfigBlock

type VPCConfigBlock struct {
	SecurityGroupIDs []string `json:"security_group_ids"`
	SubnetIDs        []string `json:"subnet_ids"`
}

VPCConfigBlock holds config for VPCConfig

type VersioningConfig

type VersioningConfig struct {
	Status bool `json:"enabled"`
}

VersioningConfig holds config for versioning

type VolumeConfig

type VolumeConfig struct {
	EfsVolumeConfiguration EfsVolumeConfig `json:"efs_volume_configuration"`
}

VolumeConfig holds config for volume attribute of aws_ecs_task_definition

type WafSizeConstraintSetConfig

type WafSizeConstraintSetConfig struct {
	Config
	Name              string                   `json:"name"`
	SizeConstraintSet []SizeConstraintSetBlock `json:"size_constraints,omitempty"`
}

WafSizeConstraintSetConfig holds Config for aws_waf_size_constraint_set

type WebsiteConfig

type WebsiteConfig struct {
	RedirectAllRequestsTo interface{} `json:"redirect_all_requests_to"`
	RoutingRules          interface{} `json:"routing_rules"`
	ErrorDocument         string      `json:"error_document"`
	IndexDocument         string      `json:"index_document"`
}

WebsiteConfig holds config for website

type WorkgroupConfigurationBlock

type WorkgroupConfigurationBlock struct {
	BytesScannedCutoffPerQuery      int                        `json:"bytes_scanned_cutoff_per_query,omitempty"`
	EnforceWorkgroupConfiguration   bool                       `json:"enforce_workgroup_configuration"`
	RequesterPaysEnabled            bool                       `json:"requester_pays_enabled"`
	PublishCloudwatchMetricsEnabled bool                       `json:"publish_cloudwatch_metrics_enabled"`
	EngineVersion                   []EngineerVersionBlock     `json:"engine_version"`
	ResultConfiguration             []ResultConfigurationBlock `json:"result_configuration"`
}

WorkgroupConfigurationBlock holds config for configuration attribute

type WorkspacesWorkspaceConfig

type WorkspacesWorkspaceConfig struct {
	Config
	RootVolumeEncryptionEnabled bool `json:"root_volume_encryption_enabled,omitempty"`
	UserVolumeEncryptionEnabled bool `json:"user_volume_encryption_enabled,omitempty"`
}

WorkspacesWorkspaceConfig holds config for aws_workspaces_workspace

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL