CfnSecurityKeyProps Struct
Properties for defining a CfnSecurityKey.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnSecurityKeyProps: connect.CfnSecurityKeyProps = {
instanceId: 'instanceId',
key: 'key',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
cfn_security_key_props = connect.CfnSecurityKeyProps(
instance_id="instanceId",
key="key"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
CfnSecurityKeyProps cfnSecurityKeyProps = CfnSecurityKeyProps.builder()
.instanceId("instanceId")
.key("key")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var cfnSecurityKeyProps = new CfnSecurityKeyProps {
InstanceId = "instanceId",
Key = "key"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnSecurityKeyProps := &CfnSecurityKeyProps{
InstanceId: jsii.String("instanceId"),
Key: jsii.String("key"),
}
Properties
instanceIdstring | IInstanceRefinstance_idtyping.Union[str, IInstanceRef]instanceIdStringInstanceIdstringInstanceIdinterface{}required#The Amazon Resource Name (ARN) of the instance.
Minimum : 1
Maximum : 100
A valid security key in PEM format. For example:.
"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"
Minimum : 1
Maximum : 1024