Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic google_pubsub_topic}.
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopic(
scope: Construct,
id: str,
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
name: str,
id: str = None,
ingestion_data_source_settings: PubsubTopicIngestionDataSourceSettings = None,
kms_key_name: str = None,
labels: typing.Mapping[str] = None,
message_retention_duration: str = None,
message_storage_policy: PubsubTopicMessageStoragePolicy = None,
project: str = None,
schema_settings: PubsubTopicSchemaSettings = None,
timeouts: PubsubTopicTimeouts = None
)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
str |
The scoped construct ID. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
name |
str |
Name of the topic. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#id PubsubTopic#id}. |
ingestion_data_source_settings |
PubsubTopicIngestionDataSourceSettings |
ingestion_data_source_settings block. |
kms_key_name |
str |
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. |
labels |
typing.Mapping[str] |
A set of key/value label pairs to assign to this Topic. |
message_retention_duration |
str |
Indicates the minimum duration to retain a message after it is published to the topic. |
message_storage_policy |
PubsubTopicMessageStoragePolicy |
message_storage_policy block. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#project PubsubTopic#project}. |
schema_settings |
PubsubTopicSchemaSettings |
schema_settings block. |
timeouts |
PubsubTopicTimeouts |
timeouts block. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- Type: str
Name of the topic.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#name PubsubTopic#name}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#id PubsubTopic#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
ingestion_data_source_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#ingestion_data_source_settings PubsubTopic#ingestion_data_source_settings}
- Type: str
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic.
Your project's PubSub service account ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. The expected format is 'projects/* /locations/* /keyRings/* /cryptoKeys/*'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#kms_key_name PubsubTopic#kms_key_name}
Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
- Type: typing.Mapping[str]
A set of key/value label pairs to assign to this Topic.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#labels PubsubTopic#labels}
- Type: str
Indicates the minimum duration to retain a message after it is published to the topic.
If this field is set, messages published to the topic in the last messageRetentionDuration are always available to subscribers. For instance, it allows any attached subscription to seek to a timestamp that is up to messageRetentionDuration in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. The rotation period has the format of a decimal number, followed by the letter 's' (seconds). Cannot be more than 31 days or less than 10 minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#message_retention_duration PubsubTopic#message_retention_duration}
message_storage_policy block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#message_storage_policy PubsubTopic#message_storage_policy}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#project PubsubTopic#project}.
schema_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#schema_settings PubsubTopic#schema_settings}
- Type: PubsubTopicTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#timeouts PubsubTopic#timeouts}
Name | Description |
---|---|
to_string |
Returns a string representation of this construct. |
add_override |
No description. |
override_logical_id |
Overrides the auto-generated logical ID with a specific ID. |
reset_override_logical_id |
Resets a previously passed logical Id to use the auto-generated logical id again. |
to_hcl_terraform |
No description. |
to_metadata |
No description. |
to_terraform |
Adds this resource to the terraform JSON output. |
add_move_target |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
has_resource_move |
No description. |
import_from |
No description. |
interpolation_for_attribute |
No description. |
move_from_id |
Move the resource corresponding to "id" to this resource. |
move_to |
Moves this resource to the target resource given by moveTarget. |
move_to_id |
Moves this resource to the resource corresponding to "id". |
put_ingestion_data_source_settings |
No description. |
put_message_storage_policy |
No description. |
put_schema_settings |
No description. |
put_timeouts |
No description. |
reset_id |
No description. |
reset_ingestion_data_source_settings |
No description. |
reset_kms_key_name |
No description. |
reset_labels |
No description. |
reset_message_retention_duration |
No description. |
reset_message_storage_policy |
No description. |
reset_project |
No description. |
reset_schema_settings |
No description. |
reset_timeouts |
No description. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
def add_move_target(
move_target: str
) -> None
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def move_from_id(
id: str
) -> None
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
def move_to(
move_target: str,
index: typing.Union[str, typing.Union[int, float]] = None
) -> None
Moves this resource to the target resource given by moveTarget.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: typing.Union[str, typing.Union[int, float]]
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
def put_ingestion_data_source_settings(
aws_kinesis: PubsubTopicIngestionDataSourceSettingsAwsKinesis = None,
aws_msk: PubsubTopicIngestionDataSourceSettingsAwsMsk = None,
azure_event_hubs: PubsubTopicIngestionDataSourceSettingsAzureEventHubs = None,
cloud_storage: PubsubTopicIngestionDataSourceSettingsCloudStorage = None,
confluent_cloud: PubsubTopicIngestionDataSourceSettingsConfluentCloud = None,
platform_logs_settings: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings = None
) -> None
aws_kinesis block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_kinesis PubsubTopic#aws_kinesis}
aws_msk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_msk PubsubTopic#aws_msk}
azure_event_hubs block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#azure_event_hubs PubsubTopic#azure_event_hubs}
cloud_storage block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cloud_storage PubsubTopic#cloud_storage}
confluent_cloud block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#confluent_cloud PubsubTopic#confluent_cloud}
platform_logs_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#platform_logs_settings PubsubTopic#platform_logs_settings}
def put_message_storage_policy(
allowed_persistence_regions: typing.List[str],
enforce_in_transit: typing.Union[bool, IResolvable] = None
) -> None
- Type: typing.List[str]
A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#allowed_persistence_regions PubsubTopic#allowed_persistence_regions}
- Type: typing.Union[bool, cdktf.IResolvable]
If true, 'allowedPersistenceRegions' is also used to enforce in-transit guarantees for messages.
That is, Pub/Sub will fail topics.publish operations on this topic and subscribe operations on any subscription attached to this topic in any region that is not in 'allowedPersistenceRegions'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#enforce_in_transit PubsubTopic#enforce_in_transit}
def put_schema_settings(
schema: str,
encoding: str = None
) -> None
- Type: str
The name of the schema that messages published should be validated against.
Format is projects/{project}/schemas/{schema}. The value of this field will be deleted-schema if the schema has been deleted.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#schema PubsubTopic#schema}
- Type: str
The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#encoding PubsubTopic#encoding}
def put_timeouts(
create: str = None,
delete: str = None,
update: str = None
) -> None
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#create PubsubTopic#create}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#delete PubsubTopic#delete}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#update PubsubTopic#update}.
def reset_id() -> None
def reset_ingestion_data_source_settings() -> None
def reset_kms_key_name() -> None
def reset_labels() -> None
def reset_message_retention_duration() -> None
def reset_message_storage_policy() -> None
def reset_project() -> None
def reset_schema_settings() -> None
def reset_timeouts() -> None
Name | Description |
---|---|
is_construct |
Checks if x is a construct. |
is_terraform_element |
No description. |
is_terraform_resource |
No description. |
generate_config_for_import |
Generates CDKTF code for importing a PubsubTopic resource upon running "cdktf plan ". |
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopic.is_construct(
x: typing.Any
)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopic.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopic.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopic.generate_config_for_import(
scope: Construct,
import_to_id: str,
import_from_id: str,
provider: TerraformProvider = None
)
Generates CDKTF code for importing a PubsubTopic resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the PubsubTopic to import.
- Type: str
The id of the existing PubsubTopic that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the PubsubTopic to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktf_stack |
cdktf.TerraformStack |
No description. |
fqn |
str |
No description. |
friendly_unique_id |
str |
No description. |
terraform_meta_arguments |
typing.Mapping[typing.Any] |
No description. |
terraform_resource_type |
str |
No description. |
terraform_generator_metadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[str] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
effective_labels |
cdktf.StringMap |
No description. |
ingestion_data_source_settings |
PubsubTopicIngestionDataSourceSettingsOutputReference |
No description. |
message_storage_policy |
PubsubTopicMessageStoragePolicyOutputReference |
No description. |
schema_settings |
PubsubTopicSchemaSettingsOutputReference |
No description. |
terraform_labels |
cdktf.StringMap |
No description. |
timeouts |
PubsubTopicTimeoutsOutputReference |
No description. |
id_input |
str |
No description. |
ingestion_data_source_settings_input |
PubsubTopicIngestionDataSourceSettings |
No description. |
kms_key_name_input |
str |
No description. |
labels_input |
typing.Mapping[str] |
No description. |
message_retention_duration_input |
str |
No description. |
message_storage_policy_input |
PubsubTopicMessageStoragePolicy |
No description. |
name_input |
str |
No description. |
project_input |
str |
No description. |
schema_settings_input |
PubsubTopicSchemaSettings |
No description. |
timeouts_input |
typing.Union[cdktf.IResolvable, PubsubTopicTimeouts] |
No description. |
id |
str |
No description. |
kms_key_name |
str |
No description. |
labels |
typing.Mapping[str] |
No description. |
message_retention_duration |
str |
No description. |
name |
str |
No description. |
project |
str |
No description. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
effective_labels: StringMap
- Type: cdktf.StringMap
ingestion_data_source_settings: PubsubTopicIngestionDataSourceSettingsOutputReference
message_storage_policy: PubsubTopicMessageStoragePolicyOutputReference
schema_settings: PubsubTopicSchemaSettingsOutputReference
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: PubsubTopicTimeoutsOutputReference
id_input: str
- Type: str
ingestion_data_source_settings_input: PubsubTopicIngestionDataSourceSettings
kms_key_name_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
message_retention_duration_input: str
- Type: str
message_storage_policy_input: PubsubTopicMessageStoragePolicy
name_input: str
- Type: str
project_input: str
- Type: str
schema_settings_input: PubsubTopicSchemaSettings
timeouts_input: typing.Union[IResolvable, PubsubTopicTimeouts]
- Type: typing.Union[cdktf.IResolvable, PubsubTopicTimeouts]
id: str
- Type: str
kms_key_name: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
message_retention_duration: str
- Type: str
name: str
- Type: str
project: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicConfig(
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
name: str,
id: str = None,
ingestion_data_source_settings: PubsubTopicIngestionDataSourceSettings = None,
kms_key_name: str = None,
labels: typing.Mapping[str] = None,
message_retention_duration: str = None,
message_storage_policy: PubsubTopicMessageStoragePolicy = None,
project: str = None,
schema_settings: PubsubTopicSchemaSettings = None,
timeouts: PubsubTopicTimeouts = None
)
Name | Type | Description |
---|---|---|
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
name |
str |
Name of the topic. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#id PubsubTopic#id}. |
ingestion_data_source_settings |
PubsubTopicIngestionDataSourceSettings |
ingestion_data_source_settings block. |
kms_key_name |
str |
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. |
labels |
typing.Mapping[str] |
A set of key/value label pairs to assign to this Topic. |
message_retention_duration |
str |
Indicates the minimum duration to retain a message after it is published to the topic. |
message_storage_policy |
PubsubTopicMessageStoragePolicy |
message_storage_policy block. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#project PubsubTopic#project}. |
schema_settings |
PubsubTopicSchemaSettings |
schema_settings block. |
timeouts |
PubsubTopicTimeouts |
timeouts block. |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
name: str
- Type: str
Name of the topic.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#name PubsubTopic#name}
id: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#id PubsubTopic#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
ingestion_data_source_settings: PubsubTopicIngestionDataSourceSettings
ingestion_data_source_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#ingestion_data_source_settings PubsubTopic#ingestion_data_source_settings}
kms_key_name: str
- Type: str
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic.
Your project's PubSub service account ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. The expected format is 'projects/* /locations/* /keyRings/* /cryptoKeys/*'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#kms_key_name PubsubTopic#kms_key_name}
Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
A set of key/value label pairs to assign to this Topic.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#labels PubsubTopic#labels}
message_retention_duration: str
- Type: str
Indicates the minimum duration to retain a message after it is published to the topic.
If this field is set, messages published to the topic in the last messageRetentionDuration are always available to subscribers. For instance, it allows any attached subscription to seek to a timestamp that is up to messageRetentionDuration in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. The rotation period has the format of a decimal number, followed by the letter 's' (seconds). Cannot be more than 31 days or less than 10 minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#message_retention_duration PubsubTopic#message_retention_duration}
message_storage_policy: PubsubTopicMessageStoragePolicy
message_storage_policy block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#message_storage_policy PubsubTopic#message_storage_policy}
project: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#project PubsubTopic#project}.
schema_settings: PubsubTopicSchemaSettings
schema_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#schema_settings PubsubTopic#schema_settings}
timeouts: PubsubTopicTimeouts
- Type: PubsubTopicTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#timeouts PubsubTopic#timeouts}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettings(
aws_kinesis: PubsubTopicIngestionDataSourceSettingsAwsKinesis = None,
aws_msk: PubsubTopicIngestionDataSourceSettingsAwsMsk = None,
azure_event_hubs: PubsubTopicIngestionDataSourceSettingsAzureEventHubs = None,
cloud_storage: PubsubTopicIngestionDataSourceSettingsCloudStorage = None,
confluent_cloud: PubsubTopicIngestionDataSourceSettingsConfluentCloud = None,
platform_logs_settings: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings = None
)
Name | Type | Description |
---|---|---|
aws_kinesis |
PubsubTopicIngestionDataSourceSettingsAwsKinesis |
aws_kinesis block. |
aws_msk |
PubsubTopicIngestionDataSourceSettingsAwsMsk |
aws_msk block. |
azure_event_hubs |
PubsubTopicIngestionDataSourceSettingsAzureEventHubs |
azure_event_hubs block. |
cloud_storage |
PubsubTopicIngestionDataSourceSettingsCloudStorage |
cloud_storage block. |
confluent_cloud |
PubsubTopicIngestionDataSourceSettingsConfluentCloud |
confluent_cloud block. |
platform_logs_settings |
PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings |
platform_logs_settings block. |
aws_kinesis: PubsubTopicIngestionDataSourceSettingsAwsKinesis
aws_kinesis block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_kinesis PubsubTopic#aws_kinesis}
aws_msk: PubsubTopicIngestionDataSourceSettingsAwsMsk
aws_msk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_msk PubsubTopic#aws_msk}
azure_event_hubs: PubsubTopicIngestionDataSourceSettingsAzureEventHubs
azure_event_hubs block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#azure_event_hubs PubsubTopic#azure_event_hubs}
cloud_storage: PubsubTopicIngestionDataSourceSettingsCloudStorage
cloud_storage block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cloud_storage PubsubTopic#cloud_storage}
confluent_cloud: PubsubTopicIngestionDataSourceSettingsConfluentCloud
confluent_cloud block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#confluent_cloud PubsubTopic#confluent_cloud}
platform_logs_settings: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings
platform_logs_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#platform_logs_settings PubsubTopic#platform_logs_settings}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAwsKinesis(
aws_role_arn: str,
consumer_arn: str,
gcp_service_account: str,
stream_arn: str
)
Name | Type | Description |
---|---|---|
aws_role_arn |
str |
AWS role ARN to be used for Federated Identity authentication with Kinesis. |
consumer_arn |
str |
The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. |
gcp_service_account |
str |
The GCP service account to be used for Federated Identity authentication with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided role). |
stream_arn |
str |
The Kinesis stream ARN to ingest data from. |
aws_role_arn: str
- Type: str
AWS role ARN to be used for Federated Identity authentication with Kinesis.
Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_role_arn PubsubTopic#aws_role_arn}
consumer_arn: str
- Type: str
The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode.
The consumer must be already created and ready to be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#consumer_arn PubsubTopic#consumer_arn}
gcp_service_account: str
- Type: str
The GCP service account to be used for Federated Identity authentication with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided role).
The 'awsRoleArn' must be set up with 'accounts.google.com:sub' equals to this service account number.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
stream_arn: str
- Type: str
The Kinesis stream ARN to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#stream_arn PubsubTopic#stream_arn}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAwsMsk(
aws_role_arn: str,
cluster_arn: str,
gcp_service_account: str,
topic: str
)
Name | Type | Description |
---|---|---|
aws_role_arn |
str |
AWS role ARN to be used for Federated Identity authentication with MSK. |
cluster_arn |
str |
ARN that uniquely identifies the MSK cluster. |
gcp_service_account |
str |
The GCP service account to be used for Federated Identity authentication with MSK (via a 'AssumeRoleWithWebIdentity' call for the provided role). |
topic |
str |
The name of the MSK topic that Pub/Sub will import from. |
aws_role_arn: str
- Type: str
AWS role ARN to be used for Federated Identity authentication with MSK.
Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_role_arn PubsubTopic#aws_role_arn}
cluster_arn: str
- Type: str
ARN that uniquely identifies the MSK cluster.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cluster_arn PubsubTopic#cluster_arn}
gcp_service_account: str
- Type: str
The GCP service account to be used for Federated Identity authentication with MSK (via a 'AssumeRoleWithWebIdentity' call for the provided role).
The 'awsRoleArn' must be set up with 'accounts.google.com:sub' equals to this service account number.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
topic: str
- Type: str
The name of the MSK topic that Pub/Sub will import from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#topic PubsubTopic#topic}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAzureEventHubs(
client_id: str = None,
event_hub: str = None,
gcp_service_account: str = None,
namespace: str = None,
resource_group: str = None,
subscription_id: str = None,
tenant_id: str = None
)
Name | Type | Description |
---|---|---|
client_id |
str |
The Azure event hub client ID to use for ingestion. |
event_hub |
str |
The Azure event hub to ingest data from. |
gcp_service_account |
str |
The GCP service account to be used for Federated Identity authentication with Azure (via a 'AssumeRoleWithWebIdentity' call for the provided role). |
namespace |
str |
The Azure event hub namespace to ingest data from. |
resource_group |
str |
The name of the resource group within an Azure subscription. |
subscription_id |
str |
The Azure event hub subscription ID to use for ingestion. |
tenant_id |
str |
The Azure event hub tenant ID to use for ingestion. |
client_id: str
- Type: str
The Azure event hub client ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#client_id PubsubTopic#client_id}
event_hub: str
- Type: str
The Azure event hub to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#event_hub PubsubTopic#event_hub}
gcp_service_account: str
- Type: str
The GCP service account to be used for Federated Identity authentication with Azure (via a 'AssumeRoleWithWebIdentity' call for the provided role).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
namespace: str
- Type: str
The Azure event hub namespace to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#namespace PubsubTopic#namespace}
resource_group: str
- Type: str
The name of the resource group within an Azure subscription.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#resource_group PubsubTopic#resource_group}
subscription_id: str
- Type: str
The Azure event hub subscription ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#subscription_id PubsubTopic#subscription_id}
tenant_id: str
- Type: str
The Azure event hub tenant ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#tenant_id PubsubTopic#tenant_id}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorage(
bucket: str,
avro_format: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat = None,
match_glob: str = None,
minimum_object_create_time: str = None,
pubsub_avro_format: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat = None,
text_format: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat = None
)
Name | Type | Description |
---|---|---|
bucket |
str |
Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements: https://cloud.google.com/storage/docs/buckets#naming. |
avro_format |
PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat |
avro_format block. |
match_glob |
str |
Glob pattern used to match objects that will be ingested. |
minimum_object_create_time |
str |
The timestamp set in RFC3339 text format. |
pubsub_avro_format |
PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat |
pubsub_avro_format block. |
text_format |
PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat |
text_format block. |
bucket: str
- Type: str
Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements: https://cloud.google.com/storage/docs/buckets#naming.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#bucket PubsubTopic#bucket}
avro_format: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat
avro_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#avro_format PubsubTopic#avro_format}
match_glob: str
- Type: str
Glob pattern used to match objects that will be ingested.
If unset, all objects will be ingested. See the supported patterns: https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#match_glob PubsubTopic#match_glob}
minimum_object_create_time: str
- Type: str
The timestamp set in RFC3339 text format.
If set, only objects with a larger or equal timestamp will be ingested. Unset by default, meaning all objects will be ingested.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#minimum_object_create_time PubsubTopic#minimum_object_create_time}
pubsub_avro_format: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat
pubsub_avro_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#pubsub_avro_format PubsubTopic#pubsub_avro_format}
text_format: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat
text_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#text_format PubsubTopic#text_format}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat()
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat()
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat(
delimiter: str = None
)
Name | Type | Description |
---|---|---|
delimiter |
str |
The delimiter to use when using the 'text' format. |
delimiter: str
- Type: str
The delimiter to use when using the 'text' format.
Each line of text as specified by the delimiter will be set to the 'data' field of a Pub/Sub message. When unset, '\n' is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#delimiter PubsubTopic#delimiter}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsConfluentCloud(
bootstrap_server: str,
gcp_service_account: str,
identity_pool_id: str,
topic: str,
cluster_id: str = None
)
Name | Type | Description |
---|---|---|
bootstrap_server |
str |
The Confluent Cloud bootstrap server. The format is url:port. |
gcp_service_account |
str |
The GCP service account to be used for Federated Identity authentication with Confluent Cloud. |
identity_pool_id |
str |
Identity pool ID to be used for Federated Identity authentication with Confluent Cloud. |
topic |
str |
Name of the Confluent Cloud topic that Pub/Sub will import from. |
cluster_id |
str |
The Confluent Cloud cluster ID. |
bootstrap_server: str
- Type: str
The Confluent Cloud bootstrap server. The format is url:port.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#bootstrap_server PubsubTopic#bootstrap_server}
gcp_service_account: str
- Type: str
The GCP service account to be used for Federated Identity authentication with Confluent Cloud.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
identity_pool_id: str
- Type: str
Identity pool ID to be used for Federated Identity authentication with Confluent Cloud.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#identity_pool_id PubsubTopic#identity_pool_id}
topic: str
- Type: str
Name of the Confluent Cloud topic that Pub/Sub will import from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#topic PubsubTopic#topic}
cluster_id: str
- Type: str
The Confluent Cloud cluster ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cluster_id PubsubTopic#cluster_id}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings(
severity: str = None
)
Name | Type | Description |
---|---|---|
severity |
str |
The minimum severity level of Platform Logs that will be written. |
severity: str
- Type: str
The minimum severity level of Platform Logs that will be written.
If unspecified, no Platform Logs will be written. Default value: "SEVERITY_UNSPECIFIED" Possible values: ["SEVERITY_UNSPECIFIED", "DISABLED", "DEBUG", "INFO", "WARNING", "ERROR"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#severity PubsubTopic#severity}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicMessageStoragePolicy(
allowed_persistence_regions: typing.List[str],
enforce_in_transit: typing.Union[bool, IResolvable] = None
)
Name | Type | Description |
---|---|---|
allowed_persistence_regions |
typing.List[str] |
A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. |
enforce_in_transit |
typing.Union[bool, cdktf.IResolvable] |
If true, 'allowedPersistenceRegions' is also used to enforce in-transit guarantees for messages. |
allowed_persistence_regions: typing.List[str]
- Type: typing.List[str]
A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#allowed_persistence_regions PubsubTopic#allowed_persistence_regions}
enforce_in_transit: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
If true, 'allowedPersistenceRegions' is also used to enforce in-transit guarantees for messages.
That is, Pub/Sub will fail topics.publish operations on this topic and subscribe operations on any subscription attached to this topic in any region that is not in 'allowedPersistenceRegions'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#enforce_in_transit PubsubTopic#enforce_in_transit}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicSchemaSettings(
schema: str,
encoding: str = None
)
Name | Type | Description |
---|---|---|
schema |
str |
The name of the schema that messages published should be validated against. |
encoding |
str |
The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"]. |
schema: str
- Type: str
The name of the schema that messages published should be validated against.
Format is projects/{project}/schemas/{schema}. The value of this field will be deleted-schema if the schema has been deleted.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#schema PubsubTopic#schema}
encoding: str
- Type: str
The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#encoding PubsubTopic#encoding}
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicTimeouts(
create: str = None,
delete: str = None,
update: str = None
)
Name | Type | Description |
---|---|---|
create |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#create PubsubTopic#create}. |
delete |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#delete PubsubTopic#delete}. |
update |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#update PubsubTopic#update}. |
create: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#create PubsubTopic#create}.
delete: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#delete PubsubTopic#delete}.
update: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#update PubsubTopic#update}.
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
aws_role_arn_input |
str |
No description. |
consumer_arn_input |
str |
No description. |
gcp_service_account_input |
str |
No description. |
stream_arn_input |
str |
No description. |
aws_role_arn |
str |
No description. |
consumer_arn |
str |
No description. |
gcp_service_account |
str |
No description. |
stream_arn |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsAwsKinesis |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
aws_role_arn_input: str
- Type: str
consumer_arn_input: str
- Type: str
gcp_service_account_input: str
- Type: str
stream_arn_input: str
- Type: str
aws_role_arn: str
- Type: str
consumer_arn: str
- Type: str
gcp_service_account: str
- Type: str
stream_arn: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsAwsKinesis
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAwsMskOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
aws_role_arn_input |
str |
No description. |
cluster_arn_input |
str |
No description. |
gcp_service_account_input |
str |
No description. |
topic_input |
str |
No description. |
aws_role_arn |
str |
No description. |
cluster_arn |
str |
No description. |
gcp_service_account |
str |
No description. |
topic |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsAwsMsk |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
aws_role_arn_input: str
- Type: str
cluster_arn_input: str
- Type: str
gcp_service_account_input: str
- Type: str
topic_input: str
- Type: str
aws_role_arn: str
- Type: str
cluster_arn: str
- Type: str
gcp_service_account: str
- Type: str
topic: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsAwsMsk
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_client_id |
No description. |
reset_event_hub |
No description. |
reset_gcp_service_account |
No description. |
reset_namespace |
No description. |
reset_resource_group |
No description. |
reset_subscription_id |
No description. |
reset_tenant_id |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_client_id() -> None
def reset_event_hub() -> None
def reset_gcp_service_account() -> None
def reset_namespace() -> None
def reset_resource_group() -> None
def reset_subscription_id() -> None
def reset_tenant_id() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
client_id_input |
str |
No description. |
event_hub_input |
str |
No description. |
gcp_service_account_input |
str |
No description. |
namespace_input |
str |
No description. |
resource_group_input |
str |
No description. |
subscription_id_input |
str |
No description. |
tenant_id_input |
str |
No description. |
client_id |
str |
No description. |
event_hub |
str |
No description. |
gcp_service_account |
str |
No description. |
namespace |
str |
No description. |
resource_group |
str |
No description. |
subscription_id |
str |
No description. |
tenant_id |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsAzureEventHubs |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
client_id_input: str
- Type: str
event_hub_input: str
- Type: str
gcp_service_account_input: str
- Type: str
namespace_input: str
- Type: str
resource_group_input: str
- Type: str
subscription_id_input: str
- Type: str
tenant_id_input: str
- Type: str
client_id: str
- Type: str
event_hub: str
- Type: str
gcp_service_account: str
- Type: str
namespace: str
- Type: str
resource_group: str
- Type: str
subscription_id: str
- Type: str
tenant_id: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsAzureEventHubs
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_avro_format |
No description. |
put_pubsub_avro_format |
No description. |
put_text_format |
No description. |
reset_avro_format |
No description. |
reset_match_glob |
No description. |
reset_minimum_object_create_time |
No description. |
reset_pubsub_avro_format |
No description. |
reset_text_format |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_avro_format() -> None
def put_pubsub_avro_format() -> None
def put_text_format(
delimiter: str = None
) -> None
- Type: str
The delimiter to use when using the 'text' format.
Each line of text as specified by the delimiter will be set to the 'data' field of a Pub/Sub message. When unset, '\n' is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#delimiter PubsubTopic#delimiter}
def reset_avro_format() -> None
def reset_match_glob() -> None
def reset_minimum_object_create_time() -> None
def reset_pubsub_avro_format() -> None
def reset_text_format() -> None
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
avro_format: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference
pubsub_avro_format: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference
text_format: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference
avro_format_input: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat
bucket_input: str
- Type: str
match_glob_input: str
- Type: str
minimum_object_create_time_input: str
- Type: str
pubsub_avro_format_input: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat
text_format_input: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat
bucket: str
- Type: str
match_glob: str
- Type: str
minimum_object_create_time: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsCloudStorage
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_delimiter |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_delimiter() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
delimiter_input |
str |
No description. |
delimiter |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
delimiter_input: str
- Type: str
delimiter: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_cluster_id |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_cluster_id() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
bootstrap_server_input |
str |
No description. |
cluster_id_input |
str |
No description. |
gcp_service_account_input |
str |
No description. |
identity_pool_id_input |
str |
No description. |
topic_input |
str |
No description. |
bootstrap_server |
str |
No description. |
cluster_id |
str |
No description. |
gcp_service_account |
str |
No description. |
identity_pool_id |
str |
No description. |
topic |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsConfluentCloud |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
bootstrap_server_input: str
- Type: str
cluster_id_input: str
- Type: str
gcp_service_account_input: str
- Type: str
identity_pool_id_input: str
- Type: str
topic_input: str
- Type: str
bootstrap_server: str
- Type: str
cluster_id: str
- Type: str
gcp_service_account: str
- Type: str
identity_pool_id: str
- Type: str
topic: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsConfluentCloud
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_aws_kinesis |
No description. |
put_aws_msk |
No description. |
put_azure_event_hubs |
No description. |
put_cloud_storage |
No description. |
put_confluent_cloud |
No description. |
put_platform_logs_settings |
No description. |
reset_aws_kinesis |
No description. |
reset_aws_msk |
No description. |
reset_azure_event_hubs |
No description. |
reset_cloud_storage |
No description. |
reset_confluent_cloud |
No description. |
reset_platform_logs_settings |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_aws_kinesis(
aws_role_arn: str,
consumer_arn: str,
gcp_service_account: str,
stream_arn: str
) -> None
- Type: str
AWS role ARN to be used for Federated Identity authentication with Kinesis.
Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_role_arn PubsubTopic#aws_role_arn}
- Type: str
The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode.
The consumer must be already created and ready to be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#consumer_arn PubsubTopic#consumer_arn}
- Type: str
The GCP service account to be used for Federated Identity authentication with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided role).
The 'awsRoleArn' must be set up with 'accounts.google.com:sub' equals to this service account number.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
- Type: str
The Kinesis stream ARN to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#stream_arn PubsubTopic#stream_arn}
def put_aws_msk(
aws_role_arn: str,
cluster_arn: str,
gcp_service_account: str,
topic: str
) -> None
- Type: str
AWS role ARN to be used for Federated Identity authentication with MSK.
Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#aws_role_arn PubsubTopic#aws_role_arn}
- Type: str
ARN that uniquely identifies the MSK cluster.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cluster_arn PubsubTopic#cluster_arn}
- Type: str
The GCP service account to be used for Federated Identity authentication with MSK (via a 'AssumeRoleWithWebIdentity' call for the provided role).
The 'awsRoleArn' must be set up with 'accounts.google.com:sub' equals to this service account number.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
- Type: str
The name of the MSK topic that Pub/Sub will import from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#topic PubsubTopic#topic}
def put_azure_event_hubs(
client_id: str = None,
event_hub: str = None,
gcp_service_account: str = None,
namespace: str = None,
resource_group: str = None,
subscription_id: str = None,
tenant_id: str = None
) -> None
- Type: str
The Azure event hub client ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#client_id PubsubTopic#client_id}
- Type: str
The Azure event hub to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#event_hub PubsubTopic#event_hub}
- Type: str
The GCP service account to be used for Federated Identity authentication with Azure (via a 'AssumeRoleWithWebIdentity' call for the provided role).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
- Type: str
The Azure event hub namespace to ingest data from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#namespace PubsubTopic#namespace}
- Type: str
The name of the resource group within an Azure subscription.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#resource_group PubsubTopic#resource_group}
- Type: str
The Azure event hub subscription ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#subscription_id PubsubTopic#subscription_id}
- Type: str
The Azure event hub tenant ID to use for ingestion.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#tenant_id PubsubTopic#tenant_id}
def put_cloud_storage(
bucket: str,
avro_format: PubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormat = None,
match_glob: str = None,
minimum_object_create_time: str = None,
pubsub_avro_format: PubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormat = None,
text_format: PubsubTopicIngestionDataSourceSettingsCloudStorageTextFormat = None
) -> None
- Type: str
Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements: https://cloud.google.com/storage/docs/buckets#naming.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#bucket PubsubTopic#bucket}
avro_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#avro_format PubsubTopic#avro_format}
- Type: str
Glob pattern used to match objects that will be ingested.
If unset, all objects will be ingested. See the supported patterns: https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#match_glob PubsubTopic#match_glob}
- Type: str
The timestamp set in RFC3339 text format.
If set, only objects with a larger or equal timestamp will be ingested. Unset by default, meaning all objects will be ingested.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#minimum_object_create_time PubsubTopic#minimum_object_create_time}
pubsub_avro_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#pubsub_avro_format PubsubTopic#pubsub_avro_format}
text_format block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#text_format PubsubTopic#text_format}
def put_confluent_cloud(
bootstrap_server: str,
gcp_service_account: str,
identity_pool_id: str,
topic: str,
cluster_id: str = None
) -> None
- Type: str
The Confluent Cloud bootstrap server. The format is url:port.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#bootstrap_server PubsubTopic#bootstrap_server}
- Type: str
The GCP service account to be used for Federated Identity authentication with Confluent Cloud.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}
- Type: str
Identity pool ID to be used for Federated Identity authentication with Confluent Cloud.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#identity_pool_id PubsubTopic#identity_pool_id}
- Type: str
Name of the Confluent Cloud topic that Pub/Sub will import from.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#topic PubsubTopic#topic}
- Type: str
The Confluent Cloud cluster ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#cluster_id PubsubTopic#cluster_id}
def put_platform_logs_settings(
severity: str = None
) -> None
- Type: str
The minimum severity level of Platform Logs that will be written.
If unspecified, no Platform Logs will be written. Default value: "SEVERITY_UNSPECIFIED" Possible values: ["SEVERITY_UNSPECIFIED", "DISABLED", "DEBUG", "INFO", "WARNING", "ERROR"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/pubsub_topic#severity PubsubTopic#severity}
def reset_aws_kinesis() -> None
def reset_aws_msk() -> None
def reset_azure_event_hubs() -> None
def reset_cloud_storage() -> None
def reset_confluent_cloud() -> None
def reset_platform_logs_settings() -> None
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
aws_kinesis: PubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference
aws_msk: PubsubTopicIngestionDataSourceSettingsAwsMskOutputReference
azure_event_hubs: PubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference
cloud_storage: PubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference
confluent_cloud: PubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference
platform_logs_settings: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference
aws_kinesis_input: PubsubTopicIngestionDataSourceSettingsAwsKinesis
aws_msk_input: PubsubTopicIngestionDataSourceSettingsAwsMsk
azure_event_hubs_input: PubsubTopicIngestionDataSourceSettingsAzureEventHubs
cloud_storage_input: PubsubTopicIngestionDataSourceSettingsCloudStorage
confluent_cloud_input: PubsubTopicIngestionDataSourceSettingsConfluentCloud
platform_logs_settings_input: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings
internal_value: PubsubTopicIngestionDataSourceSettings
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_severity |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_severity() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
severity_input |
str |
No description. |
severity |
str |
No description. |
internal_value |
PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
severity_input: str
- Type: str
severity: str
- Type: str
internal_value: PubsubTopicIngestionDataSourceSettingsPlatformLogsSettings
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicMessageStoragePolicyOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_enforce_in_transit |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_enforce_in_transit() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
allowed_persistence_regions_input |
typing.List[str] |
No description. |
enforce_in_transit_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
allowed_persistence_regions |
typing.List[str] |
No description. |
enforce_in_transit |
typing.Union[bool, cdktf.IResolvable] |
No description. |
internal_value |
PubsubTopicMessageStoragePolicy |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
allowed_persistence_regions_input: typing.List[str]
- Type: typing.List[str]
enforce_in_transit_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
allowed_persistence_regions: typing.List[str]
- Type: typing.List[str]
enforce_in_transit: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
internal_value: PubsubTopicMessageStoragePolicy
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicSchemaSettingsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_encoding |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_encoding() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
encoding_input |
str |
No description. |
schema_input |
str |
No description. |
encoding |
str |
No description. |
schema |
str |
No description. |
internal_value |
PubsubTopicSchemaSettings |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
encoding_input: str
- Type: str
schema_input: str
- Type: str
encoding: str
- Type: str
schema: str
- Type: str
internal_value: PubsubTopicSchemaSettings
from cdktf_cdktf_provider_google import pubsub_topic
pubsubTopic.PubsubTopicTimeoutsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_create |
No description. |
reset_delete |
No description. |
reset_update |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_create() -> None
def reset_delete() -> None
def reset_update() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
create_input |
str |
No description. |
delete_input |
str |
No description. |
update_input |
str |
No description. |
create |
str |
No description. |
delete |
str |
No description. |
update |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, PubsubTopicTimeouts] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
create_input: str
- Type: str
delete_input: str
- Type: str
update_input: str
- Type: str
create: str
- Type: str
delete: str
- Type: str
update: str
- Type: str
internal_value: typing.Union[IResolvable, PubsubTopicTimeouts]
- Type: typing.Union[cdktf.IResolvable, PubsubTopicTimeouts]