CustomActionType.reference constructor
CustomActionType.reference(
- String urn
Creates a typed reference to an existing CustomActionType resource.
Implementation
CustomActionType.reference(String urn)
: super(
'aws:codepipeline/customActionType:CustomActionType',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
arn = registerOutput<String>('arn');
category = registerOutput<String>('category');
configurationProperties = registerOutput<List<CustomActionTypeConfigurationProperty>?>('configurationProperties', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CustomActionTypeConfigurationProperty>(guardedValue, (value) => CustomActionTypeConfigurationProperty.fromMap((value as Map).cast<String, dynamic>())); });
inputArtifactDetails = registerOutput<CustomActionTypeInputArtifactDetails>('inputArtifactDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomActionTypeInputArtifactDetails.fromMap((guardedValue as Map).cast<String, dynamic>()); });
outputArtifactDetails = registerOutput<CustomActionTypeOutputArtifactDetails>('outputArtifactDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomActionTypeOutputArtifactDetails.fromMap((guardedValue as Map).cast<String, dynamic>()); });
owner = registerOutput<String>('owner');
providerName = registerOutput<String>('providerName');
region = registerOutput<String>('region');
settings = registerOutput<CustomActionTypeSettings?>('settings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomActionTypeSettings.fromMap((guardedValue as Map).cast<String, dynamic>()); });
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
version = registerOutput<String>('version');
}