akeyless.ProducerCassandra
Explore with Pulumi AI
Cassandra producer resource
Create ProducerCassandra Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProducerCassandra(name: string, args?: ProducerCassandraArgs, opts?: CustomResourceOptions);
@overload
def ProducerCassandra(resource_name: str,
args: Optional[ProducerCassandraArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ProducerCassandra(resource_name: str,
opts: Optional[ResourceOptions] = None,
cassandra_creation_statements: Optional[str] = None,
cassandra_hosts: Optional[str] = None,
cassandra_password: Optional[str] = None,
cassandra_port: Optional[str] = None,
cassandra_username: Optional[str] = None,
name: Optional[str] = None,
producer_cassandra_id: Optional[str] = None,
producer_encryption_key_name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
user_ttl: Optional[str] = None)
func NewProducerCassandra(ctx *Context, name string, args *ProducerCassandraArgs, opts ...ResourceOption) (*ProducerCassandra, error)
public ProducerCassandra(string name, ProducerCassandraArgs? args = null, CustomResourceOptions? opts = null)
public ProducerCassandra(String name, ProducerCassandraArgs args)
public ProducerCassandra(String name, ProducerCassandraArgs args, CustomResourceOptions options)
type: akeyless:ProducerCassandra
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProducerCassandraArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProducerCassandraArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProducerCassandraArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProducerCassandraArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProducerCassandraArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var producerCassandraResource = new Akeyless.ProducerCassandra("producerCassandraResource", new()
{
CassandraCreationStatements = "string",
CassandraHosts = "string",
CassandraPassword = "string",
CassandraPort = "string",
CassandraUsername = "string",
Name = "string",
ProducerCassandraId = "string",
ProducerEncryptionKeyName = "string",
Tags = new[]
{
"string",
},
TargetName = "string",
UserTtl = "string",
});
example, err := akeyless.NewProducerCassandra(ctx, "producerCassandraResource", &akeyless.ProducerCassandraArgs{
CassandraCreationStatements: pulumi.String("string"),
CassandraHosts: pulumi.String("string"),
CassandraPassword: pulumi.String("string"),
CassandraPort: pulumi.String("string"),
CassandraUsername: pulumi.String("string"),
Name: pulumi.String("string"),
ProducerCassandraId: pulumi.String("string"),
ProducerEncryptionKeyName: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TargetName: pulumi.String("string"),
UserTtl: pulumi.String("string"),
})
var producerCassandraResource = new ProducerCassandra("producerCassandraResource", ProducerCassandraArgs.builder()
.cassandraCreationStatements("string")
.cassandraHosts("string")
.cassandraPassword("string")
.cassandraPort("string")
.cassandraUsername("string")
.name("string")
.producerCassandraId("string")
.producerEncryptionKeyName("string")
.tags("string")
.targetName("string")
.userTtl("string")
.build());
producer_cassandra_resource = akeyless.ProducerCassandra("producerCassandraResource",
cassandra_creation_statements="string",
cassandra_hosts="string",
cassandra_password="string",
cassandra_port="string",
cassandra_username="string",
name="string",
producer_cassandra_id="string",
producer_encryption_key_name="string",
tags=["string"],
target_name="string",
user_ttl="string")
const producerCassandraResource = new akeyless.ProducerCassandra("producerCassandraResource", {
cassandraCreationStatements: "string",
cassandraHosts: "string",
cassandraPassword: "string",
cassandraPort: "string",
cassandraUsername: "string",
name: "string",
producerCassandraId: "string",
producerEncryptionKeyName: "string",
tags: ["string"],
targetName: "string",
userTtl: "string",
});
type: akeyless:ProducerCassandra
properties:
cassandraCreationStatements: string
cassandraHosts: string
cassandraPassword: string
cassandraPort: string
cassandraUsername: string
name: string
producerCassandraId: string
producerEncryptionKeyName: string
tags:
- string
targetName: string
userTtl: string
ProducerCassandra Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ProducerCassandra resource accepts the following input properties:
- Cassandra
Creation stringStatements - Cassandra Creation Statements
- Cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- Cassandra
Password string - Cassandra superuser password
- Cassandra
Port string - Cassandra port
- Cassandra
Username string - Cassandra superuser user name
- Name string
- Producer name
- Producer
Cassandra stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Dynamic producer encryption key
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Target name
- User
Ttl string - User TTL (<=60m for access token)
- Cassandra
Creation stringStatements - Cassandra Creation Statements
- Cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- Cassandra
Password string - Cassandra superuser password
- Cassandra
Port string - Cassandra port
- Cassandra
Username string - Cassandra superuser user name
- Name string
- Producer name
- Producer
Cassandra stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Dynamic producer encryption key
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Target name
- User
Ttl string - User TTL (<=60m for access token)
- cassandra
Creation StringStatements - Cassandra Creation Statements
- cassandra
Hosts String - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password String - Cassandra superuser password
- cassandra
Port String - Cassandra port
- cassandra
Username String - Cassandra superuser user name
- name String
- Producer name
- producer
Cassandra StringId - The ID of this resource.
- producer
Encryption StringKey Name - Dynamic producer encryption key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Target name
- user
Ttl String - User TTL (<=60m for access token)
- cassandra
Creation stringStatements - Cassandra Creation Statements
- cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password string - Cassandra superuser password
- cassandra
Port string - Cassandra port
- cassandra
Username string - Cassandra superuser user name
- name string
- Producer name
- producer
Cassandra stringId - The ID of this resource.
- producer
Encryption stringKey Name - Dynamic producer encryption key
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Target name
- user
Ttl string - User TTL (<=60m for access token)
- cassandra_
creation_ strstatements - Cassandra Creation Statements
- cassandra_
hosts str - Cassandra hosts names or IP addresses, comma separated
- cassandra_
password str - Cassandra superuser password
- cassandra_
port str - Cassandra port
- cassandra_
username str - Cassandra superuser user name
- name str
- Producer name
- producer_
cassandra_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Dynamic producer encryption key
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target_
name str - Target name
- user_
ttl str - User TTL (<=60m for access token)
- cassandra
Creation StringStatements - Cassandra Creation Statements
- cassandra
Hosts String - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password String - Cassandra superuser password
- cassandra
Port String - Cassandra port
- cassandra
Username String - Cassandra superuser user name
- name String
- Producer name
- producer
Cassandra StringId - The ID of this resource.
- producer
Encryption StringKey Name - Dynamic producer encryption key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Target name
- user
Ttl String - User TTL (<=60m for access token)
Outputs
All input properties are implicitly available as output properties. Additionally, the ProducerCassandra resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ProducerCassandra Resource
Get an existing ProducerCassandra resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProducerCassandraState, opts?: CustomResourceOptions): ProducerCassandra
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cassandra_creation_statements: Optional[str] = None,
cassandra_hosts: Optional[str] = None,
cassandra_password: Optional[str] = None,
cassandra_port: Optional[str] = None,
cassandra_username: Optional[str] = None,
name: Optional[str] = None,
producer_cassandra_id: Optional[str] = None,
producer_encryption_key_name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
user_ttl: Optional[str] = None) -> ProducerCassandra
func GetProducerCassandra(ctx *Context, name string, id IDInput, state *ProducerCassandraState, opts ...ResourceOption) (*ProducerCassandra, error)
public static ProducerCassandra Get(string name, Input<string> id, ProducerCassandraState? state, CustomResourceOptions? opts = null)
public static ProducerCassandra get(String name, Output<String> id, ProducerCassandraState state, CustomResourceOptions options)
resources: _: type: akeyless:ProducerCassandra get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cassandra
Creation stringStatements - Cassandra Creation Statements
- Cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- Cassandra
Password string - Cassandra superuser password
- Cassandra
Port string - Cassandra port
- Cassandra
Username string - Cassandra superuser user name
- Name string
- Producer name
- Producer
Cassandra stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Dynamic producer encryption key
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Target name
- User
Ttl string - User TTL (<=60m for access token)
- Cassandra
Creation stringStatements - Cassandra Creation Statements
- Cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- Cassandra
Password string - Cassandra superuser password
- Cassandra
Port string - Cassandra port
- Cassandra
Username string - Cassandra superuser user name
- Name string
- Producer name
- Producer
Cassandra stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Dynamic producer encryption key
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Target name
- User
Ttl string - User TTL (<=60m for access token)
- cassandra
Creation StringStatements - Cassandra Creation Statements
- cassandra
Hosts String - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password String - Cassandra superuser password
- cassandra
Port String - Cassandra port
- cassandra
Username String - Cassandra superuser user name
- name String
- Producer name
- producer
Cassandra StringId - The ID of this resource.
- producer
Encryption StringKey Name - Dynamic producer encryption key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Target name
- user
Ttl String - User TTL (<=60m for access token)
- cassandra
Creation stringStatements - Cassandra Creation Statements
- cassandra
Hosts string - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password string - Cassandra superuser password
- cassandra
Port string - Cassandra port
- cassandra
Username string - Cassandra superuser user name
- name string
- Producer name
- producer
Cassandra stringId - The ID of this resource.
- producer
Encryption stringKey Name - Dynamic producer encryption key
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Target name
- user
Ttl string - User TTL (<=60m for access token)
- cassandra_
creation_ strstatements - Cassandra Creation Statements
- cassandra_
hosts str - Cassandra hosts names or IP addresses, comma separated
- cassandra_
password str - Cassandra superuser password
- cassandra_
port str - Cassandra port
- cassandra_
username str - Cassandra superuser user name
- name str
- Producer name
- producer_
cassandra_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Dynamic producer encryption key
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target_
name str - Target name
- user_
ttl str - User TTL (<=60m for access token)
- cassandra
Creation StringStatements - Cassandra Creation Statements
- cassandra
Hosts String - Cassandra hosts names or IP addresses, comma separated
- cassandra
Password String - Cassandra superuser password
- cassandra
Port String - Cassandra port
- cassandra
Username String - Cassandra superuser user name
- name String
- Producer name
- producer
Cassandra StringId - The ID of this resource.
- producer
Encryption StringKey Name - Dynamic producer encryption key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Target name
- user
Ttl String - User TTL (<=60m for access token)
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.