public Optional<CfnResourceProperty> getProperty(String propertyName) {
        return Optional.ofNullable(getProperties().get(propertyName));
    }
Gets the definition of the specified property of the CloudFormation resource.

<p>An empty {@code Optional} will be returned if the requested property
has been excluded by the {@code cfnExcludedProperty} trait.

@see CfnResource#getExcludedProperties()

@param propertyName Name of the property to retrieve
@return The property definition.
smithy-aws-cloudformation-traits/src/main/java/software/amazon/smithy/aws/cloudformation/traits/CfnResource.java