Skip to content
v2.278.0

CfnStackFleetAssociationProps Struct ​

Properties for defining a CfnStackFleetAssociation.

Example ​

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
# 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
// 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();
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"
};
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 ​

fleetNamestringfleet_namestrfleetNameStringFleetNamestringFleetName*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 .

stackNamestringstack_namestrstackNameStringStackNamestringStackName*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 .