Trait cfn::Resource
[−]
[src]
pub trait Resource: Sized + Sealed { type Properties: Properties<Self>; const TYPE: &'static str; fn properties(&self) -> &Self::Properties; fn properties_mut(&mut self) -> &mut Self::Properties; }
Trait for stack resources, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket.
Associated Types
type Properties: Properties<Self>
Type that represents the set of properties the resource can be configured with.
Associated Constants
Required Methods
fn properties(&self) -> &Self::Properties
Get a reference to the properties on the resource.
fn properties_mut(&mut self) -> &mut Self::Properties
Get a mutable reference to the properties on the resource.
Implementors
impl Resource for Account type Properties = AccountProperties;
impl Resource for ApiKey type Properties = ApiKeyProperties;
impl Resource for Authorizer type Properties = AuthorizerProperties;
impl Resource for BasePathMapping type Properties = BasePathMappingProperties;
impl Resource for ClientCertificate type Properties = ClientCertificateProperties;
impl Resource for Deployment type Properties = DeploymentProperties;
impl Resource for DocumentationPart type Properties = DocumentationPartProperties;
impl Resource for DocumentationVersion type Properties = DocumentationVersionProperties;
impl Resource for DomainName type Properties = DomainNameProperties;
impl Resource for GatewayResponse type Properties = GatewayResponseProperties;
impl Resource for Method type Properties = MethodProperties;
impl Resource for Model type Properties = ModelProperties;
impl Resource for RequestValidator type Properties = RequestValidatorProperties;
impl Resource for Resource type Properties = ResourceProperties;
impl Resource for RestApi type Properties = RestApiProperties;
impl Resource for Stage type Properties = StageProperties;
impl Resource for UsagePlan type Properties = UsagePlanProperties;
impl Resource for UsagePlanKey type Properties = UsagePlanKeyProperties;
impl Resource for VpcLink type Properties = VpcLinkProperties;
impl Resource for ScalableTarget type Properties = ScalableTargetProperties;
impl Resource for cfn::aws::applicationautoscaling::ScalingPolicy type Properties = ScalingPolicyProperties;
impl Resource for NamedQuery type Properties = NamedQueryProperties;
impl Resource for AutoScalingGroup type Properties = AutoScalingGroupProperties;
impl Resource for LaunchConfiguration type Properties = LaunchConfigurationProperties;
impl Resource for LifecycleHook type Properties = LifecycleHookProperties;
impl Resource for cfn::aws::autoscaling::ScalingPolicy type Properties = ScalingPolicyProperties;
impl Resource for ScheduledAction type Properties = ScheduledActionProperties;
impl Resource for ComputeEnvironment type Properties = ComputeEnvironmentProperties;
impl Resource for JobDefinition type Properties = JobDefinitionProperties;
impl Resource for JobQueue type Properties = JobQueueProperties;
impl Resource for cfn::aws::certificatemanager::Certificate type Properties = CertificateProperties;
impl Resource for EnvironmentEC2 type Properties = EnvironmentEC2Properties;
impl Resource for CustomResource type Properties = CustomResourceProperties;
impl Resource for cfn::aws::cloudformation::Stack type Properties = StackProperties;
impl Resource for WaitCondition type Properties = WaitConditionProperties;
impl Resource for WaitConditionHandle type Properties = WaitConditionHandleProperties;
impl Resource for CloudFrontOriginAccessIdentity type Properties = CloudFrontOriginAccessIdentityProperties;
impl Resource for Distribution type Properties = DistributionProperties;
impl Resource for StreamingDistribution type Properties = StreamingDistributionProperties;
impl Resource for Trail type Properties = TrailProperties;
impl Resource for Alarm type Properties = AlarmProperties;
impl Resource for Dashboard type Properties = DashboardProperties;
impl Resource for Project type Properties = ProjectProperties;
impl Resource for cfn::aws::codecommit::Repository type Properties = RepositoryProperties;
impl Resource for cfn::aws::codedeploy::Application type Properties = ApplicationProperties;
impl Resource for DeploymentConfig type Properties = DeploymentConfigProperties;
impl Resource for DeploymentGroup type Properties = DeploymentGroupProperties;
impl Resource for CustomActionType type Properties = CustomActionTypeProperties;
impl Resource for cfn::aws::codepipeline::Pipeline type Properties = PipelineProperties;
impl Resource for IdentityPool type Properties = IdentityPoolProperties;
impl Resource for IdentityPoolRoleAttachment type Properties = IdentityPoolRoleAttachmentProperties;
impl Resource for UserPool type Properties = UserPoolProperties;
impl Resource for UserPoolClient type Properties = UserPoolClientProperties;
impl Resource for UserPoolGroup type Properties = UserPoolGroupProperties;
impl Resource for UserPoolUser type Properties = UserPoolUserProperties;
impl Resource for UserPoolUserToGroupAttachment type Properties = UserPoolUserToGroupAttachmentProperties;
impl Resource for ConfigRule type Properties = ConfigRuleProperties;
impl Resource for ConfigurationRecorder type Properties = ConfigurationRecorderProperties;
impl Resource for DeliveryChannel type Properties = DeliveryChannelProperties;
impl Resource for cfn::aws::dax::Cluster type Properties = ClusterProperties;
impl Resource for cfn::aws::dax::ParameterGroup type Properties = ParameterGroupProperties;
impl Resource for cfn::aws::dax::SubnetGroup type Properties = SubnetGroupProperties;
impl Resource for cfn::aws::dms::Certificate type Properties = CertificateProperties;
impl Resource for Endpoint type Properties = EndpointProperties;
impl Resource for cfn::aws::dms::EventSubscription type Properties = EventSubscriptionProperties;
impl Resource for ReplicationInstance type Properties = ReplicationInstanceProperties;
impl Resource for ReplicationSubnetGroup type Properties = ReplicationSubnetGroupProperties;
impl Resource for ReplicationTask type Properties = ReplicationTaskProperties;
impl Resource for cfn::aws::datapipeline::Pipeline type Properties = PipelineProperties;
impl Resource for MicrosoftAD type Properties = MicrosoftADProperties;
impl Resource for SimpleAD type Properties = SimpleADProperties;
impl Resource for cfn::aws::dynamodb::Table type Properties = TableProperties;
impl Resource for CustomerGateway type Properties = CustomerGatewayProperties;
impl Resource for DHCPOptions type Properties = DHCPOptionsProperties;
impl Resource for EIP type Properties = EIPProperties;
impl Resource for EIPAssociation type Properties = EIPAssociationProperties;
impl Resource for EgressOnlyInternetGateway type Properties = EgressOnlyInternetGatewayProperties;
impl Resource for FlowLog type Properties = FlowLogProperties;
impl Resource for Host type Properties = HostProperties;
impl Resource for cfn::aws::ec2::Instance type Properties = InstanceProperties;
impl Resource for InternetGateway type Properties = InternetGatewayProperties;
impl Resource for NatGateway type Properties = NatGatewayProperties;
impl Resource for NetworkAcl type Properties = NetworkAclProperties;
impl Resource for NetworkAclEntry type Properties = NetworkAclEntryProperties;
impl Resource for NetworkInterface type Properties = NetworkInterfaceProperties;
impl Resource for NetworkInterfaceAttachment type Properties = NetworkInterfaceAttachmentProperties;
impl Resource for NetworkInterfacePermission type Properties = NetworkInterfacePermissionProperties;
impl Resource for PlacementGroup type Properties = PlacementGroupProperties;
impl Resource for Route type Properties = RouteProperties;
impl Resource for RouteTable type Properties = RouteTableProperties;
impl Resource for cfn::aws::ec2::SecurityGroup type Properties = SecurityGroupProperties;
impl Resource for SecurityGroupEgress type Properties = SecurityGroupEgressProperties;
impl Resource for cfn::aws::ec2::SecurityGroupIngress type Properties = SecurityGroupIngressProperties;
impl Resource for SpotFleet type Properties = SpotFleetProperties;
impl Resource for Subnet type Properties = SubnetProperties;
impl Resource for SubnetCidrBlock type Properties = SubnetCidrBlockProperties;
impl Resource for SubnetNetworkAclAssociation type Properties = SubnetNetworkAclAssociationProperties;
impl Resource for SubnetRouteTableAssociation type Properties = SubnetRouteTableAssociationProperties;
impl Resource for TrunkInterfaceAssociation type Properties = TrunkInterfaceAssociationProperties;
impl Resource for VPC type Properties = VPCProperties;
impl Resource for VPCCidrBlock type Properties = VPCCidrBlockProperties;
impl Resource for VPCDHCPOptionsAssociation type Properties = VPCDHCPOptionsAssociationProperties;
impl Resource for VPCEndpoint type Properties = VPCEndpointProperties;
impl Resource for VPCGatewayAttachment type Properties = VPCGatewayAttachmentProperties;
impl Resource for VPCPeeringConnection type Properties = VPCPeeringConnectionProperties;
impl Resource for VPNConnection type Properties = VPNConnectionProperties;
impl Resource for VPNConnectionRoute type Properties = VPNConnectionRouteProperties;
impl Resource for VPNGateway type Properties = VPNGatewayProperties;
impl Resource for VPNGatewayRoutePropagation type Properties = VPNGatewayRoutePropagationProperties;
impl Resource for cfn::aws::ec2::Volume type Properties = VolumeProperties;
impl Resource for VolumeAttachment type Properties = VolumeAttachmentProperties;
impl Resource for cfn::aws::ecr::Repository type Properties = RepositoryProperties;
impl Resource for cfn::aws::ecs::Cluster type Properties = ClusterProperties;
impl Resource for cfn::aws::ecs::Service type Properties = ServiceProperties;
impl Resource for TaskDefinition type Properties = TaskDefinitionProperties;
impl Resource for FileSystem type Properties = FileSystemProperties;
impl Resource for MountTarget type Properties = MountTargetProperties;
impl Resource for cfn::aws::emr::Cluster type Properties = ClusterProperties;
impl Resource for InstanceFleetConfig type Properties = InstanceFleetConfigProperties;
impl Resource for InstanceGroupConfig type Properties = InstanceGroupConfigProperties;
impl Resource for SecurityConfiguration type Properties = SecurityConfigurationProperties;
impl Resource for Step type Properties = StepProperties;
impl Resource for CacheCluster type Properties = CacheClusterProperties;
impl Resource for cfn::aws::elasticache::ParameterGroup type Properties = ParameterGroupProperties;
impl Resource for ReplicationGroup type Properties = ReplicationGroupProperties;
impl Resource for cfn::aws::elasticache::SecurityGroup type Properties = SecurityGroupProperties;
impl Resource for cfn::aws::elasticache::SecurityGroupIngress type Properties = SecurityGroupIngressProperties;
impl Resource for cfn::aws::elasticache::SubnetGroup type Properties = SubnetGroupProperties;
impl Resource for cfn::aws::elasticbeanstalk::Application type Properties = ApplicationProperties;
impl Resource for ApplicationVersion type Properties = ApplicationVersionProperties;
impl Resource for ConfigurationTemplate type Properties = ConfigurationTemplateProperties;
impl Resource for Environment type Properties = EnvironmentProperties;
impl Resource for cfn::aws::elasticloadbalancing::LoadBalancer type Properties = LoadBalancerProperties;
impl Resource for Listener type Properties = ListenerProperties;
impl Resource for ListenerCertificate type Properties = ListenerCertificateProperties;
impl Resource for ListenerRule type Properties = ListenerRuleProperties;
impl Resource for cfn::aws::elasticloadbalancingv2::LoadBalancer type Properties = LoadBalancerProperties;
impl Resource for TargetGroup type Properties = TargetGroupProperties;
impl Resource for cfn::aws::elasticsearch::Domain type Properties = DomainProperties;
impl Resource for cfn::aws::events::Rule type Properties = RuleProperties;
impl Resource for cfn::aws::gamelift::Alias type Properties = AliasProperties;
impl Resource for Build type Properties = BuildProperties;
impl Resource for Fleet type Properties = FleetProperties;
impl Resource for Classifier type Properties = ClassifierProperties;
impl Resource for Connection type Properties = ConnectionProperties;
impl Resource for Crawler type Properties = CrawlerProperties;
impl Resource for Database type Properties = DatabaseProperties;
impl Resource for DevEndpoint type Properties = DevEndpointProperties;
impl Resource for Job type Properties = JobProperties;
impl Resource for Partition type Properties = PartitionProperties;
impl Resource for cfn::aws::glue::Table type Properties = TableProperties;
impl Resource for Trigger type Properties = TriggerProperties;
impl Resource for Detector type Properties = DetectorProperties;
impl Resource for cfn::aws::guardduty::IPSet type Properties = IPSetProperties;
impl Resource for Master type Properties = MasterProperties;
impl Resource for Member type Properties = MemberProperties;
impl Resource for ThreatIntelSet type Properties = ThreatIntelSetProperties;
impl Resource for AccessKey type Properties = AccessKeyProperties;
impl Resource for Group type Properties = GroupProperties;
impl Resource for InstanceProfile type Properties = InstanceProfileProperties;
impl Resource for ManagedPolicy type Properties = ManagedPolicyProperties;
impl Resource for cfn::aws::iam::Policy type Properties = PolicyProperties;
impl Resource for Role type Properties = RoleProperties;
impl Resource for User type Properties = UserProperties;
impl Resource for UserToGroupAddition type Properties = UserToGroupAdditionProperties;
impl Resource for AssessmentTarget type Properties = AssessmentTargetProperties;
impl Resource for AssessmentTemplate type Properties = AssessmentTemplateProperties;
impl Resource for ResourceGroup type Properties = ResourceGroupProperties;
impl Resource for cfn::aws::iot::Certificate type Properties = CertificateProperties;
impl Resource for cfn::aws::iot::Policy type Properties = PolicyProperties;
impl Resource for PolicyPrincipalAttachment type Properties = PolicyPrincipalAttachmentProperties;
impl Resource for Thing type Properties = ThingProperties;
impl Resource for ThingPrincipalAttachment type Properties = ThingPrincipalAttachmentProperties;
impl Resource for TopicRule type Properties = TopicRuleProperties;
impl Resource for cfn::aws::kms::Alias type Properties = AliasProperties;
impl Resource for Key type Properties = KeyProperties;
impl Resource for Stream type Properties = StreamProperties;
impl Resource for cfn::aws::kinesisanalytics::Application type Properties = ApplicationProperties;
impl Resource for ApplicationOutput type Properties = ApplicationOutputProperties;
impl Resource for ApplicationReferenceDataSource type Properties = ApplicationReferenceDataSourceProperties;
impl Resource for DeliveryStream type Properties = DeliveryStreamProperties;
impl Resource for cfn::aws::lambda::Alias type Properties = AliasProperties;
impl Resource for EventSourceMapping type Properties = EventSourceMappingProperties;
impl Resource for Function type Properties = FunctionProperties;
impl Resource for Permission type Properties = PermissionProperties;
impl Resource for Version type Properties = VersionProperties;
impl Resource for Destination type Properties = DestinationProperties;
impl Resource for LogGroup type Properties = LogGroupProperties;
impl Resource for LogStream type Properties = LogStreamProperties;
impl Resource for MetricFilter type Properties = MetricFilterProperties;
impl Resource for SubscriptionFilter type Properties = SubscriptionFilterProperties;
impl Resource for App type Properties = AppProperties;
impl Resource for ElasticLoadBalancerAttachment type Properties = ElasticLoadBalancerAttachmentProperties;
impl Resource for cfn::aws::opsworks::Instance type Properties = InstanceProperties;
impl Resource for Layer type Properties = LayerProperties;
impl Resource for cfn::aws::opsworks::Stack type Properties = StackProperties;
impl Resource for UserProfile type Properties = UserProfileProperties;
impl Resource for cfn::aws::opsworks::Volume type Properties = VolumeProperties;
impl Resource for DBCluster type Properties = DBClusterProperties;
impl Resource for DBClusterParameterGroup type Properties = DBClusterParameterGroupProperties;
impl Resource for DBInstance type Properties = DBInstanceProperties;
impl Resource for DBParameterGroup type Properties = DBParameterGroupProperties;
impl Resource for DBSecurityGroup type Properties = DBSecurityGroupProperties;
impl Resource for DBSecurityGroupIngress type Properties = DBSecurityGroupIngressProperties;
impl Resource for DBSubnetGroup type Properties = DBSubnetGroupProperties;
impl Resource for cfn::aws::rds::EventSubscription type Properties = EventSubscriptionProperties;
impl Resource for OptionGroup type Properties = OptionGroupProperties;
impl Resource for cfn::aws::redshift::Cluster type Properties = ClusterProperties;
impl Resource for ClusterParameterGroup type Properties = ClusterParameterGroupProperties;
impl Resource for ClusterSecurityGroup type Properties = ClusterSecurityGroupProperties;
impl Resource for ClusterSecurityGroupIngress type Properties = ClusterSecurityGroupIngressProperties;
impl Resource for ClusterSubnetGroup type Properties = ClusterSubnetGroupProperties;
impl Resource for HealthCheck type Properties = HealthCheckProperties;
impl Resource for HostedZone type Properties = HostedZoneProperties;
impl Resource for RecordSet type Properties = RecordSetProperties;
impl Resource for RecordSetGroup type Properties = RecordSetGroupProperties;
impl Resource for Bucket type Properties = BucketProperties;
impl Resource for BucketPolicy type Properties = BucketPolicyProperties;
impl Resource for cfn::aws::sdb::Domain type Properties = DomainProperties;
impl Resource for ConfigurationSet type Properties = ConfigurationSetProperties;
impl Resource for ConfigurationSetEventDestination type Properties = ConfigurationSetEventDestinationProperties;
impl Resource for ReceiptFilter type Properties = ReceiptFilterProperties;
impl Resource for ReceiptRule type Properties = ReceiptRuleProperties;
impl Resource for ReceiptRuleSet type Properties = ReceiptRuleSetProperties;
impl Resource for Template type Properties = TemplateProperties;
impl Resource for Subscription type Properties = SubscriptionProperties;
impl Resource for Topic type Properties = TopicProperties;
impl Resource for TopicPolicy type Properties = TopicPolicyProperties;
impl Resource for Queue type Properties = QueueProperties;
impl Resource for QueuePolicy type Properties = QueuePolicyProperties;
impl Resource for Association type Properties = AssociationProperties;
impl Resource for Document type Properties = DocumentProperties;
impl Resource for MaintenanceWindowTask type Properties = MaintenanceWindowTaskProperties;
impl Resource for Parameter type Properties = ParameterProperties;
impl Resource for PatchBaseline type Properties = PatchBaselineProperties;
impl Resource for cfn::aws::servicediscovery::Instance type Properties = InstanceProperties;
impl Resource for PrivateDnsNamespace type Properties = PrivateDnsNamespaceProperties;
impl Resource for PublicDnsNamespace type Properties = PublicDnsNamespaceProperties;
impl Resource for cfn::aws::servicediscovery::Service type Properties = ServiceProperties;
impl Resource for Activity type Properties = ActivityProperties;
impl Resource for StateMachine type Properties = StateMachineProperties;
impl Resource for cfn::aws::waf::ByteMatchSet type Properties = ByteMatchSetProperties;
impl Resource for cfn::aws::waf::IPSet type Properties = IPSetProperties;
impl Resource for cfn::aws::waf::Rule type Properties = RuleProperties;
impl Resource for cfn::aws::waf::SizeConstraintSet type Properties = SizeConstraintSetProperties;
impl Resource for cfn::aws::waf::SqlInjectionMatchSet type Properties = SqlInjectionMatchSetProperties;
impl Resource for cfn::aws::waf::WebACL type Properties = WebACLProperties;
impl Resource for cfn::aws::waf::XssMatchSet type Properties = XssMatchSetProperties;
impl Resource for cfn::aws::wafregional::ByteMatchSet type Properties = ByteMatchSetProperties;
impl Resource for cfn::aws::wafregional::IPSet type Properties = IPSetProperties;
impl Resource for cfn::aws::wafregional::Rule type Properties = RuleProperties;
impl Resource for cfn::aws::wafregional::SizeConstraintSet type Properties = SizeConstraintSetProperties;
impl Resource for cfn::aws::wafregional::SqlInjectionMatchSet type Properties = SqlInjectionMatchSetProperties;
impl Resource for cfn::aws::wafregional::WebACL type Properties = WebACLProperties;
impl Resource for WebACLAssociation type Properties = WebACLAssociationProperties;
impl Resource for cfn::aws::wafregional::XssMatchSet type Properties = XssMatchSetProperties;
impl Resource for Workspace type Properties = WorkspaceProperties;