Description: 'apps for M2 AL2 elastic fleets' Parameters: ElasticFleetName: Description: 'AppStream Elastic Fleet Name (Linux) for BluAge Developper' Type: String Default: 'm2-appstream-elastic-fleet-linux' BucketName: Description: 'Name of the bucket storing AppBlocks for BluAge Developper' Type: String Default: 'm2-us-east-1' PrefixName: Description: 'Base prefix in the bucket storing AppBlocks for BluAge Developper' Type: String Default: 'appstream/bluage/developer-ide' VelocityRuntime: Description: 'Velocity runtime version' Type: String Default: '3.1.0-b3408' AllowedValues: - 3.1.0-b3257 - 3.1.0-b3408 Resources: AppBluAgeShared: Type: AWS::AppStream::Application DeletionPolicy: Delete Properties: Name: 'BluAgeSharedAL2' DisplayName: 'BluAgeShared' Description: 'description: BluAgeShared (Linux AL2)' AppBlockArn: !GetAtt [AppBlockBluAgeShared, Arn] Platforms: - 'AMAZON_LINUX2' IconS3Location: S3Bucket: !Ref BucketName S3Key: !Sub '${PrefixName}/Tools.ico' InstanceFamilies: - 'GENERAL_PURPOSE' LaunchPath: '/usr/bin/gnome-terminal' AppBlockBluAgeShared: Type: AWS::AppStream::AppBlock DeletionPolicy: Delete Properties: Name: !Sub 'M2BluageSharedAL2-${VelocityRuntime}' DisplayName: 'BluAgeShared AppBlock (Linux AL2)' Description: 'description: BluAgeShared AppBlock (Linux AL2)' SetupScriptDetails: ExecutablePath: '/usr/bin/bash' ExecutableParameters: !Sub '/opt/appstream/AppBlocks/M2BluageSharedAL2-${VelocityRuntime}/m2-appstream-elastic-setup.sh' ScriptS3Location: S3Bucket: !Ref BucketName S3Key: !Sub '${PrefixName}/m2-appstream-elastic-setup.sh' TimeoutInSeconds: '60' SourceS3Location: S3Bucket: !Ref BucketName S3Key: !Sub '${PrefixName}/M2BluageSharedAL2-${VelocityRuntime}/vdisk-m2-appstream-M2BluageSharedAL2-${VelocityRuntime}-R1' AppAssociationBluAgeShared: Type: AWS::AppStream::ApplicationFleetAssociation DeletionPolicy: Delete Properties: ApplicationArn: !GetAtt [AppBluAgeShared, Arn] FleetName: !Ref ElasticFleetName