# CfnStackFleetAssociationProps

Properties for defining a `CfnStackFleetAssociation`.

Used as props by: [CfnStackFleetAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackFleetAssociation.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const cfnStackFleetAssociationProps: appstream.CfnStackFleetAssociationProps = {
  fleetName: 'fleetName',
  stackName: 'stackName',
};
```

Python:

```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_appstream as appstream

cfn_stack_fleet_association_props = appstream.CfnStackFleetAssociationProps(
    fleet_name="fleetName",
    stack_name="stackName"
)
```

Java:

```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.appstream.*;

CfnStackFleetAssociationProps cfnStackFleetAssociationProps = CfnStackFleetAssociationProps.builder()
        .fleetName("fleetName")
        .stackName("stackName")
        .build();
```

C# / .NET:

```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.AppStream;

var cfnStackFleetAssociationProps = new CfnStackFleetAssociationProps {
    FleetName = "fleetName",
    StackName = "stackName"
};
```

Golang:

```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"

cfnStackFleetAssociationProps := &CfnStackFleetAssociationProps{
	FleetName: jsii.String("fleetName"),
	StackName: jsii.String("stackName"),
}
```

## Properties

- `fleetName`: string (required) — The name of the fleet.

  To associate a fleet with a stack, you must specify a dependency on the fleet resource. For more information, see [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) .

- `stackName`: string (required) — The name of the stack.

  To associate a fleet with a stack, you must specify a dependency on the stack resource. For more information, see [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) .
