AsUnion returns a [SandboxResponseProxyConfigRulesAwsUnion] interface which you.
func (r SandboxResponseProxyConfigRulesAws) AsUnion() SandboxResponseProxyConfigRulesAwsUnionAsUnion returns a [SandboxResponseProxyConfigRulesAwsUnion] interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are [SandboxResponseProxyConfigRulesAwsSandboxesProxyAwsRoleConfig], [SandboxResponseProxyConfigRulesAwsSandboxesProxyAwsStaticConfig].