I created a bootstrap.yml to setup a config server with AWS s3, is it possible to have those configuration on application.yml

spring:
  profiles:
    active: composite
  cloud:
    config:
      server:
        composite:
        - type: awsS3
          region: us-east-1
          bucket: bucket1
        bootstrap: true

this works with bootstrap.yml but not with application.yml, just wanted to know if its not possible with application.yml, if possible what changes i need to make.

I am using sprint boot starter parent v 3.2.4 spring cloud dependencies v 2023.0.0 software.amazon.awssdk s3 v 2.20.26