1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. SecurityKey

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.connect.SecurityKey

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::Connect::SecurityKey

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var securityKey = new AwsNative.Connect.SecurityKey("securityKey", new()
        {
            InstanceId = "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
            Key = "valid-pem-key",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/connect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := connect.NewSecurityKey(ctx, "securityKey", &connect.SecurityKeyArgs{
    			InstanceId: pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-arn"),
    			Key:        pulumi.String("valid-pem-key"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    security_key = aws_native.connect.SecurityKey("securityKey",
        instance_id="arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
        key="valid-pem-key")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const securityKey = new aws_native.connect.SecurityKey("securityKey", {
        instanceId: "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
        key: "valid-pem-key",
    });
    

    Coming soon!

    Create SecurityKey Resource

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

    Constructor syntax

    new SecurityKey(name: string, args: SecurityKeyArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityKey(resource_name: str,
                    args: SecurityKeyArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityKey(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    instance_id: Optional[str] = None,
                    key: Optional[str] = None)
    func NewSecurityKey(ctx *Context, name string, args SecurityKeyArgs, opts ...ResourceOption) (*SecurityKey, error)
    public SecurityKey(string name, SecurityKeyArgs args, CustomResourceOptions? opts = null)
    public SecurityKey(String name, SecurityKeyArgs args)
    public SecurityKey(String name, SecurityKeyArgs args, CustomResourceOptions options)
    
    type: aws-native:connect:SecurityKey
    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 SecurityKeyArgs
    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 SecurityKeyArgs
    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 SecurityKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityKeyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    InstanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    Key string

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    InstanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    Key string

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    instanceId String

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    key String

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    instanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    key string

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    instance_id str

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    key str

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    instanceId String

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    key String

    A valid security key in PEM format. For example:

    "-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

    Minimum : 1

    Maximum : 1024

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityKey resource produces the following output properties:

    AssociationId string
    An AssociationId is automatically generated when a storage config is associated with an instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    AssociationId string
    An AssociationId is automatically generated when a storage config is associated with an instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    associationId String
    An AssociationId is automatically generated when a storage config is associated with an instance.
    id String
    The provider-assigned unique ID for this managed resource.
    associationId string
    An AssociationId is automatically generated when a storage config is associated with an instance.
    id string
    The provider-assigned unique ID for this managed resource.
    association_id str
    An AssociationId is automatically generated when a storage config is associated with an instance.
    id str
    The provider-assigned unique ID for this managed resource.
    associationId String
    An AssociationId is automatically generated when a storage config is associated with an instance.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi