toValue method
Implementation
String toValue() {
switch (this) {
case ResourceType.awsS3Bucket:
return 'AWS::S3::Bucket';
case ResourceType.awsIamRole:
return 'AWS::IAM::Role';
case ResourceType.awsSqsQueue:
return 'AWS::SQS::Queue';
case ResourceType.awsLambdaFunction:
return 'AWS::Lambda::Function';
case ResourceType.awsLambdaLayerVersion:
return 'AWS::Lambda::LayerVersion';
case ResourceType.awsKmsKey:
return 'AWS::KMS::Key';
}
}