generated from camel.apache.org/component
Add component definition: aws2-cw
This commit is contained in:
parent
3fb20635bb
commit
0979d95829
541
component.json
Normal file
541
component.json
Normal file
@ -0,0 +1,541 @@
|
||||
{
|
||||
"component": {
|
||||
"kind": "component",
|
||||
"name": "aws2-cw",
|
||||
"title": "AWS CloudWatch",
|
||||
"description": "Sending metrics to AWS CloudWatch.",
|
||||
"deprecated": false,
|
||||
"firstVersion": "3.1.0",
|
||||
"label": "cloud,monitoring",
|
||||
"javaType": "org.apache.camel.component.aws2.cw.Cw2Component",
|
||||
"supportLevel": "Stable",
|
||||
"groupId": "org.apache.camel",
|
||||
"artifactId": "camel-aws2-cw",
|
||||
"version": "4.10.2",
|
||||
"scheme": "aws2-cw",
|
||||
"extendsScheme": "",
|
||||
"syntax": "aws2-cw:namespace",
|
||||
"async": false,
|
||||
"api": false,
|
||||
"consumerOnly": false,
|
||||
"producerOnly": true,
|
||||
"lenientProperties": false,
|
||||
"browsable": false,
|
||||
"remote": true
|
||||
},
|
||||
"headers": {
|
||||
"CamelAwsCwMetricNamespace": {
|
||||
"index": 0,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric namespace.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_NAMESPACE"
|
||||
},
|
||||
"CamelAwsCwMetricName": {
|
||||
"index": 1,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric name.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_NAME"
|
||||
},
|
||||
"CamelAwsCwMetricValue": {
|
||||
"index": 2,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "Double",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric value.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_VALUE"
|
||||
},
|
||||
"CamelAwsCwMetricUnit": {
|
||||
"index": 3,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric unit.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_UNIT"
|
||||
},
|
||||
"CamelAwsCwMetricTimestamp": {
|
||||
"index": 4,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "Date",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric timestamp.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_TIMESTAMP"
|
||||
},
|
||||
"CamelAwsCwMetricDimensions": {
|
||||
"index": 5,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "Map<String, String>",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "A map of dimension names and dimension values.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSIONS"
|
||||
},
|
||||
"CamelAwsCwMetricDimensionName": {
|
||||
"index": 6,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric dimension name.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_NAME"
|
||||
},
|
||||
"CamelAwsCwMetricDimensionValue": {
|
||||
"index": 7,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Amazon CW metric dimension value.",
|
||||
"constantName": "org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_VALUE"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"namespace": {
|
||||
"index": 0,
|
||||
"kind": "path",
|
||||
"displayName": "Namespace",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The metric namespace"
|
||||
},
|
||||
"name": {
|
||||
"index": 1,
|
||||
"kind": "parameter",
|
||||
"displayName": "Name",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The metric name"
|
||||
},
|
||||
"overrideEndpoint": {
|
||||
"index": 2,
|
||||
"kind": "parameter",
|
||||
"displayName": "Override Endpoint",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option"
|
||||
},
|
||||
"region": {
|
||||
"index": 3,
|
||||
"kind": "parameter",
|
||||
"displayName": "Region",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"enum": [
|
||||
"ap-south-2",
|
||||
"ap-south-1",
|
||||
"eu-south-1",
|
||||
"eu-south-2",
|
||||
"us-gov-east-1",
|
||||
"me-central-1",
|
||||
"il-central-1",
|
||||
"ca-central-1",
|
||||
"eu-central-1",
|
||||
"us-iso-west-1",
|
||||
"eu-central-2",
|
||||
"eu-isoe-west-1",
|
||||
"us-west-1",
|
||||
"us-west-2",
|
||||
"af-south-1",
|
||||
"eu-north-1",
|
||||
"eu-west-3",
|
||||
"eu-west-2",
|
||||
"eu-west-1",
|
||||
"ap-northeast-3",
|
||||
"ap-northeast-2",
|
||||
"ap-northeast-1",
|
||||
"me-south-1",
|
||||
"sa-east-1",
|
||||
"ap-east-1",
|
||||
"cn-north-1",
|
||||
"ca-west-1",
|
||||
"us-gov-west-1",
|
||||
"ap-southeast-1",
|
||||
"ap-southeast-2",
|
||||
"us-iso-east-1",
|
||||
"ap-southeast-3",
|
||||
"ap-southeast-4",
|
||||
"us-east-1",
|
||||
"us-east-2",
|
||||
"cn-northwest-1",
|
||||
"us-isob-east-1",
|
||||
"aws-global",
|
||||
"aws-cn-global",
|
||||
"aws-us-gov-global",
|
||||
"aws-iso-global",
|
||||
"aws-iso-b-global"
|
||||
],
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The region in which CW client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"
|
||||
},
|
||||
"timestamp": {
|
||||
"index": 4,
|
||||
"kind": "parameter",
|
||||
"displayName": "Timestamp",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "java.time.Instant",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The metric timestamp"
|
||||
},
|
||||
"unit": {
|
||||
"index": 5,
|
||||
"kind": "parameter",
|
||||
"displayName": "Unit",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The metric unit"
|
||||
},
|
||||
"uriEndpointOverride": {
|
||||
"index": 6,
|
||||
"kind": "parameter",
|
||||
"displayName": "Uri Endpoint Override",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"
|
||||
},
|
||||
"value": {
|
||||
"index": 7,
|
||||
"kind": "parameter",
|
||||
"displayName": "Value",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "number",
|
||||
"javaType": "java.lang.Double",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "The metric value"
|
||||
},
|
||||
"lazyStartProducer": {
|
||||
"index": 8,
|
||||
"kind": "parameter",
|
||||
"displayName": "Lazy Start Producer",
|
||||
"group": "producer (advanced)",
|
||||
"label": "producer,advanced",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
||||
},
|
||||
"amazonCwClient": {
|
||||
"index": 9,
|
||||
"kind": "parameter",
|
||||
"displayName": "Amazon Cw Client",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "software.amazon.awssdk.services.cloudwatch.CloudWatchClient",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": true,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "To use the AmazonCloudWatch as the client"
|
||||
},
|
||||
"proxyHost": {
|
||||
"index": 10,
|
||||
"kind": "parameter",
|
||||
"displayName": "Proxy Host",
|
||||
"group": "proxy",
|
||||
"label": "proxy",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "To define a proxy host when instantiating the CW client"
|
||||
},
|
||||
"proxyPort": {
|
||||
"index": 11,
|
||||
"kind": "parameter",
|
||||
"displayName": "Proxy Port",
|
||||
"group": "proxy",
|
||||
"label": "proxy",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "java.lang.Integer",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "To define a proxy port when instantiating the CW client"
|
||||
},
|
||||
"proxyProtocol": {
|
||||
"index": 12,
|
||||
"kind": "parameter",
|
||||
"displayName": "Proxy Protocol",
|
||||
"group": "proxy",
|
||||
"label": "proxy",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "software.amazon.awssdk.core.Protocol",
|
||||
"enum": [
|
||||
"HTTP",
|
||||
"HTTPS"
|
||||
],
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": "HTTPS",
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "To define a proxy protocol when instantiating the CW client"
|
||||
},
|
||||
"accessKey": {
|
||||
"index": 13,
|
||||
"kind": "parameter",
|
||||
"displayName": "Access Key",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Amazon AWS Access Key"
|
||||
},
|
||||
"profileCredentialsName": {
|
||||
"index": 14,
|
||||
"kind": "parameter",
|
||||
"displayName": "Profile Credentials Name",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "If using a profile credentials provider, this parameter will set the profile name"
|
||||
},
|
||||
"secretKey": {
|
||||
"index": 15,
|
||||
"kind": "parameter",
|
||||
"displayName": "Secret Key",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Amazon AWS Secret Key"
|
||||
},
|
||||
"sessionToken": {
|
||||
"index": 16,
|
||||
"kind": "parameter",
|
||||
"displayName": "Session Token",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role"
|
||||
},
|
||||
"trustAllCertificates": {
|
||||
"index": 17,
|
||||
"kind": "parameter",
|
||||
"displayName": "Trust All Certificates",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "If we want to trust all certificates in case of overriding the endpoint"
|
||||
},
|
||||
"useDefaultCredentialsProvider": {
|
||||
"index": 18,
|
||||
"kind": "parameter",
|
||||
"displayName": "Use Default Credentials Provider",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."
|
||||
},
|
||||
"useProfileCredentialsProvider": {
|
||||
"index": 19,
|
||||
"kind": "parameter",
|
||||
"displayName": "Use Profile Credentials Provider",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Set whether the Cloudwatch client should expect to load credentials through a profile credentials provider."
|
||||
},
|
||||
"useSessionCredentials": {
|
||||
"index": 20,
|
||||
"kind": "parameter",
|
||||
"displayName": "Use Session Credentials",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"configurationClass": "org.apache.camel.component.aws2.cw.Cw2Configuration",
|
||||
"configurationField": "configuration",
|
||||
"description": "Set whether the CloudWatch client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in CloudWatch."
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user