31.3. Spring Boot 자동 구성

구성 요소는 아래에 나열된 34개의 옵션을 지원합니다.

이름설명Default유형

camel.component.aws-s3.access-key

Amazon AWS Access Key

 

문자열

camel.component.aws-s3.configuration.accelerate-mode-enabled

가속 모드가 true인지 또는 false인지 여부를 정의합니다.

false

부울

camel.component.aws-s3.configuration.access-key

Amazon AWS Access Key

 

문자열

camel.component.aws-s3.configuration.amazon-s3-client

링크의 com.amazonaws.services.sqs.AmazonS3 참조:https://camel.apache.org/registry.htmlRegistry.

 

AmazonS3

camel.component.aws-s3.configuration.autoclose-body

이 옵션이 true이고 includeBody가 true이면 S3Object.close() 메서드가 교환 완료 시 호출됩니다. 이 옵션은 includeBody 옵션과 관련이 있습니다. includeBody를 true로 설정하고 autocloseBody를 false로 설정하는 경우 S3Object 스트림을 종료하기 위해 호출자에게 달려 있습니다. autocloseBody를 true로 설정하면 S3Object 스트림을 자동으로 종료합니다.

true

부울

camel.component.aws-s3.configuration.aws-k-m-s-key-id

KMS가 활성화된 경우 사용할 KMS 키의 id를 정의합니다.

 

문자열

camel.component.aws-s3.configuration.bucket-name

버킷의 이름입니다. 버킷이 아직 존재하지 않는 경우 생성됩니다.

 

문자열

camel.component.aws-s3.configuration.chunked-encoding-disabled

Chunked Encoding이 true인지 false인지 정의

false

부울

camel.component.aws-s3.configuration.delete-after-read

검색 후 S3에서 오브젝트를 삭제합니다. 삭제는 교환이 커밋된 경우에만 수행됩니다. 롤백이 발생하면 오브젝트가 삭제되지 않습니다. 이 옵션이 false이면 폴링에서 동일한 오브젝트가 반복적으로 검색됩니다. 따라서 중복을 필터링하려면 경로에 Idempotent Consumer EIP를 사용해야 합니다. S3Constants#BUCKET_NAME 및 S3Constants#KEY 헤더 또는 S3Constants#KEY 헤더만 사용하여 필터링할 수 있습니다.

true

부울

camel.component.aws-s3.configuration.delete-after-write

S3 파일이 업로드된 후 파일 오브젝트 삭제

false

부울

camel.component.aws-s3.configuration.dualstack-enabled

Dualstack enabled가 true인지 false인지 정의

false

부울

camel.component.aws-s3.configuration.encryption-materials

Symmetric/Asymmetric 클라이언트 사용량의 경우 사용할 암호화 자료

 

EncryptionMaterials

camel.component.aws-s3.configuration.file-name

지정된 파일 이름을 사용하여 버킷에서 오브젝트를 가져오려면 다음을 수행합니다.

 

문자열

camel.component.aws-s3.configuration.force-global-bucket-access-enabled

Force Global Bucket Access enabled가 true인지 또는 false인지 여부를 정의합니다.

false

부울

camel.component.aws-s3.configuration.include-body

true인 경우 교환 본문이 파일 콘텐츠로 스트림으로 설정됩니다. false인 경우 헤더는 S3 개체 메타데이터로 설정되지만 본문은 null입니다. 이 옵션은 autocloseBody 옵션과 관련이 있습니다. includeBody를 true로 설정하고 autocloseBody를 false로 설정하는 경우 S3Object 스트림을 종료하기 위해 호출자에게 달려 있습니다. autocloseBody를 true로 설정하면 S3Object 스트림을 자동으로 종료합니다.

true

부울

camel.component.aws-s3.configuration.multi-part-upload

true인 경우 camel은 다중 파트 형식으로 파일을 업로드하며 partSize의 옵션으로 부분 크기를 결정합니다.

false

부울

camel.component.aws-s3.configuration.operation

사용자가 업로드만 수행하지 않으려는 경우 수행할 작업

 

S3Operations

camel.component.aws-s3.configuration.part-size

다중 파트 업로드에 사용되는 partSize를 설정합니다. 기본값은 25M입니다.

26214400

long

camel.component.aws-s3.configuration.path-style-access

S3 클라이언트가 경로 스타일 액세스를 사용해야 하는지의 여부

false

부울

camel.component.aws-s3.configuration.payload-signing-enabled

Payload Signing enabled가 true인지 또는 false인지 여부를 정의합니다.

false

부울

camel.component.aws-s3.configuration.policy

com.amazonaws.services.s3.AmazonS3#setBucketPolicy() 메서드에서 설정할 이 큐에 대한 정책입니다.

 

문자열

camel.component.aws-s3.configuration.prefix

com.amazonaws.services.s3.model.ListObjectsRequest에 사용되는 접두사는 관심 있는 오브젝트만 사용합니다.

 

문자열

camel.component.aws-s3.configuration.proxy-host

SQS 클라이언트를 인스턴스화할 때 프록시 호스트를 정의하려면 다음을 수행합니다.

 

문자열

camel.component.aws-s3.configuration.proxy-port

클라이언트 정의 내부에서 사용할 프록시 포트를 지정합니다.

 

정수

camel.component.aws-s3.configuration.region

S3 클라이언트가 작동해야 하는 지역

 

문자열

camel.component.aws-s3.configuration.secret-key

Amazon AWS Secret Key

 

문자열

camel.component.aws-s3.configuration.server-side-encryption

AWS 관리 키를 사용하여 오브젝트를 암호화할 때 서버 쪽 암호화 알고리즘을 설정합니다. 예를 들어 AES256을 사용합니다.

 

문자열

camel.component.aws-s3.configuration.storage-class

com.amazonaws.services.s3.model.PutObjectRequest 요청에 설정할 스토리지 클래스입니다.

 

문자열

camel.component.aws-s3.configuration.use-aws-k-m-s

KMS를 사용해야 하는지 여부를 정의합니다.

false

부울

camel.component.aws-s3.configuration.use-encryption

암호화를 사용해야 하는지 여부를 정의합니다.

false

부울

camel.component.aws-s3.enabled

aws-s3 구성 요소 활성화

true

부울

camel.component.aws-s3.region

버킷이 있는 영역입니다. 이 옵션은 com.amazonaws.services.s3.model.CreateBucketRequest에서 사용됩니다.

 

문자열

camel.component.aws-s3.resolve-property-placeholders

구성 요소가 시작할 때 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders.

true

부울

camel.component.aws-s3.secret-key

Amazon AWS Secret Key

 

문자열

필수 S3 구성 요소 옵션

Amazon의 S3에 액세스하려면 레지스트리 또는 accessKey 및 secretKey에 amazon S3Client를 제공해야 합니다.