templates/ami-rt-xray-vpc.template.yaml [123:198]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Properties:
      PolicyDocument:
        Version: 2012-10-17
        Statement:
        - Effect: Allow
          Principal: '*'
          Action:
            - s3:AbortMultipartUpload
            - s3:BypassGovernanceRetention
            - s3:CreateAccessPoint
            - s3:CreateAccessPointForObjectLambda
            - s3:CreateBucket
            - s3:CreateJob
            - s3:DeleteAccessPoint
            - s3:DeleteAccessPointForObjectLambda
            - s3:DeleteAccessPointPolicy
            - s3:DeleteAccessPointPolicyForObjectLambda
            - s3:DeleteBucket
            - s3:DeleteBucketOwnershipControls
            - s3:DeleteBucketPolicy
            - s3:DeleteBucketWebsite
            - s3:DeleteJobTagging
            - s3:DeleteObject
            - s3:DeleteObjectTagging
            - s3:DeleteObjectVersion
            - s3:DeleteObjectVersionTagging
            - s3:DeleteStorageLensConfiguration
            - s3:DeleteStorageLensConfigurationTagging
            - s3:DescribeJob
            - s3:Get*
            - s3:List*
            - s3:ObjectOwnerOverrideToBucketOwner
            - s3:Put*
            - s3:ReplicateDelete
            - s3:ReplicateObject
            - s3:ReplicateTags
            - s3:RestoreObject
            - s3:UpdateJobPriority
            - s3:UpdateJobStatus
          Resource:
          - !Sub 'arn:${AWS::Partition}:s3:::*'
      RouteTableIds:
      - !Ref PublicSubnetRouteTable
      ServiceName: !Join
      - ''
      - - com.amazonaws.
        - !Ref 'AWS::Region'
        - .s3
      VpcId: !Ref AmiVpc

Outputs:
  PublicSubnetCidr:
    Description: Public subnet CIDR for the newly created VPC and subnet
    Value: !Ref PublicSubnetCidr
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetCidr:'
  PublicSubnetID:
    Description: Public subnet ID for newly created VPC
    Value: !Ref PublicSubnet
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetID'
  PublicSubnetRouteTable:
    Description: Public subnet route table
    Value: !Ref PublicSubnetRouteTable
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetRouteTable'
  VpcCidr:
    Description: VPC CIDR
    Value: !Ref VpcCidr
    Export:
      Name: !Sub '${AWS::StackName}-VpcCidr:'
  VpcId:
    Description: Vpc ID
    Value: !Ref AmiVpc
    Export:
      Name: !Sub '${AWS::StackName}-VpcId'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/jfrog-ami-vpc.template.yaml [125:200]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Properties:
      PolicyDocument:
        Version: 2012-10-17
        Statement:
        - Effect: Allow
          Principal: '*'
          Action:
            - s3:AbortMultipartUpload
            - s3:BypassGovernanceRetention
            - s3:CreateAccessPoint
            - s3:CreateAccessPointForObjectLambda
            - s3:CreateBucket
            - s3:CreateJob
            - s3:DeleteAccessPoint
            - s3:DeleteAccessPointForObjectLambda
            - s3:DeleteAccessPointPolicy
            - s3:DeleteAccessPointPolicyForObjectLambda
            - s3:DeleteBucket
            - s3:DeleteBucketOwnershipControls
            - s3:DeleteBucketPolicy
            - s3:DeleteBucketWebsite
            - s3:DeleteJobTagging
            - s3:DeleteObject
            - s3:DeleteObjectTagging
            - s3:DeleteObjectVersion
            - s3:DeleteObjectVersionTagging
            - s3:DeleteStorageLensConfiguration
            - s3:DeleteStorageLensConfigurationTagging
            - s3:DescribeJob
            - s3:Get*
            - s3:List*
            - s3:ObjectOwnerOverrideToBucketOwner
            - s3:Put*
            - s3:ReplicateDelete
            - s3:ReplicateObject
            - s3:ReplicateTags
            - s3:RestoreObject
            - s3:UpdateJobPriority
            - s3:UpdateJobStatus
          Resource:
          - !Sub 'arn:${AWS::Partition}:s3:::*'
      RouteTableIds:
      - !Ref PublicSubnetRouteTable
      ServiceName: !Join
      - ''
      - - com.amazonaws.
        - !Ref 'AWS::Region'
        - .s3
      VpcId: !Ref AmiVpc

Outputs:
  PublicSubnetCidr:
    Description: Public subnet CIDR for the newly created VPC and subnet
    Value: !Ref PublicSubnetCidr
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetCidr:'
  PublicSubnetID:
    Description: Public subnet ID for newly created VPC
    Value: !Ref PublicSubnet
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetID'
  PublicSubnetRouteTable:
    Description: Public subnet route table
    Value: !Ref PublicSubnetRouteTable
    Export:
      Name: !Sub '${AWS::StackName}-PublicSubnetRouteTable'
  VpcCidr:
    Description: VPC CIDR
    Value: !Ref VpcCidr
    Export:
      Name: !Sub '${AWS::StackName}-VpcCidr:'
  VpcId:
    Description: Vpc ID
    Value: !Ref AmiVpc
    Export:
      Name: !Sub '${AWS::StackName}-VpcId'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



