31.3. Spring Boot Auto-Configuration

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

이름설명기본값유형

camel.component.aws-s3.access-key

Amazon AWS Access Key

 

문자열

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

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에서 오브젝트를 삭제합니다. 삭제는 Exchange가 커밋된 경우에만 수행됩니다. 롤백이 발생하면 오브젝트가 삭제되지 않습니다. 이 옵션이 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 client usage의 경우 사용할 암호화 자료

 

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

만약 그것이 사실이라면, 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에 amazonS3Client를 제공해야 합니다.