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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.connect.getSecurityKey

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::Connect::SecurityKey

Using getSecurityKey

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSecurityKey(args: GetSecurityKeyArgs, opts?: InvokeOptions): Promise<GetSecurityKeyResult>
function getSecurityKeyOutput(args: GetSecurityKeyOutputArgs, opts?: InvokeOptions): Output<GetSecurityKeyResult>
Copy
def get_security_key(association_id: Optional[str] = None,
                     instance_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetSecurityKeyResult
def get_security_key_output(association_id: Optional[pulumi.Input[str]] = None,
                     instance_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetSecurityKeyResult]
Copy
func LookupSecurityKey(ctx *Context, args *LookupSecurityKeyArgs, opts ...InvokeOption) (*LookupSecurityKeyResult, error)
func LookupSecurityKeyOutput(ctx *Context, args *LookupSecurityKeyOutputArgs, opts ...InvokeOption) LookupSecurityKeyResultOutput
Copy

> Note: This function is named LookupSecurityKey in the Go SDK.

public static class GetSecurityKey 
{
    public static Task<GetSecurityKeyResult> InvokeAsync(GetSecurityKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetSecurityKeyResult> Invoke(GetSecurityKeyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSecurityKeyResult> getSecurityKey(GetSecurityKeyArgs args, InvokeOptions options)
public static Output<GetSecurityKeyResult> getSecurityKey(GetSecurityKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:connect:getSecurityKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AssociationId This property is required. string
An AssociationId is automatically generated when a storage config is associated with an instance.
InstanceId This property is required. string

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

AssociationId This property is required. string
An AssociationId is automatically generated when a storage config is associated with an instance.
InstanceId This property is required. string

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

associationId This property is required. String
An AssociationId is automatically generated when a storage config is associated with an instance.
instanceId This property is required. String

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

associationId This property is required. string
An AssociationId is automatically generated when a storage config is associated with an instance.
instanceId This property is required. string

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

association_id This property is required. str
An AssociationId is automatically generated when a storage config is associated with an instance.
instance_id This property is required. str

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

associationId This property is required. String
An AssociationId is automatically generated when a storage config is associated with an instance.
instanceId This property is required. String

The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

getSecurityKey Result

The following output properties are available:

AssociationId string
An AssociationId is automatically generated when a storage config is associated with an instance.
AssociationId string
An AssociationId is automatically generated when a storage config is associated with an instance.
associationId String
An AssociationId is automatically generated when a storage config is associated with an instance.
associationId string
An AssociationId is automatically generated when a storage config is associated with an instance.
association_id str
An AssociationId is automatically generated when a storage config is associated with an instance.
associationId String
An AssociationId is automatically generated when a storage config is associated with an instance.

Package Details

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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi