templates/autodesk-forge-netcore.template.yaml [42:116]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: String
  ForgeClientIdSSMParameter:
    Description: Forge Client ID SSM parameter
    Type: AWS::SSM::Parameter::Name
  ForgeClientSecretSSMParameter:
    Description: Forge Client Secret SSM parameter
    Type: AWS::SSM::Parameter::Name
  LatestAmazonLinux2Id:
    Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
    Default: /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2
    Description: Latest Amazon Linux 2 AMI ID from AWS Systems Manager Parameter Store.
  WorkloadSecurityGroup:
    Description: ID of the Forge workload security group (e.g., sg-7f16e910).
    Type: AWS::EC2::SecurityGroup::Id
  SetupRoleProfile:
    Description: Name of the instance profile applied to Forge instances
    Type: String
  ParentStack:
    Description: Name of the parent stack
    Type: String
  Toggle:
    Type: String
    AllowedValues:
      - 'true'
      - 'false'
    Description: Toggle to force rolling update
  QSS3BucketName:
    AllowedPattern: ^[0-9a-zA-Z]+([0-9a-zA-Z-]*[0-9a-zA-Z])*$
    ConstraintDescription: Quick Start bucket name can include numbers, lowercase
      letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen
      (-).
    Default: aws-quickstart
    Description: S3 bucket name for the Quick Start assets. Quick Start bucket name
      can include numbers, lowercase letters, uppercase letters, and hyphens (-).
      It cannot start or end with a hyphen (-).
    Type: String
  QSS3KeyPrefix:
    AllowedPattern: ^[0-9a-zA-Z-/]*$
    ConstraintDescription: Quick Start key prefix can include numbers, lowercase letters,
      uppercase letters, hyphens (-), and forward slash (/).
    Default: quickstart-autodesk-forge/
    Description: S3 key prefix for the Quick Start assets. Quick Start key prefix
      can include numbers, lowercase letters, uppercase letters, hyphens (-), and
      forward slash (/).
    Type: String
Conditions:
  UsingDefaultBucket: !Equals
    - !Ref 'QSS3BucketName'
    - aws-quickstart
Resources:
  WorkloadASLaunchConfig:
    Type: AWS::AutoScaling::LaunchConfiguration
    Metadata:
      AWS::CloudFormation::Init:
        configSets:
          quickstart:
            - install
            - configure
            - cleanup
        install: {}
        configure: {}
        cleanup: {}
    Properties:
      KeyName: !Ref 'KeyPairName'
      ImageId: !Ref 'LatestAmazonLinux2Id'
      InstanceMonitoring: true
      IamInstanceProfile: !Ref 'SetupRoleProfile'
      InstanceType: !Ref 'ForgeNodeInstanceType'
      SecurityGroups:
        - !Ref 'WorkloadSecurityGroup'
      UserData: !Base64
        Fn::Sub:
          - |
            #!/bin/bash -ex
            exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/autodesk-forge-nodejs.template.yaml [42:116]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: String
  ForgeClientIdSSMParameter:
    Description: Forge Client ID SSM parameter
    Type: AWS::SSM::Parameter::Name
  ForgeClientSecretSSMParameter:
    Description: Forge Client Secret SSM parameter
    Type: AWS::SSM::Parameter::Name
  LatestAmazonLinux2Id:
    Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
    Default: /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2
    Description: Latest Amazon Linux 2 AMI ID from AWS Systems Manager Parameter Store.
  WorkloadSecurityGroup:
    Description: ID of the Forge workload security group (e.g., sg-7f16e910).
    Type: AWS::EC2::SecurityGroup::Id
  SetupRoleProfile:
    Description: Name of the instance profile applied to Forge instances
    Type: String
  ParentStack:
    Description: Name of the parent stack
    Type: String
  Toggle:
    Type: String
    AllowedValues:
      - 'true'
      - 'false'
    Description: Toggle to force rolling update
  QSS3BucketName:
    AllowedPattern: ^[0-9a-zA-Z]+([0-9a-zA-Z-]*[0-9a-zA-Z])*$
    ConstraintDescription: Quick Start bucket name can include numbers, lowercase
      letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen
      (-).
    Default: aws-quickstart
    Description: S3 bucket name for the Quick Start assets. Quick Start bucket name
      can include numbers, lowercase letters, uppercase letters, and hyphens (-).
      It cannot start or end with a hyphen (-).
    Type: String
  QSS3KeyPrefix:
    AllowedPattern: ^[0-9a-zA-Z-/]*$
    ConstraintDescription: Quick Start key prefix can include numbers, lowercase letters,
      uppercase letters, hyphens (-), and forward slash (/).
    Default: quickstart-autodesk-forge/
    Description: S3 key prefix for the Quick Start assets. Quick Start key prefix
      can include numbers, lowercase letters, uppercase letters, hyphens (-), and
      forward slash (/).
    Type: String
Conditions:
  UsingDefaultBucket: !Equals
    - !Ref 'QSS3BucketName'
    - aws-quickstart
Resources:
  WorkloadASLaunchConfig:
    Type: AWS::AutoScaling::LaunchConfiguration
    Metadata:
      AWS::CloudFormation::Init:
        configSets:
          quickstart:
            - install
            - configure
            - cleanup
        install: {}
        configure: {}
        cleanup: {}
    Properties:
      KeyName: !Ref 'KeyPairName'
      ImageId: !Ref 'LatestAmazonLinux2Id'
      InstanceMonitoring: true
      IamInstanceProfile: !Ref 'SetupRoleProfile'
      InstanceType: !Ref 'ForgeNodeInstanceType'
      SecurityGroups:
        - !Ref 'WorkloadSecurityGroup'
      UserData: !Base64
        Fn::Sub:
          - |
            #!/bin/bash -ex
            exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



