ServiceIntegration constructor
ServiceIntegration(
- String name, {
- ServiceIntegrationArgs? args,
- CustomResourceOptions? options,
Creates a new ServiceIntegration.
name The Pulumi resource name.
args Arguments used to configure this ServiceIntegration. The set of arguments for ServiceIntegration.
options Resource options controlling this resource's behavior.
Implementation
ServiceIntegration(
String name, {
ServiceIntegrationArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:devopsguru/serviceIntegration:ServiceIntegration',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
kmsServerSideEncryption = registerOutput<ServiceIntegrationKmsServerSideEncryption>('kmsServerSideEncryption', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServiceIntegrationKmsServerSideEncryption.fromMap((guardedValue as Map).cast<String, dynamic>()); });
logsAnomalyDetection = registerOutput<ServiceIntegrationLogsAnomalyDetection>('logsAnomalyDetection', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServiceIntegrationLogsAnomalyDetection.fromMap((guardedValue as Map).cast<String, dynamic>()); });
opsCenter = registerOutput<ServiceIntegrationOpsCenter>('opsCenter', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServiceIntegrationOpsCenter.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
}