Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataIngestionDataSourceSettingsAttributes
- func (idss DataIngestionDataSourceSettingsAttributes) AwsKinesis() terra.ListValue[DataIngestionDataSourceSettingsAwsKinesisAttributes]
- func (idss DataIngestionDataSourceSettingsAttributes) InternalRef() (terra.Reference, error)
- func (idss DataIngestionDataSourceSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (idss DataIngestionDataSourceSettingsAttributes) InternalWithRef(ref terra.Reference) DataIngestionDataSourceSettingsAttributes
- type DataIngestionDataSourceSettingsAwsKinesisAttributes
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn() terra.StringValue
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn() terra.StringValue
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount() terra.StringValue
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalRef() (terra.Reference, error)
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef(ref terra.Reference) DataIngestionDataSourceSettingsAwsKinesisAttributes
- func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) StreamArn() terra.StringValue
- type DataIngestionDataSourceSettingsAwsKinesisState
- type DataIngestionDataSourceSettingsState
- type DataMessageStoragePolicyAttributes
- func (msp DataMessageStoragePolicyAttributes) AllowedPersistenceRegions() terra.ListValue[terra.StringValue]
- func (msp DataMessageStoragePolicyAttributes) InternalRef() (terra.Reference, error)
- func (msp DataMessageStoragePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (msp DataMessageStoragePolicyAttributes) InternalWithRef(ref terra.Reference) DataMessageStoragePolicyAttributes
- type DataMessageStoragePolicyState
- type DataSchemaSettingsAttributes
- func (ss DataSchemaSettingsAttributes) Encoding() terra.StringValue
- func (ss DataSchemaSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ss DataSchemaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss DataSchemaSettingsAttributes) InternalWithRef(ref terra.Reference) DataSchemaSettingsAttributes
- func (ss DataSchemaSettingsAttributes) Schema() terra.StringValue
- type DataSchemaSettingsState
- type DataSource
- type IngestionDataSourceSettings
- type IngestionDataSourceSettingsAttributes
- func (idss IngestionDataSourceSettingsAttributes) AwsKinesis() terra.ListValue[IngestionDataSourceSettingsAwsKinesisAttributes]
- func (idss IngestionDataSourceSettingsAttributes) InternalRef() (terra.Reference, error)
- func (idss IngestionDataSourceSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (idss IngestionDataSourceSettingsAttributes) InternalWithRef(ref terra.Reference) IngestionDataSourceSettingsAttributes
- type IngestionDataSourceSettingsAwsKinesis
- type IngestionDataSourceSettingsAwsKinesisAttributes
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn() terra.StringValue
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn() terra.StringValue
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount() terra.StringValue
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalRef() (terra.Reference, error)
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef(ref terra.Reference) IngestionDataSourceSettingsAwsKinesisAttributes
- func (ak IngestionDataSourceSettingsAwsKinesisAttributes) StreamArn() terra.StringValue
- type IngestionDataSourceSettingsAwsKinesisState
- type IngestionDataSourceSettingsState
- type MessageStoragePolicy
- type MessageStoragePolicyAttributes
- func (msp MessageStoragePolicyAttributes) AllowedPersistenceRegions() terra.ListValue[terra.StringValue]
- func (msp MessageStoragePolicyAttributes) InternalRef() (terra.Reference, error)
- func (msp MessageStoragePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (msp MessageStoragePolicyAttributes) InternalWithRef(ref terra.Reference) MessageStoragePolicyAttributes
- type MessageStoragePolicyState
- type Resource
- func (gpt *Resource) Attributes() googlePubsubTopicAttributes
- func (gpt *Resource) Configuration() interface{}
- func (gpt *Resource) DependOn() terra.Reference
- func (gpt *Resource) Dependencies() terra.Dependencies
- func (gpt *Resource) ImportState(state io.Reader) error
- func (gpt *Resource) LifecycleManagement() *terra.Lifecycle
- func (gpt *Resource) LocalName() string
- func (gpt *Resource) State() (*googlePubsubTopicState, bool)
- func (gpt *Resource) StateMust() *googlePubsubTopicState
- func (gpt *Resource) Type() string
- type SchemaSettings
- type SchemaSettingsAttributes
- func (ss SchemaSettingsAttributes) Encoding() terra.StringValue
- func (ss SchemaSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ss SchemaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss SchemaSettingsAttributes) InternalWithRef(ref terra.Reference) SchemaSettingsAttributes
- func (ss SchemaSettingsAttributes) Schema() terra.StringValue
- type SchemaSettingsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyName: string, optional KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // MessageRetentionDuration: string, optional MessageRetentionDuration terra.StringValue `hcl:"message_retention_duration,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // IngestionDataSourceSettings: optional IngestionDataSourceSettings *IngestionDataSourceSettings `hcl:"ingestion_data_source_settings,block"` // MessageStoragePolicy: optional MessageStoragePolicy *MessageStoragePolicy `hcl:"message_storage_policy,block"` // SchemaSettings: optional SchemaSettings *SchemaSettings `hcl:"schema_settings,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_pubsub_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"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_pubsub_topic.
type DataIngestionDataSourceSettingsAttributes ¶
type DataIngestionDataSourceSettingsAttributes struct {
// contains filtered or unexported fields
}
func (DataIngestionDataSourceSettingsAttributes) AwsKinesis ¶
func (idss DataIngestionDataSourceSettingsAttributes) AwsKinesis() terra.ListValue[DataIngestionDataSourceSettingsAwsKinesisAttributes]
func (DataIngestionDataSourceSettingsAttributes) InternalRef ¶
func (idss DataIngestionDataSourceSettingsAttributes) InternalRef() (terra.Reference, error)
func (DataIngestionDataSourceSettingsAttributes) InternalTokens ¶
func (idss DataIngestionDataSourceSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataIngestionDataSourceSettingsAttributes) InternalWithRef ¶
func (idss DataIngestionDataSourceSettingsAttributes) InternalWithRef(ref terra.Reference) DataIngestionDataSourceSettingsAttributes
type DataIngestionDataSourceSettingsAwsKinesisAttributes ¶
type DataIngestionDataSourceSettingsAwsKinesisAttributes struct {
// contains filtered or unexported fields
}
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn() terra.StringValue
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn() terra.StringValue
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount() terra.StringValue
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalRef ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalRef() (terra.Reference, error)
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef(ref terra.Reference) DataIngestionDataSourceSettingsAwsKinesisAttributes
func (DataIngestionDataSourceSettingsAwsKinesisAttributes) StreamArn ¶
func (ak DataIngestionDataSourceSettingsAwsKinesisAttributes) StreamArn() terra.StringValue
type DataIngestionDataSourceSettingsState ¶
type DataIngestionDataSourceSettingsState struct {
AwsKinesis []DataIngestionDataSourceSettingsAwsKinesisState `json:"aws_kinesis"`
}
type DataMessageStoragePolicyAttributes ¶
type DataMessageStoragePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataMessageStoragePolicyAttributes) AllowedPersistenceRegions ¶
func (msp DataMessageStoragePolicyAttributes) AllowedPersistenceRegions() terra.ListValue[terra.StringValue]
func (DataMessageStoragePolicyAttributes) InternalRef ¶
func (msp DataMessageStoragePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataMessageStoragePolicyAttributes) InternalTokens ¶
func (msp DataMessageStoragePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMessageStoragePolicyAttributes) InternalWithRef ¶
func (msp DataMessageStoragePolicyAttributes) InternalWithRef(ref terra.Reference) DataMessageStoragePolicyAttributes
type DataMessageStoragePolicyState ¶
type DataMessageStoragePolicyState struct {
AllowedPersistenceRegions []string `json:"allowed_persistence_regions"`
}
type DataSchemaSettingsAttributes ¶
type DataSchemaSettingsAttributes struct {
// contains filtered or unexported fields
}
func (DataSchemaSettingsAttributes) Encoding ¶
func (ss DataSchemaSettingsAttributes) Encoding() terra.StringValue
func (DataSchemaSettingsAttributes) InternalRef ¶
func (ss DataSchemaSettingsAttributes) InternalRef() (terra.Reference, error)
func (DataSchemaSettingsAttributes) InternalTokens ¶
func (ss DataSchemaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSchemaSettingsAttributes) InternalWithRef ¶
func (ss DataSchemaSettingsAttributes) InternalWithRef(ref terra.Reference) DataSchemaSettingsAttributes
func (DataSchemaSettingsAttributes) Schema ¶
func (ss DataSchemaSettingsAttributes) Schema() terra.StringValue
type DataSchemaSettingsState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_pubsub_topic.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gpt *DataSource) Attributes() dataGooglePubsubTopicAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gpt *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gpt *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gpt *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type IngestionDataSourceSettings ¶
type IngestionDataSourceSettings struct { // IngestionDataSourceSettingsAwsKinesis: optional AwsKinesis *IngestionDataSourceSettingsAwsKinesis `hcl:"aws_kinesis,block"` }
type IngestionDataSourceSettingsAttributes ¶
type IngestionDataSourceSettingsAttributes struct {
// contains filtered or unexported fields
}
func (IngestionDataSourceSettingsAttributes) AwsKinesis ¶
func (idss IngestionDataSourceSettingsAttributes) AwsKinesis() terra.ListValue[IngestionDataSourceSettingsAwsKinesisAttributes]
func (IngestionDataSourceSettingsAttributes) InternalRef ¶
func (idss IngestionDataSourceSettingsAttributes) InternalRef() (terra.Reference, error)
func (IngestionDataSourceSettingsAttributes) InternalTokens ¶
func (idss IngestionDataSourceSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IngestionDataSourceSettingsAttributes) InternalWithRef ¶
func (idss IngestionDataSourceSettingsAttributes) InternalWithRef(ref terra.Reference) IngestionDataSourceSettingsAttributes
type IngestionDataSourceSettingsAwsKinesis ¶
type IngestionDataSourceSettingsAwsKinesis struct { // AwsRoleArn: string, required AwsRoleArn terra.StringValue `hcl:"aws_role_arn,attr" validate:"required"` // ConsumerArn: string, required ConsumerArn terra.StringValue `hcl:"consumer_arn,attr" validate:"required"` // GcpServiceAccount: string, required GcpServiceAccount terra.StringValue `hcl:"gcp_service_account,attr" validate:"required"` // StreamArn: string, required StreamArn terra.StringValue `hcl:"stream_arn,attr" validate:"required"` }
type IngestionDataSourceSettingsAwsKinesisAttributes ¶
type IngestionDataSourceSettingsAwsKinesisAttributes struct {
// contains filtered or unexported fields
}
func (IngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) AwsRoleArn() terra.StringValue
func (IngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) ConsumerArn() terra.StringValue
func (IngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) GcpServiceAccount() terra.StringValue
func (IngestionDataSourceSettingsAwsKinesisAttributes) InternalRef ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalRef() (terra.Reference, error)
func (IngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) InternalWithRef(ref terra.Reference) IngestionDataSourceSettingsAwsKinesisAttributes
func (IngestionDataSourceSettingsAwsKinesisAttributes) StreamArn ¶
func (ak IngestionDataSourceSettingsAwsKinesisAttributes) StreamArn() terra.StringValue
type IngestionDataSourceSettingsState ¶
type IngestionDataSourceSettingsState struct {
AwsKinesis []IngestionDataSourceSettingsAwsKinesisState `json:"aws_kinesis"`
}
type MessageStoragePolicy ¶
type MessageStoragePolicy struct { // AllowedPersistenceRegions: list of string, required AllowedPersistenceRegions terra.ListValue[terra.StringValue] `hcl:"allowed_persistence_regions,attr" validate:"required"` }
type MessageStoragePolicyAttributes ¶
type MessageStoragePolicyAttributes struct {
// contains filtered or unexported fields
}
func (MessageStoragePolicyAttributes) AllowedPersistenceRegions ¶
func (msp MessageStoragePolicyAttributes) AllowedPersistenceRegions() terra.ListValue[terra.StringValue]
func (MessageStoragePolicyAttributes) InternalRef ¶
func (msp MessageStoragePolicyAttributes) InternalRef() (terra.Reference, error)
func (MessageStoragePolicyAttributes) InternalTokens ¶
func (msp MessageStoragePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MessageStoragePolicyAttributes) InternalWithRef ¶
func (msp MessageStoragePolicyAttributes) InternalWithRef(ref terra.Reference) MessageStoragePolicyAttributes
type MessageStoragePolicyState ¶
type MessageStoragePolicyState struct {
AllowedPersistenceRegions []string `json:"allowed_persistence_regions"`
}
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 google_pubsub_topic.
func (*Resource) Attributes ¶
func (gpt *Resource) Attributes() googlePubsubTopicAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gpt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gpt *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 SchemaSettings ¶
type SchemaSettings struct { // Encoding: string, optional Encoding terra.StringValue `hcl:"encoding,attr"` // Schema: string, required Schema terra.StringValue `hcl:"schema,attr" validate:"required"` }
type SchemaSettingsAttributes ¶
type SchemaSettingsAttributes struct {
// contains filtered or unexported fields
}
func (SchemaSettingsAttributes) Encoding ¶
func (ss SchemaSettingsAttributes) Encoding() terra.StringValue
func (SchemaSettingsAttributes) InternalRef ¶
func (ss SchemaSettingsAttributes) InternalRef() (terra.Reference, error)
func (SchemaSettingsAttributes) InternalTokens ¶
func (ss SchemaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaSettingsAttributes) InternalWithRef ¶
func (ss SchemaSettingsAttributes) InternalWithRef(ref terra.Reference) SchemaSettingsAttributes
func (SchemaSettingsAttributes) Schema ¶
func (ss SchemaSettingsAttributes) Schema() terra.StringValue
type SchemaSettingsState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() 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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue