1. Packages
  2. Akeyless Provider
  3. API Docs
  4. ProducerRedshift
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.ProducerRedshift

Explore with Pulumi AI

Redshift producer resource

Create ProducerRedshift Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ProducerRedshift(name: string, args?: ProducerRedshiftArgs, opts?: CustomResourceOptions);
@overload
def ProducerRedshift(resource_name: str,
                     args: Optional[ProducerRedshiftArgs] = None,
                     opts: Optional[ResourceOptions] = None)

@overload
def ProducerRedshift(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     creation_statements: Optional[str] = None,
                     name: Optional[str] = None,
                     producer_encryption_key: Optional[str] = None,
                     producer_redshift_id: Optional[str] = None,
                     redshift_db_name: Optional[str] = None,
                     redshift_host: Optional[str] = None,
                     redshift_password: Optional[str] = None,
                     redshift_port: Optional[str] = None,
                     redshift_username: Optional[str] = None,
                     secure_access_db_name: Optional[str] = None,
                     secure_access_enable: Optional[str] = None,
                     secure_access_hosts: Optional[Sequence[str]] = None,
                     secure_access_web: Optional[bool] = None,
                     tags: Optional[Sequence[str]] = None,
                     target_name: Optional[str] = None,
                     user_ttl: Optional[str] = None)
func NewProducerRedshift(ctx *Context, name string, args *ProducerRedshiftArgs, opts ...ResourceOption) (*ProducerRedshift, error)
public ProducerRedshift(string name, ProducerRedshiftArgs? args = null, CustomResourceOptions? opts = null)
public ProducerRedshift(String name, ProducerRedshiftArgs args)
public ProducerRedshift(String name, ProducerRedshiftArgs args, CustomResourceOptions options)
type: akeyless:ProducerRedshift
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ProducerRedshiftArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ProducerRedshiftArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ProducerRedshiftArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ProducerRedshiftArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProducerRedshiftArgs
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 producerRedshiftResource = new Akeyless.ProducerRedshift("producerRedshiftResource", new()
{
    CreationStatements = "string",
    Name = "string",
    ProducerEncryptionKey = "string",
    ProducerRedshiftId = "string",
    RedshiftDbName = "string",
    RedshiftHost = "string",
    RedshiftPassword = "string",
    RedshiftPort = "string",
    RedshiftUsername = "string",
    SecureAccessDbName = "string",
    SecureAccessEnable = "string",
    SecureAccessHosts = new[]
    {
        "string",
    },
    SecureAccessWeb = false,
    Tags = new[]
    {
        "string",
    },
    TargetName = "string",
    UserTtl = "string",
});
Copy
example, err := akeyless.NewProducerRedshift(ctx, "producerRedshiftResource", &akeyless.ProducerRedshiftArgs{
CreationStatements: pulumi.String("string"),
Name: pulumi.String("string"),
ProducerEncryptionKey: pulumi.String("string"),
ProducerRedshiftId: pulumi.String("string"),
RedshiftDbName: pulumi.String("string"),
RedshiftHost: pulumi.String("string"),
RedshiftPassword: pulumi.String("string"),
RedshiftPort: pulumi.String("string"),
RedshiftUsername: pulumi.String("string"),
SecureAccessDbName: pulumi.String("string"),
SecureAccessEnable: pulumi.String("string"),
SecureAccessHosts: pulumi.StringArray{
pulumi.String("string"),
},
SecureAccessWeb: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TargetName: pulumi.String("string"),
UserTtl: pulumi.String("string"),
})
Copy
var producerRedshiftResource = new ProducerRedshift("producerRedshiftResource", ProducerRedshiftArgs.builder()
    .creationStatements("string")
    .name("string")
    .producerEncryptionKey("string")
    .producerRedshiftId("string")
    .redshiftDbName("string")
    .redshiftHost("string")
    .redshiftPassword("string")
    .redshiftPort("string")
    .redshiftUsername("string")
    .secureAccessDbName("string")
    .secureAccessEnable("string")
    .secureAccessHosts("string")
    .secureAccessWeb(false)
    .tags("string")
    .targetName("string")
    .userTtl("string")
    .build());
Copy
producer_redshift_resource = akeyless.ProducerRedshift("producerRedshiftResource",
    creation_statements="string",
    name="string",
    producer_encryption_key="string",
    producer_redshift_id="string",
    redshift_db_name="string",
    redshift_host="string",
    redshift_password="string",
    redshift_port="string",
    redshift_username="string",
    secure_access_db_name="string",
    secure_access_enable="string",
    secure_access_hosts=["string"],
    secure_access_web=False,
    tags=["string"],
    target_name="string",
    user_ttl="string")
Copy
const producerRedshiftResource = new akeyless.ProducerRedshift("producerRedshiftResource", {
    creationStatements: "string",
    name: "string",
    producerEncryptionKey: "string",
    producerRedshiftId: "string",
    redshiftDbName: "string",
    redshiftHost: "string",
    redshiftPassword: "string",
    redshiftPort: "string",
    redshiftUsername: "string",
    secureAccessDbName: "string",
    secureAccessEnable: "string",
    secureAccessHosts: ["string"],
    secureAccessWeb: false,
    tags: ["string"],
    targetName: "string",
    userTtl: "string",
});
Copy
type: akeyless:ProducerRedshift
properties:
    creationStatements: string
    name: string
    producerEncryptionKey: string
    producerRedshiftId: string
    redshiftDbName: string
    redshiftHost: string
    redshiftPassword: string
    redshiftPort: string
    redshiftUsername: string
    secureAccessDbName: string
    secureAccessEnable: string
    secureAccessHosts:
        - string
    secureAccessWeb: false
    tags:
        - string
    targetName: string
    userTtl: string
Copy

ProducerRedshift 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 ProducerRedshift resource accepts the following input properties:

CreationStatements string
Redshift Creation Statements
Name string
Producer name
ProducerEncryptionKey string
Encrypt producer with following key
ProducerRedshiftId string
The ID of this resource.
RedshiftDbName string
Redshift DB name
RedshiftHost string
Redshift host name
RedshiftPassword string
Redshift password
RedshiftPort string
Redshift port
RedshiftUsername string
redshiftL user
SecureAccessDbName string
Enable Web Secure Remote Access
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessHosts List<string>
Target DB servers for connections., For multiple values repeat this flag.
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
CreationStatements string
Redshift Creation Statements
Name string
Producer name
ProducerEncryptionKey string
Encrypt producer with following key
ProducerRedshiftId string
The ID of this resource.
RedshiftDbName string
Redshift DB name
RedshiftHost string
Redshift host name
RedshiftPassword string
Redshift password
RedshiftPort string
Redshift port
RedshiftUsername string
redshiftL user
SecureAccessDbName string
Enable Web Secure Remote Access
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessHosts []string
Target DB servers for connections., For multiple values repeat this flag.
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
creationStatements String
Redshift Creation Statements
name String
Producer name
producerEncryptionKey String
Encrypt producer with following key
producerRedshiftId String
The ID of this resource.
redshiftDbName String
Redshift DB name
redshiftHost String
Redshift host name
redshiftPassword String
Redshift password
redshiftPort String
Redshift port
redshiftUsername String
redshiftL user
secureAccessDbName String
Enable Web Secure Remote Access
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessHosts List<String>
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL
creationStatements string
Redshift Creation Statements
name string
Producer name
producerEncryptionKey string
Encrypt producer with following key
producerRedshiftId string
The ID of this resource.
redshiftDbName string
Redshift DB name
redshiftHost string
Redshift host name
redshiftPassword string
Redshift password
redshiftPort string
Redshift port
redshiftUsername string
redshiftL user
secureAccessDbName string
Enable Web Secure Remote Access
secureAccessEnable string
Enable/Disable secure remote access, [true/false]
secureAccessHosts string[]
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb boolean
Enable Web Secure Remote Access
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in producer creation
userTtl string
User TTL
creation_statements str
Redshift Creation Statements
name str
Producer name
producer_encryption_key str
Encrypt producer with following key
producer_redshift_id str
The ID of this resource.
redshift_db_name str
Redshift DB name
redshift_host str
Redshift host name
redshift_password str
Redshift password
redshift_port str
Redshift port
redshift_username str
redshiftL user
secure_access_db_name str
Enable Web Secure Remote Access
secure_access_enable str
Enable/Disable secure remote access, [true/false]
secure_access_hosts Sequence[str]
Target DB servers for connections., For multiple values repeat this flag.
secure_access_web bool
Enable Web Secure Remote Access
tags 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
Name of existing target to use in producer creation
user_ttl str
User TTL
creationStatements String
Redshift Creation Statements
name String
Producer name
producerEncryptionKey String
Encrypt producer with following key
producerRedshiftId String
The ID of this resource.
redshiftDbName String
Redshift DB name
redshiftHost String
Redshift host name
redshiftPassword String
Redshift password
redshiftPort String
Redshift port
redshiftUsername String
redshiftL user
secureAccessDbName String
Enable Web Secure Remote Access
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessHosts List<String>
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL

Outputs

All input properties are implicitly available as output properties. Additionally, the ProducerRedshift 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 ProducerRedshift Resource

Get an existing ProducerRedshift 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?: ProducerRedshiftState, opts?: CustomResourceOptions): ProducerRedshift
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        creation_statements: Optional[str] = None,
        name: Optional[str] = None,
        producer_encryption_key: Optional[str] = None,
        producer_redshift_id: Optional[str] = None,
        redshift_db_name: Optional[str] = None,
        redshift_host: Optional[str] = None,
        redshift_password: Optional[str] = None,
        redshift_port: Optional[str] = None,
        redshift_username: Optional[str] = None,
        secure_access_db_name: Optional[str] = None,
        secure_access_enable: Optional[str] = None,
        secure_access_hosts: Optional[Sequence[str]] = None,
        secure_access_web: Optional[bool] = None,
        tags: Optional[Sequence[str]] = None,
        target_name: Optional[str] = None,
        user_ttl: Optional[str] = None) -> ProducerRedshift
func GetProducerRedshift(ctx *Context, name string, id IDInput, state *ProducerRedshiftState, opts ...ResourceOption) (*ProducerRedshift, error)
public static ProducerRedshift Get(string name, Input<string> id, ProducerRedshiftState? state, CustomResourceOptions? opts = null)
public static ProducerRedshift get(String name, Output<String> id, ProducerRedshiftState state, CustomResourceOptions options)
resources:  _:    type: akeyless:ProducerRedshift    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CreationStatements string
Redshift Creation Statements
Name string
Producer name
ProducerEncryptionKey string
Encrypt producer with following key
ProducerRedshiftId string
The ID of this resource.
RedshiftDbName string
Redshift DB name
RedshiftHost string
Redshift host name
RedshiftPassword string
Redshift password
RedshiftPort string
Redshift port
RedshiftUsername string
redshiftL user
SecureAccessDbName string
Enable Web Secure Remote Access
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessHosts List<string>
Target DB servers for connections., For multiple values repeat this flag.
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
CreationStatements string
Redshift Creation Statements
Name string
Producer name
ProducerEncryptionKey string
Encrypt producer with following key
ProducerRedshiftId string
The ID of this resource.
RedshiftDbName string
Redshift DB name
RedshiftHost string
Redshift host name
RedshiftPassword string
Redshift password
RedshiftPort string
Redshift port
RedshiftUsername string
redshiftL user
SecureAccessDbName string
Enable Web Secure Remote Access
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessHosts []string
Target DB servers for connections., For multiple values repeat this flag.
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
creationStatements String
Redshift Creation Statements
name String
Producer name
producerEncryptionKey String
Encrypt producer with following key
producerRedshiftId String
The ID of this resource.
redshiftDbName String
Redshift DB name
redshiftHost String
Redshift host name
redshiftPassword String
Redshift password
redshiftPort String
Redshift port
redshiftUsername String
redshiftL user
secureAccessDbName String
Enable Web Secure Remote Access
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessHosts List<String>
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL
creationStatements string
Redshift Creation Statements
name string
Producer name
producerEncryptionKey string
Encrypt producer with following key
producerRedshiftId string
The ID of this resource.
redshiftDbName string
Redshift DB name
redshiftHost string
Redshift host name
redshiftPassword string
Redshift password
redshiftPort string
Redshift port
redshiftUsername string
redshiftL user
secureAccessDbName string
Enable Web Secure Remote Access
secureAccessEnable string
Enable/Disable secure remote access, [true/false]
secureAccessHosts string[]
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb boolean
Enable Web Secure Remote Access
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in producer creation
userTtl string
User TTL
creation_statements str
Redshift Creation Statements
name str
Producer name
producer_encryption_key str
Encrypt producer with following key
producer_redshift_id str
The ID of this resource.
redshift_db_name str
Redshift DB name
redshift_host str
Redshift host name
redshift_password str
Redshift password
redshift_port str
Redshift port
redshift_username str
redshiftL user
secure_access_db_name str
Enable Web Secure Remote Access
secure_access_enable str
Enable/Disable secure remote access, [true/false]
secure_access_hosts Sequence[str]
Target DB servers for connections., For multiple values repeat this flag.
secure_access_web bool
Enable Web Secure Remote Access
tags 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
Name of existing target to use in producer creation
user_ttl str
User TTL
creationStatements String
Redshift Creation Statements
name String
Producer name
producerEncryptionKey String
Encrypt producer with following key
producerRedshiftId String
The ID of this resource.
redshiftDbName String
Redshift DB name
redshiftHost String
Redshift host name
redshiftPassword String
Redshift password
redshiftPort String
Redshift port
redshiftUsername String
redshiftL user
secureAccessDbName String
Enable Web Secure Remote Access
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessHosts List<String>
Target DB servers for connections., For multiple values repeat this flag.
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.