step-scaling/step-scaling.yaml [79:112]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Policies:
        - AWSCloudFormationReadOnlyAccess
        - Statement:
          - Sid: MySSMPolicy
            Effect: Allow
            Action:
            - 'ssm:PutParameter'
            - 'ssm:GetParameters'
            - 'ssm:GetParameter'
            Resource: '*'
        - Statement:
          - Sid: MyCWMetricPolicy
            Effect: Allow
            Action:
            - 'cloudwatch:PutMetricAlarm'
            Resource: '*'
        - Statement:
          - Sid: AmazonKinesisAnalyticsPolicyForAppAutoScaling
            Effect: Allow
            Action:
            - 'kinesisanalytics:UpdateApplication'
            - 'kinesisanalytics:DescribeApplication'
            Resource: '*'
        - Statement:
          - Sid: AppAutoscalingFullPolicy
            Effect: Allow
            Action:
            - 'application-autoscaling:*'
            Resource: '*'
      Environment:
        Variables:
          ParameterStore: !Ref KDADesiredCapacityParameter
          KDAAppName: !Ref KDAAppName
          KinesisStreamName: !Ref KinesisStreamName
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



targettracking-scaling/targettracking-scaling.yaml [67:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Policies:
        - AWSCloudFormationReadOnlyAccess
        - Statement:
          - Sid: MySSMPolicy
            Effect: Allow
            Action:
            - 'ssm:PutParameter'
            - 'ssm:GetParameters'
            - 'ssm:GetParameter'
            Resource: '*'
        - Statement:
          - Sid: MyCWMetricPolicy
            Effect: Allow
            Action:
            - 'cloudwatch:PutMetricAlarm'
            Resource: '*'
        - Statement:
          - Sid: AmazonKinesisAnalyticsPolicyForAppAutoScaling
            Effect: Allow
            Action:
            - 'kinesisanalytics:UpdateApplication'
            - 'kinesisanalytics:DescribeApplication'
            Resource: '*'
        - Statement:
          - Sid: AppAutoscalingFullPolicy
            Effect: Allow
            Action:
            - 'application-autoscaling:*'
            Resource: '*'
      Environment:
        Variables:
          ParameterStore: !Ref KDADesiredCapacityParameter
          KDAAppName: !Ref KDAAppName
          KinesisStreamName: !Ref KinesisStreamName
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



