Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (ast *Resource) Attributes() awsSnsTopicAttributes
- func (ast *Resource) Configuration() interface{}
- func (ast *Resource) DependOn() terra.Reference
- func (ast *Resource) Dependencies() terra.Dependencies
- func (ast *Resource) ImportState(state io.Reader) error
- func (ast *Resource) LifecycleManagement() *terra.Lifecycle
- func (ast *Resource) LocalName() string
- func (ast *Resource) State() (*awsSnsTopicState, bool)
- func (ast *Resource) StateMust() *awsSnsTopicState
- func (ast *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApplicationFailureFeedbackRoleArn: string, optional ApplicationFailureFeedbackRoleArn terra.StringValue `hcl:"application_failure_feedback_role_arn,attr"` // ApplicationSuccessFeedbackRoleArn: string, optional ApplicationSuccessFeedbackRoleArn terra.StringValue `hcl:"application_success_feedback_role_arn,attr"` // ApplicationSuccessFeedbackSampleRate: number, optional ApplicationSuccessFeedbackSampleRate terra.NumberValue `hcl:"application_success_feedback_sample_rate,attr"` // ContentBasedDeduplication: bool, optional ContentBasedDeduplication terra.BoolValue `hcl:"content_based_deduplication,attr"` // DeliveryPolicy: string, optional DeliveryPolicy terra.StringValue `hcl:"delivery_policy,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // FifoTopic: bool, optional FifoTopic terra.BoolValue `hcl:"fifo_topic,attr"` // FirehoseFailureFeedbackRoleArn: string, optional FirehoseFailureFeedbackRoleArn terra.StringValue `hcl:"firehose_failure_feedback_role_arn,attr"` // FirehoseSuccessFeedbackRoleArn: string, optional FirehoseSuccessFeedbackRoleArn terra.StringValue `hcl:"firehose_success_feedback_role_arn,attr"` // FirehoseSuccessFeedbackSampleRate: number, optional FirehoseSuccessFeedbackSampleRate terra.NumberValue `hcl:"firehose_success_feedback_sample_rate,attr"` // HttpFailureFeedbackRoleArn: string, optional HttpFailureFeedbackRoleArn terra.StringValue `hcl:"http_failure_feedback_role_arn,attr"` // HttpSuccessFeedbackRoleArn: string, optional HttpSuccessFeedbackRoleArn terra.StringValue `hcl:"http_success_feedback_role_arn,attr"` // HttpSuccessFeedbackSampleRate: number, optional HttpSuccessFeedbackSampleRate terra.NumberValue `hcl:"http_success_feedback_sample_rate,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsMasterKeyId: string, optional KmsMasterKeyId terra.StringValue `hcl:"kms_master_key_id,attr"` // LambdaFailureFeedbackRoleArn: string, optional LambdaFailureFeedbackRoleArn terra.StringValue `hcl:"lambda_failure_feedback_role_arn,attr"` // LambdaSuccessFeedbackRoleArn: string, optional LambdaSuccessFeedbackRoleArn terra.StringValue `hcl:"lambda_success_feedback_role_arn,attr"` // LambdaSuccessFeedbackSampleRate: number, optional LambdaSuccessFeedbackSampleRate terra.NumberValue `hcl:"lambda_success_feedback_sample_rate,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // Policy: string, optional Policy terra.StringValue `hcl:"policy,attr"` // SqsFailureFeedbackRoleArn: string, optional SqsFailureFeedbackRoleArn terra.StringValue `hcl:"sqs_failure_feedback_role_arn,attr"` // SqsSuccessFeedbackRoleArn: string, optional SqsSuccessFeedbackRoleArn terra.StringValue `hcl:"sqs_success_feedback_role_arn,attr"` // SqsSuccessFeedbackSampleRate: number, optional SqsSuccessFeedbackSampleRate terra.NumberValue `hcl:"sqs_success_feedback_sample_rate,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"` }
Args contains the configurations for aws_sns_topic.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
DataArgs contains the configurations for aws_sns_topic.
type DataSource ¶
DataSource represents the Terraform data resource aws_sns_topic.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ast *DataSource) Attributes() dataAwsSnsTopicAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ast *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ast *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ast *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_sns_topic.
func (*Resource) Attributes ¶
func (ast *Resource) Attributes() awsSnsTopicAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ast *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ast *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.