# CfnApplicationProps

Properties for defining a `CfnApplication`.

Extends: CfnApplicationProps
Used as props by: CfnApplication

- Source: Generated code
- Type last changed: v2.187.0 · 31 Mar 2025

## 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',
  }],
};
```

## Properties

- `applicationId`: string (required) — The ID of the application.

- `applicationType`: string (required) — The type of the application.

- `componentsInfo`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.ComponentInfoProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_systemsmanagersap.CfnApplication.ComponentInfoProperty.html)[] — This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.

- `credentials`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.CredentialProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_systemsmanagersap.CfnApplication.CredentialProperty.html)[] — The credentials of the SAP application.

- `databaseArn`: string — The Amazon Resource Name (ARN) of the database.

- `instances`: string[] — The Amazon EC2 instances on which your SAP application is running.

- `sapInstanceNumber`: string — The SAP instance number of the application.

- `sid`: string — The System ID of the application.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags on the application.
