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_systemsmanagersap as systemsmanagersap } from 'aws-cdk-lib';
const cfnApplicationProps: systemsmanagersap.CfnApplicationProps = {
applicationId: 'applicationId',
applicationType: 'applicationType',
// the properties below are optional
componentsInfo: [{
componentType: 'componentType',
ec2InstanceId: 'ec2InstanceId',
sid: 'sid',
}],
credentials: [{
credentialType: 'credentialType',
databaseName: 'databaseName',
secretId: 'secretId',
}],
databaseArn: 'databaseArn',
instances: ['instances'],
sapInstanceNumber: 'sapInstanceNumber',
sid: 'sid',
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_systemsmanagersap as systemsmanagersap
cfn_application_props = systemsmanagersap.CfnApplicationProps(
application_id="applicationId",
application_type="applicationType",
# the properties below are optional
components_info=[systemsmanagersap.CfnApplication.ComponentInfoProperty(
component_type="componentType",
ec2_instance_id="ec2InstanceId",
sid="sid"
)],
credentials=[systemsmanagersap.CfnApplication.CredentialProperty(
credential_type="credentialType",
database_name="databaseName",
secret_id="secretId"
)],
database_arn="databaseArn",
instances=["instances"],
sap_instance_number="sapInstanceNumber",
sid="sid",
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.systemsmanagersap.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.applicationId("applicationId")
.applicationType("applicationType")
// the properties below are optional
.componentsInfo(List.of(ComponentInfoProperty.builder()
.componentType("componentType")
.ec2InstanceId("ec2InstanceId")
.sid("sid")
.build()))
.credentials(List.of(CredentialProperty.builder()
.credentialType("credentialType")
.databaseName("databaseName")
.secretId("secretId")
.build()))
.databaseArn("databaseArn")
.instances(List.of("instances"))
.sapInstanceNumber("sapInstanceNumber")
.sid("sid")
.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.SystemsManagerSAP;
var cfnApplicationProps = new CfnApplicationProps {
ApplicationId = "applicationId",
ApplicationType = "applicationType",
// the properties below are optional
ComponentsInfo = new [] { new ComponentInfoProperty {
ComponentType = "componentType",
Ec2InstanceId = "ec2InstanceId",
Sid = "sid"
} },
Credentials = new [] { new CredentialProperty {
CredentialType = "credentialType",
DatabaseName = "databaseName",
SecretId = "secretId"
} },
DatabaseArn = "databaseArn",
Instances = new [] { "instances" },
SapInstanceNumber = "sapInstanceNumber",
Sid = "sid",
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{
ApplicationId: jsii.String("applicationId"),
ApplicationType: jsii.String("applicationType"),
// the properties below are optional
ComponentsInfo: []interface{}{
&ComponentInfoProperty{
ComponentType: jsii.String("componentType"),
Ec2InstanceId: jsii.String("ec2InstanceId"),
Sid: jsii.String("sid"),
},
},
Credentials: []interface{}{
&CredentialProperty{
CredentialType: jsii.String("credentialType"),
DatabaseName: jsii.String("databaseName"),
SecretId: jsii.String("secretId"),
},
},
DatabaseArn: jsii.String("databaseArn"),
Instances: []*string{
jsii.String("instances"),
},
SapInstanceNumber: jsii.String("sapInstanceNumber"),
Sid: jsii.String("sid"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*stringrequired#The ID of the application.
applicationTypestringapplication_typestrapplicationTypeStringApplicationTypestringApplicationType*stringrequired#The type of the application.
componentsInfooptionalIResolvable | IResolvable | CfnApplication.ComponentInfoProperty[]components_infooptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ComponentInfoProperty]]]componentsInfooptionalIResolvableComponentsInfooptionalIResolvableComponentsInfooptionalinterface{}#This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.
credentialsoptionalIResolvable | IResolvable | CfnApplication.CredentialProperty[]credentialsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CredentialProperty]]]credentialsoptionalIResolvableCredentialsoptionalIResolvableCredentialsoptionalinterface{}#The credentials of the SAP application.
databaseArnoptionalstringdatabase_arnoptionalstrdatabaseArnoptionalStringDatabaseArnoptionalstringDatabaseArnoptional*string#The Amazon Resource Name (ARN) of the database.
instancesoptionalstring[]instancesoptionaltyping.List[str]instancesoptionalList<String>Instancesoptionalstring[]Instancesoptional*[]*string#The Amazon EC2 instances on which your SAP application is running.
sapInstanceNumberoptionalstringsap_instance_numberoptionalstrsapInstanceNumberoptionalStringSapInstanceNumberoptionalstringSapInstanceNumberoptional*string#The SAP instance number of the application.
The System ID of the application.