public List<String> getResource() {
        return resource;
    }
Gets the ARN's resource components.

@return returns the ARN's resource components.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/language/functions/AwsArn.java