CfnApplicationProps Struct
Properties for defining a CfnApplication.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const cfnApplicationProps: securityagent.CfnApplicationProps = {
defaultKmsKeyId: 'defaultKmsKeyId',
idCConfiguration: {
idCApplicationArn: 'idCApplicationArn',
idCInstanceArn: 'idCInstanceArn',
},
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent
cfn_application_props = securityagent.CfnApplicationProps(
default_kms_key_id="defaultKmsKeyId",
id_c_configuration=securityagent.CfnApplication.IdCConfigurationProperty(
id_c_application_arn="idCApplicationArn",
id_c_instance_arn="idCInstanceArn"
),
role_arn="roleArn",
tags=[CfnTag(
key="key",
value="value"
)]
)
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.securityagent.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.defaultKmsKeyId("defaultKmsKeyId")
.idCConfiguration(IdCConfigurationProperty.builder()
.idCApplicationArn("idCApplicationArn")
.idCInstanceArn("idCInstanceArn")
.build())
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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.SecurityAgent;
var cfnApplicationProps = new CfnApplicationProps {
DefaultKmsKeyId = "defaultKmsKeyId",
IdCConfiguration = new IdCConfigurationProperty {
IdCApplicationArn = "idCApplicationArn",
IdCInstanceArn = "idCInstanceArn"
},
RoleArn = "roleArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnApplicationProps := &CfnApplicationProps{
DefaultKmsKeyId: jsii.String("defaultKmsKeyId"),
IdCConfiguration: &IdCConfigurationProperty{
IdCApplicationArn: jsii.String("idCApplicationArn"),
IdCInstanceArn: jsii.String("idCInstanceArn"),
},
RoleArn: jsii.String("roleArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
defaultKmsKeyIdoptionalstringdefault_kms_key_idoptionalstrdefaultKmsKeyIdoptionalStringDefaultKmsKeyIdoptionalstringDefaultKmsKeyIdoptional*string#Identifier of a KMS key.
Can be a key ID, key ARN, alias name, or alias ARN.
idCConfigurationoptionalIResolvable | CfnApplication.IdCConfigurationPropertyid_c_configurationoptionaltyping.Union[IResolvable, IdCConfigurationProperty]idCConfigurationoptionalIResolvableIdCConfigurationoptionalIResolvableIdCConfigurationoptionalinterface{}#roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string#