konnect.GatewayConfigStoreSecret
Explore with Pulumi AI
GatewayConfigStoreSecret Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myGatewayconfigstoresecret = new konnect.GatewayConfigStoreSecret("myGatewayconfigstoresecret", {
configStoreId: "d32d905a-ed33-46a3-a093-d8f536af9a8a",
controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
key: "ConfigStoreSecretKey",
value: "...my_value...",
});
import pulumi
import pulumi_konnect as konnect
my_gatewayconfigstoresecret = konnect.GatewayConfigStoreSecret("myGatewayconfigstoresecret",
config_store_id="d32d905a-ed33-46a3-a093-d8f536af9a8a",
control_plane_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
key="ConfigStoreSecretKey",
value="...my_value...")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := konnect.NewGatewayConfigStoreSecret(ctx, "myGatewayconfigstoresecret", &konnect.GatewayConfigStoreSecretArgs{
ConfigStoreId: pulumi.String("d32d905a-ed33-46a3-a093-d8f536af9a8a"),
ControlPlaneId: pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
Key: pulumi.String("ConfigStoreSecretKey"),
Value: pulumi.String("...my_value..."),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myGatewayconfigstoresecret = new Konnect.GatewayConfigStoreSecret("myGatewayconfigstoresecret", new()
{
ConfigStoreId = "d32d905a-ed33-46a3-a093-d8f536af9a8a",
ControlPlaneId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
Key = "ConfigStoreSecretKey",
Value = "...my_value...",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayConfigStoreSecret;
import com.pulumi.konnect.GatewayConfigStoreSecretArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myGatewayconfigstoresecret = new GatewayConfigStoreSecret("myGatewayconfigstoresecret", GatewayConfigStoreSecretArgs.builder()
.configStoreId("d32d905a-ed33-46a3-a093-d8f536af9a8a")
.controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.key("ConfigStoreSecretKey")
.value("...my_value...")
.build());
}
}
resources:
myGatewayconfigstoresecret:
type: konnect:GatewayConfigStoreSecret
properties:
configStoreId: d32d905a-ed33-46a3-a093-d8f536af9a8a
controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
key: ConfigStoreSecretKey
value: '...my_value...'
Create GatewayConfigStoreSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayConfigStoreSecret(name: string, args: GatewayConfigStoreSecretArgs, opts?: CustomResourceOptions);
@overload
def GatewayConfigStoreSecret(resource_name: str,
args: GatewayConfigStoreSecretArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayConfigStoreSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_store_id: Optional[str] = None,
control_plane_id: Optional[str] = None,
key: Optional[str] = None,
value: Optional[str] = None)
func NewGatewayConfigStoreSecret(ctx *Context, name string, args GatewayConfigStoreSecretArgs, opts ...ResourceOption) (*GatewayConfigStoreSecret, error)
public GatewayConfigStoreSecret(string name, GatewayConfigStoreSecretArgs args, CustomResourceOptions? opts = null)
public GatewayConfigStoreSecret(String name, GatewayConfigStoreSecretArgs args)
public GatewayConfigStoreSecret(String name, GatewayConfigStoreSecretArgs args, CustomResourceOptions options)
type: konnect:GatewayConfigStoreSecret
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 GatewayConfigStoreSecretArgs
- 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 GatewayConfigStoreSecretArgs
- 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 GatewayConfigStoreSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayConfigStoreSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayConfigStoreSecretArgs
- 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 gatewayConfigStoreSecretResource = new Konnect.GatewayConfigStoreSecret("gatewayConfigStoreSecretResource", new()
{
ConfigStoreId = "string",
ControlPlaneId = "string",
Key = "string",
Value = "string",
});
example, err := konnect.NewGatewayConfigStoreSecret(ctx, "gatewayConfigStoreSecretResource", &konnect.GatewayConfigStoreSecretArgs{
ConfigStoreId: pulumi.String("string"),
ControlPlaneId: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
})
var gatewayConfigStoreSecretResource = new GatewayConfigStoreSecret("gatewayConfigStoreSecretResource", GatewayConfigStoreSecretArgs.builder()
.configStoreId("string")
.controlPlaneId("string")
.key("string")
.value("string")
.build());
gateway_config_store_secret_resource = konnect.GatewayConfigStoreSecret("gatewayConfigStoreSecretResource",
config_store_id="string",
control_plane_id="string",
key="string",
value="string")
const gatewayConfigStoreSecretResource = new konnect.GatewayConfigStoreSecret("gatewayConfigStoreSecretResource", {
configStoreId: "string",
controlPlaneId: "string",
key: "string",
value: "string",
});
type: konnect:GatewayConfigStoreSecret
properties:
configStoreId: string
controlPlaneId: string
key: string
value: string
GatewayConfigStoreSecret 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 GatewayConfigStoreSecret resource accepts the following input properties:
- Config
Store stringId - Config Store identifier
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Key string
- Config Store Secret key. Requires replacement if changed.
- Value string
- Config
Store stringId - Config Store identifier
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Key string
- Config Store Secret key. Requires replacement if changed.
- Value string
- config
Store StringId - Config Store identifier
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- key String
- Config Store Secret key. Requires replacement if changed.
- value String
- config
Store stringId - Config Store identifier
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- key string
- Config Store Secret key. Requires replacement if changed.
- value string
- config_
store_ strid - Config Store identifier
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- key str
- Config Store Secret key. Requires replacement if changed.
- value str
- config
Store StringId - Config Store identifier
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- key String
- Config Store Secret key. Requires replacement if changed.
- value String
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayConfigStoreSecret resource produces the following output properties:
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
Look up Existing GatewayConfigStoreSecret Resource
Get an existing GatewayConfigStoreSecret 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?: GatewayConfigStoreSecretState, opts?: CustomResourceOptions): GatewayConfigStoreSecret
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_store_id: Optional[str] = None,
control_plane_id: Optional[str] = None,
created_at: Optional[str] = None,
key: Optional[str] = None,
updated_at: Optional[str] = None,
value: Optional[str] = None) -> GatewayConfigStoreSecret
func GetGatewayConfigStoreSecret(ctx *Context, name string, id IDInput, state *GatewayConfigStoreSecretState, opts ...ResourceOption) (*GatewayConfigStoreSecret, error)
public static GatewayConfigStoreSecret Get(string name, Input<string> id, GatewayConfigStoreSecretState? state, CustomResourceOptions? opts = null)
public static GatewayConfigStoreSecret get(String name, Output<String> id, GatewayConfigStoreSecretState state, CustomResourceOptions options)
resources: _: type: konnect:GatewayConfigStoreSecret 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.
- Config
Store stringId - Config Store identifier
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Key string
- Config Store Secret key. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- Config
Store stringId - Config Store identifier
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Key string
- Config Store Secret key. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- config
Store StringId - Config Store identifier
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- key String
- Config Store Secret key. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
- config
Store stringId - Config Store identifier
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- key string
- Config Store Secret key. Requires replacement if changed.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- value string
- config_
store_ strid - Config Store identifier
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- key str
- Config Store Secret key. Requires replacement if changed.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- value str
- config
Store StringId - Config Store identifier
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- key String
- Config Store Secret key. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
Import
$ pulumi import konnect:index/gatewayConfigStoreSecret:GatewayConfigStoreSecret my_konnect_gateway_config_store_secret '{"config_store_id": "d32d905a-ed33-46a3-a093-d8f536af9a8a", "control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "key": "ConfigStoreSecretKey"}'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.